Template:WeaponL4D: Difference between revisions
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		
		
	
 (-terror_ammo_multiplier cvar)  | 
				mNo edit summary  | 
				||
| Line 10: | Line 10: | ||
== Keyvalues ==  | == Keyvalues ==  | ||
{{KV|Reserve ammo|intn=Ammo|int|Reserve ammo of the weapon. }}  | {{KV|Reserve ammo|intn=Ammo|int|Reserve ammo of the weapon. }}  | ||
:{{note|This value will be multiplied by cvar <code>terror_ammo_multiplier</code>(default 2) and   | :{{note|This value will be multiplied by cvar <code>terror_ammo_multiplier</code>(default 2) and won't exceed the value of cvar <code>{{{ammo_cvar}}}</code>. }}  | ||
{{KV|Skin|intn=skin|int|Selects a skin from the model's index, starting with 0.}}  | {{KV|Skin|intn=skin|int|Selects a skin from the model's index, starting with 0.}}  | ||
Revision as of 02:41, 6 September 2023
| [[{{{class}}} ]]
 {{:Category:CD no superclass found in Template:CD/superclassfor {{{class}}} |:}}  | 
Template:Entity Held {{{weapon}}}. For placing {{{weapon}}} spawns in a map use [[weapon_{{{weapon}}}_spawn]] or weapon_spawn.
Keyvalues
- Reserve ammo (Ammo) <integer>
 - Reserve ammo of the weapon.
 
Note:This value will be multiplied by cvar terror_ammo_multiplier(default 2) and won't exceed the value of cvar{{{ammo_cvar}}}.
- Skin (skin) <integer>
 - Selects a skin from the model's index, starting with 0.
 
Weapon Scipt
| 
 {{WeaponL4D/{{{weapon}}}_script}}  | 
See Also
- [[weapon_{{{weapon}}}_spawn]]
 - weapon_spawn
 - Weapon_script
 - weapon_cs_base