]> git.rm.cloudns.org Git - xonotic/xonotic-maps.pk3dir.git/commitdiff
Add new turret spawnflags
authorMattia Basaglia <mattia.basaglia@gmail.com>
Fri, 24 Mar 2017 10:38:58 +0000 (10:38 +0000)
committerMattia Basaglia <mattia.basaglia@gmail.com>
Fri, 24 Mar 2017 10:38:58 +0000 (10:38 +0000)
scripts/entities.ent

index 15547ce867173294a1168a4334cafa1e8c93f9d2..a1db070363bedac4a0e18589808a31d8d10c2443 100644 (file)
@@ -2321,6 +2321,8 @@ Fast firing moderate damage bullet (hitscan) turret.
 <flag key="SUSPENDED" name="TSF_SUSPENDED" bit="0">Prevents the turret from being dropped to the floor.</flag>
 <flag key="NO_AMMO_REGEN" name="TSF_NO_AMMO_REGEN" bit="2">Disable builtin ammo regeneration.</flag>
 <flag key="NO_RESPAWN" name="TSL_NO_RESPAWN" bit="4">Don't re-spawn.</flag>
+<flag key="INACTIVE" name="TSF_INACTIVE" bit="6">Start deactivated.</flag>
+<flag key="KEEPTEAM" name="TSF_KEEPTEAM" bit="7">When used, don't switch teams.</flag>
 </point>
 
 <point name="turret_plasma" color="1 0 0" box="-32 -32 0 32 32 50" model="models/turrets/radiant/plasma.md3">
@@ -2339,6 +2341,8 @@ Fast firing moderate damage bullet (hitscan) turret.
 <flag key="SUSPENDED" name="TSF_SUSPENDED" bit="0">Prevents the turret from being dropped to the floor.</flag>
 <flag key="NO_AMMO_REGEN" name="TSF_NO_AMMO_REGEN" bit="2">Disable builtin ammo regeneration.</flag>
 <flag key="NO_RESPAWN" name="TSL_NO_RESPAWN" bit="4">Don't re-spawn.</flag>
+<flag key="INACTIVE" name="TSF_INACTIVE" bit="6">Start deactivated.</flag>
+<flag key="KEEPTEAM" name="TSF_KEEPTEAM" bit="7">When used, don't switch teams.</flag>
 ---------NOTES----------
 Basic energy cannon
 </point>
@@ -2360,6 +2364,8 @@ basic energy cannon * 2
 <flag key="SUSPENDED" name="TSF_SUSPENDED" bit="0">Prevents the turret from being dropped to the floor.</flag>
 <flag key="NO_AMMO_REGEN" name="TSF_NO_AMMO_REGEN" bit="2">Disable builtin ammo regeneration.</flag>
 <flag key="NO_RESPAWN" name="TSL_NO_RESPAWN" bit="4">Don't re-spawn.</flag>
+<flag key="INACTIVE" name="TSF_INACTIVE" bit="6">Start deactivated.</flag>
+<flag key="KEEPTEAM" name="TSF_KEEPTEAM" bit="7">When used, don't switch teams.</flag>
 </point>
 
 <point name="turret_flac" color="1 0 0" box="-32 -32 0 32 32 50" model="models/turrets/radiant/flac.md3">
@@ -2379,6 +2385,8 @@ Only kills missiles, rockets, grenadelauncher &amp; electro secondaries to be pr
 <flag key="SUSPENDED" name="TSF_SUSPENDED" bit="0">Prevents the turret from being dropped to the floor.</flag>
 <flag key="NO_AMMO_REGEN" name="TSF_NO_AMMO_REGEN" bit="2">Disable builtin ammo regeneration.</flag>
 <flag key="NO_RESPAWN" name="TSL_NO_RESPAWN" bit="4">Don't re-spawn.</flag>
+<flag key="INACTIVE" name="TSF_INACTIVE" bit="6">Start deactivated.</flag>
+<flag key="KEEPTEAM" name="TSF_KEEPTEAM" bit="7">When used, don't switch teams.</flag>
 </point>
 
 <point name="turret_mlrs" color="1 0 0" box="-32 -32 0 32 32 50" model="models/turrets/radiant/mlrs.md3">
@@ -2398,6 +2406,8 @@ Only kills missiles, rockets, grenadelauncher &amp; electro secondaries to be pr
 <flag key="SUSPENDED" name="TSF_SUSPENDED" bit="0">Prevents the turret from being dropped to the floor.</flag>
 <flag key="NO_AMMO_REGEN" name="TSF_NO_AMMO_REGEN" bit="2">Disable builtin ammo regeneration.</flag>
 <flag key="NO_RESPAWN" name="TSL_NO_RESPAWN" bit="4">Don't re-spawn.</flag>
+<flag key="INACTIVE" name="TSF_INACTIVE" bit="6">Start deactivated.</flag>
+<flag key="KEEPTEAM" name="TSF_KEEPTEAM" bit="7">When used, don't switch teams.</flag>
 </point>
 
 <point name="turret_hellion" color="1 0 0" box="-32 -32 0 32 32 50" model="models/turrets/radiant/hellion.md3">
@@ -2418,6 +2428,8 @@ Only kills missiles, rockets, grenadelauncher &amp; electro secondaries to be pr
 <flag key="SUSPENDED" name="TSF_SUSPENDED" bit="0">Prevents the turret from being dropped to the floor.</flag>
 <flag key="NO_AMMO_REGEN" name="TSF_NO_AMMO_REGEN" bit="2">Disable builtin ammo regeneration.</flag>
 <flag key="NO_RESPAWN" name="TSL_NO_RESPAWN" bit="4">Don't re-spawn.</flag>
+<flag key="INACTIVE" name="TSF_INACTIVE" bit="6">Start deactivated.</flag>
+<flag key="KEEPTEAM" name="TSF_KEEPTEAM" bit="7">When used, don't switch teams.</flag>
 </point>
 
 
@@ -2438,6 +2450,8 @@ Single powerful rocket with the ability to evade obstacles to find its target. V
 <flag key="SUSPENDED" name="TSF_SUSPENDED" bit="0">Prevents the turret from being dropped to the floor.</flag>
 <flag key="NO_AMMO_REGEN" name="TSF_NO_AMMO_REGEN" bit="2">Disable builtin ammo regeneration.</flag>
 <flag key="NO_RESPAWN" name="TSL_NO_RESPAWN" bit="4">Don't re-spawn.</flag>
+<flag key="INACTIVE" name="TSF_INACTIVE" bit="6">Start deactivated.</flag>
+<flag key="KEEPTEAM" name="TSF_KEEPTEAM" bit="7">When used, don't switch teams.</flag>
 </point>
 
 <point name="turret_tesla" color="1 0 0" box="-32 -32 0 32 32 50" model="models/turrets/radiant/tesla.md3">
@@ -2457,6 +2471,8 @@ Fires a lightning bolt that will jump to up to 10 targets if they are close enou
 <flag key="SUSPENDED" name="TSF_SUSPENDED" bit="0">Prevents the turret from being dropped to the floor.</flag>
 <flag key="NO_AMMO_REGEN" name="TSF_NO_AMMO_REGEN" bit="2">Disable builtin ammo regeneration.</flag>
 <flag key="NO_RESPAWN" name="TSL_NO_RESPAWN" bit="4">Don't re-spawn.</flag>
+<flag key="INACTIVE" name="TSF_INACTIVE" bit="6">Start deactivated.</flag>
+<flag key="KEEPTEAM" name="TSF_KEEPTEAM" bit="7">When used, don't switch teams.</flag>
 </point>
 
 <point name="turret_phaser" color="1 0 0" box="-32 -32 0 32 32 50" model="models/turrets/radiant/phaser.md3">
@@ -2476,6 +2492,8 @@ Constant beam weapon that will considerably slow its target down while dealing l
 <flag key="SUSPENDED" name="TSF_SUSPENDED" bit="0">Prevents the turret from being dropped to the floor.</flag>
 <flag key="NO_AMMO_REGEN" name="TSF_NO_AMMO_REGEN" bit="2">Disable builtin ammo regeneration.</flag>
 <flag key="NO_RESPAWN" name="TSL_NO_RESPAWN" bit="4">Don't re-spawn.</flag>
+<flag key="INACTIVE" name="TSF_INACTIVE" bit="6">Start deactivated.</flag>
+<flag key="KEEPTEAM" name="TSF_KEEPTEAM" bit="7">When used, don't switch teams.</flag>
 </point>
 
 
@@ -2519,6 +2537,8 @@ Used to feed turrets capable of it with remote target info. currently only turre
 <flag key="NO_PATHBREAK" name="TSF_NO_PATHBREAK" bit="3">Don't break path to chase enemies, will still fire at them if possible.</flag>
 <flag key="NO_RESPAWN" name="TSL_NO_RESPAWN" bit="4">Don't re-spawn.</flag>
 <flag key="TSL_ROAM" name="ROAM" bit="5">Roam while idle.</flag>
+<flag key="INACTIVE" name="TSF_INACTIVE" bit="6">Start deactivated.</flag>
+<flag key="KEEPTEAM" name="TSF_KEEPTEAM" bit="7">When used, don't switch teams.</flag>
 ---------NOTES----------
 
 A nasty mechanical critter that will engage longrange target with missiles, midrange with its minigun and melee things up close and personal.
@@ -2540,6 +2560,8 @@ A nasty mechanical critter that will engage longrange target with missiles, midr
 <flag key="SUSPENDED" name="TSF_SUSPENDED" bit="0">Prevents the turret from being dropped to the floor.</flag>
 <flag key="NO_AMMO_REGEN" name="TSF_NO_AMMO_REGEN" bit="2">Disable builtin ammo regeneration.</flag>
 <flag key="NO_RESPAWN" name="TSL_NO_RESPAWN" bit="4">Don't re-spawn.</flag>
+<flag key="INACTIVE" name="TSF_INACTIVE" bit="6">Start deactivated.</flag>
+<flag key="KEEPTEAM" name="TSF_KEEPTEAM" bit="7">When used, don't switch teams.</flag>
 ---------NOTES----------
 
 Small, agile and moveing turret.