| 01-30-2003, 01:13 AM | #1 |
I've been trying to create new items for my map, but I use 5 different healing potions so I decided to create a new ability for each one. But it doesn't work. Even when I edit the ItemData.slk file (I changed everything so it would be called HealA and the string.txt so it would say "Minor healing potion" but all I get in WE is Unknown (Heal). How do you create items, can someone walk me through the advanced parts of renaming? (I already know how to create/modify spells so don't explain that over) |
| 01-30-2003, 02:23 AM | #2 |
cmon this is a really important issue right now |
| 01-30-2003, 02:58 AM | #3 |
maybe make a custom item and change what it does to your healing thing? |
| 01-30-2003, 03:21 AM | #4 |
Items are really one of the most powerful things that are quickly overlooked. If you want a better healing potion, try this, taken from my Resident Evil map: First Aid Spray: Event: Unit uses item Cond: Item Manip. = to FASpray Action: Unit Set Life of Hero Manip. Item to (Arithmetic) [Life of Hero Manip. Item] + [Max Life of Hero Manip. Item x 0.20]. For your actual item make sure to fill in the appropriate fields (name, description, tooltip, etc.). Next make it perishable, set the charges, and make it actively used. Most importantly, give it an effect so that it triggers. The two I use the most are lesser invisibilty and temp. speed bonus. |
| 01-30-2003, 07:48 PM | #5 |
No you see I'm trying to create the new ability for it, not use triggers. In the abilitydata and itemdata.slk is what I need help with, but w/e ill figger it out |
| 01-30-2003, 11:46 PM | #6 |
The "Unknown (AIe3)" or whatever is because the WE is reading this entry in your abilitydata.slk however im not positive it reads ItemAbilityString.txt so just place your item string and item func stuff into NeutralAbilityFunc.txt, (that works for me at least). And double check you code alias and uber alias. Also, item abilities are seem to be a lot more hard coded than spells (ie. targets and some Data1X), but hopefully the healing potion isnt one of these =) For ex: tome of knowledge cant be used as base for anything other than +1/+1/+1, but tome of str +2 can be made into +X/+Y/+Z, and potion of speed always increases movement by .5 no matter what Data11 says, and im sure there are others but these are the ones I know. |
