Template:WeaponL4D: Difference between revisions
Jump to navigation
Jump to search
(-) |
(-skin is notable keyvalue here) |
||
Line 7: | Line 7: | ||
{{KV|Reserve ammo|intn=Ammo|int|Reserve ammo of the weapon. }} | {{KV|Reserve ammo|intn=Ammo|int|Reserve ammo of the weapon. }} | ||
:{{note|Reserve ammo will be double of this value for some reason and cannot exceed the value of cvar <code>{{{ammo_cvar}}}</code>. }} | :{{note|Reserve ammo will be double of this value for some reason and cannot 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.}} | |||
== Weapon Scipt == | == Weapon Scipt == |
Revision as of 03:14, 13 August 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]]
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
{{{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