![]() |
Item Drop System?
I was wondering where I could find a script for an Item drop system or if someone can post one on here.
|
I have deleted some posts here because they were just rude. Please someone post a link to an item system resource or at least help with a simple putnpc2 example and item strings.
|
Quote:
|
Post whole systems is not allowed, but I can give you an advice; An item drop systems is not complicated, if you think a little bit before start scripting.
Let's see how it would work first: 1st) You need check if you have items, if yes, introduce them into a string list; 2nd) If you have selected wich item you want to drop, you will have to use a putnpc2(), this command will create a new npc on level, so you will need to set some attributes for it. (like it's name, the image of the weapon) After dropping, use 'with()'; That will act directly where you tell it to act, in this case, on last npc created. NPC Code: You told 'with()' to act on npcs, and specified wich npc, that is why I used 'npcscount-1', 'npcscount' will get the quantity of npcs that exist on level and '-1' will be yours, the last one dropped. You can find more information about strings,putnpc2 using, with(), by doing a forum search. |
If he had to ask for the whole script, then your explanation was to advanced for him. Also, why are you using thiso.? :confused:
|
Quote:
And sorry, I did a mistake there, a 'this.' var would be fine in that example. |
I have the old item system i made for atrius a year or two ago, if everyones alright with me posting it...
|
Quote:
|
Quote:
|
I am quite pissed at people who think they need to enforce the rules if they don't even know them themself. The rule is about not just posting tons of scripts without explaination. A good documented script or helpful documentation can be posted, or be added to the sticky threads. Do you think the rule was made to prevent posting any code that could be used in the game?? If you have scripts without documentation it is possible to post them on graal.net and put a link to that in your post, if it contains good documentation then you can also directly attach it your post or ask a GST to approve it as official documentation.
|
Quote:
|
Quote:
Now you guys know why i lose it when A CERTAIN SOMEBODY ALWAYS GOES "clos thred plz!!!!" |
Quote:
|
Quote:
|
Quote:
Quote:
|
Quote:
I understand them, new people should first read the rules and not ask for complete scripts, but for help in specific problems. But I am telling people to use the scripting forum to get help, and if some experienced scipter reads such a post then he/she can give links to places where you find the good resources and code examples, or explain what an item system is about. And if you feel that you don't want to answer because you think the poster is not experienced enough for such stuff then just don't answer. It would be the task of the forum moderators to manage the case if the thread turns out to be a code desert or whatever. |
Quote:
|
Quote:
Stefan worked hard to create graal, im sure he has spent a lot of time working on the engine and such, he can make the rules whatever he wants. |
Quote:
Quote:
I do know the rules myself, because they are posted at the top of this forum for anyone to read. |
Quote:
"If you can't script something then don't try to produce it." Why shouldn't people be able to try to produce a script if they don't know how? Especially with all the PW's out there now.... "If you want it for a server then go hire a scripter." Why should someone who doesn't know how to script, have to go find a scripter, if they are wanting to learn how to script? I agree that people should NOT post here just asking for others to give away scripts, but for those who post asking "Where can I find....?" "How do I make....?", ect...I am sure they can be directed somewhere to find their answer (As you can see, the thread creator asked if anyone knew where to find a script OR if they could post one). All I see in almost every thread here is "You broke a rule!", "Don't post that!", "You can't post that script, it breaks the rules!". Does the person recieve the help they need? I doubt it, and if they do, they have to weed through the other posts where people are arguing about the rules, or some scripters are arguing with each other about the right way to do something. I would hope that more scripters would share their knowledge with others to help them learn as Graal could really use more scripters, and there are people who are willing to learn.... Like Stefan said, if you aren't willing to post something helpful to the thread creator, then don't post |
Quote:
Basically, from what I can understand, the gist of the rule basically says: If you cannot script it, then do not try to produce until you understand how to do so. |
Ok, some people learn from people giving them the scripts i learned how to script from looking at other scripts and asking what parts of the script do and stuff and i started to learn little by little so dont say that you get mad for someone posting scripts its not wrong ok.!.!.
|
Quote:
|
I don't think there is anything bad about posting full scripts if you explain them so the person could learn.
I learned alot of the stuff I know from looking at other people's scripts then going through commands.rtf and such... If i'm going to script something i'd like to know how its remotely supposed to function. |
| All times are GMT +2. The time now is 12:58 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.