Author: zookeeper
Date: Sat Apr  5 21:03:23 2008
New Revision: 25590

URL: http://svn.gna.org/viewcvs/wesnoth?rev=25590&view=rev
Log:
Made the fireball miss animation prettier.

Modified:
    branches/1.4/data/core/macros/animation-utils.cfg

Modified: branches/1.4/data/core/macros/animation-utils.cfg
URL: 
http://svn.gna.org/viewcvs/wesnoth/branches/1.4/data/core/macros/animation-utils.cfg?rev=25590&r1=25589&r2=25590&view=diff
==============================================================================
--- branches/1.4/data/core/macros/animation-utils.cfg (original)
+++ branches/1.4/data/core/macros/animation-utils.cfg Sat Apr  5 21:03:23 2008
@@ -935,6 +935,78 @@
        [else]
                direction=n,ne,nw
                hits=no
+               
+               missile_offset=0.0~0.25,0.25~0.45,0.45~0.60,0.6~0.7
+               missile_alpha=1.0,1.0~0.0
+
+               [missile_frame]
+               duration=40
+               image="projectiles/fireball-n-1.png"
+               image_diagonal="projectiles/fireball-nw-1.png"
+       [/missile_frame]
+       [missile_frame]
+                       duration=40
+                       halo="projectiles/fireball-impact-3.png"
+               [/missile_frame]
+               [missile_frame]
+                       duration=40
+                       halo="projectiles/fireball-impact-4.png"
+               [/missile_frame]
+               [missile_frame]
+                       duration=40
+                       halo="projectiles/fireball-impact-5.png"
+               [/missile_frame]
+               [missile_frame]
+                       duration=40
+                       halo="projectiles/fireball-impact-6.png"
+               [/missile_frame]
+               [missile_frame]
+                       duration=40
+                       halo="projectiles/fireball-impact-7.png"
+               [/missile_frame]
+               [missile_frame]
+                       duration=40
+                       halo="projectiles/fireball-impact-8.png"
+               [/missile_frame]
+               [missile_frame]
+                       duration=40
+                       halo="projectiles/fireball-impact-9.png"
+               [/missile_frame]
+               [missile_frame]
+                       duration=40
+                       halo="projectiles/fireball-impact-10.png"
+               [/missile_frame]
+               [missile_frame]
+                       duration=40
+                       halo="projectiles/fireball-impact-11.png"
+               [/missile_frame]
+               [missile_frame]
+                       duration=40
+                       halo="projectiles/fireball-impact-12.png"
+               [/missile_frame]
+               [missile_frame]
+                       duration=40
+                       halo="projectiles/fireball-impact-13.png"
+               [/missile_frame]
+               [missile_frame]
+                       duration=40
+                       halo="projectiles/fireball-impact-14.png"
+               [/missile_frame]
+               [missile_frame]
+                       duration=40
+                       halo="projectiles/fireball-impact-15.png"
+               [/missile_frame]
+               [missile_frame]
+                       duration=40
+                       halo="projectiles/fireball-impact-16.png"
+               [/missile_frame]
+    [/else]
+    [else]
+               direction=s,se,sw
+               hits=no
+               
+               missile_offset=0.0~0.25,0.25~0.45,0.45~0.60,0.6~0.7
+               missile_alpha=1.0,1.0~0.0
 
                [missile_frame]
                duration=40
@@ -944,84 +1016,59 @@
        [/missile_frame]
        [missile_frame]
                        duration=40
-                       halo="projectiles/fireball-impact-3.png"
-                       offset=0.1~0.3
-               [/missile_frame]
-               [missile_frame]
-                       duration=40
-                       halo="projectiles/fireball-impact-4.png"
-                       offset=0.3~0.4
-                       alpha=1.0~0.8
-               [/missile_frame]
-               [missile_frame]
-                       duration=40
-                       halo="projectiles/fireball-impact-5.png"
-                       offset=0.4~0.45
-                       alpha=0.8~0.6
-               [/missile_frame]
-               [missile_frame]
-                       duration=40
-                       halo="projectiles/fireball-impact-6.png"
-                       offset=0.45~0.5
-                       alpha=0.6~0.4
-               [/missile_frame]
-               [missile_frame]
-                       duration=40
-                       halo="projectiles/fireball-impact-7.png"
-                       offset=0.5
-                       alpha=0.4~0.2
-               [/missile_frame]
-               [missile_frame]
-                       duration=40
-                       halo="projectiles/fireball-impact-8.png"
-                       offset=0.5
-                       alpha=0.2~0.0
-               [/missile_frame]
-    [/else]
-    [else]
-               direction=s,se,sw
-               hits=no
-
-               [missile_frame]
-               duration=40
-               image="projectiles/fireball-n-1.png"
-               image_diagonal="projectiles/fireball-nw-1.png"
-               offset=0.0~0.1
-       [/missile_frame]
-       [missile_frame]
-                       duration=40
                        halo="projectiles/fireball-impact-3.png~FL(vert)"
-                       offset=0.1~0.3
                [/missile_frame]
                [missile_frame]
                        duration=40
                        halo="projectiles/fireball-impact-4.png~FL(vert)"
-                       offset=0.3~0.4
-                       alpha=1.0~0.8
                [/missile_frame]
                [missile_frame]
                        duration=40
                        halo="projectiles/fireball-impact-5.png~FL(vert)"
-                       offset=0.4~0.45
-                       alpha=0.8~0.6
                [/missile_frame]
                [missile_frame]
                        duration=40
                        halo="projectiles/fireball-impact-6.png~FL(vert)"
-                       offset=0.45~0.5
-                       alpha=0.6~0.4
                [/missile_frame]
                [missile_frame]
                        duration=40
                        halo="projectiles/fireball-impact-7.png~FL(vert)"
-                       offset=0.5
-                       alpha=0.4~0.2
                [/missile_frame]
                [missile_frame]
                        duration=40
                        halo="projectiles/fireball-impact-8.png~FL(vert)"
-                       offset=0.5
-                       alpha=0.2~0.0
+               [/missile_frame]
+               [missile_frame]
+                       duration=40
+                       halo="projectiles/fireball-impact-9.png~FL(vert)"
+               [/missile_frame]
+               [missile_frame]
+                       duration=40
+                       halo="projectiles/fireball-impact-10.png~FL(vert)"
+               [/missile_frame]
+               [missile_frame]
+                       duration=40
+                       halo="projectiles/fireball-impact-11.png~FL(vert)"
+               [/missile_frame]
+               [missile_frame]
+                       duration=40
+                       halo="projectiles/fireball-impact-12.png~FL(vert)"
+               [/missile_frame]
+               [missile_frame]
+                       duration=40
+                       halo="projectiles/fireball-impact-13.png~FL(vert)"
+               [/missile_frame]
+               [missile_frame]
+                       duration=40
+                       halo="projectiles/fireball-impact-14.png~FL(vert)"
+               [/missile_frame]
+               [missile_frame]
+                       duration=40
+                       halo="projectiles/fireball-impact-15.png~FL(vert)"
+               [/missile_frame]
+               [missile_frame]
+                       duration=40
+                       halo="projectiles/fireball-impact-16.png~FL(vert)"
                [/missile_frame]
     [/else]
 #enddef


_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits

Reply via email to