Cool, thanks for your feedback.
So what is OPTION_INVISIBILITY & OPTION_HIDE2? Are these functions within the Mana World code? Or are they codes used by another platform/engine?
Sounds good. How can I test these commands? I would be happy to configure TMW on my computer so that I can tweak around with these settings. And just out of interest, how can I find all of these commands?
Item scripts are not documented in wiki at the moment.
By deduction, something like:
(sc refers to "status change"); I don't know yet how to use options.
(after: http://eathena.ws/wiki/index.php/Custom ... tem_Script
see also: http://eathena.ws/wiki/index.php/Sc_start
Code: Select all
sc_start <status id>,<duration>,<val1>[,<unit id>];
- status id Refer to const.txt in your db folder for all effects (note: not in TMWa). Open it with a text editor then search by either clicking edit, then find, or press and hold the ctrl key, and while still holding it press the f key, then release, and search for "SC_ALL -1". Everything below this is an effect. The effects stop at "e_gasp 0" which are emoticons. It can also be a string:
- duration: Is the amount time in milliseconds (1000 msec = 1 sec) that the status will be active.
- val1:Typically it's the level of the skill, associated with this status.
- unit id: Allows to start the status on an other unit, than the attached player. For players this is account id (note: default) . This parameter is optional, and can be omitted.
Now, for the item I said, it will show you the visual effect of Blessing and cast on you a lvl 5 Agi-Up! skill for 140 seconds.
For more item scripts see script_commands.txt in your doc folder, as well as item_bonus.txt in your doc folder.(note: not up to date in TMWa)
Ref.: http://eathena-project.googlecode.com/s ... p/status.h
note: I don't know where the equivalent is located in TMWa. Only contributors to server code can say what is actually available.
Wouldn't this effect the game play far too much?
Was is possible to talk to NPC while being in @hide?
If yes: also some NPC dialogues would sound really weird.
Anyway, as great as it sounds, IMO it's very bad for the balance of the game/quests
Hope I didn't miss a point in the discussion.
You are absolutely right and didn't miss anything, Cassy, this is why @hide doesn't allow to fight. Interaction with NPCs is possible with @hide, it is thus an issue for short sword (and speed) and maybe some others (marriage ?
). I don't know if it applies to OPTION_HIDE2 or cloaking. For Illia, if you can't kill you make it a lot more difficult for your team members and are more likely to fail. For Cindy, (or Candor) there is no need to be invisible to let others do the job, and it already happens
. There is probably a way to make NPC interaction impossible when hidden except mentioned otherwise. In my opinion, a PC should not be able to do anything but move (no fight, no spell) while cloaked, the status should stand for a short time, except if you pay it with mana or health and be rather rare and expensive. If the item can be balanced, I think the idea is worth digging it.
"The language of everyday life is clogged with sentiment, and the science of human nature has not advanced so far that we can describe individual sentiment in a clear way." Lancelot Hogben, Mathematics for the Million.
“There are two motives for reading a book; one, that you enjoy it; the other, that you can boast about it.” Bertrand Russell, Conquest of Happiness.
"If you optimize everything, you will always be unhappy." Donald Knuth.