gun
Vars | |
burst_shot_delay | The time between shots in burst. |
---|---|
burst_size | Weapon is burst fire if this is above 1 |
busy_action | Used in gun-in-mouth execution/suicide and similar, while TRUE nothing should work on this like firing or modification and so on and so forth. |
can_circuit | can we be put in a circuit |
can_emitter | can we be put in an emitter |
can_turret | can we be put into a turret |
dir_recoil_amp | directional recoil multiplier |
fire_delay | The time between firing actions, this means between bursts if this is burst weapon. The reason this is 0 is because you are still, by default, limited by clickdelay. |
fire_select | Current fire selection, can choose between burst, single, and full auto. |
fire_select_modes | What modes does this weapon have? Put SELECT_FULLY_AUTOMATIC in here to enable fully automatic behaviours. |
firing | Currently firing, whether or not it's a burst or not. |
last_fire | Last world.time this was fired |
projectile_damage_multiplier | Just 'slightly' snowflakey way to modify projectile damage for projectiles fired from this gun. |
selector_switch_icon | if i`1t has an icon for a selector switch indicating current firemode. |
Procs | |
set_gun_light | Swaps the gun's seclight, dropping the old seclight if it has not been qdel'd. |
Var Details
burst_shot_delay
The time between shots in burst.
burst_size
Weapon is burst fire if this is above 1
busy_action
Used in gun-in-mouth execution/suicide and similar, while TRUE nothing should work on this like firing or modification and so on and so forth.
can_circuit
can we be put in a circuit
can_emitter
can we be put in an emitter
can_turret
can we be put into a turret
dir_recoil_amp
directional recoil multiplier
fire_delay
The time between firing actions, this means between bursts if this is burst weapon. The reason this is 0 is because you are still, by default, limited by clickdelay.
fire_select
Current fire selection, can choose between burst, single, and full auto.
fire_select_modes
What modes does this weapon have? Put SELECT_FULLY_AUTOMATIC in here to enable fully automatic behaviours.
firing
Currently firing, whether or not it's a burst or not.
last_fire
Last world.time this was fired
projectile_damage_multiplier
Just 'slightly' snowflakey way to modify projectile damage for projectiles fired from this gun.
selector_switch_icon
if i`1t has an icon for a selector switch indicating current firemode.
Proc Details
set_gun_light
Swaps the gun's seclight, dropping the old seclight if it has not been qdel'd.
Returns the former gun_light that has now been replaced by this proc. Arguments:
- new_light - The new light to attach to the weapon. Can be null, which will mean the old light is removed with no replacement.