Template:WeaponL4D: Difference between revisions
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		
		
	
|  (-l4d2 check) | mNo edit summary | ||
| Line 2: | Line 2: | ||
| {{ent not in fgd|nolink=1}} | {{ent not in fgd|nolink=1}} | ||
| {{CD|{{{class}}}}} | {{CD|{{{class}}}}} | ||
| {{entity|type=e0|weapon_{{{weapon}}}|{{#if:{{{l4d2only|}}}|game=Left 4 Dead 2|series=Left 4 Dead}}}} Held {{#if:{{{fancy_name|}}}|{{{fancy_name}}}|{{{weapon}}}}}. For placing {{#if:{{{fancy_name|}}}|{{{fancy_name}}}|{{{weapon}}}}} spawns in a map use [[weapon_{{{weapon}}}_spawn]] | {{entity|type=e0|weapon_{{{weapon}}}|{{#if:{{{l4d2only|}}}|game{{=}}Left 4 Dead 2|series{{=}}Left 4 Dead}}}} Held {{#if:{{{fancy_name|}}}|{{{fancy_name}}}|{{{weapon}}}}}. For placing {{#if:{{{fancy_name|}}}|{{{fancy_name}}}|{{{weapon}}}}} spawns in a map use [[weapon_{{{weapon}}}_spawn]] | ||
| == Keyvalues == | == Keyvalues == | ||
Revision as of 03:50, 13 August 2023
|  Class hierarchy | 
|---|
| [[{{{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]]
Keyvalues
- Reserve ammo (Ammo) <integer>
- Reserve ammo of the weapon.
 Note:Reserve ammo will be double of this value for some reason and cannot exceed the value of cvar Note:Reserve ammo will be double of this value for some reason and cannot 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_script
- weapon_cs_base
