Template:WeaponL4D: Difference between revisions
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		
		
	
|  (-formatting) | No edit summary | ||
| Line 3: | Line 3: | ||
| {{CD|{{{class}}}}} | {{CD|{{{class}}}}} | ||
| {{this is a | {{this is a | ||
| |  | | point entity | ||
| | name=weapon_{{{weapon}}} | | name=weapon_{{{weapon}}} | ||
| | {{#if: {{{l4d2only|}}}|game|series}}={{#if: {{{l4d2only|}}}|Left 4 Dead 2|Left 4 Dead}} | | {{#if: {{{l4d2only|}}}|game|series}}={{#if: {{{l4d2only|}}}|Left 4 Dead 2|Left 4 Dead}} | ||
Revision as of 06:11, 18 May 2024
|  Class hierarchy | 
|---|
| [[{{{class}}} ]] {{:Category:CD no superclass found in Template:CD/superclassfor {{{class}}} |:}} | 
weapon_{{{weapon}}}  is a   point entity  available in 
 Left 4 Dead series. Held {{{weapon}}}. For placing {{{weapon}}} spawns in a map use [[weapon_{{{weapon}}}_spawn]] or weapon_spawn.
 Left 4 Dead series. 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 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_{{{weapon}}}_spawn]]
- weapon_spawn
- weapon_cs_base
- Weapon_script

