//TAGAP_START
//=====================================================================
// TURRETS
//=====================================================================

//=====================================================================
// LASER TURRET
//=====================================================================
ENTITY turret_shadow
SPRITE STATIC 0 NONE 0 -4 turrets/base
SPRITEVAR 0 FRAME 5
STAT NOLIST
END
//=====================================================================
ENTITY turret_bolt
SPRITE STATIC 0 NONE 0 -1 turrets/base
SPRITEVAR 0 FRAME 3
STAT NOLIST
END
//=====================================================================
ENTITY turret_bolt_2
CLONE turret_bolt
LIGHT -20 10 20 0 100 255 20
LIGHT -20 -10 20 0 100 255 20
STAT FX_LIGHT_FADE 1
STAT NOLIST
END
//=====================================================================
ENTITY turret_1
DESCRIBE Laser_turret
SPRITE STATIC 0 NONE 31 0 turrets/gun_laser
SPRITE STATIC 0 NONE 22 0 turrets/gun_laser
SPRITE STATIC 0 NONE -18 0 turrets/gun_laser
SPRITE STATIC 1 NONE -16 0 turrets/gun_laser_c
SPRITE STATIC 0 NONE 1 -1 turrets/base
SPRITE STATIC 0 NONE 1 1 turrets/base
SPRITE STATIC 0 NONE -1 -1 turrets/base
SPRITE STATIC 0 NONE -1 1 turrets/base
SPRITE STATIC 0 NONE 0 0 turrets/base
SPRITE STATIC 0 NONE 0 0 turrets/base
SPRITEVAR 0 HIDE_MOVE_X -21
SPRITEVAR 0 KICK_X 4
SPRITEVAR 1 FRAME 2
SPRITEVAR 2 FRAME 1
SPRITEVAR 3 CHARGE_INV
SPRITEVAR 4 ANGLEOFFSET 135
SPRITEVAR 4 FRAME 2
SPRITEVAR 4 HIDE_MOVE_X -1
SPRITEVAR 4 HIDE_MOVE_Y -1
SPRITEVAR 4 HIDE_ROLL 45
SPRITEVAR 4 INVERTFACE
SPRITEVAR 4 OFFS_X -17
SPRITEVAR 4 OFFS_Y -12
SPRITEVAR 5 ANGLEOFFSET 45
SPRITEVAR 5 FRAME 2
SPRITEVAR 5 HIDE_MOVE_X -1
SPRITEVAR 5 HIDE_MOVE_Y 1
SPRITEVAR 5 HIDE_ROLL -45
SPRITEVAR 5 OFFS_X -17
SPRITEVAR 5 OFFS_Y -12
SPRITEVAR 6 ANGLEOFFSET 205
SPRITEVAR 6 FRAME 1
SPRITEVAR 6 HIDE_MOVE_X 1
SPRITEVAR 6 HIDE_MOVE_Y -1
SPRITEVAR 6 HIDE_ROLL -25
SPRITEVAR 6 INVERTFACE
SPRITEVAR 6 OFFS_X 23
SPRITEVAR 6 OFFS_Y -9
SPRITEVAR 7 ANGLEOFFSET -25
SPRITEVAR 7 FRAME 1
SPRITEVAR 7 HIDE_MOVE_X 1
SPRITEVAR 7 HIDE_MOVE_Y 1
SPRITEVAR 7 HIDE_ROLL 25
SPRITEVAR 7 OFFS_X 23
SPRITEVAR 7 OFFS_Y -9
SPRITEVAR 8 OFFS_X 3
SPRITEVAR 9 AIM
SPRITEVAR 9 ANGLEFACTOR 300
SPRITEVAR 9 FRAME 4
TEXPOLY (world-base-turret) -1
SOUND STATIC S_ATTACK common/weapon_plasma
SOUND STATIC S_DIE world/break_metal_1
SOUND STATIC S_LOOP common/turret_move
SOUND STATIC S_SLEEP common/turret_toggle
SOUND STATIC S_WAKE common/turret_toggle
THINK AI_AIM 0.4 AI_FIRE 0.5
OFFSET SIZE 32 0
OFFSET WEAPON_OFFSET 33 0
GUNENTITY turret_bolt_2 0
ITEM tempspark 0 0
MISSILE laser
OBJECT 0 turret_shadow 0 0 NONE 0 0 0
UNLOCK nme.ref.01
STAT AI_INVULACTIVE 1
STAT DAMAGE_SPLASH 100
STAT FRAG
STAT FX_FULLANGLE_AIM
STAT FX_FULLMODEL
STAT FX_MOVE_LOOP
STAT FX_MUZZLE 20
STAT FX_NOFACE
STAT MISSILE_OFFSETRADIUS 32
STAT S_HEALTH 30
STAT S_SCORE 400
STAT TAKEDAMAGE_ELECTRIC
EFFECT GIB DEBRIS_METAL 0 0 0
EFFECT GIB EXPLOSION 0 0 0
END
//=====================================================================
// ROCKET TURRET
//=====================================================================
ENTITY turret_2
DESCRIBE Rocket_turret
SPRITE DYNAMIC 0 NONE 32 0 turrets/gun_rocket
SPRITE DYNAMIC 0 NONE 24 0 turrets/gun_rocket
SPRITE DYNAMIC 0 NONE -18 0 turrets/gun_general
SPRITE STATIC 0 NONE 1 -1 turrets/base
SPRITE STATIC 0 NONE 1 1 turrets/base
SPRITE STATIC 0 NONE -1 -1 turrets/base
SPRITE STATIC 0 NONE -1 1 turrets/base
SPRITE STATIC 0 NONE 0 0 turrets/base
SPRITE STATIC 0 NONE 0 0 turrets/base
SPRITEVAR 0 HIDE_MOVE_X -26
SPRITEVAR 0 KICK_X 4
SPRITEVAR 1 HIDE_MOVE_X -12
SPRITEVAR 1 FRAME 1
SPRITEVAR 3 ANGLEOFFSET 135
SPRITEVAR 3 FRAME 2
SPRITEVAR 3 HIDE_MOVE_X -1
SPRITEVAR 3 HIDE_MOVE_Y -1
SPRITEVAR 3 HIDE_ROLL 45
SPRITEVAR 3 INVERTFACE
SPRITEVAR 3 OFFS_X -17
SPRITEVAR 3 OFFS_Y -12
SPRITEVAR 4 ANGLEOFFSET 45
SPRITEVAR 4 FRAME 2
SPRITEVAR 4 HIDE_MOVE_X -1
SPRITEVAR 4 HIDE_MOVE_Y 1
SPRITEVAR 4 HIDE_ROLL -45
SPRITEVAR 4 OFFS_X -17
SPRITEVAR 4 OFFS_Y -12
SPRITEVAR 5 ANGLEOFFSET 210
SPRITEVAR 5 FRAME 1
SPRITEVAR 5 HIDE_MOVE_X 1
SPRITEVAR 5 HIDE_MOVE_Y -1
SPRITEVAR 5 HIDE_ROLL -30
SPRITEVAR 5 INVERTFACE
SPRITEVAR 5 OFFS_X 23
SPRITEVAR 5 OFFS_Y -9
SPRITEVAR 6 ANGLEOFFSET -30
SPRITEVAR 6 FRAME 1
SPRITEVAR 6 HIDE_MOVE_X 1
SPRITEVAR 6 HIDE_MOVE_Y 1
SPRITEVAR 6 HIDE_ROLL 30
SPRITEVAR 6 OFFS_X 23
SPRITEVAR 6 OFFS_Y -9
SPRITEVAR 7 OFFS_X 3
SPRITEVAR 8 AIM
SPRITEVAR 8 ANGLEFACTOR 300
SPRITEVAR 8 FRAME 4
TEXPOLY (world-base-turret) -1
SOUND STATIC S_ATTACK common/weapon_rocket
SOUND STATIC S_DIE world/break_metal_1
SOUND STATIC S_LOOP common/turret_move
SOUND STATIC S_SLEEP common/turret_toggle
SOUND STATIC S_WAKE common/turret_toggle
THINK AI_AIM 0.3 AI_FIRE 0.5
OFFSET SIZE 32 0
OFFSET WEAPON_OFFSET 33 0
GUNENTITY turret_bolt 0
ITEM tempspark 0 0
MISSILE rocket_nme
OBJECT 0 turret_shadow 0 0 NONE 0 0 0
UNLOCK nme.ref.01
STAT AI_BURST 2
STAT AI_BURST_TIME 1200
STAT AI_INVULACTIVE 1
STAT DAMAGE_SPLASH 100
STAT FRAG
STAT FX_FULLANGLE_AIM
STAT FX_FULLMODEL
STAT FX_MOVE_LOOP
STAT FX_MUZZLE 35
STAT FX_NOFACE
STAT MISSILE_OFFSETRADIUS 32
STAT S_HEALTH 30
STAT S_SCORE 800
STAT TAKEDAMAGE_ELECTRIC
EFFECT GIB DEBRIS_METAL 0 0 0
EFFECT GIB EXPLOSION 0 0 0
END

//=====================================================================
// DROPPED TURRET
//=====================================================================
ENTITY tp1_leg1
SPRITE DYNAMIC 0 NONE 0 0 turrets/portable_leg
OFFSET SIZE 8 0
STAT FX_FULLANGLE_IGNORE
STAT FX_NOENV_FX
STAT NOLIST
END
//=====================================================================
ENTITY tp1_leg2
CLONE tp1_leg1
SPRITEVAR 0 INVERTFACE
STAT FX_FULLANGLE_IGNORE
STAT FX_NOENV_FX
STAT NOLIST
END
//=====================================================================
ENTITY tp1_bolt
SPRITE STATIC 0 NONE 0 -1 turrets/base
SPRITEVAR 0 FRAME 3
STAT FX_NOENV_FX
STAT NOLIST
END
//=====================================================================
ENTITY tp1_gun1
SPRITE STATIC 0 NONE 31 0 turrets/gun_laser
SPRITE STATIC 0 NONE 22 0 turrets/gun_laser
SPRITE STATIC 0 NONE -18 0 turrets/gun_laser
SPRITE STATIC 1 NONE -16 0 turrets/gun_laser_c
SPRITE STATIC 0 NONE 1 -1 turrets/base
SPRITE STATIC 0 NONE 1 1 turrets/base
SPRITE STATIC 0 NONE -1 -1 turrets/base
SPRITE STATIC 0 NONE -1 1 turrets/base
SPRITE STATIC 0 NONE 0 0 turrets/base
SPRITE STATIC 0 NONE 0 0 turrets/base
SPRITEVAR 0 HIDE_MOVE_X -21
SPRITEVAR 0 KICK_X 4
SPRITEVAR 1 FRAME 2
SPRITEVAR 2 FRAME 1
SPRITEVAR 3 CHARGE_INV
SPRITEVAR 4 ANGLEOFFSET 135
SPRITEVAR 4 FRAME 2
SPRITEVAR 4 HIDE_MOVE_X -1
SPRITEVAR 4 HIDE_MOVE_Y -1
SPRITEVAR 4 HIDE_ROLL 45
SPRITEVAR 4 INVERTFACE
SPRITEVAR 4 OFFS_X -17
SPRITEVAR 4 OFFS_Y -12
SPRITEVAR 5 ANGLEOFFSET 45
SPRITEVAR 5 FRAME 2
SPRITEVAR 5 HIDE_MOVE_X -1
SPRITEVAR 5 HIDE_MOVE_Y 1
SPRITEVAR 5 HIDE_ROLL -45
SPRITEVAR 5 OFFS_X -17
SPRITEVAR 5 OFFS_Y -12
SPRITEVAR 6 ANGLEOFFSET 205
SPRITEVAR 6 FRAME 1
SPRITEVAR 6 HIDE_MOVE_X 1
SPRITEVAR 6 HIDE_MOVE_Y -1
SPRITEVAR 6 HIDE_ROLL -25
SPRITEVAR 6 INVERTFACE
SPRITEVAR 6 OFFS_X 23
SPRITEVAR 6 OFFS_Y -9
SPRITEVAR 7 ANGLEOFFSET -25
SPRITEVAR 7 FRAME 1
SPRITEVAR 7 HIDE_MOVE_X 1
SPRITEVAR 7 HIDE_MOVE_Y 1
SPRITEVAR 7 HIDE_ROLL 25
SPRITEVAR 7 OFFS_X 23
SPRITEVAR 7 OFFS_Y -9
SPRITEVAR 8 OFFS_X 3
SPRITEVAR 9 AIM
SPRITEVAR 9 ANGLEFACTOR 300
SPRITEVAR 9 FRAME 4
LIGHT -20 10 20 0 100 255 20
LIGHT -20 -10 20 0 100 255 20
OFFSET MODEL_OFFSET 0 24
STAT FX_NOENV_FX
STAT FX_NOFACE
STAT FX_FULLANGLE_AIM
STAT FX_FULLMODEL
STAT FX_WEAPON_MOUNT
STAT NOLIST
END
//=====================================================================
ENTITY turret_portable1
DESCRIBE Portable_turret_(stationary)
SPRITE DYNAMIC 0 NONE 0 15 turrets/portable
SPRITEVAR 0 FACE 0
SOUND STATIC S_ATTACK common/weapon_plasma
SOUND STATIC S_DIE world/break_metal_1
SOUND STATIC S_LOOP common/turret_move
SOUND STATIC S_SLEEP common/turret_toggle
SOUND STATIC S_WAKE common/turret_toggle
THINK AI_AIM 0.4 AI_FIRE 0.2
MOVETYPE WALK 0
GUNENTITY tp1_gun1 0
MISSILE laser
OBJECT 0 tp1_leg1 12 -25 DROP 5 5 0
OBJECT 0 tp1_leg2 -12 -25 DROP 5 5 0
OBJECT 1 tp1_bolt 0 24 NONE 0 0 0
UNLOCK nme.ref.01
OFFSET SIZE 32 23
OFFSET WEAPON_MISSILE 0 24
OFFSET WEAPON_OFFSET 33 0
OFFSET WEAPON_ORIGIN 0 24
STAT AI_BURST 2
STAT AI_BURST_TIME 600
STAT AI_NUMB 1200
STAT DAMAGE_SPLASH 100
STAT FRAG
STAT FX_MOVE_LOOP
STAT FX_MUZZLE 20
STAT MISSILE_OFFSETRADIUS 32
STAT S_HEALTH 30
STAT S_SCORE 400
STAT TAKEDAMAGE_ELECTRIC
EFFECT GIB DEBRIS_METAL 0 0 0
EFFECT GIB EXPLOSION 0 0 0
END

//=====================================================================
// MOVING TURRET
//=====================================================================
ENTITY tp2_wheel
SPRITE DYNAMIC 0 ANIM_ROLLVEL 0 0 turrets/portable_wheel
OFFSET SIZE 10 0
STAT FX_FULLANGLE_IGNORE
STAT FX_NOENV_FX
STAT NOLIST
END
//=====================================================================
ENTITY turret_portable2
DESCRIBE Portable_turret_(moving)
SPRITE DYNAMIC 0 NONE 0 15 turrets/portable
SPRITEVAR 0 FACE 0
SOUND STATIC S_ATTACK common/weapon_plasma
SOUND STATIC S_DIE world/break_metal_1
SOUND STATIC S_LOOP common/turret_move
SOUND STATIC S_SLEEP common/turret_toggle
SOUND STATIC S_WAKE common/turret_toggle
THINK AI_AIM 0.4 AI_FIRE 0.2
MOVETYPE WALK 2
GUNENTITY tp1_gun1 0
OBJECT 1 tp2_wheel 12 -27 DROP 5 3 0
OBJECT 1 tp2_wheel -12 -27 DROP 5 3 0
OBJECT 1 tp1_bolt 0 24 NONE 0 0 0
MISSILE laser
UNLOCK nme.ref.01
OFFSET SIZE 32 23
OFFSET WEAPON_MISSILE 0 24
OFFSET WEAPON_OFFSET 33 0
OFFSET WEAPON_ORIGIN 0 24
STAT AI_BURST 2
STAT AI_BURST_TIME 600
STAT AI_RANGE 150
STAT DAMAGE_SPLASH 100
STAT FRAG
STAT FX_SMOKE_FLOOR 110
STAT FX_MUZZLE 20
STAT MISSILE_OFFSETRADIUS 32
STAT S_HEALTH 30
STAT S_SCORE 400
STAT TAKEDAMAGE_ELECTRIC
EFFECT GIB DEBRIS_METAL 0 0 0
EFFECT GIB EXPLOSION 0 0 0
END

//=====================================================================
// MOVING SPAWNER
//=====================================================================
ENTITY spawner_portable1
DESCRIBE Moving_spawner_turret_(zombie)
SPRITE DYNAMIC 0 NONE 0 16 turrets/portable
SPRITE STATIC 1 NONE 0 25 world/teleport
SPRITE STATIC 1 NONE 0 25 world/teleport
SPRITE STATIC 1 NONE 0 25 world/teleport
SPRITEVAR 1 EMP 1
SPRITEVAR 1 FACE 0
SPRITEVAR 1 FRAME 5
SPRITEVAR 1 ROLL 50
SPRITEVAR 2 EMP 1
SPRITEVAR 2 FACE 0
SPRITEVAR 2 FRAME 7
SPRITEVAR 2 ROLL 50
SPRITEVAR 3 EMP 1
SPRITEVAR 3 FACE 0
SPRITEVAR 3 FRAME 8
SPRITEVAR 3 ROLL -50
LIGHT 0 25 50 0 120 255 70
SOUND STATIC S_DIE world/break_metal_1
SOUND STATIC S_LOOP world/loop_teleport
SOUND STATIC S_SLEEP common/turret_toggle
SOUND STATIC S_WAKE common/turret_toggle
THINK AI_AIM 1 AI_FIRE 0.3
MOVETYPE WALK 2
OBJECT 1 tp2_wheel 12 -27 DROP 3 3 0
OBJECT 1 tp2_wheel -12 -27 DROP 3 3 0
MISSILE zombie_1
UNLOCK nme.ref.01
OFFSET SIZE 32 22
OFFSET WEAPON_MISSILE 0 32
OFFSET WEAPON_OFFSET 33 0
OFFSET WEAPON_ORIGIN 0 26
STAT AI_BURST 3
STAT AI_BURST_TIME 600
STAT AI_RANGE 150
STAT FX_KEEP_EFFECTS
STAT AI_KEEPACTIVE
STAT DAMAGE_SPLASH 100
STAT FRAG
STAT FX_DIM 0
STAT FX_SMOKE_FLOOR 110
STAT FX_TELEATTACK
STAT MISSILE_RANDOMIZER 3
STAT S_HEALTH 30
STAT S_SCORE 400
STAT TAKEDAMAGE_ELECTRIC
EFFECT GIB DEBRIS_GLASS 0 0 0
EFFECT GIB DEBRIS_METAL 0 0 0
EFFECT GIB EXPLOSION 0 0 0
END

//=====================================================================
// TURRET DROPPER
//=====================================================================
ENTITY dropper_flame
LIGHT 0 0 15 180 210 255 0
STAT FX_NOENV_FX
STAT FX_NOFACE
STAT FX_KEEP_EFFECTS
STAT FX_PLASMA_LENGTH 55
STAT FX_PLASMA_TRAIL 1
STAT NOLIST
END
//=====================================================================
ENTITY dropper_e1
SPRITE DYNAMIC 0 NONE 0 -32 robots/dropper
SPRITEVAR 0 FRAME 2
OFFSET FX_OFFSET 0 -70
STAT FX_NOENV_FX
STAT NOLIST
STAT FX_SMOKE_SHOOT -250
STAT NOLIST
END
//=====================================================================
ENTITY dropper_e2
CLONE dropper_e1
SPRITEVAR 0 INVERTFACE
STAT NOLIST
END
//=====================================================================
ENTITY dropper_h1
SPRITE DYNAMIC 0 NONE 0 2 robots/dropper
SPRITE DYNAMIC 0 NONE 13 0 robots/dropper
SPRITEVAR 0 BIAS 50
SPRITEVAR 0 BIAS_CONSTANT 25
SPRITEVAR 0 BIAS_MOVE_X 3
SPRITEVAR 0 BIAS_MOVE_Y 4
SPRITEVAR 0 EMP 1
SPRITEVAR 0 FRAME 5
SPRITEVAR 1 BIAS 45
SPRITEVAR 1 BIAS_CONSTANT 35
SPRITEVAR 1 BIAS_MOVE_Y 6
SPRITEVAR 1 EMP 1
SPRITEVAR 1 FRAME 5
OFFSET SIZE 12 0
STAT FX_NOENV_FX
STAT NOLIST
END
//=====================================================================
ENTITY dropper_h2
SPRITE DYNAMIC 0 NONE 0 2 robots/dropper
SPRITE DYNAMIC 0 NONE -13 0 robots/dropper
SPRITEVAR 0 BIAS -50
SPRITEVAR 0 BIAS_CONSTANT 25
SPRITEVAR 0 BIAS_MOVE_X -3
SPRITEVAR 0 BIAS_MOVE_Y 4
SPRITEVAR 0 EMP 1
SPRITEVAR 0 FRAME 5
SPRITEVAR 0 INVERTFACE
SPRITEVAR 1 BIAS -45
SPRITEVAR 1 BIAS_CONSTANT 35
SPRITEVAR 1 BIAS_MOVE_Y 6
SPRITEVAR 1 EMP 1
SPRITEVAR 1 FRAME 5
SPRITEVAR 1 INVERTFACE
OFFSET SIZE 12 0
STAT FX_NOENV_FX
STAT NOLIST
END
//=====================================================================
ENTITY dropper
DESCRIBE Turret_dropper
SPRITE DYNAMIC 0 NONE 110 12 robots/dropper
SPRITE DYNAMIC 1 NONE 110 12 robots/dropper
SPRITE DYNAMIC 0 NONE 101 33 robots/dropper
SPRITE DYNAMIC 1 NONE 101 33 robots/dropper
SPRITE DYNAMIC 0 NONE -110 12 robots/dropper
SPRITE DYNAMIC 1 NONE -110 12 robots/dropper
SPRITE DYNAMIC 0 NONE -101 33 robots/dropper
SPRITE DYNAMIC 1 NONE -101 33 robots/dropper
SPRITE DYNAMIC 0 NONE 0 1 robots/dropper
SPRITE DYNAMIC 1 NONE 0 -39 robots/dropper
SPRITE DYNAMIC 0 NONE 78 47 robots/dropper
SPRITE DYNAMIC 0 NONE -78 47 robots/dropper
SPRITE DYNAMIC 0 NONE 79 8 robots/dropper
SPRITE DYNAMIC 0 NONE -79 8 robots/dropper
SPRITE STATIC 1 NONE 0 -39 world/teleport
SPRITE STATIC 1 NONE 0 -39 world/teleport
SPRITEVAR 0 ANGLEOFFSET -19
SPRITEVAR 0 BIAS 5
SPRITEVAR 0 BIAS_CONSTANT 5
SPRITEVAR 0 BIAS_MOVE_Y 2
SPRITEVAR 0 EMP 1
SPRITEVAR 0 FRAME 4
SPRITEVAR 1 ACTIVE
SPRITEVAR 1 ANGLEOFFSET -19
SPRITEVAR 1 BIAS 5
SPRITEVAR 1 BIAS_CONSTANT 5
SPRITEVAR 1 BIAS_MOVE_Y 2
SPRITEVAR 1 DIM
SPRITEVAR 1 EMP 1
SPRITEVAR 1 FRAME 6
SPRITEVAR 1 HARDLIGHT
SPRITEVAR 1 OFFS_X 23
SPRITEVAR 2 BIAS 5
SPRITEVAR 2 BIAS_CONSTANT 5
SPRITEVAR 2 BIAS_MOVE_Y 2
SPRITEVAR 2 EMP 1
SPRITEVAR 2 FRAME 4
SPRITEVAR 3 ACTIVE
SPRITEVAR 3 BIAS 5
SPRITEVAR 3 BIAS_CONSTANT 5
SPRITEVAR 3 BIAS_MOVE_Y 2
SPRITEVAR 3 DIM
SPRITEVAR 3 EMP 1
SPRITEVAR 3 FRAME 6
SPRITEVAR 3 HARDLIGHT
SPRITEVAR 3 OFFS_X 23
SPRITEVAR 4 ANGLEOFFSET 19
SPRITEVAR 4 BIAS -5
SPRITEVAR 4 BIAS_CONSTANT 5
SPRITEVAR 4 BIAS_MOVE_Y 2
SPRITEVAR 4 EMP 1
SPRITEVAR 4 FRAME 4
SPRITEVAR 4 INVERTFACE
SPRITEVAR 5 ACTIVE
SPRITEVAR 5 ANGLEOFFSET 19
SPRITEVAR 5 BIAS -5
SPRITEVAR 5 BIAS_CONSTANT 5
SPRITEVAR 5 BIAS_MOVE_Y 2
SPRITEVAR 5 DIM
SPRITEVAR 5 EMP 1
SPRITEVAR 5 FRAME 6
SPRITEVAR 5 HARDLIGHT
SPRITEVAR 5 INVERTFACE
SPRITEVAR 5 OFFS_X 23
SPRITEVAR 6 BIAS -5
SPRITEVAR 6 BIAS_CONSTANT 5
SPRITEVAR 6 BIAS_MOVE_Y 2
SPRITEVAR 6 EMP 1
SPRITEVAR 6 FRAME 4
SPRITEVAR 6 INVERTFACE
SPRITEVAR 7 ACTIVE
SPRITEVAR 7 BIAS -5
SPRITEVAR 7 BIAS_CONSTANT 5
SPRITEVAR 7 BIAS_MOVE_Y 2
SPRITEVAR 7 DIM
SPRITEVAR 7 EMP 1
SPRITEVAR 7 FRAME 6
SPRITEVAR 7 HARDLIGHT
SPRITEVAR 7 INVERTFACE
SPRITEVAR 7 OFFS_X 23
SPRITEVAR 9 FRAME 7
SPRITEVAR 10 BIAS 5
SPRITEVAR 10 BIAS_CONSTANT 5
SPRITEVAR 10 BIAS_MOVE_X -1
SPRITEVAR 10 BIAS_MOVE_Y 1
SPRITEVAR 10 EMP 1
SPRITEVAR 10 FRAME 1
SPRITEVAR 11 BIAS -5
SPRITEVAR 11 BIAS_CONSTANT 5
SPRITEVAR 11 BIAS_MOVE_X 1
SPRITEVAR 11 BIAS_MOVE_Y 1
SPRITEVAR 11 EMP 1
SPRITEVAR 11 FRAME 1
SPRITEVAR 11 INVERTFACE
SPRITEVAR 12 BIAS 20
SPRITEVAR 12 FRAME 3
SPRITEVAR 13 BIAS 20
SPRITEVAR 13 FRAME 3
SPRITEVAR 13 INVERTFACE
SPRITEVAR 14 EMP 1
SPRITEVAR 14 FACE 0
SPRITEVAR 14 FRAME 7
SPRITEVAR 14 ROLL 50
SPRITEVAR 15 EMP 1
SPRITEVAR 15 FACE 0
SPRITEVAR 15 FRAME 8
SPRITEVAR 15 ROLL -50
LIGHT 0 -39 50 0 120 255 70
SOUND STATIC S_DIE common/explosion_big
SOUND STATIC S_DYING world/explosion
SOUND DYNAMIC S_LOOP dynamic/robot_dropper
SOUND STATIC S_PHYSICS common/impact_large
THINK AI_ZOMBIE 0 AI_FIRE 1.6
MOVETYPE FLY 1
OFFSET SIZE 64 0
OFFSET WEAPON_ORIGIN 0 -39
OFFSET WEAPON_MISSILE 0 -39
MISSILE turret_portable1
OBJECT 0 dropper_h1 -33 -65 DROP 0 30 0
OBJECT 0 dropper_h2 33 -65 DROP 0 30 0
OBJECT 1 dropper_flame -60 -39 NONE 0 0 55
OBJECT 1 dropper_flame -38 -51 NONE 0 0 70
OBJECT 1 dropper_flame 60 -39 NONE 0 0 125
OBJECT 1 dropper_flame 38 -51 NONE 0 0 110
OBJECT 1 dropper_e1 89 9 NONE 0 0 -90
OBJECT 1 dropper_e2 -89 9 NONE 0 0 -90
UNLOCK nme.ref.06
STAT AI_DEATH_DELAY 1100
STAT AI_KEEPANGLE -90
STAT AI_KEEPACTIVE
STAT AI_KEEPFIRING
STAT AI_RANGE 250
STAT AI_SIZE_IMPACT 1
STAT AI_SIZE_MOVE 2
STAT AI_SPAWN_LIMIT 7
STAT DAMAGE_SPLASH 220
STAT FRAG
STAT FX_DIM 0
STAT FX_FLOAT
STAT FX_FULLANGLE_TILT 10
STAT FX_FULLMODEL
STAT FX_IDLEDISTANCE 80
STAT FX_KEEP_EFFECTS
STAT FX_NOFACE
STAT FX_SMOKE_FLOOR 300
STAT FX_TELEATTACK
STAT S_HEALTH 100
STAT S_SCORE 3500
STAT TAKEDAMAGE_ELECTRIC
STAT TAKEDAMAGE_EMP
EFFECT DYING DEBRIS_METAL 0 0 0
EFFECT DYING EXPLOSION 0 0 0
EFFECT GIB DEBRIS_METAL 0 0 0
EFFECT GIB EXPLOSION 0 0 0
END

//=====================================================================
// POWER TURRET
//=====================================================================
ENTITY turret_powered
DESCRIBE Powerturret
SPRITE DYNAMIC 0 NONE 0 42 vehicles/powerturret
SPRITE DYNAMIC 0 NONE -6 39 vehicles/powerturret_driver
SPRITE DYNAMIC 0 NONE 6 39 vehicles/powerturret_driver
SPRITE DYNAMIC 0 NONE 0 31 player/body_sit
SPRITE STATIC 0 NONE 0 41 zombie/elite
SPRITE STATIC 1 NONE 0 41 zombie/zombie1
SPRITE DYNAMIC 0 NONE -29 25 vehicles/powerturret
SPRITE DYNAMIC 0 NONE -22 30 vehicles/powerturret
SPRITE DYNAMIC 0 NONE -34 42 vehicles/powerturret_driver
SPRITE DYNAMIC 0 NONE 29 25 vehicles/powerturret
SPRITE DYNAMIC 0 NONE 22 30 vehicles/powerturret
SPRITE DYNAMIC 0 NONE 34 42 vehicles/powerturret_driver
SPRITE DYNAMIC 1 NONE 0 34 vehicles/general_light2
SPRITE DYNAMIC 0 NONE 0 28 vehicles/powerturret
SPRITE DYNAMIC 0 NONE 0 54 vehicles/powerturret
SPRITE DYNAMIC 0 NONE 0 51 vehicles/powerturret
SPRITE DYNAMIC 0 NONE 0 0 vehicles/powerturret_legs
SPRITEVAR 0 BOB -15
SPRITEVAR 0 FRAME 7
SPRITEVAR 0 NOFACE
//ARMS1
SPRITEVAR 1 BIAS_AIM -30
SPRITEVAR 1 BIAS_MOVE_X -7
SPRITEVAR 1 BIAS_MOVE_Y 3
SPRITEVAR 1 BOB -15
SPRITEVAR 1 EMP_ACTION 23
SPRITEVAR 1 FRAME 1
SPRITEVAR 1 NOFACE
SPRITEVAR 1 OFFS_X -5
SPRITEVAR 1 OFFS_Y 2
//ARMS2
SPRITEVAR 2 BIAS_AIM 30
SPRITEVAR 2 BIAS_MOVE_X 7
SPRITEVAR 2 BIAS_MOVE_Y 3
SPRITEVAR 2 BOB -15
SPRITEVAR 2 EMP_ACTION 20
SPRITEVAR 2 FRAME 1
SPRITEVAR 2 INVERTFACE
SPRITEVAR 2 NOFACE
SPRITEVAR 2 OFFS_X -5
SPRITEVAR 2 OFFS_Y 2
//BODY
SPRITEVAR 3 BOB -15
SPRITEVAR 3 NOFACE
SPRITEVAR 4 AIM_HEAD
SPRITEVAR 4 ANIMATE_FACE 1
SPRITEVAR 4 BOB -15
SPRITEVAR 4 EMP_ACTION 10
SPRITEVAR 4 FRAME_FACE 2
SPRITEVAR 4 OFFS_X 3
SPRITEVAR 4 OFFS_Y 34
SPRITEVAR 5 AIM_HEAD
SPRITEVAR 5 BOB -15
SPRITEVAR 5 EMP_ACTION 10
SPRITEVAR 5 FRAME 2
SPRITEVAR 5 OFFS_X -11
SPRITEVAR 5 OFFS_Y 24
//CONTROLLER1
SPRITEVAR 6 BIAS_AIM 38
SPRITEVAR 6 BOB -15
SPRITEVAR 6 EMP_ACTION 23
SPRITEVAR 6 FRAME 5
SPRITEVAR 6 NOFACE
SPRITEVAR 6 OFFS_X 5
SPRITEVAR 6 OFFS_Y 4
SPRITEVAR 7 BIAS_AIM 25
SPRITEVAR 7 BIAS_MOVE_X -3
SPRITEVAR 7 BIAS_MOVE_Y 3
SPRITEVAR 7 BOB -15
SPRITEVAR 7 EMP_ACTION 23
SPRITEVAR 7 FRAME 6
SPRITEVAR 7 NOFACE
SPRITEVAR 7 OFFS_X -4
SPRITEVAR 7 OFFS_Y 6
SPRITEVAR 8 BIAS_AIM 30
SPRITEVAR 8 BIAS_MOVE_X -5
SPRITEVAR 8 BIAS_MOVE_Y 1
SPRITEVAR 8 BOB -15
SPRITEVAR 8 EMP_ACTION 23
SPRITEVAR 8 NOFACE
SPRITEVAR 8 OFFS_X 12
SPRITEVAR 8 OFFS_Y 4
//CONTROLLER2
SPRITEVAR 9 BIAS_AIM -38
SPRITEVAR 9 BOB -15
SPRITEVAR 9 EMP_ACTION 20
SPRITEVAR 9 FRAME 5
SPRITEVAR 9 INVERTFACE
SPRITEVAR 9 NOFACE
SPRITEVAR 9 OFFS_X 5
SPRITEVAR 9 OFFS_Y 4
SPRITEVAR 10 BIAS_AIM -25
SPRITEVAR 10 BIAS_MOVE_X 3
SPRITEVAR 10 BIAS_MOVE_Y 3
SPRITEVAR 10 BOB -15
SPRITEVAR 10 EMP_ACTION 20
SPRITEVAR 10 FRAME 6
SPRITEVAR 10 INVERTFACE
SPRITEVAR 10 NOFACE
SPRITEVAR 10 OFFS_X -4
SPRITEVAR 10 OFFS_Y 6
SPRITEVAR 11 BIAS_AIM -30
SPRITEVAR 11 BIAS_MOVE_X 5
SPRITEVAR 11 BIAS_MOVE_Y 1
SPRITEVAR 11 BOB -15
SPRITEVAR 11 EMP_ACTION 20
SPRITEVAR 11 INVERTFACE
SPRITEVAR 11 NOFACE
SPRITEVAR 11 OFFS_X 12
SPRITEVAR 11 OFFS_Y 4
//BODY
SPRITEVAR 12 ACTIVE
SPRITEVAR 12 BOB -15
SPRITEVAR 12 DIM
SPRITEVAR 12 EMP 1
SPRITEVAR 12 NOFACE
SPRITEVAR 12 SCALE 133
SPRITEVAR 13 BOB -15
SPRITEVAR 13 FRAME 4
SPRITEVAR 13 NOFACE
SPRITEVAR 14 BOB -15
SPRITEVAR 14 AIM_FACE
SPRITEVAR 14 FRAME 3
SPRITEVAR 14 OFFS_X 33
SPRITEVAR 15 BOB -15
SPRITEVAR 15 NOFACE
SPRITEVAR 16 ANGLEFACTOR 70
SPRITEVAR 16 BOB -15
SPRITEVAR 16 OFFS_Y -7
SPRITEVAR 16 NOFACE
SPRITEVAR 16 USEGROUND
LIGHT 0 54 100 255 255 255 20
SOUND STATIC S_DIE world/break_metal_1
SOUND STATIC S_DYING world/explosion
SOUND DYNAMIC S_LOOP dynamic/vehicle_powturret_move
SOUND DYNAMIC S_LOOP_ALT dynamic/vehicle_controls_malf
SOUND STATIC S_PHYSICS common/impact_large
THINK AI_FOLLOW 0.7 AI_FIRE 1
MOVETYPE WALK 0.85
GUNENTITY powturret_gun1 0
OBJECT 0 powturret_obj1 0 0 DROP 3 0 0
OFFSET SIZE 48 55
OFFSET WEAPON_MISSILE 0 54
OFFSET WEAPON_ORIGIN 0 54
OFFSET WEAPON_OFFSET 62 0
STAT AI_BURST 5
STAT AI_BURST_TIME 750
STAT AI_DEATH_DELAY 500
STAT AI_DISTANCE_MIN 150
STAT AI_DISTANCE_MAX 250
STAT AI_LOCK_ON_FIRING
STAT AI_NUMB 1000
STAT AI_NUMB_WAKE
STAT AI_SIZE_IMPACT 1
STAT AI_SIZE_MOVE 1
STAT DAMAGE_SPLASH 178
STAT FRAG
STAT FX_MOVE_LOOP
STAT FX_MUZZLE 30
STAT S_HEALTH 60
STAT S_SCORE 2000
STAT S_WEAPON 12
STAT MISSILE_OFFSETRADIUS 58
STAT MISSILE_OFFSETWADDLE 8
STAT TAKEDAMAGE_EMP
STAT TAKEDAMAGE_SURFACE
EFFECT DYING DEBRIS_GLASS 0 0 0
EFFECT DYING EXPLOSION 0 0 0
EFFECT GIB DEBRIS_METAL 0 54 0
EFFECT GIB DEBRIS_GLASS 0 54 0
EFFECT GIB EXPLOSION 0 0 0
END
//=====================================================================
ENTITY turret_poweredb
CLONE turret_powered
DESCRIBE Powerturret_(fadein)
STAT AI_NUMB 100
STAT FX_DIM_HIDE -400
STAT INVISIBLE
STAT NOLIST
END

//=====================================================================
// TURRET TOWER
//=====================================================================
ENTITY x_ttg1
SPRITE STATIC 3 NONE 0 0 turrets/base
SPRITE STATIC 3 NONE 0 0 turrets/base
SPRITE STATIC 3 NONE 0 0 turrets/base
SPRITE STATIC 3 NONE 0 0 turrets/base
SPRITE STATIC 3 NONE 0 0 turrets/base
SPRITE STATIC 3 NONE 0 0 turrets/base
SPRITE STATIC 3 NONE 0 -1 turrets/base
SPRITEVAR 0 ANGLEOFFSET 180
SPRITEVAR 0 FRAME 2
SPRITEVAR 0 HIDE_MOVE_X -27
SPRITEVAR 0 INVERTFACE
SPRITEVAR 0 OFFS_X -17
SPRITEVAR 0 OFFS_Y -12
SPRITEVAR 1 FRAME 2
SPRITEVAR 1 HIDE_MOVE_X -27
SPRITEVAR 1 OFFS_X -17
SPRITEVAR 1 OFFS_Y -12
SPRITEVAR 2 ANGLEOFFSET 180
SPRITEVAR 2 FRAME 1
SPRITEVAR 2 HIDE_MOVE_X -27
SPRITEVAR 2 INVERTFACE
SPRITEVAR 2 OFFS_X 23
SPRITEVAR 2 OFFS_Y -9
SPRITEVAR 3 FRAME 1
SPRITEVAR 3 HIDE_MOVE_X -27
SPRITEVAR 3 OFFS_X 23
SPRITEVAR 3 OFFS_Y -9
SPRITEVAR 4 HIDE_MOVE_X -27
SPRITEVAR 4 OFFS_X 3
SPRITEVAR 5 ANGLEOFFSET
SPRITEVAR 5 FRAME 4
SPRITEVAR 5 HIDE_MOVE_X -27
SPRITEVAR 6 FRAME 3
SPRITEVAR 6 HIDE_MOVE_X -27
OFFSET SIZE 32 0
STAT FX_NOENV_FX
STAT NOLIST
END
//=====================================================================
ENTITY x_ttg2
CLONE x_ttg1
SPRITEVAR 0 ANGLEOFFSET 0
SPRITEVAR 0 HIDE_MOVE_X 27
SPRITEVAR 1 ANGLEOFFSET 180
SPRITEVAR 1 HIDE_MOVE_X 27
SPRITEVAR 2 ANGLEOFFSET 0
SPRITEVAR 2 HIDE_MOVE_X 27
SPRITEVAR 3 ANGLEOFFSET 180
SPRITEVAR 3 HIDE_MOVE_X 27
SPRITEVAR 4 ANGLEOFFSET 180
SPRITEVAR 4 HIDE_MOVE_X 27
SPRITEVAR 5 ANGLEOFFSET 180
SPRITEVAR 5 HIDE_MOVE_X 27
SPRITEVAR 6 HIDE_MOVE_X 27
STAT NOLIST
END
//=====================================================================
ENTITY x_ttg1b
CLONE x_ttg1
SPRITEVAR 0 SCISSORS 1
SPRITEVAR 0 HIDE_MOVE_X 0
SPRITEVAR 0 HIDE_MOVE_Y 332
SPRITEVAR 0 HIDE_TIME 1000
SPRITEVAR 1 HIDE_MOVE_X 0
SPRITEVAR 1 HIDE_MOVE_Y 332
SPRITEVAR 1 HIDE_TIME 1000
SPRITEVAR 2 HIDE_MOVE_X 0
SPRITEVAR 2 HIDE_MOVE_Y 332
SPRITEVAR 2 HIDE_TIME 1000
SPRITEVAR 3 HIDE_MOVE_X 0
SPRITEVAR 3 HIDE_MOVE_Y 332
SPRITEVAR 3 HIDE_TIME 1000
SPRITEVAR 4 HIDE_MOVE_X 0
SPRITEVAR 4 HIDE_MOVE_Y 332
SPRITEVAR 4 HIDE_TIME 1000
SPRITEVAR 5 HIDE_MOVE_X 0
SPRITEVAR 5 HIDE_MOVE_Y 332
SPRITEVAR 5 HIDE_TIME 1000
SPRITEVAR 6 HIDE_MOVE_X 0
SPRITEVAR 6 HIDE_MOVE_Y 332
SPRITEVAR 6 HIDE_TIME 1000
STAT NOLIST
END
//=====================================================================
ENTITY x_ttg2b
CLONE x_ttg2
SPRITEVAR 0 SCISSORS 1
SPRITEVAR 0 HIDE_MOVE_X 0
SPRITEVAR 0 HIDE_MOVE_Y 332
SPRITEVAR 0 HIDE_TIME 1000
SPRITEVAR 1 HIDE_MOVE_X 0
SPRITEVAR 1 HIDE_MOVE_Y 332
SPRITEVAR 1 HIDE_TIME 1000
SPRITEVAR 2 HIDE_MOVE_X 0
SPRITEVAR 2 HIDE_MOVE_Y 332
SPRITEVAR 2 HIDE_TIME 1000
SPRITEVAR 3 HIDE_MOVE_X 0
SPRITEVAR 3 HIDE_MOVE_Y 332
SPRITEVAR 3 HIDE_TIME 1000
SPRITEVAR 4 HIDE_MOVE_X 0
SPRITEVAR 4 HIDE_MOVE_Y 332
SPRITEVAR 4 HIDE_TIME 1000
SPRITEVAR 5 HIDE_MOVE_X 0
SPRITEVAR 5 HIDE_MOVE_Y 332
SPRITEVAR 5 HIDE_TIME 1000
SPRITEVAR 6 HIDE_MOVE_X 0
SPRITEVAR 6 HIDE_MOVE_Y 332
SPRITEVAR 6 HIDE_TIME 1000
STAT NOLIST
END
//=====================================================================
ENTITY x_ttgun1
SPRITE STATIC 3 NONE 31 0 turrets/gun_laser
SPRITE STATIC 3 NONE 22 0 turrets/gun_laser
SPRITE STATIC 3 NONE -18 0 turrets/gun_laser
SPRITE STATIC 1 NONE -16 0 turrets/gun_laser_c
SPRITE STATIC 3 NONE 1 -1 turrets/base
SPRITE STATIC 3 NONE 1 1 turrets/base
SPRITE STATIC 3 NONE -1 -1 turrets/base
SPRITE STATIC 3 NONE -1 1 turrets/base
SPRITE STATIC 3 NONE 0 0 turrets/base
SPRITE STATIC 3 NONE 0 0 turrets/base
SPRITEVAR 0 HIDE_MOVE_X -21
SPRITEVAR 0 KICK_X 4
SPRITEVAR 1 FRAME 2
SPRITEVAR 2 FRAME 1
SPRITEVAR 3 CHARGE_INV
SPRITEVAR 4 ANGLEOFFSET 135
SPRITEVAR 4 FRAME 2
SPRITEVAR 4 HIDE_MOVE_X -1
SPRITEVAR 4 HIDE_MOVE_Y -1
SPRITEVAR 4 HIDE_ROLL 45
SPRITEVAR 4 INVERTFACE
SPRITEVAR 4 OFFS_X -17
SPRITEVAR 4 OFFS_Y -12
SPRITEVAR 5 ANGLEOFFSET 45
SPRITEVAR 5 FRAME 2
SPRITEVAR 5 HIDE_MOVE_X -1
SPRITEVAR 5 HIDE_MOVE_Y 1
SPRITEVAR 5 HIDE_ROLL -45
SPRITEVAR 5 OFFS_X -17
SPRITEVAR 5 OFFS_Y -12
SPRITEVAR 6 ANGLEOFFSET 205
SPRITEVAR 6 FRAME 1
SPRITEVAR 6 HIDE_MOVE_X 1
SPRITEVAR 6 HIDE_MOVE_Y -1
SPRITEVAR 6 HIDE_ROLL -25
SPRITEVAR 6 INVERTFACE
SPRITEVAR 6 OFFS_X 23
SPRITEVAR 6 OFFS_Y -9
SPRITEVAR 7 ANGLEOFFSET -25
SPRITEVAR 7 FRAME 1
SPRITEVAR 7 HIDE_MOVE_X 1
SPRITEVAR 7 HIDE_MOVE_Y 1
SPRITEVAR 7 HIDE_ROLL 25
SPRITEVAR 7 OFFS_X 23
SPRITEVAR 7 OFFS_Y -9
SPRITEVAR 8 OFFS_X 3
SPRITEVAR 9 AIM
SPRITEVAR 9 ANGLEFACTOR 300
SPRITEVAR 9 FRAME 4
SOUND STATIC S_ATTACK common/weapon_plasma
SOUND STATIC S_DIE world/break_metal_1
SOUND STATIC S_LOOP common/turret_move
THINK AI_CONSTANT 0.4 AI_FIRE 0.5
OFFSET SIZE 32 0
OFFSET WEAPON_OFFSET 33 0
GUNENTITY turret_bolt_2 0
ITEM tempspark 0 0
MISSILE laser
UNLOCK nme.ref.01
STAT AI_VITAL_PART
STAT DAMAGE_SPLASH 100
STAT FRAG
STAT FX_FULLANGLE_AIM
STAT FX_FULLMODEL
STAT FX_MOVE_LOOP
STAT FX_MUZZLE 20
STAT FX_NOFACE
STAT MISSILE_OFFSETRADIUS 32
STAT S_HEALTH 30
STAT S_SCORE 400
STAT NOLIST
STAT TAKEDAMAGE_ELECTRIC
EFFECT GIB DEBRIS_METAL 0 0 0
EFFECT GIB EXPLOSION 0 0 0
END
//=====================================================================
ENTITY x_ttgun2
THINK AI_CONSTANT 0.4 NONE 1
TRANSFORM x_ttgun1 1
OFFSET SIZE 32 0
STAT AI_KEEPANGLE 0
STAT AI_VITAL_PART
STAT NOLIST
STAT S_HEALTH 30
STAT S_SCORE 400
END
//=====================================================================
ENTITY x_ttgun2b
CLONE x_ttgun2
STAT AI_KEEPANGLE -180
STAT NOLIST
END
//=====================================================================
ENTITY x_ttower_base_c
SPRITE DYNAMIC 2 NONE -42 270 turrets/tower
SPRITE DYNAMIC 2 NONE 42 270 turrets/tower
SPRITE DYNAMIC 2 NONE -42 132 turrets/tower
SPRITE DYNAMIC 2 NONE 42 132 turrets/tower
SPRITE DYNAMIC 2 NONE -21 57 turrets/tower
SPRITE DYNAMIC 2 NONE 21 57 turrets/tower
SPRITE DYNAMIC 2 NONE 0 305 turrets/tower
SPRITE DYNAMIC 2 NONE 0 212 turrets/tower
SPRITE DYNAMIC 2 NONE 0 74 turrets/tower
SPRITE DYNAMIC 2 NONE 0 22 turrets/tower
SPRITE DYNAMIC 2 NONE -70 269 turrets/tower
SPRITE DYNAMIC 2 NONE 70 269 turrets/tower
SPRITE DYNAMIC 2 NONE -70 131 turrets/tower
SPRITE DYNAMIC 2 NONE 70 131 turrets/tower
SPRITE DYNAMIC 2 NONE -72 241 turrets/tower
SPRITE DYNAMIC 2 NONE 72 241 turrets/tower
SPRITE DYNAMIC 2 NONE -72 103 turrets/tower
SPRITE DYNAMIC 2 NONE 72 103 turrets/tower
SPRITE DYNAMIC 3 NONE -86 -1 turrets/tower
SPRITE DYNAMIC 3 NONE 86 -1 turrets/tower
SPRITE DYNAMIC 3 NONE -44 -1 turrets/tower
SPRITE DYNAMIC 3 NONE 44 -1 turrets/tower
SPRITEVAR 0 FRAME 3
SPRITEVAR 1 FRAME 3
SPRITEVAR 1 INVERTFACE
SPRITEVAR 2 FRAME 3
SPRITEVAR 3 FRAME 3
SPRITEVAR 3 INVERTFACE
SPRITEVAR 4 FRAME 6
SPRITEVAR 4 INVERTFACE
SPRITEVAR 5 FRAME 6
SPRITEVAR 6 FRAME 1
SPRITEVAR 9 FRAME 2
SPRITEVAR 10 FRAME 5
SPRITEVAR 11 FRAME 5
SPRITEVAR 11 INVERTFACE
SPRITEVAR 12 FRAME 5
SPRITEVAR 13 FRAME 5
SPRITEVAR 13 INVERTFACE
SPRITEVAR 14 FRAME 4
SPRITEVAR 15 FRAME 4
SPRITEVAR 15 INVERTFACE
SPRITEVAR 16 FRAME 4
SPRITEVAR 17 FRAME 4
SPRITEVAR 17 INVERTFACE
SPRITEVAR 18 ANGLEOFFSET 135
SPRITEVAR 18 FRAME 9
SPRITEVAR 18 OFFS_X 43
SPRITEVAR 18 OFFS_Y 1
SPRITEVAR 19 ANGLEOFFSET -135
SPRITEVAR 19 FRAME 9
SPRITEVAR 19 INVERTFACE
SPRITEVAR 19 OFFS_X 43
SPRITEVAR 19 OFFS_Y 1
SPRITEVAR 20 FRAME 7
SPRITEVAR 21 FRAME 7
SPRITEVAR 21 INVERTFACE
OFFSET SIZE 16 328
STAT NOLIST
END
//=====================================================================
ENTITY x_ttower_base_b
CLONE x_ttower_base_c
SPRITEVAR 0 HIDE_MOVE_X 27
SPRITEVAR 1 HIDE_MOVE_X -27
SPRITEVAR 2 HIDE_MOVE_X 27
SPRITEVAR 3 HIDE_MOVE_X -27
SPRITEVAR 10 HIDE_MOVE_X 27
SPRITEVAR 10 HIDE_ROLL 180
SPRITEVAR 11 HIDE_MOVE_X -27
SPRITEVAR 11 HIDE_ROLL 180
SPRITEVAR 12 HIDE_MOVE_X 27
SPRITEVAR 12 HIDE_ROLL 180
SPRITEVAR 13 HIDE_MOVE_X -27
SPRITEVAR 13 HIDE_ROLL 180
SPRITEVAR 14 HIDE_MOVE_X 27
SPRITEVAR 15 HIDE_MOVE_X -27
SPRITEVAR 16 HIDE_MOVE_X 27
SPRITEVAR 17 HIDE_MOVE_X -27
OBJECT 1 x_ttg2 -72 230 NONE 0 0 0
OBJECT 1 x_ttg1 72 230 NONE 0 0 0
OBJECT 1 x_ttg2 -72 92 NONE 0 0 0
OBJECT 1 x_ttg1 72 92 NONE 0 0 0
TRANSFORM x_ttower_base_c 350
OFFSET SIZE 16 328
STAT NOLIST
END
//=====================================================================
ENTITY x_ttower_base_x
SPRITE DYNAMIC 2 NONE -15 270 turrets/tower
SPRITE DYNAMIC 2 NONE 15 270 turrets/tower
SPRITE DYNAMIC 2 NONE -15 132 turrets/tower
SPRITE DYNAMIC 2 NONE 15 132 turrets/tower
SPRITE DYNAMIC 2 NONE -21 57 turrets/tower
SPRITE DYNAMIC 2 NONE 21 57 turrets/tower
SPRITE DYNAMIC 2 NONE 0 305 turrets/tower
SPRITE DYNAMIC 2 NONE 0 212 turrets/tower
SPRITE DYNAMIC 2 NONE 0 74 turrets/tower
SPRITE DYNAMIC 2 NONE 0 22 turrets/tower
SPRITE DYNAMIC 2 NONE -43 269 turrets/tower
SPRITE DYNAMIC 2 NONE 43 269 turrets/tower
SPRITE DYNAMIC 2 NONE -43 131 turrets/tower
SPRITE DYNAMIC 2 NONE 43 131 turrets/tower
SPRITE DYNAMIC 2 NONE -45 241 turrets/tower
SPRITE DYNAMIC 2 NONE 45 241 turrets/tower
SPRITE DYNAMIC 2 NONE -45 103 turrets/tower
SPRITE DYNAMIC 2 NONE 45 103 turrets/tower
SPRITE DYNAMIC 3 NONE -86 -1 turrets/tower
SPRITE DYNAMIC 3 NONE 86 -1 turrets/tower
SPRITE DYNAMIC 3 NONE -44 -1 turrets/tower
SPRITE DYNAMIC 3 NONE 44 -1 turrets/tower
SPRITEVAR 0 HIDE_MOVE_Y 332
SPRITEVAR 1 HIDE_MOVE_Y 332
SPRITEVAR 2 HIDE_MOVE_Y 332
SPRITEVAR 3 HIDE_MOVE_Y 332
SPRITEVAR 4 HIDE_MOVE_Y 332
SPRITEVAR 5 HIDE_MOVE_Y 332
SPRITEVAR 6 HIDE_MOVE_Y 332
SPRITEVAR 7 HIDE_MOVE_Y 332
SPRITEVAR 8 HIDE_MOVE_Y 332
SPRITEVAR 9 HIDE_MOVE_Y 332
SPRITEVAR 10 HIDE_MOVE_Y 332
SPRITEVAR 11 HIDE_MOVE_Y 332
SPRITEVAR 12 HIDE_MOVE_Y 332
SPRITEVAR 13 HIDE_MOVE_Y 332
SPRITEVAR 14 HIDE_MOVE_Y 332
SPRITEVAR 15 HIDE_MOVE_Y 332
SPRITEVAR 16 HIDE_MOVE_Y 332
SPRITEVAR 17 HIDE_MOVE_Y 332
SPRITEVAR 0 HIDE_TIME 1000
SPRITEVAR 1 HIDE_TIME 1000
SPRITEVAR 2 HIDE_TIME 1000
SPRITEVAR 3 HIDE_TIME 1000
SPRITEVAR 4 HIDE_TIME 1000
SPRITEVAR 5 HIDE_TIME 1000
SPRITEVAR 6 HIDE_TIME 1000
SPRITEVAR 7 HIDE_TIME 1000
SPRITEVAR 8 HIDE_TIME 1000
SPRITEVAR 9 HIDE_TIME 1000
SPRITEVAR 10 HIDE_TIME 1000
SPRITEVAR 11 HIDE_TIME 1000
SPRITEVAR 12 HIDE_TIME 1000
SPRITEVAR 13 HIDE_TIME 1000
SPRITEVAR 14 HIDE_TIME 1000
SPRITEVAR 15 HIDE_TIME 1000
SPRITEVAR 16 HIDE_TIME 1000
SPRITEVAR 17 HIDE_TIME 1000
SPRITEVAR 0 FRAME 3
SPRITEVAR 0 SCISSORS 1
SPRITEVAR 1 FRAME 3
SPRITEVAR 1 INVERTFACE
SPRITEVAR 2 FRAME 3
SPRITEVAR 3 FRAME 3
SPRITEVAR 3 INVERTFACE
SPRITEVAR 4 FRAME 6
SPRITEVAR 4 INVERTFACE
SPRITEVAR 5 FRAME 6
SPRITEVAR 6 FRAME 1
SPRITEVAR 9 FRAME 2
SPRITEVAR 10 ANGLEOFFSET 180
SPRITEVAR 10 FRAME 5
SPRITEVAR 11 ANGLEOFFSET 180
SPRITEVAR 11 FRAME 5
SPRITEVAR 11 INVERTFACE
SPRITEVAR 12 ANGLEOFFSET 180
SPRITEVAR 12 FRAME 5
SPRITEVAR 13 ANGLEOFFSET 180
SPRITEVAR 13 FRAME 5
SPRITEVAR 13 INVERTFACE
SPRITEVAR 14 FRAME 4
SPRITEVAR 15 FRAME 4
SPRITEVAR 15 INVERTFACE
SPRITEVAR 16 FRAME 4
SPRITEVAR 17 FRAME 4
SPRITEVAR 17 INVERTFACE
SPRITEVAR 18 ANGLEOFFSET 135
SPRITEVAR 18 FRAME 9
SPRITEVAR 18 OFFS_X 43
SPRITEVAR 18 OFFS_Y 1
SPRITEVAR 18 SCISSORS -1
SPRITEVAR 19 ANGLEOFFSET -135
SPRITEVAR 19 FRAME 9
SPRITEVAR 19 INVERTFACE
SPRITEVAR 19 OFFS_X 43
SPRITEVAR 19 OFFS_Y 1
SPRITEVAR 20 FRAME 7
SPRITEVAR 21 FRAME 7
SPRITEVAR 21 INVERTFACE
SCISSORS -200 2 400 340
OBJECT 1 x_ttg2b -45 230 NONE 0 0 0
OBJECT 1 x_ttg1b 45 230 NONE 0 0 0
OBJECT 1 x_ttg2b -45 92 NONE 0 0 0
OBJECT 1 x_ttg1b 45 92 NONE 0 0 0
TRANSFORM x_ttower_base_b 1000
OFFSET SIZE 16 328
STAT INVISIBLE
STAT NOLIST
END
//=====================================================================
ENTITY x_ttower_base
SPRITE DYNAMIC 3 NONE -86 -1 turrets/tower
SPRITE DYNAMIC 3 NONE 86 -1 turrets/tower
SPRITE DYNAMIC 3 NONE -86 -1 turrets/tower
SPRITE DYNAMIC 3 NONE 86 -1 turrets/tower
SPRITE DYNAMIC 3 NONE -44 -1 turrets/tower
SPRITE DYNAMIC 3 NONE 44 -1 turrets/tower
SPRITEVAR 0 ANGLEOFFSET 135
SPRITEVAR 0 FRAME 8
SPRITEVAR 0 HIDE_ROLL -135
SPRITEVAR 0 HIDE_TIME 300
SPRITEVAR 0 OFFS_X 43
SPRITEVAR 0 OFFS_Y 1
SPRITEVAR 1 ANGLEOFFSET -135
SPRITEVAR 1 FRAME 8
SPRITEVAR 1 HIDE_ROLL 135
SPRITEVAR 1 HIDE_TIME 300
SPRITEVAR 1 INVERTFACE
SPRITEVAR 1 OFFS_X 43
SPRITEVAR 1 OFFS_Y 1
SPRITEVAR 2 ACTIVE
SPRITEVAR 2 ANGLEOFFSET 135
SPRITEVAR 2 FADE_TOGGLE -300
SPRITEVAR 2 FRAME 9
SPRITEVAR 2 HIDE_ROLL -135
SPRITEVAR 2 HIDE_TIME 300
SPRITEVAR 2 OFFS_X 43
SPRITEVAR 2 OFFS_Y 1
SPRITEVAR 3 ACTIVE
SPRITEVAR 3 ANGLEOFFSET -135
SPRITEVAR 3 FADE_TOGGLE -300
SPRITEVAR 3 FRAME 9
SPRITEVAR 3 HIDE_ROLL 135
SPRITEVAR 3 HIDE_TIME 300
SPRITEVAR 3 INVERTFACE
SPRITEVAR 3 OFFS_X 43
SPRITEVAR 3 OFFS_Y 1
SPRITEVAR 4 FRAME 7
SPRITEVAR 5 FRAME 7
SPRITEVAR 5 INVERTFACE
SOUND DYNAMIC S_WAKE dynamic/event_turrettower
TRANSFORM x_ttower_base_x 300
OFFSET SIZE 16 328
END
//=====================================================================
ENTITY x_ttower_b
THINK AI_ZOMBIE 0 NONE 1
OFFSET SIZE 16 328
STAT AI_SIZE_MOVE 2
STAT DAMAGE_SPLASH 150
STAT FX_NOFACE
STAT NOLIST
STAT S_HEALTH 100
STAT TAKEDAMAGE_NONE
END
//=====================================================================
ENTITY x_ttower
DESCRIBE Turret_tower
TEXPOLY (fade) 0
TRANSFORM x_ttower_b 1650
THINK AI_ZOMBIE 0 NONE 1
OFFSET SIZE 16 328
STAT AI_SIZE_MOVE 2
STAT DAMAGE_SPLASH 150
STAT FX_NOENV_FX
STAT FX_NOFACE
STAT S_HEALTH 100
STAT TAKEDAMAGE_NONE
GROUP x_ttgun2b COLLECTIVE -72 230 0
GROUP x_ttgun2 COLLECTIVE 72 230 0
GROUP x_ttgun2b COLLECTIVE -72 92 0
GROUP x_ttgun2 COLLECTIVE 72 92 0
END

//=====================================================================
// STASIS EGG
//=====================================================================
ENTITY x_statis_obj1
THINK AI_AIM 0 NONE 0
STAT FX_NOENV_FX
STAT FX_SMOKE_ALPHA 50
STAT FX_SMOKE_SHOOT -150
STAT FX_SMOKE_SPEED 50
STAT NOLIST
END
//=====================================================================
ENTITY x_stasisegg1d
SPRITE DYNAMIC 3 NONE -11 28 turrets/stasisegg
SPRITE DYNAMIC 3 NONE 11 28 turrets/stasisegg
SPRITE DYNAMIC 3 NONE 0 19 turrets/stasisegg
SPRITE DYNAMIC 3 NONE 0 9 turrets/stasisegg
SPRITE DYNAMIC 3 NONE -11 28 turrets/stasisegg
SPRITE DYNAMIC 3 NONE 11 28 turrets/stasisegg
SPRITE DYNAMIC 1 NONE 0 -23 turrets/stasisegg
SPRITE DYNAMIC 3 NONE 0 -55 turrets/stasisegg
SPRITE DYNAMIC 3 NONE 0 -41 turrets/stasisegg
SPRITEVAR 0 ANGLEOFFSET -66
SPRITEVAR 0 FRAME 3
SPRITEVAR 0 OFFS_X -2
SPRITEVAR 0 OFFS_Y -8
SPRITEVAR 1 ANGLEOFFSET 66
SPRITEVAR 1 FRAME 3
SPRITEVAR 1 INVERTFACE
SPRITEVAR 1 OFFS_X -2
SPRITEVAR 1 OFFS_Y -8
SPRITEVAR 2 FRAME 1
SPRITEVAR 3 ANGLEOFFSET 270
SPRITEVAR 3 FRAME 4
SPRITEVAR 4 ANGLEOFFSET -66
SPRITEVAR 4 FRAME 2
SPRITEVAR 4 OFFS_X -22
SPRITEVAR 4 OFFS_Y -25
SPRITEVAR 5 ANGLEOFFSET 66
SPRITEVAR 5 FRAME 2
SPRITEVAR 5 INVERTFACE
SPRITEVAR 5 OFFS_X -22
SPRITEVAR 5 OFFS_Y -25
SPRITEVAR 6 ALPHA 0
SPRITEVAR 6 FRAME 6
SPRITEVAR 7 FRAME 5
SCISSORS -20 -71 40 32
OFFSET SIZE 30 10
STAT NOLIST
END
//=====================================================================
ENTITY x_stasisegg1c
CLONE x_stasisegg1d
SPRITEVAR 6 ALPHA 100
SPRITEVAR 6 HIDE_MOVE_Y 32
SPRITEVAR 6 HIDE_TIME 10000
SPRITEVAR 6 SCISSORS 1
SPRITEVAR 7 HIDE_MOVE_Y 32
SPRITEVAR 7 HIDE_TIME 10000
SPRITEVAR 8 SCISSORS -1
SOUND DYNAMIC S_LOOP dynamic/turret_stasisegg_active
OBJECT 0 x_statis_obj1 -10 0 NONE 0 0 -225
OBJECT 0 x_statis_obj1 10 0 NONE 0 0 45
OBJECT 1 x_statis_obj1 0 5 NONE 0 0 90
TRANSFORM x_stasisegg1d 10000
STAT FX_IDLEDISTANCE 80
STAT NOLIST
END
//=====================================================================
ENTITY x_stasisegg1b
SPRITE DYNAMIC 3 NONE -11 28 turrets/stasisegg
SPRITE DYNAMIC 3 NONE 11 28 turrets/stasisegg
SPRITE DYNAMIC 3 NONE 0 19 turrets/stasisegg
SPRITE DYNAMIC 3 NONE 0 9 turrets/stasisegg
SPRITE DYNAMIC 3 NONE -11 28 turrets/stasisegg
SPRITE DYNAMIC 3 NONE 11 28 turrets/stasisegg
SPRITE DYNAMIC 1 NONE 0 -55 turrets/stasisegg
SPRITE DYNAMIC 3 NONE 0 -41 turrets/stasisegg
SPRITEVAR 0 ANGLEOFFSET -66
SPRITEVAR 0 FRAME 3
SPRITEVAR 0 HIDE_MOVE_X 14
SPRITEVAR 0 HIDE_MOVE_Y -12
SPRITEVAR 0 HIDE_ROLL 66
SPRITEVAR 0 OFFS_X -2
SPRITEVAR 0 OFFS_Y -8
SPRITEVAR 1 ANGLEOFFSET 66
SPRITEVAR 1 FRAME 3
SPRITEVAR 1 HIDE_MOVE_X -14
SPRITEVAR 1 HIDE_MOVE_Y -12
SPRITEVAR 1 HIDE_ROLL -66
SPRITEVAR 1 INVERTFACE
SPRITEVAR 1 OFFS_X -2
SPRITEVAR 1 OFFS_Y -8
SPRITEVAR 2 FRAME 1
SPRITEVAR 3 ANGLEOFFSET 270
SPRITEVAR 3 FRAME 4
SPRITEVAR 3 HIDE_ROLL -270
SPRITEVAR 4 ANGLEOFFSET -66
SPRITEVAR 4 FRAME 2
SPRITEVAR 4 HIDE_MOVE_X 14
SPRITEVAR 4 HIDE_MOVE_Y -12
SPRITEVAR 4 HIDE_ROLL 66
SPRITEVAR 4 OFFS_X -22
SPRITEVAR 4 OFFS_Y -25
SPRITEVAR 5 ANGLEOFFSET 66
SPRITEVAR 5 FRAME 2
SPRITEVAR 5 HIDE_MOVE_X -14
SPRITEVAR 5 HIDE_MOVE_Y -12
SPRITEVAR 5 HIDE_ROLL -66
SPRITEVAR 5 INVERTFACE
SPRITEVAR 5 OFFS_X -22
SPRITEVAR 5 OFFS_Y -25
SPRITEVAR 6 FRAME 6
SOUND DYNAMIC S_LOOP dynamic/turret_stasisegg_active
OBJECT 0 x_statis_obj1 -10 0 NONE 0 0 -225
OBJECT 0 x_statis_obj1 10 0 NONE 0 0 45
OBJECT 1 x_statis_obj1 0 5 NONE 0 0 90
TRANSFORM x_stasisegg1c 300
OFFSET SIZE 30 10
STAT NOLIST
END
//=====================================================================
ENTITY x_stasisegg1
SPRITE DYNAMIC 3 NONE 3 40 turrets/stasisegg
SPRITE DYNAMIC 3 NONE -3 40 turrets/stasisegg
SPRITE DYNAMIC 3 NONE 0 19 turrets/stasisegg
SPRITE DYNAMIC 3 NONE 0 9 turrets/stasisegg
SPRITE DYNAMIC 3 NONE 3 40 turrets/stasisegg
SPRITE DYNAMIC 3 NONE -3 40 turrets/stasisegg
SPRITE DYNAMIC 1 NONE 0 -55 turrets/stasisegg
SPRITE DYNAMIC 3 NONE 0 -41 turrets/stasisegg
SPRITEVAR 0 FRAME 3
SPRITEVAR 0 HIDE_MOVE_X 4
SPRITEVAR 0 HIDE_MOVE_Y 4
SPRITEVAR 0 HIDE_TIME 100
SPRITEVAR 0 OFFS_X -2
SPRITEVAR 0 OFFS_Y -8
SPRITEVAR 1 FRAME 3
SPRITEVAR 1 HIDE_MOVE_X -4
SPRITEVAR 1 HIDE_MOVE_Y 4
SPRITEVAR 1 HIDE_TIME 100
SPRITEVAR 1 INVERTFACE
SPRITEVAR 1 OFFS_X -2
SPRITEVAR 1 OFFS_Y -8
SPRITEVAR 2 FRAME 1
SPRITEVAR 3 FRAME 4
SPRITEVAR 4 FRAME 2
SPRITEVAR 4 HIDE_MOVE_X 4
SPRITEVAR 4 HIDE_MOVE_Y 4
SPRITEVAR 4 HIDE_TIME 100
SPRITEVAR 4 OFFS_X -22
SPRITEVAR 4 OFFS_Y -25
SPRITEVAR 5 FRAME 2
SPRITEVAR 5 HIDE_MOVE_X -4
SPRITEVAR 5 HIDE_MOVE_Y 4
SPRITEVAR 5 HIDE_TIME 100
SPRITEVAR 5 INVERTFACE
SPRITEVAR 5 OFFS_X -22
SPRITEVAR 5 OFFS_Y -25
SPRITEVAR 6 FRAME 6
SOUND DYNAMIC S_LOOP dynamic/turret_stasisegg_idle
SOUND DYNAMIC S_WAKE dynamic/turret_stasisegg_on
TRANSFORM x_stasisegg1b 200
OFFSET SIZE 20 21
STAT FX_KEEP_EFFECTS
STAT NOLIST
END
//=====================================================================
ENTITY x_stasisturret
THINK AI_CONSTANT 1.2 AI_FIRE 0.2
MISSILE zombie_chick
STAT AI_NUMB 550
STAT AI_KEEPANGLE 90
STAT AI_KEEPACTIVE
STAT AI_KEEPFIRING
STAT FX_WADDLE_AIM 24
STAT MISSILE_OFFSETRADIUS 20
STAT NOLIST
END
//=====================================================================
ENTITY x_stasisturretb
CLONE x_stasisturret
THINK AI_CONSTANT 1.2 AI_FIRE 0.25
STAT NOLIST
END
//=====================================================================
ENTITY stasisegg
LIGHT -14 -62 20 255 0 255 40
LIGHT 14 -62 20 255 0 255 40
SOUND DYNAMIC S_DIE dynamic/turret_stasisegg_off
AUTOTRIGGER guide x_stasisegg1
STAT AI_NUMB 550
STAT AI_KEEPANGLE 90
STAT AI_KEEPACTIVE
STAT AI_KEEPFIRING
STAT AI_TEMP_ON_ACTIVE
STAT FX_DIM 0
STAT FX_FADE
STAT FX_KEEP_EFFECTS
STAT FX_LIGHTBEAM 18
STAT TEMPMISSILE 10500
GROUP x_stasisturretb MEMBER 0 8 90
GROUP x_stasisturret MEMBER 0 8 23
GROUP x_stasisturret MEMBER 0 8 -223
END

//=====================================================================
// DROP POD
//=====================================================================
ENTITY droppod_st1
CLONE obj_steam_b
STAT FX_KEEP_EFFECTS
STAT FX_SMOKE_ALPHA 50
STAT NOLIST
END
//=====================================================================
ENTITY droppod_st2
THINK AI_AIM 0 NONE 0
STAT FX_KEEP_EFFECTS
STAT INVISIBLE
STAT FX_NOENV_FX
STAT FX_SMOKE_SHOOT 200
STAT FX_SMOKE_SPEED 50
STAT NOLIST
END
//=====================================================================
ENTITY droppod
SPRITE DYNAMIC 1 NONE 0 0 turrets/spawner
SPRITE STATIC 1 NONE 0 0 world/teleport
SPRITE STATIC 1 NONE 40 0 world/teleport
SPRITE STATIC 1 NONE -40 0 world/teleport
SPRITE STATIC 1 NONE 0 40 world/teleport
SPRITE STATIC 1 NONE 0 -40 world/teleport
SPRITE DYNAMIC 3 NONE 0 0 turrets/droppod
SPRITE DYNAMIC 3 NONE 0 14 turrets/droppod
SPRITE STATIC 1 NONE 0 0 world/teleport
SPRITE STATIC 1 NONE 0 0 world/teleport
SPRITE DYNAMIC 1 NONE 0 0 turrets/spawner
SPRITE DYNAMIC 3 NONE 0 48 turrets/droppod
SPRITE DYNAMIC 3 NONE 0 -49 turrets/droppod
SPRITE DYNAMIC 3 NONE -55 -3 turrets/droppod
SPRITE DYNAMIC 3 NONE 55 -3 turrets/droppod
SPRITEVAR 1 AIM_FACE
SPRITEVAR 1 ANGLEFACTOR -100
SPRITEVAR 1 FRAME 5
SPRITEVAR 2 AIM_FACE
SPRITEVAR 2 FRAME 6
SPRITEVAR 2 SCISSORS 1
SPRITEVAR 3 AIM_FACE
SPRITEVAR 3 FRAME 6
SPRITEVAR 4 AIM_FACE
SPRITEVAR 4 FRAME 6
SPRITEVAR 5 AIM_FACE
SPRITEVAR 5 FRAME 6
SPRITEVAR 6 FRAME 5
SPRITEVAR 6 SCISSORS -1
SPRITEVAR 8 ACTIVE
SPRITEVAR 8 AIM_FACE
SPRITEVAR 8 FACE 0
SPRITEVAR 8 FRAME 7
SPRITEVAR 9 ACTIVE
SPRITEVAR 9 AIM_FACE
SPRITEVAR 9 ANGLEFACTOR -100
SPRITEVAR 9 FACE 0
SPRITEVAR 9 FRAME 8
SPRITEVAR 10 ACTIVE
SPRITEVAR 10 EMP 2
SPRITEVAR 10 FRAME 1
SPRITEVAR 11 FRAME 3
SPRITEVAR 12 FRAME 4
SPRITEVAR 13 FRAME 2
SPRITEVAR 14 FRAME 2
SPRITEVAR 14 INVERTFACE
SCISSORS -44 -44 88 88
OBJECT 0 droppod_st1 -57 72 NONE 0 0 -255
OBJECT 0 droppod_st1 -64 54 NONE 0 0 -255
OBJECT 0 droppod_st1 57 72 NONE 0 0 75
OBJECT 0 droppod_st1 64 54 NONE 0 0 75
OFFSET SIZE 40 54
THINK NONE 2 NONE 1
STAT AI_INHERIT_FACE
STAT AI_INHERIT_TIMERS
STAT AI_SPINAIM
STAT FX_FULLANGLE_OFFSET 6
STAT FX_FULLMODEL
STAT NOLIST
END
//=====================================================================
ENTITY droppodb
CLONE droppod
SPRITEVAR 11 HIDE_MOVE_Y 20
SPRITEVAR 11 HIDE_TIME 350
SPRITEVAR 12 HIDE_MOVE_Y -20
SPRITEVAR 12 HIDE_TIME 350
SPRITEVAR 13 HIDE_MOVE_X 33
SPRITEVAR 13 HIDE_TIME 350
SPRITEVAR 14 HIDE_MOVE_X -33
SPRITEVAR 14 HIDE_TIME 350
TRANSFORM droppod 350
STAT NOLIST
END
//=====================================================================
ENTITY droppod_crashc
SPRITE DYNAMIC 1 NONE 0 0 turrets/spawner
SPRITE STATIC 1 NONE 0 0 world/teleport
SPRITE STATIC 1 NONE 40 0 world/teleport
SPRITE STATIC 1 NONE -40 0 world/teleport
SPRITE STATIC 1 NONE 0 40 world/teleport
SPRITE STATIC 1 NONE 0 -40 world/teleport
SPRITE DYNAMIC 3 NONE 0 0 turrets/droppod
SPRITE DYNAMIC 3 NONE 0 14 turrets/droppod
SPRITE STATIC 1 NONE 0 0 world/teleport
SPRITE STATIC 1 NONE 0 0 world/teleport
SPRITE DYNAMIC 1 NONE 0 0 turrets/spawner
SPRITE DYNAMIC 3 NONE 0 28 turrets/droppod
SPRITE DYNAMIC 3 NONE 0 -29 turrets/droppod
SPRITE DYNAMIC 3 NONE -22 -3 turrets/droppod
SPRITE DYNAMIC 3 NONE 22 -3 turrets/droppod
SPRITEVAR 1 FRAME 5
SPRITEVAR 2 FRAME 6
SPRITEVAR 2 SCISSORS 1
SPRITEVAR 3 FRAME 6
SPRITEVAR 4 FRAME 6
SPRITEVAR 5 FRAME 6
SPRITEVAR 6 FRAME 5
SPRITEVAR 6 SCISSORS -1
SPRITEVAR 8 EMP 1
SPRITEVAR 8 FACE 0
SPRITEVAR 8 FRAME 7
SPRITEVAR 9 EMP 1
SPRITEVAR 9 FACE 0
SPRITEVAR 9 FRAME 8
SPRITEVAR 10 ACTIVE
SPRITEVAR 10 FADE_TOGGLE -150
SPRITEVAR 10 FRAME 1
SPRITEVAR 11 FRAME 3
SPRITEVAR 12 FRAME 4
SPRITEVAR 13 FRAME 2
SPRITEVAR 14 FRAME 2
SPRITEVAR 14 INVERTFACE
SCISSORS -41 -41 82 82
SOUND DYNAMIC S_WAKE dynamic/turret_droppod_open
OBJECT 0 droppod_st1 -57 72 NONE 0 0 -255
OBJECT 0 droppod_st1 -64 54 NONE 0 0 -255
OBJECT 0 droppod_st1 57 72 NONE 0 0 75
OBJECT 0 droppod_st1 64 54 NONE 0 0 75
OFFSET SIZE 40 54
TRANSFORM droppodb 150
STAT AI_FIRE_ON_ACTIVE
STAT FX_FULLANGLE_OFFSET 6
STAT FX_FULLMODEL
STAT NOLIST
EFFECT TOGGLE DEBRIS_METAL 0 -1 60
EFFECT TOGGLE FLASH 0 -1 70
END
//=====================================================================
ENTITY droppod_crashb
CLONE droppod_crashc
SPRITE DYNAMIC 3 NONE 0 -1 turrets/droppod
SPRITEVAR 15 FRAME 1
SOUND DYNAMIC S_WAKE dynamic/turret_droppod_crash
TRANSFORM droppod_crashc 800
STAT DAMAGE_SPLASH 150
STAT NOLIST
EFFECT TOGGLE NONE 0 0 0
EFFECT TOGGLE DEBRIS_CONCRETE 40 -80 50
EFFECT TOGGLE DEBRIS_CONCRETE -20 -80 50
EFFECT TOGGLE SMOKE 10 -80 100
EFFECT TOGGLE SHAKE 0 0 700
END
//=====================================================================
ENTITY droppod_crash
SPRITE DYNAMIC 3 NONE 0 0 turrets/droppod
SPRITE DYNAMIC 3 NONE 0 14 turrets/droppod
//CLAMPS
SPRITE DYNAMIC 3 NONE 0 28 turrets/droppod
SPRITE DYNAMIC 3 NONE 0 -29 turrets/droppod
SPRITE DYNAMIC 3 NONE -22 -3 turrets/droppod
SPRITE DYNAMIC 3 NONE 22 -3 turrets/droppod
SPRITE DYNAMIC 3 NONE 0 -1 turrets/droppod
SPRITEVAR 0 FRAME 5
//CLAMPS
SPRITEVAR 2 FRAME 3
SPRITEVAR 3 FRAME 4
SPRITEVAR 4 FRAME 2
SPRITEVAR 5 FRAME 2
SPRITEVAR 5 INVERTFACE
SPRITEVAR 6 FRAME 1
SPRITEVAR 6 LIGHT_OFFSET
//MOVEMENT
SPRITEVAR 0 HIDE_MOVE_Y -1024
SPRITEVAR 1 HIDE_MOVE_Y -1024
SPRITEVAR 2 HIDE_MOVE_Y -1024
SPRITEVAR 3 HIDE_MOVE_Y -1024
SPRITEVAR 4 HIDE_MOVE_Y -1024
SPRITEVAR 5 HIDE_MOVE_Y -1024
SPRITEVAR 6 HIDE_MOVE_Y -1024
SPRITEVAR 0 HIDE_TIME 750
SPRITEVAR 1 HIDE_TIME 750
SPRITEVAR 2 HIDE_TIME 750
SPRITEVAR 3 HIDE_TIME 750
SPRITEVAR 4 HIDE_TIME 750
SPRITEVAR 5 HIDE_TIME 750
SPRITEVAR 6 HIDE_TIME 750
SOUND DYNAMIC S_WAKE dynamic/turret_droppod_fall
OBJECT 1 droppod_st2 -57 72 LIGHTOFFS 0 0 -255
OBJECT 1 droppod_st2 -64 54 LIGHTOFFS 0 0 -255
OBJECT 1 droppod_st2 57 72 LIGHTOFFS 0 0 75
OBJECT 1 droppod_st2 64 54 LIGHTOFFS 0 0 75
OBJECT 0 droppod_st2 -57 102 LIGHTOFFS 0 0 -255
OBJECT 0 droppod_st2 -64 84 LIGHTOFFS 0 0 -255
OBJECT 0 droppod_st2 57 102 LIGHTOFFS 0 0 75
OBJECT 0 droppod_st2 64 84 LIGHTOFFS 0 0 75
OBJECT 0 droppod_st2 0 90 LIGHTOFFS 0 0 90
OBJECT 1 droppod_st2 0 120 LIGHTOFFS 0 0 90
STAT AI_INHERIT_ANGLE
STAT AI_INHERIT_FACE
STAT FX_DIM 0
STAT FX_FULLANGLE_OFFSET 6
STAT FX_FULLMODEL
STAT FX_GLOBAL_AUDIO
TRANSFORM droppod_crashb 750
END
//=====================================================================
ENTITY turret_droppod
SPRITE STATIC 1 NONE 0 0 world/null
SPRITEVAR 0 ALPHA 0
LIGHT 0 0 50 0 120 255 70
SOUND STATIC S_DIE world/explosion
SOUND STATIC S_LOOP world/loop_teleport
THINK AI_AIM 4 AI_FIRE 0.6
AUTOTRIGGER guide droppod
ITEM tempspark 0 0
MISSILE zombie_1
OFFSET SIZE 24 0
STAT AI_BURST 5
STAT AI_BURST_TIME 800
STAT AI_LIST_ALIAS 3
STAT DAMAGE_SPLASH 80
STAT FRAG
STAT FX_DIM 0
STAT FX_LIGHT_FADE
STAT FX_NOFACE
STAT FX_NOENV_FX
STAT FX_TELEATTACK
STAT INVISIBLE
STAT MISSILE_RANDOMIZER 3
STAT TAKEDAMAGE_ELECTRIC
STAT S_HEALTH 30
STAT S_SCORE 400
EFFECT GIB DEBRIS_GLASS 0 0 0
EFFECT GIB EXPLOSION 0 0 0
END
//=====================================================================
ENTITY turret_droppod_b
TRANSFORM turret_droppod 1900
AUTOTRIGGER guide droppod_crash
OFFSET SIZE 0 0
STAT AI_KEEPACTIVE
STAT FX_NOENV_FX
END

//=====================================================================
// ANTI-AIR CANNON
//=====================================================================
ENTITY antiair_env
THINK AI_CONSTANT 0 NONE 1
OFFSET SIZE 24 0
STAT FX_KEEP_EFFECTS
STAT NOLIST
END
//=====================================================================
ENTITY antiair_pilot
SOUND STATIC S_DIE world/gore_4
THINK AI_CONSTANT 1 NONE 1
MOVETYPE NONE 0
OFFSET SIZE 20 54
CORPSE elite_1_corpse -20
STAT AI_AIM_OWNER
STAT AI_DEATH_DELAY -250
STAT AI_INHERIT_ANGLE
STAT AI_LINE
STAT FRAG
STAT FX_KEEP_EFFECTS
STAT FX_NOENV_FX
STAT NOLIST
STAT S_HEALTH 16
STAT S_SCORE 1800
STAT TAKEDAMAGE_BLEED
EFFECT GIB GORE_BLOOD 0 0 0
END
//=====================================================================
ENTITY antiair_block
THINK AI_CONSTANT 1 NONE 1
MOVETYPE NONE 0
OFFSET SIZE 20 125
STAT AI_AIM_OWNER
STAT AI_INHERIT_ANGLE
STAT AI_LINE
STAT FX_KEEP_EFFECTS
STAT FX_NOENV_FX
STAT NOLIST
STAT TAKEDAMAGE_UNBREAKABLE
END
//=====================================================================
ENTITY antiair_obj1
SPRITE DYNAMIC 0 NONE 33 0 turrets/antiair
SPRITE DYNAMIC 0 NONE 15 0 turrets/antiair
SPRITE DYNAMIC 0 NONE 36 0 turrets/antiair
SPRITEVAR 0 BIAS_AIM 0
SPRITEVAR 0 BIAS_MOVE_X 14
SPRITEVAR 0 FRAME 10
SPRITEVAR 1 FRAME 9 
SPRITEVAR 2 AIM_FACE
SPRITEVAR 2 ANGLEFACTOR 80
SPRITEVAR 2 BIAS_AIM 0
SPRITEVAR 2 BIAS_MOVE_X 28
SPRITEVAR 2 FRAME 11
SPRITEVAR 2 OFFS_X 7
THINK AI_CONSTANT 0 NONE 0
STAT FX_NOENV_FX
STAT FX_FULLANGLE_AIM
STAT FX_FULLANGLE_FACTOR 50
STAT FX_FULLMODEL
STAT NOLIST
END
//=====================================================================
ENTITY x_turret_obj2
SPRITE DYNAMIC 0 NONE 0 9 turrets/antiair
SPRITE DYNAMIC 0 NONE 0 9 turrets/antiair
SPRITE DYNAMIC 0 NONE 0 -13 turrets/antiair
SPRITE DYNAMIC 0 NONE 0 9 turrets/antiair
SPRITE DYNAMIC 0 NONE 0 9 vehicles/forklift_driver
SPRITE DYNAMIC 0 NONE 0 9 turrets/antiair
SPRITE STATIC 0 NONE 0 9 zombie/elite
SPRITE STATIC 1 NONE 0 9 zombie/zombie1
SPRITEVAR 0 AIM_FACE
SPRITEVAR 0 ANGLEFACTOR 50
SPRITEVAR 0 FRAME 8
SPRITEVAR 0 OFFS_X -15
SPRITEVAR 0 OFFS_Y 11
SPRITEVAR 1 AIM_FACE
SPRITEVAR 1 ANGLEFACTOR 500
SPRITEVAR 1 FRAME 7
SPRITEVAR 2 FRAME 5
SPRITEVAR 2 NOFACE
SPRITEVAR 3 AIM_FACE
SPRITEVAR 3 ANGLEFACTOR 500
SPRITEVAR 3 FRAME 6
SPRITEVAR 4 AIM_FACE
SPRITEVAR 4 ALIVE
SPRITEVAR 4 ANGLEFACTOR 50
SPRITEVAR 4 OFFS_X -17
SPRITEVAR 4 OFFS_Y 41
SPRITEVAR 5 AIM_FACE
SPRITEVAR 5 ANGLEFACTOR 50
SPRITEVAR 5 FRAME 4
SPRITEVAR 5 OFFS_X -26
SPRITEVAR 5 OFFS_Y 51
SPRITEVAR 6 AIM_FACE
SPRITEVAR 6 ALIVE
SPRITEVAR 6 ANGLEFACTOR 50
SPRITEVAR 6 ANIMATE_FACE 1
SPRITEVAR 6 FRAME_FACE 2
SPRITEVAR 6 OFFS_X -13
SPRITEVAR 6 OFFS_Y 82
SPRITEVAR 7 AIM_FACE
SPRITEVAR 7 ALIVE
SPRITEVAR 7 ANGLEFACTOR 50
SPRITEVAR 7 FRAME 2
SPRITEVAR 7 OFFS_X -27
SPRITEVAR 7 OFFS_Y 72
THINK AI_CONSTANT 0 NONE 0
STAT FX_NOENV_FX
STAT FX_FULLANGLE_IGNORE
STAT NOLIST
END
//=====================================================================
ENTITY antiair_gunent_b
SPRITE DYNAMIC 0 NONE 11 26 turrets/antiair
SPRITE DYNAMIC 0 NONE 0 24 turrets/antiair_driver
SPRITEVAR 0 FRAME 3
SPRITEVAR 1 ALIVE
SPRITEVAR 1 ANGLEFACTOR -100
SPRITEVAR 1 BIAS_AIM 100
SPRITEVAR 1 BIAS_MOVE_Y 10
SPRITEVAR 1 BIAS_MOVE_X 3
SPRITEVAR 1 BIAS_NEG 0
THINK AI_MISSILE 0 NONE 0
OFFSET MODEL_OFFSET -5 38
STAT FX_FULLANGLE_IGNORE
STAT FX_FULLMODEL
STAT NOLIST
END
//=====================================================================
ENTITY antiair_gunent_a
SPRITE DYNAMIC 0 ANIM_PANATTU 81 14 turrets/antiair
SPRITE DYNAMIC 0 NONE 133 26 turrets/antiair
SPRITE DYNAMIC 0 NONE 57 15 turrets/antiair
SPRITE DYNAMIC 0 NONE -4 20 turrets/antiair_driver
SPRITEVAR 0 FILL_H 24
SPRITEVAR 0 FRAME 2
SPRITEVAR 1 FRAME 1
SPRITEVAR 1 KICK_X 12
SPRITEVAR 3 ALIVE
SPRITEVAR 3 ANGLEFACTOR -100
SPRITEVAR 3 BIAS_AIM 100
SPRITEVAR 3 BIAS_MOVE_Y 10
SPRITEVAR 3 BIAS_MOVE_X 3
SPRITEVAR 3 BIAS_NEG 0
THINK AI_MISSILE 0 NONE 0
OFFSET MODEL_OFFSET -5 38
STAT FX_FULLANGLE_IGNORE
STAT FX_FULLMODEL
STAT NOLIST
END
//=====================================================================
ENTITY antiair_gib
SPRITE DYNAMIC 2 NONE 0 -35 turrets/antiair_gib
MOVETYPE NONE
STAT FX_NOENV_FX
STAT FX_NOFACE
STAT NOLIST
END
//=====================================================================
ENTITY x_turret_aa
DESCRIBE Anti-air_cannon
SPRITE STATIC 0 NONE 0 0 world/null
SPRITEVAR 0 ALPHA 0
SOUND STATIC S_DIE world/break_metal_1
SOUND STATIC S_DYING world/explosion
SOUND STATIC S_LOOP common/turret_move
THINK AI_CONSTANT 0.6 AI_FIRE 1
MOVETYPE NONE 0
GUNENTITY antiair_gunent_a 0
GUNENTITY antiair_gunent_b 1
OBJECT 0 antiair_obj1 0 9 NONE 0 0 0
OBJECT 0 x_turret_obj2 0 0 NONE 0 0 0
AUTOTRIGGER guide antiair_gib
OFFSET SIZE 40 70
STAT AI_BURST 3
STAT AI_BURST_TIME 900
STAT AI_DEATH_DELAY 500
STAT AI_LOCK_ON_FIRING
STAT AI_SIZE_MOVE 2
STAT AI_KEEPACTIVE
STAT DAMAGE_SPLASH 150
STAT FX_FULLANGLE_AIM
STAT FX_FULLANGLE_FACTOR 50
STAT FX_FULLMODEL
STAT FX_IDLEDISTANCE 60
STAT FX_MOVE_LOOP
STAT FX_NOENV_FX
STAT FX_RELOAD_BURST
STAT S_HEALTH 100
STAT S_WEAPON 46
STAT TAKEDAMAGE_NONE
EFFECT DYING DEBRIS_METAL 0 0 0
EFFECT DYING EXPLOSION 0 0 0
EFFECT GIB DEBRIS_METAL 0 30 0
EFFECT GIB EXPLOSION 0 30 0
GROUP antiair_pilot USER -18 61 0
GROUP antiair_block MEMBER 55 49 0
GROUP antiair_env MEMBER -20 96 0
GROUP antiair_env MEMBER 55 96 0
END
TAGAP_END