| 01-31-2004, 09:04 PM | #1 |
How could you make an ability that has more data. Like a immolation that does thunderclap when started and the immolation makes you invuln but you can turn off the ability and you will return to normal. I think it could be done by making an ability using text but im not sure if it would work and not sure of how to do it. I know it would have to be put in a folder named units(i think) and use mpq to extract the abilitys text file and add the ability to it. Im no sure how to lay out the text and such in the text document and what thing in the beginning of the text is ( the [ANsu] or w/e). To my knolege the ability you make your custom ability of of limits the things the ability can do like immolation cannot have a 200 damage on cast data that affects everybody within the immolation range. |
| 02-01-2004, 06:58 AM | #2 |
Uhm.. you can't make abilities with text the way you describe. If you want to design new kind of spells, you need to use triggers. It goes like: Event: A unit starts the effect of an ability Conditions: (Ability being cast) Equal to <Your ability> Action: <Do whatever you spell does> It takes time and imagination to become good at trigger enhanced spell making, but it's the only way to do what you describe. The above was an example for a one-shot spell, this may work for the Immolation spell: Event: A unit starts the effect on an ability Conditions: (Ability being cast) Equal to Immolation Actions: Make (Casting unit) Invulnerable Event: A unit stops casting an ability Conditions: (Ability being cast) Equal to Immolation Actions: Make (Casting unit) Vulnerable |
| 02-01-2004, 03:53 PM | #3 |
Ok i just found out... everybody should learn from this... you get winmpq or another extractor and open war3.mpq and extract all the orc, NE, undead and human adilityfunction and abilitystring.txt files and the abilitydata.slk file(if you want to use items also extract the itemdata.slk and the item text files.(i don't think the upgrade.slk is needed if you don't want to make the ability require a researched upgrade.) Open abilitydata.slk and upgradedata.slk and add a new row onto it using excel and fill out the information as you like(hold the mouse over the cells with red arrows to see wft the abbreviation means) make an unique alias, code and uber alias for the ability. On the upgrade.slk file make a new upgrade and give it an unique upgradeid.(make the code, alias, and uberalias fields have the same value but not the same as another item) Then make a new ability on the human(NE, ect or w/e)abilityfunction.txt and string.txt fill out the information as you like.but make sure the require=Absd or w/e means the it requires Absd to work(the upgradeid should be in the require field for this). *******(((((you should be able to add more data columns on the excel files and thus make your abilities have more affects)))))******* Fill out all the stuff by looking at the other abilities/upgrades and the red arrows and abbreviations, fire up UNSWE after reinserting the data you changed and edit your abilities more by using UMSWE. The upgrades can be useful if adding data columns does not work. -The files are pretty self explanatory i am mini.me. too sry |
| 02-02-2004, 04:31 AM | #4 |
one thing, make the art of it in the obj editor correct. |
| 02-02-2004, 04:44 AM | #5 |
That's...common knowledge. It still can't do what you want. |
