| 04-17-2003, 08:47 AM | #1 |
Quick Question: In my map I have a hero which has the skill ' Inner Fire ' some of you may have heard of it before . I need the hero to have the ability to cast Inner Fire on himself.... which by default is not possible. What would I do to allow this? :hm: |
| 04-17-2003, 08:52 AM | #2 |
Guest | I think that you need to change it in the abilitydata.slk, there you can chose what the players are alowed to attack with the spell Correct me on this!..¿ |
| 04-17-2003, 09:25 AM | #3 |
I have extracted the abilitydata.slk file... however, i do not know which program to open the file in. I don't have Microsoft Excel :bangH: |
| 04-17-2003, 01:37 PM | #4 |
Search Google for a spreadsheet editor. |
| 04-18-2003, 01:10 AM | #5 |
get redscull's editor. create a new ability based off inner fire. click on the targets field and get rid of "notself" and add "self". Voila, you're done! *EDIT* errr, went into the editor and looked and "notself" isn't there. Well, play around with the targets in any case and you should be able to make it work. by the way, base it off of a creep version, unless you want it to require research. |
| 04-18-2003, 01:21 AM | #6 |
...or just set Priest Master Training to researched. |
| 04-18-2003, 09:45 PM | #7 |
If you don't want them to even have to target themselves... You could do this... Give the hero an ability that doesn't take targets but does nothing. Make it have the tooltips and everything of inner fire so that the player will not know that it is not the real spell. Then give the hero the ACTUAL innr fire spell, but change its properites so that you make sure it is pushed off the control panel so it cannot be used. Then when the player uses his "fake" inner fire ability, have a trigger that orders the unit to cast inner fire on itself. And there you have it... The unit just cast inner fire on itself with the push of a button, and didn't require a target. The player won't even know the button he's clicking on is not the real spell! For best results I suggest you make the REAL inner fire spell cost no mana, and the FAKE spell that the person clicks on cost the mana you want them to spend, so that they cannot even attempt to push the button without the mana cost, and the mana cost is also displayed on the button for the player to see. |
| 04-19-2003, 04:36 AM | #8 |
Yeah, all you need to do with some spreadsheet program, is add "self" to the target field for the inner fire spell in abilitydata.slk and it works. |
| 04-19-2003, 06:19 PM | #9 |
Oh yeah, and technically, you could open it with wordpad or notepad and change it in there. It's definately harder to read, but you just have to Search for Inner Fire and about 8 rows down from that, there's a target field. Add self and it should work. |
| 04-19-2003, 10:08 PM | #10 |
use open office, its free: www.openoffice.org |
