benilla-re systems structs docs

s_cvarCameraDistanceMoveSpeed

global · uicamera

Address
0xbe0fbc · 4 bytes, up to 0xbe0fbf
Type
void *
Meaning
Holds the CVar record of cameraDistanceMoveSpeed
Confidence
verified, proof one
Finding
uicamera/cvars#input-and-bobbing-cvars

Finding: Input and bobbing CVars in uicamera: the camera CVars

The camera registers 46 CVars by name when the interface starts, each in category 5 with a default string. A value is read as a float at +0x24 or an integer at +0x28 of the CVar record. A set value goes through the CVar's own check, if it has one, and the check refuses a value outside its range with Value out of range (%f - %f) and keeps the old value. A range is inclusive at both ends. The tables list the default and the range each CVar accepts.

CVardefaultacceptsvariable
mouseInvertYaw0any0xbe1084
mouseInvertPitch0any0xbe1040
cameraBobbing0any0xbe10c0
cameraBobbingLRAmplitude2.0any0xbe1064
cameraBobbingUDAmplitude2.0any0xbe10c8
cameraBobbingFrequency0.80.001 to 3000xbe0cf8
cameraDistanceMoveSpeed8.330.0027778 to 500xbe0fbc
cameraPitchMoveSpeed90.00.1 to 3600xbe0f78
cameraYawMoveSpeed180.00.1 to 3600xbe1094
cameraBobbingSmoothSpeed0.80.0027778 to 500xbe10bc
cameraViewBlendStyle1any0xbe10b0
cameraView10 to 40xbe0e68

The derivation is in the doc.