| 09-03-2003, 05:22 PM | #1 |
I'd like to modify the model displayed on a unit when it is buffed, i.e. Put a sheep above someone when inner fire is cast... How do I do this? Cheers Cata |
| 09-03-2003, 06:10 PM | #2 |
The buffs aren't in the abilitydata.slk so they aren't in the editor. You have to add a new line to the abilitydata.slk with the spellcode. (for Inner Fire Binf) It doesnt really matter, what you enter, because its a buff, but it has to be inside the abilitydata.slk. When you edited the abilitydata.slk you have to put it inside the units\ folder in you wc3 folder. The buff will now show up in the editor. You don't have to import the modified abilitydata.slk into the map in order to make it work, because you didn't "really" add anything new. |
| 09-03-2003, 06:16 PM | #3 |
This won't change the model for Inner Fire though. I want to change the golden horse shoe with the spinning crown into a sheep, not create a new spell (well, maybe later at some point). Cheers Cata |
| 09-03-2003, 07:22 PM | #4 |
My english isn't very good, so I didn't give an explanation... When you do exactly as I said, you can change the model of the buff into a sheep. You can't change it normally because the buff is an other spell than the castable version. The buff-spell isn't in the abilitydata.slk though. So you cant change it because its not in the editor. (actually you can change it, but not with the editor) When you added the buff to the abilitydata.slk you can change it in the editor. It doesn't matter what you write into the abilitydata.slk, as long as you write the spell into it. The only thing you have to write in the abilitydata.slk is the category (hero or not, item or not, nightelf, human, other) so the editor is able to show it. |
| 09-03-2003, 08:47 PM | #5 |
Alternatively, you don't need to add the file to your editor (since that's a bit more complicated of a process). You can, instead, extract the file Units\HumanAbilityFunc.txt (which can be found in your war3x.mpq), edit the buff information for Inner Fire (it's the block of stuff immediately after the spell information) and change the model from what it is to your sheep. Then, insert it into your map with the Import Editor and change the path to be identical to what it is in the war3x.mpq (i.e. Units\HumanAbilityFunc.txt). Really, that's simple. Really! |
