Documentation: PlatformShooterPlayerComponent

From Noita Wiki
Jump to navigation Jump to search
Name Type Initial Value Example Range Description
Members
aiming_reticle_distance_from_character float 40 [0, 1000]
camera_max_distance_from_character float 25 [0, 1000]
alcohol_drunken_speed float 0.005 [0, 1000]
blood_fungi_drunken_speed float 0.006 [0, 1000]
blood_worm_drunken_speed float 0.006 [0, 1000]
eating_cells_per_frame int 1 [0, 100]
eating_probability int 5 [0, 100]
eating_delay_frames int 30 [0, 100]
stoned_speed float 0.1 [0, 1000]
center_camera_on_this_entity bool true
move_camera_with_aim bool true if true, moves camera with the aim.
Custom data types
eating_area_min ivec2 (-4, -4)
eating_area_max ivec2 (4, 4)
Privates
mSmoothedCameraPosition vec2 (0, 0)
mSmoothedAimingVector vec2 (0, 0)
mCameraRecoil float 0
mCameraRecoilTarget float 0
mCrouching bool false
mCameraDistanceLerped float 0
mRequireTriggerPull bool false
mWarpDelay int 0
mItemTemporarilyHidden int 0
mDesiredCameraPos vec2 (0, 0)
mHasGamepadControlsPrev bool false
mForceFireOnNextUpdate bool false
mFastMovementParticlesAlphaSmoothed float 0
mTeleBoltFramesDuringLastSecond uint64 0
mCamCorrectionTeleSmoothed float 0
mCamCorrectionGainSmoothed vec2 (0, 0)
mCameraErrorPrev Vec2ArrayInline
mCamErrorAveraged vec2 (0, 0)
mCamMovingFastPrev bool false
mCamFrameStartedMovingFast int 0
mCamFrameLastMovingFastExplosion int 0
mCessationDo bool false
mCessationLifetime int 0