Code: Select all
DropshipWalkingToIdle:
setvertpos 1
setflspeed 864 #used to set the speed back to normal after the ship exits warp because of the acceleration period shown later
waitrand 8 10
setvertpos 2
waitrand 8 10
setvertpos 1
waitrand 8 10
setvertpos 0
waitrand 8 10
goto DropshipWalkingToIdle
DropshipWalking:
imgol 225 0 0 # DropshipGlow (thingy\tdrGlow.grp)
setvertpos 0
wait 425 #warp charging time, adjust as you like
goto DropshipLocal03
DropshipLocal03:
setflspeed 3200 #temporarily raises max velocity for the unit so it appears to accelerate into warp
setvertpos 0
wait 92 #unit will start to accelerate at this period before going into actual warp, consider extending
playsnd 110 # Deflier Attack? (bullet\zdeatt00.wav)
imgol 555 0 0 # EMP Shockwave Hit Part 1 (thingy\emp.grp)
imgol 556 0 0 # EMP Shockwave Hit Part 1 (thingy\emp.grp)
goto DropshipMidwarp #this goes to the part where the unit is actively warping across the map and it loops this next part until the unit stops.
DropshipMidwarp:
wait 1
move 25 #Turn this value up or down to increase or decrease the warp speed
imgol 555 0 0 # EMP Shockwave Hit Part 1 (thingy\emp.grp) #multiple of these are used because this one was written for a larger ship, needed to cover the whole thing
imgol 555 0 -32 # EMP Shockwave Hit Part 1 (thingy\emp.grp)
imgol 555 0 32 # EMP Shockwave Hit Part 1 (thingy\emp.grp)
imgol 555 64 0 # EMP Shockwave Hit Part 1 (thingy\emp.grp)
imgol 555 -64 0 # EMP Shockwave Hit Part 1 (thingy\emp.grp)
goto DropshipMidwarp #loops this part until the unit stops
Code: Select all
BattlecruiserDeath:
playsnd 177 # Terran\BATTLE\tbaDth00.wav
wait 2
move 5
playsnd 7 # Misc\ExploLrg.wav
imgol 333 42 0 # TerranBuildingExplosionlarge (thingy\tBangX.grp)
waitrand 7 12
move 5
playsnd 7 # Misc\ExploLrg.wav
imgol 334 0 -32 # TerranBuildingExplosionlarge (thingy\tBangX.grp)
waitrand 2 10
move 5
playsnd 7 # Misc\ExploLrg.wav
imgol 334 0 42 # TerranBuildingExplosionlarge (thingy\tBangX.grp)
waitrand 2 8
imgol 334 0 -42 # TerranBuildingExplosionlarge (thingy\tBangX.grp)
move 5
wait 4
end