Author: shadowmaster
Date: Wed Mar 19 20:26:51 2008
New Revision: 24880
URL: http://svn.gna.org/viewcvs/wesnoth?rev=24880&view=rev
Log:
* Made Delfador's thunderbolt missile animations reusable by UMC
Modified:
trunk/data/campaigns/Heir_To_The_Throne/units/Elder_Mage.cfg
trunk/data/core/macros/animation-utils.cfg
Modified: trunk/data/campaigns/Heir_To_The_Throne/units/Elder_Mage.cfg
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/data/campaigns/Heir_To_The_Throne/units/Elder_Mage.cfg?rev=24880&r1=24879&r2=24880&view=diff
==============================================================================
--- trunk/data/campaigns/Heir_To_The_Throne/units/Elder_Mage.cfg (original)
+++ trunk/data/campaigns/Heir_To_The_Throne/units/Elder_Mage.cfg Wed Mar 19
20:26:51 2008
@@ -93,28 +93,7 @@
name=lightning
[/attack_filter]
- [if]
- direction=sw,s,se
-
- [missile_frame]
- begin=-250
- end=150
-
halo=halo/lightning-bolt-{DIRECTION_NUMBER}-1.png~FL(vert):100,halo/lightning-bolt-{DIRECTION_NUMBER}-2.png~FL(vert):100,halo/lightning-bolt-{DIRECTION_NUMBER}-3.png~FL(vert):100,halo/lightning-bolt-{DIRECTION_NUMBER}-4.png~FL(vert):100
- halo_y=-125
- offset=1.0
- [/missile_frame]
- [/if]
- [else]
- direction=nw,n,ne
-
- [missile_frame]
- begin=-250
- end=150
-
halo=halo/lightning-bolt-{DIRECTION_NUMBER}-1.png:100,halo/lightning-bolt-{DIRECTION_NUMBER}-2.png:100,halo/lightning-bolt-{DIRECTION_NUMBER}-3.png:100,halo/lightning-bolt-{DIRECTION_NUMBER}-4.png:100
- halo_y=-125
- offset=1.0
- [/missile_frame]
- [/else]
+ {LIGHTNING_BOLT}
[if]
hits=yes
Modified: trunk/data/core/macros/animation-utils.cfg
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/data/core/macros/animation-utils.cfg?rev=24880&r1=24879&r2=24880&view=diff
==============================================================================
--- trunk/data/core/macros/animation-utils.cfg (original)
+++ trunk/data/core/macros/animation-utils.cfg Wed Mar 19 20:26:51 2008
@@ -1184,3 +1184,29 @@
offset=1.0
[/missile_frame]
#enddef
+
+#define LIGHTNING_BOLT
+ [if]
+ direction=sw,s,se
+
+ [missile_frame]
+ begin=-250
+ end=150
+
halo=halo/lightning-bolt-{DIRECTION_NUMBER}-1.png~FL(vert):100,halo/lightning-bolt-{DIRECTION_NUMBER}-2.png~FL(vert):100,halo/lightning-bolt-{DIRECTION_NUMBER}-3.png~FL(vert):100,halo/lightning-bolt-{DIRECTION_NUMBER}-4.png~FL(vert):100
+ halo_y=-125
+ offset=1.0
+ [/missile_frame]
+ [/if]
+ [else]
+ direction=nw,n,ne
+
+ [missile_frame]
+ begin=-250
+ end=150
+
halo=halo/lightning-bolt-{DIRECTION_NUMBER}-1.png:100,halo/lightning-bolt-{DIRECTION_NUMBER}-2.png:100,halo/lightning-bolt-{DIRECTION_NUMBER}-3.png:100,halo/lightning-bolt-{DIRECTION_NUMBER}-4.png:100
+ halo_y=-125
+ offset=1.0
+ [/missile_frame]
+ [/else]
+#enddef
+
_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits