Setitems, like in diablo (bad game, but nice feature).
If the player has all items of a set, they get additional properties. There is as well a nice visual effect.
Just copy everything from the txt file in a script, include it in onpc equip and unequip event and call the 2 main functions.
Every set and the properties can easily be added in the script, a good explanation is in the script. Don�t forget to tell in the item description that it�s a setitem and what properties it can get. Make sure that those setitems are rare and not easy to find!
Normally I use the HotU item script. When I use the example given in your script (set_145_3_1; set_145_3_2; set_145_3_3) I will get 3 scripts.
Where do I put the include ch_setitems? At the top of the itemscript or at the appropriate equip/unequip lines?
At the top of the ch_setitems script it is mentioned to call CheckSetItemEquip(oPC, oItem) and the same for Unequip. Where do I put these lines? _________________________ Dark Lord Azagthoth
Bad BAD bug, when you log on wearing a set examine your set items, will show like 10 x the same property, not too important for some as they don't stack..... regen however does stack, not good. _________________________ §çà®Fãçë�
Posted by elf8bliss ( 69.230.xxx.xxx ) at 2005-06-23 12:38:45
Could I get a litte more detail on how this script works and is applied? Do I need to create a custom script that fires these properties from the ch_setitems? Could you maybe include a small example module that use it, it's a better visual for me?
Thx!
Posted by Qhenk ( 217.209.xxx.xxx ) at 2005-06-21 15:15:31
The script name is "ch_setitems"
it didnt told me that when i imported it, but i saw it when i imported it the second time (overwrite script).
Posted by Master Lexx at 2005-06-17 06:27:53 Voted 10.00 on 06/09/05
As i know, there is only 1 script included in the erf. The information about the individual sets is held in the very top function (right there wehere you can see the example set). I could have split it into two scripts but I don´t know if that makes any sense or if somebody would like this so...
Posted by Qhenk ( 217.209.xxx.xxx ) at 2005-06-15 05:42:17
What's the name of the script, that hold´s the information?
Posted by Master Lexx at 2005-06-09 22:21:34 Voted 10.00 on 06/09/05
Setitems are cool. And this script has all the power.
You must be Logged In to post comments in this section.