Updating unit definitions for 1.1.1+
Moderator: Forum Moderators
Forum rules
- Please use [code] BBCode tags in your posts for embedding WML snippets.
- To keep your code readable so that others can easily help you, make sure to indent it following our conventions.
Updating unit definitions for 1.1.1+
I'm going through and updating my custom unit files to be compatable for 1.1.1+. I'm just fixing the things I have noticed have changed in the unit WML pages. Here's what I've found:
change long to ranged
change short to melee
change image_defensive to [defend] tag
change ability= to [abilities] tag
add [animation] [/animation] tags for each attack
(the [ability] tags seem to use macros for each ability, but I can't find any documentation on these macros in the WML help files)
Are there any changes I am missing? Thanks.
change long to ranged
change short to melee
change image_defensive to [defend] tag
change ability= to [abilities] tag
add [animation] [/animation] tags for each attack
(the [ability] tags seem to use macros for each ability, but I can't find any documentation on these macros in the WML help files)
Are there any changes I am missing? Thanks.
Creator of Under the Burning Suns
Thanks Xan, I'll check that out. If I can get the c++ code to work, it might make my life easier.
I also forgot changing image_moving to [movement_anim] tag
I also forgot changing image_moving to [movement_anim] tag
Creator of Under the Burning Suns
Both styles work right now so everyone's campaigns don't break. However, someday it will won't work anymore.
Hope springs eternal.
Wesnoth acronym guide.
Wesnoth acronym guide.
I apoligize, I did notice this new forum had been created. Did you swap the unit and secondary_unit definitions for "sighted" events. It looks like they've been switched around but I'm not sure. I think I remember it used to be that the unit was the one you were seeing, and the secondary unit was your unit.Boucman wrote:there is a sticky thread in this same forum that list every change in unit WML....
I even edit the first post every time to keep it up to date.
Creator of Under the Burning Suns