1# Campaign-specific failed teleport animation 2#define TELEPORT_FAILED_ANIMATION 3 start_time=-1200 4 5 teleport_sparkle_1_start_time=-1200 6 teleport_sparkle_2_start_time=-1000 7 teleport_sparkle_3_start_time=-800 8 9 [teleport_sparkle_1_frame] 10 duration=800 11 halo=misc/blank-hex.png:1,halo/teleport-[9,8,1,2,8,9].png,misc/blank-hex.png:400 12 halo_x=-10 13 halo_y=30~-30 14 [/teleport_sparkle_1_frame] 15 [teleport_sparkle_2_frame] 16 duration=800 17 halo=misc/blank-hex.png:1,halo/teleport-[9,8,1,8,9].png,misc/blank-hex.png:500 18 halo_x=0 19 halo_y=40~-40 20 [/teleport_sparkle_2_frame] 21 [teleport_sparkle_3_frame] 22 duration=800 23 halo=misc/blank-hex.png:1,halo/teleport-[9,8,9].png,misc/blank-hex.png:600 24 halo_x=10 25 halo_y=30~-30 26 [/teleport_sparkle_3_frame] 27 28 [frame] 29 # default frame 30 [/frame] 31#enddef 32 33#define LIGHT_SHIELD_OUT_ANIMATION 34 start_time=-900 35 36 teleport_ring_start_time=-900 37 teleport_fill_start_time=-610 38 39 [teleport_ring_frame] 40 duration=900 41 image=halo/light-shield-1.png 42 alpha=0~1:290,1:320,1~0:290 43 [/teleport_ring_frame] 44 [teleport_fill_frame] 45 duration=320 46 image=halo/light-shield-2.png 47 alpha=0~1:150,1:20,1~0:150 48 [/teleport_fill_frame] 49 50 [frame] 51 # default frame 52 duration=450 53 [/frame] 54 [frame] 55 image=misc/blank-hex.png 56 duration=450 57 [/frame] 58#enddef 59 60#define LIGHT_SHIELD_IN_ANIMATION 61 start_time=-900 62 63 teleport_ring_start_time=-900 64 teleport_fill_start_time=-610 65 66 [teleport_ring_frame] 67 duration=900 68 image=halo/light-shield-1.png 69 alpha=0~1:290,1:320,1~0:290 70 [/teleport_ring_frame] 71 [teleport_fill_frame] 72 duration=320 73 image=halo/light-shield-2.png 74 alpha=0~1:150,1:20,1~0:150 75 [/teleport_fill_frame] 76 77 [frame] 78 image=misc/blank-hex.png 79 duration=450 80 [/frame] 81 [frame] 82 # default frame 83 duration=450 84 [/frame] 85#enddef 86 87# Provide a simple "white-out" disappear and reappear animation 88 89#define LIGHT_SHIELD_EFFECT_OBJECT_ID _ID_ 90 [object] 91 silent=yes 92 duration=scenario #should be "turn" once support is implemented 93 94 [filter] 95 id={_ID_} 96 [/filter] 97 98 [effect] 99 apply_to=new_animation 100 101 [animation] 102 apply_to=disappear 103 {LIGHT_SHIELD_OUT_ANIMATION} 104 [/animation] 105 106 [animation] 107 apply_to=reappear 108 {LIGHT_SHIELD_IN_ANIMATION} 109 [/animation] 110 [/effect] 111 [/object] 112#enddef 113 114# A slightly modified version of the white mage attack animations 115# (necessary because there is no way to suppress the lightbeam in 116# the real attack animations) 117 118#define DACYN_FAKE_ATTACK_ANIMATION_OBJECT 119 [object] 120 silent=yes 121 122 [filter] 123 id=Dacyn 124 [/filter] 125 126 [effect] 127 apply_to=new_animation 128 129 [animation] 130 [filter] 131 type=White Mage 132 [/filter] 133 apply_to=fake_attack 134 start_time=-300 135 136 [frame] 137 duration=75 138 image="units/human-magi/white-mage-magic-1.png" 139 [/frame] 140 [frame] 141 duration=75 142 image="units/human-magi/white-mage-magic-2.png" 143 [/frame] 144 [frame] 145 duration=75 146 image="units/human-magi/white-mage-magic-3.png" 147 halo=halo/holy/halo6.png 148 [/frame] 149 [frame] 150 duration=75 151 image="units/human-magi/white-mage-magic-3.png" 152 sound={SOUND_LIST:HOLY} 153 halo=halo/holy/halo1.png 154 [/frame] 155 [frame] 156 duration=200 157 image="units/human-magi/white-mage-magic-3.png" 158 halo=halo/holy/halo[3,5,6].png:[75,75,50] 159 [/frame] 160 [frame] 161 duration=50 162 image="units/human-magi/white-mage-magic-2.png" 163 [/frame] 164 [frame] 165 duration=50 166 image="units/human-magi/white-mage-magic-1.png" 167 [/frame] 168 [/animation] 169 170 [animation] 171 [filter] 172 type=Mage of Light 173 [/filter] 174 apply_to=fake_attack 175 176 start_time=-300 177 178 [frame] 179 duration=75 180 image="units/human-magi/white-cleric-magic-1.png" 181 [/frame] 182 [frame] 183 duration=75 184 image="units/human-magi/white-cleric-magic-2.png" 185 [/frame] 186 [frame] 187 duration=75 188 image="units/human-magi/white-cleric-magic-3.png" 189 halo=halo/holy/halo6.png 190 [/frame] 191 [frame] 192 duration=75 193 image="units/human-magi/white-cleric-magic-3.png" 194 sound={SOUND_LIST:HOLY} 195 halo=halo/holy/halo1.png 196 [/frame] 197 [frame] 198 duration=200 199 image="units/human-magi/white-cleric-magic-3.png" 200 halo=halo/holy/halo[3,5,6].png:[75,75,50] 201 [/frame] 202 [frame] 203 duration=50 204 image="units/human-magi/white-cleric-magic-2.png" 205 [/frame] 206 [frame] 207 duration=50 208 image="units/human-magi/white-cleric-magic-1.png" 209 [/frame] 210 [/animation] 211 [/effect] 212 [/object] 213#enddef 214 215# A modified standing animation for Dacyn while he is casting a spell 216 217#define DACYN_CASTING_SPELL_ANIMATION_OBJECT 218 [object] 219 silent=yes 220 221 [filter] 222 id=Dacyn 223 [/filter] 224 225 [effect] 226 apply_to=new_animation 227 228 [standing_anim] 229 [filter] 230 type=White Mage 231 232 [filter_wml] 233 [variables] 234 casting_the_spell=yes 235 [/variables] 236 [/filter_wml] 237 [/filter] 238 239 [frame] 240 duration=125 241 image="units/human-magi/white-mage-magic-1.png" 242 [/frame] 243 [frame] 244 duration=125 245 image="units/human-magi/white-mage-magic-2.png" 246 [/frame] 247 [frame] 248 image="units/human-magi/white-mage-magic-3.png" 249 halo=halo/holy/halo[6,1~6].png:125 250 [/frame] 251 [frame] 252 duration=125 253 image="units/human-magi/white-mage-magic-2.png" 254 [/frame] 255 [frame] 256 duration=125 257 image="units/human-magi/white-mage-magic-1.png" 258 [/frame] 259 [/standing_anim] 260 261 [standing_anim] 262 [filter] 263 type=Mage of Light 264 265 [filter_wml] 266 [variables] 267 casting_the_spell=yes 268 [/variables] 269 [/filter_wml] 270 [/filter] 271 272 [frame] 273 duration=125 274 image="units/human-magi/white-cleric-magic-1.png" 275 [/frame] 276 [frame] 277 duration=125 278 image="units/human-magi/white-cleric-magic-2.png" 279 [/frame] 280 [frame] 281 image="units/human-magi/white-cleric-magic-3.png" 282 halo=halo/holy/halo[6,1~6].png:125 283 [/frame] 284 [frame] 285 duration=125 286 image="units/human-magi/white-cleric-magic-2.png" 287 [/frame] 288 [frame] 289 duration=125 290 image="units/human-magi/white-cleric-magic-1.png" 291 [/frame] 292 [/standing_anim] 293 [/effect] 294 [/object] 295#enddef 296