Fireball animation tweaks.
This commit is contained in:
parent
a9303d7f4c
commit
16d70f5173
1 changed files with 158 additions and 42 deletions
|
@ -542,49 +542,41 @@
|
|||
#define MISSILE_FRAME_FIREBALL
|
||||
# Animate a projectile for a fireball attack.
|
||||
|
||||
### 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
|
||||
|
||||
hits=yes
|
||||
|
||||
[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]
|
||||
|
||||
[missile_frame]
|
||||
duration=60
|
||||
halo="projectiles/fireball-impact-1.png"
|
||||
|
@ -668,7 +660,39 @@
|
|||
[/if]
|
||||
[else]
|
||||
direction=s,se,sw
|
||||
|
||||
hits=yes
|
||||
|
||||
[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]
|
||||
|
||||
[missile_frame]
|
||||
duration=60
|
||||
halo="projectiles/fireball-impact-1.png~FL(vert)"
|
||||
|
@ -750,6 +774,98 @@
|
|||
offset=1.0
|
||||
[/missile_frame]
|
||||
[/else]
|
||||
[else]
|
||||
direction=n,ne,nw
|
||||
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"
|
||||
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]
|
||||
[/else]
|
||||
#enddef
|
||||
|
||||
#define MISSILE_FRAME_ICE
|
||||
|
|
Loading…
Add table
Reference in a new issue