Goonstation 13 - Modules - TypesVar Details

/datum/recoil_controller

Vars

clientThe client that this recoil controller belongs to.
recoilcamera_activewhether or not this mob's recoil camera is active
recoilcamera_anglethe current angle of the mob's recoil camera
recoilcamera_damphow much recoil delta should be multiplied by every 10th of a second
recoilcamera_damp_distancehow much recoil delta should be decreased by, per pixel away from the centre
recoilcamera_flat_reset_speedhow much recoil_delta is reduced by, every 10th of a second
recoilcamera_lasttime of the last recoil impulse
recoilcamera_processingwhether or not this mob's recoil camera is active
recoilcamera_recoil_deltathe rate of change of recoil magnitude
recoilcamera_recoil_magnitudethe magnitude of recoil this mob's experiencing (ie. how far away is the camera)
recoilcamera_sway_damphow much sway delta should be multiplied by every 10th of a second
recoilcamera_sway_deltathe rate of change of the mob's recoil angle
recoilcamera_xcurrent camera x offset from recoil
recoilcamera_ycurrent camera y offset from recoil

Var Details

client

The client that this recoil controller belongs to.

recoilcamera_active

whether or not this mob's recoil camera is active

recoilcamera_angle

the current angle of the mob's recoil camera

recoilcamera_damp

how much recoil delta should be multiplied by every 10th of a second

recoilcamera_damp_distance

how much recoil delta should be decreased by, per pixel away from the centre

recoilcamera_flat_reset_speed

how much recoil_delta is reduced by, every 10th of a second

recoilcamera_last

time of the last recoil impulse

recoilcamera_processing

whether or not this mob's recoil camera is active

recoilcamera_recoil_delta

the rate of change of recoil magnitude

recoilcamera_recoil_magnitude

the magnitude of recoil this mob's experiencing (ie. how far away is the camera)

recoilcamera_sway_damp

how much sway delta should be multiplied by every 10th of a second

recoilcamera_sway_delta

the rate of change of the mob's recoil angle

recoilcamera_x

current camera x offset from recoil

recoilcamera_y

current camera y offset from recoil