Template:KV BaseTank

From Valve Developer Community
Revision as of 19:56, 18 October 2005 by Maven (talk | contribs) (bot-assisted)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Template:Kv targetname

Global Entity Name <string>
Name by which this entity is linked to another entity in a different map. When the player transitions to a new map, entities in the new map with globalnames matching entities in the previous map will have the previous map's state copied over their state.
<target_destination> Name of a trigger the specifies the volume in which a player must be to control this tank.
  • master
<string> (Team) Master. 30.
  • yawrange
<string> Yaw range.
  • yawtolerance
<string> Yaw tolerance.
  • pitchrate
<string> Pitch rate.
  • pitchrange
<string> Pitch range.
  • pitchtolerance
<string> Pitch tolerance.
  • barrel
<string> Barrel Length.
  • barrely
<string> Barrel Horizontal.
  • barrelz
<string> Barrel Vertical.
  • spritesmoke
<sprite> Smoke Sprite.
  • spriteflash
<sprite> Flash Sprite.
  • spritescale
<string> Sprite scale.
  • rotatestartsound
<sound> Rotate Start Sound.
  • rotatesound
<sound> Rotate Loop Sound.
  • rotatestopsound
<sound> Rotate Stop Sound.
  • firerate
<string> Rate of Fire.
  • bullet_damage
<string> If set to 0, it'll use the base weapon bullet's damage.
  • bullet_damage_vs_player
<string> If set to 0, it'll use the Damage Per Bullet value.
  • persistence
<string> (Seconds) How long to keep firing at last known position after lose sight of target.
  • persistence2
<string> (Seconds) After lost enemy and persistence time has passed, how long to occasionally fire at enemy's last known position.
  • firespread
<choices> Bullet accuracy.
Literal value Description
0 Perfect Shot
1 Small cone
2 Medium cone
3 Large cone
4 Extra-large cone
  • minRange
<string> Minmum target range.
  • maxRange
<string> Maximum target range.
  • _minlight
<string> Minimum light level.
  • gun_barrel_attach
<string> If Parent is specified, this is the attachment point on the parent to fire from. If you specify this, you'll want to specify the Gun Base Attachment too.
  • gun_yaw_pose_param
<string> If Parent + the Gun Pitch Pose Param is specified, then the gun itself will be invisible and the func_tank will steer a gun on the parent using the pose parameters.
  • gun_yaw_pose_center
<float> The center yaw pose parameter of the gun on the parent.
  • gun_pitch_pose_param
<string> If Parent + the Gun Yaw Pose Param is specified, then the gun itself will be invisible and the func_tank will steer a gun on the parent using the pose parameters.
  • gun_pitch_pose_center
<float> The center pitch pose parameter of the gun on the parent.
  • ammo_count
<integer> Only applies to player use. -1 = unlimited ammo.
  • LeadTarget
<choices> Lead Target.
Literal value Description
0 No
1 Yes
  • npc_man_point
<target_destination> Point where NPC must stand to man this func_tank.
  • playergraceperiod
<float> If specified, NPC's manning this func tank won't fire at the player, after firing at a non-player, for this amount of time.
  • ignoregraceupto
<float> The player grace period is ignored if the player's under this distance from the func_tank.
  • playerlocktimebeforefire
<float> The tank must have the player as a target for this amount of time before it's allowed to fire.
  • effecthandling
<choices> Effect Handling.
Literal value Description
0 Use Individual Settings.
1 AR2