H2 make ability animation similar to leadership
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.
H2 make ability animation similar to leadership
I want to make a animation for the ability Distract. How can I code that in WML?
Examples are Leadership or Healing, but where are they coded?
Examples are Leadership or Healing, but where are they coded?
My Temple Project: http://forums.wesnoth.org/viewtopic.php?f=23&t=29800
This is "must-play" campaign! Don´t read the thread, unless you need help. http://forums.wesnoth.org/viewtopic.php?f=8&t=31895
This is "must-play" campaign! Don´t read the thread, unless you need help. http://forums.wesnoth.org/viewtopic.php?f=8&t=31895
Re: H2 make ability animation similar to leadership
http://wiki.wesnoth.org/AnimationWML
giving the unit a second standing animation could work - but i can't see how you could filter for adjacent units (i guess you only want to display it when enemy units are standing next to your unit)...
giving the unit a second standing animation could work - but i can't see how you could filter for adjacent units (i guess you only want to display it when enemy units are standing next to your unit)...
Re: H2 make ability animation similar to leadership
To be precise. I want the animation to be displayed when the ability is used.
Similar to leadership or Healing. In my case it is the ability Distract. But could be anything.
Giving it a thought I could proberbly make a Leadership clone with the Distract Ability in wml. Thus should let me use the leadership animation.
However are there other options?
Similar to leadership or Healing. In my case it is the ability Distract. But could be anything.
Giving it a thought I could proberbly make a Leadership clone with the Distract Ability in wml. Thus should let me use the leadership animation.
However are there other options?
My Temple Project: http://forums.wesnoth.org/viewtopic.php?f=23&t=29800
This is "must-play" campaign! Don´t read the thread, unless you need help. http://forums.wesnoth.org/viewtopic.php?f=8&t=31895
This is "must-play" campaign! Don´t read the thread, unless you need help. http://forums.wesnoth.org/viewtopic.php?f=8&t=31895
Re: H2 make ability animation similar to leadership
When is the ability used? Be precise.Tet wrote:To be precise. I want the animation to be displayed when the ability is used.
Re: H2 make ability animation similar to leadership
As I understand, the distract ability gives adjacent friendly units a skirmisher-like power.
So, the animation would be played while the friendly units move around the enemies, where they could not move otherwise because of ZOC.
So, the animation would be played while the friendly units move around the enemies, where they could not move otherwise because of ZOC.
Re: H2 make ability animation similar to leadership
Exactly. I think it would be cool if the distract using unit does some crazy moves, while other units pass by.
I was not awere that this is a major challenge to implement. I expected an easy solution. I still think it is worthwhile to have other ability animations. Please support this topic.
I was not awere that this is a major challenge to implement. I expected an easy solution. I still think it is worthwhile to have other ability animations. Please support this topic.
My Temple Project: http://forums.wesnoth.org/viewtopic.php?f=23&t=29800
This is "must-play" campaign! Don´t read the thread, unless you need help. http://forums.wesnoth.org/viewtopic.php?f=8&t=31895
This is "must-play" campaign! Don´t read the thread, unless you need help. http://forums.wesnoth.org/viewtopic.php?f=8&t=31895