# Campaign-specific failed teleport animation #define TELEPORT_FAILED_ANIMATION start_time=-1200 teleport_sparkle_1_start_time=-1200 teleport_sparkle_2_start_time=-1000 teleport_sparkle_3_start_time=-800 [teleport_sparkle_1_frame] duration=800 halo=misc/blank-hex.png:1,halo/teleport-[9,8,1,2,8,9].png,misc/blank-hex.png:400 halo_x=-10 halo_y=30~-30 [/teleport_sparkle_1_frame] [teleport_sparkle_2_frame] duration=800 halo=misc/blank-hex.png:1,halo/teleport-[9,8,1,8,9].png,misc/blank-hex.png:500 halo_x=0 halo_y=40~-40 [/teleport_sparkle_2_frame] [teleport_sparkle_3_frame] duration=800 halo=misc/blank-hex.png:1,halo/teleport-[9,8,9].png,misc/blank-hex.png:600 halo_x=10 halo_y=30~-30 [/teleport_sparkle_3_frame] [frame] # default frame [/frame] #enddef #define LIGHT_SHIELD_OUT_ANIMATION start_time=-900 teleport_ring_start_time=-900 teleport_fill_start_time=-610 [teleport_ring_frame] duration=900 image=halo/light-shield-1.png alpha=0~1:290,1:320,1~0:290 [/teleport_ring_frame] [teleport_fill_frame] duration=320 image=halo/light-shield-2.png alpha=0~1:150,1:20,1~0:150 [/teleport_fill_frame] [frame] # default frame duration=450 [/frame] [frame] image=misc/blank-hex.png duration=450 [/frame] #enddef #define LIGHT_SHIELD_IN_ANIMATION start_time=-900 teleport_ring_start_time=-900 teleport_fill_start_time=-610 [teleport_ring_frame] duration=900 image=halo/light-shield-1.png alpha=0~1:290,1:320,1~0:290 [/teleport_ring_frame] [teleport_fill_frame] duration=320 image=halo/light-shield-2.png alpha=0~1:150,1:20,1~0:150 [/teleport_fill_frame] [frame] image=misc/blank-hex.png duration=450 [/frame] [frame] # default frame duration=450 [/frame] #enddef # Provide a simple "white-out" disappear and reappear animation #define LIGHT_SHIELD_EFFECT_OBJECT_ID _ID_ [object] silent=yes duration=scenario #should be "turn" once support is implemented [filter] id={_ID_} [/filter] [effect] apply_to=new_animation [animation] apply_to=disappear {LIGHT_SHIELD_OUT_ANIMATION} [/animation] [animation] apply_to=reappear {LIGHT_SHIELD_IN_ANIMATION} [/animation] [/effect] [/object] #enddef # A slightly modified version of the white mage attack animations # (necessary because there is no way to suppress the lightbeam in # the real attack animations) #define DACYN_FAKE_ATTACK_ANIMATION_OBJECT [object] silent=yes [filter] id=Dacyn [/filter] [effect] apply_to=new_animation [animation] [filter] type=White Mage [/filter] apply_to=fake_attack start_time=-300 [frame] duration=75 image="units/human-magi/white-mage-magic-1.png" [/frame] [frame] duration=75 image="units/human-magi/white-mage-magic-2.png" [/frame] [frame] duration=75 image="units/human-magi/white-mage-magic-3.png" halo=halo/holy/halo6.png [/frame] [frame] duration=75 image="units/human-magi/white-mage-magic-3.png" sound={SOUND_LIST:HOLY} halo=halo/holy/halo1.png [/frame] [frame] duration=200 image="units/human-magi/white-mage-magic-3.png" halo=halo/holy/halo[3,5,6].png:[75,75,50] [/frame] [frame] duration=50 image="units/human-magi/white-mage-magic-2.png" [/frame] [frame] duration=50 image="units/human-magi/white-mage-magic-1.png" [/frame] [/animation] [animation] [filter] type=Mage of Light [/filter] apply_to=fake_attack start_time=-300 [frame] duration=75 image="units/human-magi/white-cleric-magic-1.png" [/frame] [frame] duration=75 image="units/human-magi/white-cleric-magic-2.png" [/frame] [frame] duration=75 image="units/human-magi/white-cleric-magic-3.png" halo=halo/holy/halo6.png [/frame] [frame] duration=75 image="units/human-magi/white-cleric-magic-3.png" sound={SOUND_LIST:HOLY} halo=halo/holy/halo1.png [/frame] [frame] duration=200 image="units/human-magi/white-cleric-magic-3.png" halo=halo/holy/halo[3,5,6].png:[75,75,50] [/frame] [frame] duration=50 image="units/human-magi/white-cleric-magic-2.png" [/frame] [frame] duration=50 image="units/human-magi/white-cleric-magic-1.png" [/frame] [/animation] [/effect] [/object] #enddef # A modified standing animation for Dacyn while he is casting a spell #define DACYN_CASTING_SPELL_ANIMATION_OBJECT [object] silent=yes [filter] id=Dacyn [/filter] [effect] apply_to=new_animation [standing_anim] [filter] type=White Mage [filter_wml] [variables] casting_the_spell=yes [/variables] [/filter_wml] [/filter] [frame] duration=125 image="units/human-magi/white-mage-magic-1.png" [/frame] [frame] duration=125 image="units/human-magi/white-mage-magic-2.png" [/frame] [frame] image="units/human-magi/white-mage-magic-3.png" halo=halo/holy/halo[6,1~6].png:125 [/frame] [frame] duration=125 image="units/human-magi/white-mage-magic-2.png" [/frame] [frame] duration=125 image="units/human-magi/white-mage-magic-1.png" [/frame] [/standing_anim] [standing_anim] [filter] type=Mage of Light [filter_wml] [variables] casting_the_spell=yes [/variables] [/filter_wml] [/filter] [frame] duration=125 image="units/human-magi/white-cleric-magic-1.png" [/frame] [frame] duration=125 image="units/human-magi/white-cleric-magic-2.png" [/frame] [frame] image="units/human-magi/white-cleric-magic-3.png" halo=halo/holy/halo[6,1~6].png:125 [/frame] [frame] duration=125 image="units/human-magi/white-cleric-magic-2.png" [/frame] [frame] duration=125 image="units/human-magi/white-cleric-magic-1.png" [/frame] [/standing_anim] [/effect] [/object] #enddef