Added scripting for an explosion animation when a fireball impacts on a target.
This commit is contained in:
parent
e801c3831e
commit
9e486fa487
1 changed files with 209 additions and 18 deletions
|
@ -541,24 +541,215 @@
|
|||
|
||||
#define MISSILE_FRAME_FIREBALL
|
||||
# Animate a projectile for a fireball attack.
|
||||
[missile_frame]
|
||||
begin=-220
|
||||
end=-100
|
||||
image="projectiles/fireball-n-2.png"
|
||||
image_diagonal="projectiles/fireball-nw-2.png"
|
||||
[/missile_frame]
|
||||
[missile_frame]
|
||||
begin=-100
|
||||
end=25
|
||||
image="projectiles/fireball-n.png"
|
||||
image_diagonal="projectiles/fireball-nw.png"
|
||||
[/missile_frame]
|
||||
[missile_frame]
|
||||
begin=25
|
||||
end=80
|
||||
image="projectiles/fireball-n-2.png"
|
||||
image_diagonal="projectiles/fireball-nw-2.png"
|
||||
[/missile_frame]
|
||||
|
||||
### Note for WML/Animation wizards - if this animation can be made to play this frame when the attack misses, things will look considerably better. I'm not sure if it's possible (multiple parameters to a conditional and/or multiple conditionals) ; I tried a few things in my copy of 1.3.12, and failed. It should mimic the saurian animation in terms of final effect - it should play a quick fade-to-transparent animation when the attack misses.
|
||||
## hits=no
|
||||
# [missile_frame]
|
||||
# duration=200
|
||||
# image="projectiles/fireball-n-1.png"
|
||||
# image_diagonal="projectiles/fireball-nw-1.png"
|
||||
# offset=0.0~0.6
|
||||
# alpha=.8~0.0:200
|
||||
## [/missile_frame]
|
||||
|
||||
[missile_frame]
|
||||
duration=40
|
||||
image="projectiles/fireball-n-1.png"
|
||||
image_diagonal="projectiles/fireball-nw-1.png"
|
||||
offset=0.0~0.10
|
||||
[/missile_frame]
|
||||
[missile_frame]
|
||||
duration=100
|
||||
image="projectiles/fireball-n-2.png"
|
||||
image_diagonal="projectiles/fireball-nw-2.png"
|
||||
offset=0.1~0.30
|
||||
[/missile_frame]
|
||||
[missile_frame]
|
||||
duration=125
|
||||
image="projectiles/fireball-n.png"
|
||||
image_diagonal="projectiles/fireball-nw.png"
|
||||
offset=0.3~0.60
|
||||
[/missile_frame]
|
||||
[missile_frame]
|
||||
duration=55
|
||||
image="projectiles/fireball-n-2.png"
|
||||
image_diagonal="projectiles/fireball-nw-2.png"
|
||||
offset=0.7~0.8
|
||||
[/missile_frame]
|
||||
[missile_frame]
|
||||
duration=30
|
||||
image="projectiles/fireball-n-1.png"
|
||||
image_diagonal="projectiles/fireball-nw-1.png"
|
||||
offset=0.8~0.9
|
||||
[/missile_frame]
|
||||
[if]
|
||||
direction=n,ne,nw
|
||||
|
||||
[missile_frame]
|
||||
duration=60
|
||||
halo="projectiles/fireball-impact-1.png"
|
||||
offset=1.0
|
||||
[/missile_frame]
|
||||
[missile_frame]
|
||||
duration=60
|
||||
halo="projectiles/fireball-impact-2.png"
|
||||
offset=1.0
|
||||
[/missile_frame]
|
||||
[missile_frame]
|
||||
duration=60
|
||||
halo="projectiles/fireball-impact-3.png"
|
||||
offset=1.0
|
||||
[/missile_frame]
|
||||
[missile_frame]
|
||||
duration=60
|
||||
halo="projectiles/fireball-impact-4.png"
|
||||
offset=1.0
|
||||
[/missile_frame]
|
||||
[missile_frame]
|
||||
duration=60
|
||||
halo="projectiles/fireball-impact-5.png"
|
||||
offset=1.0
|
||||
[/missile_frame]
|
||||
[missile_frame]
|
||||
duration=60
|
||||
halo="projectiles/fireball-impact-6.png"
|
||||
offset=1.0
|
||||
[/missile_frame]
|
||||
[missile_frame]
|
||||
duration=60
|
||||
halo="projectiles/fireball-impact-7.png"
|
||||
offset=1.0
|
||||
[/missile_frame]
|
||||
[missile_frame]
|
||||
duration=60
|
||||
halo="projectiles/fireball-impact-8.png"
|
||||
offset=1.0
|
||||
[/missile_frame]
|
||||
[missile_frame]
|
||||
duration=60
|
||||
halo="projectiles/fireball-impact-9.png"
|
||||
offset=1.0
|
||||
[/missile_frame]
|
||||
[missile_frame]
|
||||
duration=60
|
||||
halo="projectiles/fireball-impact-10.png"
|
||||
offset=1.0
|
||||
[/missile_frame]
|
||||
[missile_frame]
|
||||
duration=60
|
||||
halo="projectiles/fireball-impact-11.png"
|
||||
offset=1.0
|
||||
[/missile_frame]
|
||||
[missile_frame]
|
||||
duration=60
|
||||
halo="projectiles/fireball-impact-12.png"
|
||||
offset=1.0
|
||||
[/missile_frame]
|
||||
[missile_frame]
|
||||
duration=60
|
||||
halo="projectiles/fireball-impact-13.png"
|
||||
offset=1.0
|
||||
[/missile_frame]
|
||||
[missile_frame]
|
||||
duration=60
|
||||
halo="projectiles/fireball-impact-14.png"
|
||||
offset=1.0
|
||||
[/missile_frame]
|
||||
[missile_frame]
|
||||
duration=60
|
||||
halo="projectiles/fireball-impact-15.png"
|
||||
offset=1.0
|
||||
[/missile_frame]
|
||||
[missile_frame]
|
||||
duration=60
|
||||
halo="projectiles/fireball-impact-16.png"
|
||||
offset=1.0
|
||||
[/missile_frame]
|
||||
[/if]
|
||||
[else]
|
||||
direction=s,se,sw
|
||||
|
||||
[missile_frame]
|
||||
duration=60
|
||||
halo="projectiles/fireball-impact-1.png~FL(vert)"
|
||||
offset=1.0
|
||||
[/missile_frame]
|
||||
[missile_frame]
|
||||
duration=60
|
||||
halo="projectiles/fireball-impact-2.png~FL(vert)"
|
||||
offset=1.0
|
||||
[/missile_frame]
|
||||
[missile_frame]
|
||||
duration=60
|
||||
halo="projectiles/fireball-impact-3.png~FL(vert)"
|
||||
offset=1.0
|
||||
[/missile_frame]
|
||||
[missile_frame]
|
||||
duration=60
|
||||
halo="projectiles/fireball-impact-4.png~FL(vert)"
|
||||
offset=1.0
|
||||
[/missile_frame]
|
||||
[missile_frame]
|
||||
duration=60
|
||||
halo="projectiles/fireball-impact-5.png~FL(vert)"
|
||||
offset=1.0
|
||||
[/missile_frame]
|
||||
[missile_frame]
|
||||
duration=60
|
||||
halo="projectiles/fireball-impact-6.png~FL(vert)"
|
||||
offset=1.0
|
||||
[/missile_frame]
|
||||
[missile_frame]
|
||||
duration=60
|
||||
halo="projectiles/fireball-impact-7.png~FL(vert)"
|
||||
offset=1.0
|
||||
[/missile_frame]
|
||||
[missile_frame]
|
||||
duration=60
|
||||
halo="projectiles/fireball-impact-8.png~FL(vert)"
|
||||
offset=1.0
|
||||
[/missile_frame]
|
||||
[missile_frame]
|
||||
duration=60
|
||||
halo="projectiles/fireball-impact-9.png~FL(vert)"
|
||||
offset=1.0
|
||||
[/missile_frame]
|
||||
[missile_frame]
|
||||
duration=60
|
||||
halo="projectiles/fireball-impact-10.png~FL(vert)"
|
||||
offset=1.0
|
||||
[/missile_frame]
|
||||
[missile_frame]
|
||||
duration=60
|
||||
halo="projectiles/fireball-impact-11.png~FL(vert)"
|
||||
offset=1.0
|
||||
[/missile_frame]
|
||||
[missile_frame]
|
||||
duration=60
|
||||
halo="projectiles/fireball-impact-12.png~FL(vert)"
|
||||
offset=1.0
|
||||
[/missile_frame]
|
||||
[missile_frame]
|
||||
duration=60
|
||||
halo="projectiles/fireball-impact-13.png~FL(vert)"
|
||||
offset=1.0
|
||||
[/missile_frame]
|
||||
[missile_frame]
|
||||
duration=60
|
||||
halo="projectiles/fireball-impact-14.png~FL(vert)"
|
||||
offset=1.0
|
||||
[/missile_frame]
|
||||
[missile_frame]
|
||||
duration=60
|
||||
halo="projectiles/fireball-impact-15.png~FL(vert)"
|
||||
offset=1.0
|
||||
[/missile_frame]
|
||||
[missile_frame]
|
||||
duration=60
|
||||
halo="projectiles/fireball-impact-16.png~FL(vert)"
|
||||
offset=1.0
|
||||
[/missile_frame]
|
||||
[/else]
|
||||
#enddef
|
||||
|
||||
#define MISSILE_FRAME_ICE
|
||||
|
|
Loading…
Add table
Reference in a new issue