From c4dd8b1c0aa637f469f5a90706776756d07b26e7 Mon Sep 17 00:00:00 2001 From: div0 Date: Mon, 21 Jul 2008 12:00:46 +0000 Subject: [PATCH] update trigger_impulse description; fix formatting of turrets.def git-svn-id: svn://svn.icculus.org/nexuiz/trunk@3860 f962a42d-fe04-0410-a3ab-8c8b0445ebaa --- data/scripts/entities.def | 4 +- data/scripts/turrets.def | 280 ++++++++++++++++---------------------- 2 files changed, 122 insertions(+), 162 deletions(-) diff --git a/data/scripts/entities.def b/data/scripts/entities.def index 6e6d36e59..9a15c7794 100644 --- a/data/scripts/entities.def +++ b/data/scripts/entities.def @@ -687,9 +687,11 @@ Can be used in two ways: "dampener field": just set strength to a value from 0 to 1. Entering the field will slow down to this factor. "accelerator field": just set strength to a value from 1 to infinity. Entering the field will accelerate by this factor. "wind field": set strength to the amount of velocity to add per second, and target a target_position. The field will apply force in the direction from its own origin to the target (use an origin brush to specify its own origin, or this will fail) when touched. +"gravity field": set strength to the amount of velocity to add per second at the center, and set radius to the radius of the field. Set falloff to the desired falloff characteristics. -------- KEYS -------- target: "wind field": points to the target_position to which the player will get pushed. -strength: "wind field": amount of force per second to apply in direction from origin to target. "dampener/accelerator field": slowdown/speedup factor. +strength: "wind field", "gravity field": amount of force per second to apply. "dampener/accelerator field": slowdown/speedup factor. +falloff: "gravity field": 0 means no falloff, 1 means linear falloff (zero at the outside), 2 means inverted linear falloff (zero at the inside) */ /*QUAKED trigger_multiple (.5 .5 .5) ? NOTOUCH diff --git a/data/scripts/turrets.def b/data/scripts/turrets.def index 4620ba0d7..c9952137b 100644 --- a/data/scripts/turrets.def +++ b/data/scripts/turrets.def @@ -1,236 +1,194 @@ -/*QUAKED turret_machinegun (1 0 0) (-32 -32 0) (32 32 50) ------------KEYS------------ +/*QUAKED turret_machinegun (1 0 0) (-32 -32 0) (32 32 50) - PILLAR +Fast firing moderate damage bullet (hitscan) turret. +-------- KEYS -------- turret_scale_damage: 2 = double damage, 0.5 = half -turret_scale_range: 2 = double range, 0.5 = half -turret_scale_refire: 2 = doubble refire (SLOWER!), 0.5 = half (FASTER!) -turret_scale_ammo: 2 = doubble ammo carry & regen, 0.5 = half ammo carry & regen -turret_scale_aim: 2 = aim twice as fast, 0,5 = aim at half speed +turret_scale_range: 2 = double range, 0.5 = half +turret_scale_refire: 2 = double refire (SLOWER!), 0.5 = half (FASTER!) +turret_scale_ammo: 2 = double ammo carry & regen, 0.5 = half ammo carry & regen +turret_scale_aim: 2 = aim twice as fast, 0,5 = aim at half speed turret_scale_health: 2 = double health, 0.5 = half - -master_name : This turret controls what all turrets with master_nameof set to this aim at -master_nameof : Dont select own targets, use the target of the turret with this master_name - -target : Defend the position of this entity - -team : 5=red, 14=blue ------------SPAWNFLAGS----------- -2 : Adds a supporting pillar under this turret, for turrets on terrain/uneven surfaces. (only for visuals) ----------NOTES---------- -Fast fiering moderate damage bullet (hitscan) turret. +master_name: This turret controls what all turrets with master_nameof set to this aim at +master_nameof: Dont select own targets, use the target of the turret with this master_name +target: Defend the position of this entity +team: 5=red, 14=blue +-------- SPAWNFLAGS -------- +PILLAR: Adds a supporting pillar under this turret, for turrets on terrain/uneven surfaces. (only for visuals) -------- MODEL FOR RADIANT ONLY - DO NOT SET THIS AS A KEY -------- model="models/turrets/radiant/mg.md3" */ -/*QUAKED turret_plasma (1 0 0) (-32 -32 0) (32 32 50) ------------KEYS------------ +/*QUAKED turret_plasma (1 0 0) (-32 -32 0) (32 32 50) - PILLAR +-------- KEYS -------- turret_scale_damage: 2 = double damage, 0.5 = half -turret_scale_range: 2 = double range, 0.5 = half -turret_scale_refire: 2 = doubble refire (SLOWER!), 0.5 = half (FASTER!) -turret_scale_ammo: 2 = doubble ammo carry & regen, 0.5 = half ammo carry & regen -turret_scale_aim: 2 = aim twice as fast, 0,5 = aim at half speed +turret_scale_range: 2 = double range, 0.5 = half +turret_scale_refire: 2 = double refire (SLOWER!), 0.5 = half (FASTER!) +turret_scale_ammo: 2 = double ammo carry & regen, 0.5 = half ammo carry & regen +turret_scale_aim: 2 = aim twice as fast, 0,5 = aim at half speed turret_scale_health: 2 = double health, 0.5 = half - -master_name : This turret controls what all turrets with master_nameof set to this aim at -master_nameof : Dont select own targets, use the target of the turret with this master_name - -target : Defend the position of this entity - -team : 5=red, 14=blue ------------SPAWNFLAGS----------- -2 : Adds a supporting pillar under this turret, for turrets on terrain/uneven surfaces. (only for visuals) +master_name: This turret controls what all turrets with master_nameof set to this aim at +master_nameof: Dont select own targets, use the target of the turret with this master_name +target: Defend the position of this entity +team: 5=red, 14=blue +-------- SPAWNFLAGS -------- +PILLAR: Adds a supporting pillar under this turret, for turrets on terrain/uneven surfaces. (only for visuals) ---------NOTES---------- Basic energy cannon -------- MODEL FOR RADIANT ONLY - DO NOT SET THIS AS A KEY -------- model="models/turrets/radiant/plasma.md3" */ -/*QUAKED turret_plasma_dual (1 0 0) (-32 -32 0) (32 32 50) ------------KEYS------------ +/*QUAKED turret_plasma_dual (1 0 0) (-32 -32 0) (32 32 50) - PILLAR +basic energy cannon * 2 +-------- KEYS -------- turret_scale_damage: 2 = double damage, 0.5 = half -turret_scale_range: 2 = double range, 0.5 = half -turret_scale_refire: 2 = doubble refire (SLOWER!), 0.5 = half (FASTER!) -turret_scale_ammo: 2 = doubble ammo carry & regen, 0.5 = half ammo carry & regen -turret_scale_aim: 2 = aim twice as fast, 0,5 = aim at half speed +turret_scale_range: 2 = double range, 0.5 = half +turret_scale_refire: 2 = double refire (SLOWER!), 0.5 = half (FASTER!) +turret_scale_ammo: 2 = double ammo carry & regen, 0.5 = half ammo carry & regen +turret_scale_aim: 2 = aim twice as fast, 0,5 = aim at half speed turret_scale_health: 2 = double health, 0.5 = half - -master_name : This turret controls what all turrets with master_nameof set to this aim at -master_nameof : Dont select own targets, use the target of the turret with this master_name - -target : Defend the position of this entity - -team : 5=red, 14=blue ------------SPAWNFLAGS----------- -2 : Adds a supporting pillar under this turret, for turrets on terrain/uneven surfaces. (only for visuals) ----------NOTES---------- -basic energy cannon * 2 +master_name: This turret controls what all turrets with master_nameof set to this aim at +master_nameof: Dont select own targets, use the target of the turret with this master_name +target: Defend the position of this entity +team: 5=red, 14=blue +-------- SPAWNFLAGS -------- +PILLAR: Adds a supporting pillar under this turret, for turrets on terrain/uneven surfaces. (only for visuals) -------- MODEL FOR RADIANT ONLY - DO NOT SET THIS AS A KEY -------- model="models/turrets/radiant/plasma2.md3" */ -/*QUAKED turret_flac (1 0 0) (-32 -32 0) (32 32 50) ------------KEYS------------ +/*QUAKED turret_flac (1 0 0) (-32 -32 0) (32 32 50) - PILLAR +Only kills missiles, rockets, grenadelauncher & electro secondaries to be precise. +-------- KEYS -------- turret_scale_damage: 2 = double damage, 0.5 = half -turret_scale_range: 2 = double range, 0.5 = half -turret_scale_refire: 2 = doubble refire (SLOWER!), 0.5 = half (FASTER!) -turret_scale_ammo: 2 = doubble ammo carry & regen, 0.5 = half ammo carry & regen -turret_scale_aim: 2 = aim twice as fast, 0,5 = aim at half speed +turret_scale_range: 2 = double range, 0.5 = half +turret_scale_refire: 2 = double refire (SLOWER!), 0.5 = half (FASTER!) +turret_scale_ammo: 2 = double ammo carry & regen, 0.5 = half ammo carry & regen +turret_scale_aim: 2 = aim twice as fast, 0,5 = aim at half speed turret_scale_health: 2 = double health, 0.5 = half - -master_name : This turret controls what all turrets with master_nameof set to this aim at -master_nameof : Dont select own targets, use the target of the turret with this master_name - -target : Defend the position of this entity - -team : 5=red, 14=blue ------------SPAWNFLAGS----------- -2 : Adds a supporting pillar under this turret, for turrets on terrain/uneven surfaces. (only for visuals) ----------NOTES---------- -ONly kills missiles, rockets greneadelauncher & electo seoncdaries to be presice. +master_name: This turret controls what all turrets with master_nameof set to this aim at +master_nameof: Dont select own targets, use the target of the turret with this master_name +target: Defend the position of this entity +team: 5=red, 14=blue +-------- SPAWNFLAGS -------- +PILLAR: Adds a supporting pillar under this turret, for turrets on terrain/uneven surfaces. (only for visuals) -------- MODEL FOR RADIANT ONLY - DO NOT SET THIS AS A KEY -------- model="models/turrets/radiant/flac.md3" */ /*QUAKED turret_mlrs (1 0 0) (-32 -32 0) (32 32 50) ------------KEYS------------ +6 unguided rockers fired in a rapid burst. +-------- KEYS -------- turret_scale_damage: 2 = double damage, 0.5 = half -turret_scale_range: 2 = double range, 0.5 = half -turret_scale_refire: 2 = doubble refire (SLOWER!), 0.5 = half (FASTER!) -turret_scale_ammo: 2 = doubble ammo carry & regen, 0.5 = half ammo carry & regen -turret_scale_aim: 2 = aim twice as fast, 0,5 = aim at half speed +turret_scale_range: 2 = double range, 0.5 = half +turret_scale_refire: 2 = double refire (SLOWER!), 0.5 = half (FASTER!) +turret_scale_ammo: 2 = double ammo carry & regen, 0.5 = half ammo carry & regen +turret_scale_aim: 2 = aim twice as fast, 0,5 = aim at half speed turret_scale_health: 2 = double health, 0.5 = half - -master_name : This turret controls what all turrets with master_nameof set to this aim at -master_nameof : Dont select own targets, use the target of the turret with this master_name - -target : Defend the position of this entity - -team : 5=red, 14=blue ------------SPAWNFLAGS----------- -2 : Adds a supporting pillar under this turret, for turrets on terrain/uneven surfaces. (only for visuals) ----------NOTES---------- -6 unguided rockerts fierd in a rapid burst. +master_name: This turret controls what all turrets with master_nameof set to this aim at +master_nameof: Dont select own targets, use the target of the turret with this master_name +target: Defend the position of this entity +team: 5=red, 14=blue +-------- SPAWNFLAGS -------- +PILLAR: Adds a supporting pillar under this turret, for turrets on terrain/uneven surfaces. (only for visuals) -------- MODEL FOR RADIANT ONLY - DO NOT SET THIS AS A KEY -------- model="models/turrets/radiant/mlrs.md3" */ /*QUAKED turret_hellion (1 0 0) (-32 -32 0) (32 32 50) ------------KEYS------------ +2 guided moderate damage accelerating rockets +-------- KEYS -------- turret_scale_damage: 2 = double damage, 0.5 = half -turret_scale_range: 2 = double range, 0.5 = half -turret_scale_refire: 2 = doubble refire (SLOWER!), 0.5 = half (FASTER!) -turret_scale_ammo: 2 = doubble ammo carry & regen, 0.5 = half ammo carry & regen -turret_scale_aim: 2 = aim twice as fast, 0,5 = aim at half speed +turret_scale_range: 2 = double range, 0.5 = half +turret_scale_refire: 2 = double refire (SLOWER!), 0.5 = half (FASTER!) +turret_scale_ammo: 2 = double ammo carry & regen, 0.5 = half ammo carry & regen +turret_scale_aim: 2 = aim twice as fast, 0,5 = aim at half speed turret_scale_health: 2 = double health, 0.5 = half - -master_name : This turret controls what all turrets with master_nameof set to this aim at -master_nameof : Dont select own targets, use the target of the turret with this master_name - -target : Defend the position of this entity - -team : 5=red, 14=blue ------------SPAWNFLAGS----------- -2 : Adds a supporting pillar under this turret, for turrets on terrain/uneven surfaces. (only for visuals) ----------NOTES---------- -2 guided moderate damage accelerating rockets +master_name: This turret controls what all turrets with master_nameof set to this aim at +master_nameof: Dont select own targets, use the target of the turret with this master_name +target: Defend the position of this entity +team: 5=red, 14=blue +-------- SPAWNFLAGS -------- +PILLAR: Adds a supporting pillar under this turret, for turrets on terrain/uneven surfaces. (only for visuals) -------- MODEL FOR RADIANT ONLY - DO NOT SET THIS AS A KEY -------- model="models/turrets/radiant/hellion.md3" */ /*QUAKED turret_hk (1 0 0) (-32 -32 0) (32 32 50) ------------KEYS------------ +Single powerful rocket with the ability to evade obstacles to find its target. Varied speed. +-------- KEYS -------- turret_scale_damage: 2 = double damage, 0.5 = half -turret_scale_range: 2 = double range, 0.5 = half -turret_scale_refire: 2 = doubble refire (SLOWER!), 0.5 = half (FASTER!) -turret_scale_ammo: 2 = doubble ammo carry & regen, 0.5 = half ammo carry & regen -turret_scale_aim: 2 = aim twice as fast, 0,5 = aim at half speed +turret_scale_range: 2 = double range, 0.5 = half +turret_scale_refire: 2 = double refire (SLOWER!), 0.5 = half (FASTER!) +turret_scale_ammo: 2 = double ammo carry & regen, 0.5 = half ammo carry & regen +turret_scale_aim: 2 = aim twice as fast, 0,5 = aim at half speed turret_scale_health: 2 = double health, 0.5 = half - -master_name : This turret controls what all turrets with master_nameof set to this aim at -master_nameof : Dont select own targets, use the target of the turret with this master_name - -target : Defend the position of this entity - -team : 5=red, 14=blue ------------SPAWNFLAGS----------- -2 : Adds a supporting pillar under this turret, for turrets on terrain/uneven surfaces. (only for visuals) ----------NOTES---------- -Single powerfull rovcket with the ability to evade obstacles to find its target. varied speed. +master_name: This turret controls what all turrets with master_nameof set to this aim at +master_nameof: Dont select own targets, use the target of the turret with this master_name +target: Defend the position of this entity +team: 5=red, 14=blue +-------- SPAWNFLAGS -------- +PILLAR: Adds a supporting pillar under this turret, for turrets on terrain/uneven surfaces. (only for visuals) -------- MODEL FOR RADIANT ONLY - DO NOT SET THIS AS A KEY -------- model="models/turrets/radiant/hk.md3" */ /*QUAKED turret_tesla (1 0 0) (-32 -32 0) (32 32 50) ------------KEYS------------ +Fires a lightning bolt that will jump to up to 10 targets if they are close enough to each other. Missiles included. +-------- KEYS -------- turret_scale_damage: 2 = double damage, 0.5 = half -turret_scale_range: 2 = double range, 0.5 = half -turret_scale_refire: 2 = doubble refire (SLOWER!), 0.5 = half (FASTER!) -turret_scale_ammo: 2 = doubble ammo carry & regen, 0.5 = half ammo carry & regen -turret_scale_aim: 2 = aim twice as fast, 0,5 = aim at half speed +turret_scale_range: 2 = double range, 0.5 = half +turret_scale_refire: 2 = double refire (SLOWER!), 0.5 = half (FASTER!) +turret_scale_ammo: 2 = double ammo carry & regen, 0.5 = half ammo carry & regen +turret_scale_aim: 2 = aim twice as fast, 0,5 = aim at half speed turret_scale_health: 2 = double health, 0.5 = half - -master_name : This turret controls what all turrets with master_nameof set to this aim at -master_nameof : Dont select own targets, use the target of the turret with this master_name - -target : Defend the position of this entity - -team : 5=red, 14=blue ------------SPAWNFLAGS----------- -2 : Adds a supporting pillar under this turret, for turrets on terrain/uneven surfaces. (only for visuals) ----------NOTES---------- -Fiers a lightningbolt taht will jump to up to 10 targets if they are close enougth to eachother. missiles included. +master_name: This turret controls what all turrets with master_nameof set to this aim at +master_nameof: Dont select own targets, use the target of the turret with this master_name +target: Defend the position of this entity +team: 5=red, 14=blue +-------- SPAWNFLAGS -------- +PILLAR: Adds a supporting pillar under this turret, for turrets on terrain/uneven surfaces. (only for visuals) -------- MODEL FOR RADIANT ONLY - DO NOT SET THIS AS A KEY -------- model="models/turrets/radiant/tesla.md3" */ /*QUAKED turret_phaser (1 0 0) (-32 -32 0) (32 32 50) ------------KEYS------------ +Constant beam weapon that will considerably slow its target down while dealing low but constant damage. +-------- KEYS -------- turret_scale_damage: 2 = double damage, 0.5 = half -turret_scale_range: 2 = double range, 0.5 = half -turret_scale_refire: 2 = doubble refire (SLOWER!), 0.5 = half (FASTER!) -turret_scale_ammo: 2 = doubble ammo carry & regen, 0.5 = half ammo carry & regen -turret_scale_aim: 2 = aim twice as fast, 0,5 = aim at half speed +turret_scale_range: 2 = double range, 0.5 = half +turret_scale_refire: 2 = double refire (SLOWER!), 0.5 = half (FASTER!) +turret_scale_ammo: 2 = double ammo carry & regen, 0.5 = half ammo carry & regen +turret_scale_aim: 2 = aim twice as fast, 0,5 = aim at half speed turret_scale_health: 2 = double health, 0.5 = half - -master_name : This turret controls what all turrets with master_nameof set to this aim at -master_nameof : Dont select own targets, use the target of the turret with this master_name - -target : Defend the position of this entity - -team : 5=red, 14=blue ------------SPAWNFLAGS----------- -2 : Adds a supporting pillar under this turret, for turrets on terrain/uneven surfaces. (only for visuals) ----------NOTES---------- -Constant beam weapon that will considerably slow its target down while dealing low but constant damage. +master_name: This turret controls what all turrets with master_nameof set to this aim at +master_nameof: Dont select own targets, use the target of the turret with this master_name +target: Defend the position of this entity +team: 5=red, 14=blue +-------- SPAWNFLAGS -------- +PILLAR: Adds a supporting pillar under this turret, for turrets on terrain/uneven surfaces. (only for visuals) -------- MODEL FOR RADIANT ONLY - DO NOT SET THIS AS A KEY -------- model="models/turrets/radiant/phaser.md3" */ /*QUAKED turret_fusionreactor (1 0 0) (-32 -32 0) (32 32 50) ------------KEYS------------ +-------- KEYS -------- turret_scale_damage: 2 = double damage, 0.5 = half -turret_scale_range: 2 = double range, 0.5 = half -turret_scale_refire: 2 = doubble refire (SLOWER!), 0.5 = half (FASTER!) -turret_scale_ammo: 2 = doubble ammo carry & regen, 0.5 = half ammo carry & regen -turret_scale_aim: 2 = aim twice as fast, 0,5 = aim at half speed +turret_scale_range: 2 = double range, 0.5 = half +turret_scale_refire: 2 = double refire (SLOWER!), 0.5 = half (FASTER!) +turret_scale_ammo: 2 = double ammo carry & regen, 0.5 = half ammo carry & regen +turret_scale_aim: 2 = aim twice as fast, 0,5 = aim at half speed turret_scale_health: 2 = double health, 0.5 = half - -team : 5=red, 14=blue ------------SPAWNFLAGS----------- -2 : Adds a supporting pillar under this turret, for turrets on terrain/uneven surfaces. (only for visuals) +team: 5=red, 14=blue +-------- SPAWNFLAGS -------- +PILLAR: Adds a supporting pillar under this turret, for turrets on terrain/uneven surfaces. (only for visuals) ---------NOTES---------- Supplies neerby energy based turrets with more power so they can fire more often. -------- MODEL FOR RADIANT ONLY - DO NOT SET THIS AS A KEY -------- model="models/turrets/radiant/reactor.md3" */ - /*QUAKED turret_targettrigger (.5 .5 .5) ? ------------KEYS------------ ------------SPAWNFLAGS----------- ----------NOTES---------- Used to feed turrets capable of it with remote target info. currently only turret_hk supports this. --------- MODEL FOR RADIANT ONLY - DO NOT SET THIS AS A KEY -------- */ - -- 2.39.2