Author: zookeeper
Date: Fri Oct 7 12:19:13 2011
New Revision: 51411
URL: http://svn.gna.org/viewcvs/wesnoth?rev=51411&view=rev
Log:
A new somewhat WIP fire breath animation for drakes, not wired in yet.
Added:
trunk/data/core/images/projectiles/fire-breath-1.png (with props)
trunk/data/core/images/projectiles/fire-breath-10.png (with props)
trunk/data/core/images/projectiles/fire-breath-2.png (with props)
trunk/data/core/images/projectiles/fire-breath-3.png (with props)
trunk/data/core/images/projectiles/fire-breath-4.png (with props)
trunk/data/core/images/projectiles/fire-breath-5.png (with props)
trunk/data/core/images/projectiles/fire-breath-6.png (with props)
trunk/data/core/images/projectiles/fire-breath-7.png (with props)
trunk/data/core/images/projectiles/fire-breath-8.png (with props)
trunk/data/core/images/projectiles/fire-breath-9.png (with props)
Modified:
trunk/data/core/macros/animation-utils.cfg
Added: trunk/data/core/images/projectiles/fire-breath-1.png
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/data/core/images/projectiles/fire-breath-1.png?rev=51411&view=auto
==============================================================================
Binary file - no diff available.
Propchange: trunk/data/core/images/projectiles/fire-breath-1.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: trunk/data/core/images/projectiles/fire-breath-10.png
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/data/core/images/projectiles/fire-breath-10.png?rev=51411&view=auto
==============================================================================
Binary file - no diff available.
Propchange: trunk/data/core/images/projectiles/fire-breath-10.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: trunk/data/core/images/projectiles/fire-breath-2.png
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/data/core/images/projectiles/fire-breath-2.png?rev=51411&view=auto
==============================================================================
Binary file - no diff available.
Propchange: trunk/data/core/images/projectiles/fire-breath-2.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: trunk/data/core/images/projectiles/fire-breath-3.png
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/data/core/images/projectiles/fire-breath-3.png?rev=51411&view=auto
==============================================================================
Binary file - no diff available.
Propchange: trunk/data/core/images/projectiles/fire-breath-3.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: trunk/data/core/images/projectiles/fire-breath-4.png
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/data/core/images/projectiles/fire-breath-4.png?rev=51411&view=auto
==============================================================================
Binary file - no diff available.
Propchange: trunk/data/core/images/projectiles/fire-breath-4.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: trunk/data/core/images/projectiles/fire-breath-5.png
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/data/core/images/projectiles/fire-breath-5.png?rev=51411&view=auto
==============================================================================
Binary file - no diff available.
Propchange: trunk/data/core/images/projectiles/fire-breath-5.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: trunk/data/core/images/projectiles/fire-breath-6.png
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/data/core/images/projectiles/fire-breath-6.png?rev=51411&view=auto
==============================================================================
Binary file - no diff available.
Propchange: trunk/data/core/images/projectiles/fire-breath-6.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: trunk/data/core/images/projectiles/fire-breath-7.png
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/data/core/images/projectiles/fire-breath-7.png?rev=51411&view=auto
==============================================================================
Binary file - no diff available.
Propchange: trunk/data/core/images/projectiles/fire-breath-7.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: trunk/data/core/images/projectiles/fire-breath-8.png
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/data/core/images/projectiles/fire-breath-8.png?rev=51411&view=auto
==============================================================================
Binary file - no diff available.
Propchange: trunk/data/core/images/projectiles/fire-breath-8.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: trunk/data/core/images/projectiles/fire-breath-9.png
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/data/core/images/projectiles/fire-breath-9.png?rev=51411&view=auto
==============================================================================
Binary file - no diff available.
Propchange: trunk/data/core/images/projectiles/fire-breath-9.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Modified: trunk/data/core/macros/animation-utils.cfg
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/data/core/macros/animation-utils.cfg?rev=51411&r1=51410&r2=51411&view=diff
==============================================================================
--- trunk/data/core/macros/animation-utils.cfg (original)
+++ trunk/data/core/macros/animation-utils.cfg Fri Oct 7 12:19:13 2011
@@ -1985,6 +1985,204 @@
[/post_movement_anim]
#enddef
+#define DRAKE_FIRE_ANIM DRAKE_NAME DIRECTION_SUFFIX DIRECTION OFFSET_X OFFSET_Y
+ [attack_anim]
+ [filter_attack]
+ name=fire breath
+ [/filter_attack]
+ direction={DIRECTION}
+ hits=yes
+
+ offset=0.0
+
+ impact_burst_start_time=-160
+ [impact_burst_frame]
+ duration=320
+
halo=misc/blank-hex.png:1,projectiles/fire-burst-small-1.png:39,projectiles/fire-burst-small-2.png:40,projectiles/fire-burst-small-3.png:40,projectiles/fire-burst-small-4.png:40,projectiles/fire-burst-small-5.png:40,projectiles/fire-burst-small-6.png:40,projectiles/fire-burst-small-7.png:40,projectiles/fire-burst-small-8.png:39,misc/blank-hex.png:1
+ offset=1.0
+ layer=1
+ [/impact_burst_frame]
+
+ flame_trail_1_start_time=-450
+ flame_trail_2_start_time=-400
+ flame_trail_3_start_time=-350
+ flame_trail_4_start_time=-300
+ flame_trail_5_start_time=-250
+ [flame_trail_1_frame]
+ duration=500
+
halo=misc/blank-hex.png:1,projectiles/fire-breath-1.png:49,projectiles/fire-breath-2.png:50,projectiles/fire-breath-3.png:50,projectiles/fire-breath-4.png:50,projectiles/fire-breath-5.png:50,projectiles/fire-breath-6.png:50,projectiles/fire-breath-7.png:50,projectiles/fire-breath-8.png:50,projectiles/fire-breath-9.png:50,projectiles/fire-breath-10.png:49,misc/blank-hex.png:1
+ halo_x={OFFSET_X}~0:300,0
+ halo_y={OFFSET_Y}~0:300,0
+ offset=0.0~1.0:300,1.0~1.25:200
+ [/flame_trail_1_frame]
+ [flame_trail_2_frame]
+ duration=500
+
halo=misc/blank-hex.png:1,projectiles/fire-breath-1.png:49,projectiles/fire-breath-2.png:50,projectiles/fire-breath-3.png:50,projectiles/fire-breath-4.png:50,projectiles/fire-breath-5.png:50,projectiles/fire-breath-6.png:50,projectiles/fire-breath-7.png:50,projectiles/fire-breath-8.png:50,projectiles/fire-breath-9.png:50,projectiles/fire-breath-10.png:49,misc/blank-hex.png:1
+ halo_x={OFFSET_X}~0:300,0
+ halo_y={OFFSET_Y}~0:300,0
+ offset=0.0~1.0:300,1.0~1.20:200
+ [/flame_trail_2_frame]
+ [flame_trail_3_frame]
+ duration=500
+
halo=misc/blank-hex.png:1,projectiles/fire-breath-1.png:49,projectiles/fire-breath-2.png:50,projectiles/fire-breath-3.png:50,projectiles/fire-breath-4.png:50,projectiles/fire-breath-5.png:50,projectiles/fire-breath-6.png:50,projectiles/fire-breath-7.png:50,projectiles/fire-breath-8.png:50,projectiles/fire-breath-9.png:50,projectiles/fire-breath-10.png:49,misc/blank-hex.png:1
+ halo_x={OFFSET_X}~0:300,0
+ halo_y={OFFSET_Y}~0:300,0
+ offset=0.0~1.0:300,1.0~1.15:200
+ [/flame_trail_3_frame]
+ [flame_trail_4_frame]
+ duration=500
+
halo=misc/blank-hex.png:1,projectiles/fire-breath-1.png:49,projectiles/fire-breath-2.png:50,projectiles/fire-breath-3.png:50,projectiles/fire-breath-4.png:50,projectiles/fire-breath-5.png:50,projectiles/fire-breath-6.png:50,projectiles/fire-breath-7.png:50,projectiles/fire-breath-8.png:50,projectiles/fire-breath-9.png:50,projectiles/fire-breath-10.png:49,misc/blank-hex.png:1
+ halo_x={OFFSET_X}~0:300,0
+ halo_y={OFFSET_Y}~0:300,0
+ offset=0.0~1.0:300,1.0~1.10:200
+ [/flame_trail_4_frame]
+ [flame_trail_5_frame]
+ duration=500
+
halo=misc/blank-hex.png:1,projectiles/fire-breath-1.png:49,projectiles/fire-breath-2.png:50,projectiles/fire-breath-3.png:50,projectiles/fire-breath-4.png:50,projectiles/fire-breath-5.png:50,projectiles/fire-breath-6.png:50,projectiles/fire-breath-7.png:50,projectiles/fire-breath-8.png:50,projectiles/fire-breath-9.png:50,projectiles/fire-breath-10.png:49,misc/blank-hex.png:1
+ halo_x={OFFSET_X}~0:300,0
+ halo_y={OFFSET_Y}~0:300,0
+ offset=0.0~1.0:300,1.0~1.05:200
+ [/flame_trail_5_frame]
+
+ start_time=-900
+ [frame]
+ duration=100
+ image="units/drakes/{DRAKE_NAME}-fire-inhale-1.png"
+ sound=flame-big.ogg
+ [/frame]
+ [frame]
+ duration=100
+ image="units/drakes/{DRAKE_NAME}-fire-inhale-2.png"
+ [/frame]
+ [frame]
+ duration=100
+ image="units/drakes/{DRAKE_NAME}-fire-inhale-3.png"
+ [/frame]
+ [frame]
+ duration=100
+ image="units/drakes/{DRAKE_NAME}-fire-inhale-4.png"
+ [/frame]
+ [frame]
+ duration=100
+ image="units/drakes/{DRAKE_NAME}-fire-inhale-2.png"
+ [/frame]
+ [frame]
+ duration=100
+ image="units/drakes/{DRAKE_NAME}-fire-{DIRECTION_SUFFIX}-1.png"
+ [/frame]
+ [frame]
+ duration=100
+ image="units/drakes/{DRAKE_NAME}-fire-{DIRECTION_SUFFIX}-2.png"
+ [/frame]
+ [frame]
+ duration=100
+ image="units/drakes/{DRAKE_NAME}-fire-{DIRECTION_SUFFIX}-3.png"
+ [/frame]
+ [frame]
+ duration=100
+ image="units/drakes/{DRAKE_NAME}-fire-{DIRECTION_SUFFIX}-2.png"
+ [/frame]
+ [frame]
+ duration=100
+ image="units/drakes/{DRAKE_NAME}-fire-{DIRECTION_SUFFIX}-1.png"
+ [/frame]
+ [/attack_anim]
+
+ [attack_anim]
+ [filter_attack]
+ name=fire breath
+ [/filter_attack]
+ direction={DIRECTION}
+ hits=no
+
+ offset=0.0
+
+ flame_trail_1_start_time=-450
+ flame_trail_2_start_time=-400
+ flame_trail_3_start_time=-350
+ flame_trail_4_start_time=-300
+ flame_trail_5_start_time=-250
+ [flame_trail_1_frame]
+ duration=500
+
halo=misc/blank-hex.png:1,projectiles/fire-breath-1.png:49,projectiles/fire-breath-2.png:50,projectiles/fire-breath-3.png:50,projectiles/fire-breath-4.png:50,projectiles/fire-breath-5.png:50,projectiles/fire-breath-6.png:50,projectiles/fire-breath-7.png:50,projectiles/fire-breath-8.png:50,projectiles/fire-breath-9.png:50,projectiles/fire-breath-10.png:49,misc/blank-hex.png:1
+ halo_x={OFFSET_X}~0:300,0
+ halo_y={OFFSET_Y}~0:300,0
+ offset=0.0~1.0:300,1.0~1.5:200
+ [/flame_trail_1_frame]
+ [flame_trail_2_frame]
+ duration=500
+
halo=misc/blank-hex.png:1,projectiles/fire-breath-1.png:49,projectiles/fire-breath-2.png:50,projectiles/fire-breath-3.png:50,projectiles/fire-breath-4.png:50,projectiles/fire-breath-5.png:50,projectiles/fire-breath-6.png:50,projectiles/fire-breath-7.png:50,projectiles/fire-breath-8.png:50,projectiles/fire-breath-9.png:50,projectiles/fire-breath-10.png:49,misc/blank-hex.png:1
+ halo_x={OFFSET_X}~0:300,0
+ halo_y={OFFSET_Y}~0:300,0
+ offset=0.0~1.0:300,1.0~1.4:200
+ [/flame_trail_2_frame]
+ [flame_trail_3_frame]
+ duration=500
+
halo=misc/blank-hex.png:1,projectiles/fire-breath-1.png:49,projectiles/fire-breath-2.png:50,projectiles/fire-breath-3.png:50,projectiles/fire-breath-4.png:50,projectiles/fire-breath-5.png:50,projectiles/fire-breath-6.png:50,projectiles/fire-breath-7.png:50,projectiles/fire-breath-8.png:50,projectiles/fire-breath-9.png:50,projectiles/fire-breath-10.png:49,misc/blank-hex.png:1
+ halo_x={OFFSET_X}~0:300,0
+ halo_y={OFFSET_Y}~0:300,0
+ offset=0.0~1.0:300,1.0~1.3:200
+ [/flame_trail_3_frame]
+ [flame_trail_4_frame]
+ duration=500
+
halo=misc/blank-hex.png:1,projectiles/fire-breath-1.png:49,projectiles/fire-breath-2.png:50,projectiles/fire-breath-3.png:50,projectiles/fire-breath-4.png:50,projectiles/fire-breath-5.png:50,projectiles/fire-breath-6.png:50,projectiles/fire-breath-7.png:50,projectiles/fire-breath-8.png:50,projectiles/fire-breath-9.png:50,projectiles/fire-breath-10.png:49,misc/blank-hex.png:1
+ halo_x={OFFSET_X}~0:300,0
+ halo_y={OFFSET_Y}~0:300,0
+ offset=0.0~1.0:300,1.0~1.2:200
+ [/flame_trail_4_frame]
+ [flame_trail_5_frame]
+ duration=500
+
halo=misc/blank-hex.png:1,projectiles/fire-breath-1.png:49,projectiles/fire-breath-2.png:50,projectiles/fire-breath-3.png:50,projectiles/fire-breath-4.png:50,projectiles/fire-breath-5.png:50,projectiles/fire-breath-6.png:50,projectiles/fire-breath-7.png:50,projectiles/fire-breath-8.png:50,projectiles/fire-breath-9.png:50,projectiles/fire-breath-10.png:49,misc/blank-hex.png:1
+ halo_x={OFFSET_X}~0:300,0
+ halo_y={OFFSET_Y}~0:300,0
+ offset=0.0~1.0:300,1.0~1.1:200
+ [/flame_trail_5_frame]
+
+ start_time=-900
+ [frame]
+ duration=100
+ image="units/drakes/{DRAKE_NAME}-fire-inhale-1.png"
+ sound=flame-big-miss.ogg
+ [/frame]
+ [frame]
+ duration=100
+ image="units/drakes/{DRAKE_NAME}-fire-inhale-2.png"
+ [/frame]
+ [frame]
+ duration=100
+ image="units/drakes/{DRAKE_NAME}-fire-inhale-3.png"
+ [/frame]
+ [frame]
+ duration=100
+ image="units/drakes/{DRAKE_NAME}-fire-inhale-4.png"
+ [/frame]
+ [frame]
+ duration=100
+ image="units/drakes/{DRAKE_NAME}-fire-inhale-2.png"
+ [/frame]
+ [frame]
+ duration=100
+ image="units/drakes/{DRAKE_NAME}-fire-{DIRECTION_SUFFIX}-1.png"
+ [/frame]
+ [frame]
+ duration=100
+ image="units/drakes/{DRAKE_NAME}-fire-{DIRECTION_SUFFIX}-2.png"
+ [/frame]
+ [frame]
+ duration=100
+ image="units/drakes/{DRAKE_NAME}-fire-{DIRECTION_SUFFIX}-3.png"
+ [/frame]
+ [frame]
+ duration=100
+ image="units/drakes/{DRAKE_NAME}-fire-{DIRECTION_SUFFIX}-2.png"
+ [/frame]
+ [frame]
+ duration=100
+ image="units/drakes/{DRAKE_NAME}-fire-{DIRECTION_SUFFIX}-1.png"
+ [/frame]
+ [/attack_anim]
+#enddef
+
#define DRAKE_FIRE_ANIM_S_DIAGONAL DRAKE_NAME OFFSET_POSITION
[attack_anim]
[filter_attack]
_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits