Template:Weaponbox
Jump to navigation
Jump to search
{{{name}}}
[[File:{{{img}}}|300px|center]]
An info box for weapons.
- name
- "Official" name of the gun. Note: If you want to list two different names on different lines, add
'''
after the first name and another'''
before the second name. - img
- Picture of the gun including file extension.
- refire
- Gun's refire time. Tip: The most straightforward way of finding this is creating a
func_button
that fires an output, then shooting the button withdeveloper 2
. Note that in most games, refire rates will vary just slightly for no apparent reason. - damage
- Single bullet damage.
- pellets
- How many pellets are in a single shot. Typically done by shotguns and some rapid fire weapons.
- class
- Class restriction. (
)
- cost
- Gun price. (
)
- firemode
- How the gun fires (auto, single, etc)
- altfire
- What happens when
+attack2
is used. - mag or clip
- How many bullets are in one magazine.
- reserve
- How much ammo is in the reserve (not counting the current clip).
- reload
- How long it takes to reload the gun.
- reloaddelay
- How much longer it takes to reload the gun's first piece of ammo.
- unholster
- Time it takes to take the gun out.
- movespeed
- How fast the player moves when holding the gun. (Check with
cl_showpos
.) - delay
- Time between pressing
+attack
and the bullet firing. Usually instant. - notes
- Misc notes.
{{weaponbox|name=IAF Minigun |img=Asw minigun.png |refire=0.05 |damage=11 |class=Special Weapons |firemode=Automatic |altfire=Spin barrel |mag=250 |reserve=1 clip |reload=3.1 (including spin up time) |unholster=.95 (including spin up time) |notes=Fires 2 bullets per round in quick succession}}