Template:KV BaseTank: Difference between revisions
Jump to navigation
Jump to search
SirYodaJedi (talk | contribs) m (fix internal names) |
(reworded the description for both "Param" lines, mentioning how if not set, it would rotate the brush around the brush entity origin instead. Also added note to "Rotate Loop Sound" about endlessly playing sounds) |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
{{ | {{ {{PAGENAME}} |startcollapsed=0}} | ||
<includeonly> | |||
<onlyinclude>{{Expand|title=BaseTank keyvalues|startcollapsed={{{startcollapsed|1}}}| | |||
{{KV|Bullets|intn=bullet|choices|Ammo type. Be aware that some games will use '''Ammo type''' instead.}} | {{KV|Bullets|intn=bullet|choices|Ammo type. Be aware that some games will use '''Ammo type''' instead.}} | ||
:{ | :{{{!}} class{{=}}standard-table | ||
! Literal value | ! Literal value {{!!}} Description | ||
{{!}}- | |||
{{!}} 0 {{!!}} None | |||
{{!}}- | |||
{{!}} 1 {{!!}} Pistol | |||
{{!}}- | |||
{{!}} 2 {{!!}} SMG1 | |||
{{!}}- | |||
{{!}} 3 {{!!}} AR2 (shows pistol/smg1 bullets?) | |||
{{!}}- | |||
{{!}} 4 {{!!}} Laser (does nothing) | |||
{{!}}} | |||
{{KV|Ammo type|intn=ammotype|choices|Ammo type. Be aware that some games will use '''Bullets''' instead.}} | {{KV|Ammo type|intn=ammotype|choices|Ammo type. Be aware that some games will use '''Bullets''' instead.}} | ||
:{ | :{{{!}} class{{=}}standard-table | ||
! Value | ! Value {{!!}} Description | ||
{{!}}- | |||
{{!}} <code></code> {{!!}} None | |||
{{!}}- | |||
{{!}} <code>Pistol</code> {{!!}} Pistol | |||
{{!}}- | |||
{{!}} <code>SMG1</code> {{!!}} SMG1 | |||
{{!}}- | |||
{{!}} <code>AR2</code> {{!!}} AR2 | |||
{{!}}- | |||
{{!}} <code>CombineHeavyCannon</code> {{!!}} Combine Heavy Cannon (Episode 2 autogun) | |||
{{!}}} | |||
{{KV|Control Volume|intn=control_volume|target_destination|Name of a trigger the player must be inside to control the tank.}} | {{KV|Control Volume|intn=control_volume|target_destination|Name of a trigger the player must be inside to control the tank.}} | ||
{{KV|(Team) Master|intn=master|string|Not used for Source. Provided for backwards compatibility with {{ent|multisource}} or {{ent|game_team_master}}.}} | {{KV|(Team) Master|intn=master|string|Not used for Source. Provided for backwards compatibility with {{ent|multisource}} or {{ent|game_team_master}}.}} | ||
Line 43: | Line 47: | ||
{{KV|Sprite scale|intn=spritescale|string|Sprite scale for both sprites above.}} | {{KV|Sprite scale|intn=spritescale|string|Sprite scale for both sprites above.}} | ||
{{KV|Rotate Start Sound|intn=rotatestartsound|sound|Sound to play when tank starts to turn.}} | {{KV|Rotate Start Sound|intn=rotatestartsound|sound|Sound to play when tank starts to turn.}} | ||
{{KV|Rotate Loop Sound|intn=rotatesound|sound|Sound to play when tank is turning.}} | {{KV|Rotate Loop Sound|intn=rotatesound|sound|Sound to play when tank is turning.{{bug|hidetested=true|If the tank stops being controlled while turning, the sound will continue to loop until the tank is being turned again.}}}} | ||
{{KV|Rotate Stop Sound|intn=rotatestopsound|sound|Sound to play when tank stops turning.}} | {{KV|Rotate Stop Sound|intn=rotatestopsound|sound|Sound to play when tank stops turning.}} | ||
{{KV|Rate of Fire|intn=firerate|string|Number of bullets to fire in a second.}} | {{KV|Rate of Fire|intn=firerate|string|Number of bullets to fire in a second.}} | ||
Line 60: | Line 64: | ||
{{KV|Gun Base Attachment|intn=gun_base_attach|string|If '''Parent''' is specified, this is the attachment point on the parent to aim from.}} | {{KV|Gun Base Attachment|intn=gun_base_attach|string|If '''Parent''' is specified, this is the attachment point on the parent to aim from.}} | ||
{{KV|Gun Barrel Attachment|intn=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.}} | {{KV|Gun Barrel Attachment|intn=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.}} | ||
{{KV|Gun Yaw Pose Param|intn=gun_yaw_pose_param|string|If '''Parent''' and '''Gun Pitch Pose Param''' are specified, then the gun itself will be invisible and the tank will | {{KV|Gun Yaw Pose Param|intn=gun_yaw_pose_param|string|If '''Parent''' and '''Gun Pitch Pose Param''' are specified, then the gun itself will be invisible and the tank will use the pose parameters on the parent model. If not set, the gun brush rotates around the entity origin.}} | ||
{{KV|Gun Yaw Pose Center|intn=gun_yaw_pose_center|float|The center yaw pose parameter of the gun on the parent.}} | {{KV|Gun Yaw Pose Center|intn=gun_yaw_pose_center|float|The center yaw pose parameter of the gun on the parent.}} | ||
{{KV|Gun Pitch Pose Param|intn=gun_pitch_pose_param|string|If '''Parent''' and '''Gun Yaw Pose Param''' are specified, then the gun itself will be invisible and the tank will | {{KV|Gun Pitch Pose Param|intn=gun_pitch_pose_param|string|If '''Parent''' and '''Gun Yaw Pose Param''' are specified, then the gun itself will be invisible and the tank will use the pose parameters on the parent model. If not set, the gun brush rotates around the entity origin.}} | ||
{{KV|Gun Pitch Pose Center|intn=gun_pitch_pose_center|float|The center pitch pose parameter of the gun on the parent.}} | {{KV|Gun Pitch Pose Center|intn=gun_pitch_pose_center|float|The center pitch pose parameter of the gun on the parent.}} | ||
{{KV|Ammunition Count|intn=ammo_count|integer|Amount of ammo when ''player'' is using. -1 {{=}} unlimited ammo.}} | {{KV|Ammunition Count|intn=ammo_count|integer|Amount of ammo when ''player'' is using. -1 {{=}} unlimited ammo.}} | ||
Line 73: | Line 77: | ||
:*0: Use Individual Settings. | :*0: Use Individual Settings. | ||
:*1: AR2 | :*1: AR2 | ||
:*2: Combine Cannon}}< | :*2: Combine Cannon}} | ||
}}</onlyinclude> | |||
</includeonly> | |||
[[Category:Keyvalue Templates|BaseTank]] |
Latest revision as of 07:34, 8 February 2025
|