Vehicles: the steering lock from the handling records #67
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/holdmysocks--SixNG!67
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/67/head"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@holdmysocks on GitHub · 2026-11-23 18:46 UTC · original
holdmysocks:claude/steer-lock→master· +93 −5 · 4 files · 1 commits · merged 2026-11-23 18:55 UTCCorrects #63, which said no steering lock was found in the data.
What was wrong
The handling records are in the PSO files of
data.rpf(sixng handlingalready reads them). #63 only searched the0x7aresources.Changes
vehicles.json:steering_lockper vehicle isfSteeringLockof its handling record in radians, joined byhandlingIdand taken from the base record where a record has none (format7).Checked
vehicles.json.--steer 0.72).cargo check --releaseof both binaries on this branch; 137 core tests pass.Not decoded
The steering PR said no steering lock was found. That was wrong: the handling records are in the PSO files of data.rpf (`sixng handling` already reads them), not in the 0x7a resources that were searched. - vehicles.json: steering_lock per vehicle = fSteeringLock of its handling record in radians, joined by handlingId and taken from the base record where a record has none ("format" 7). 333 of 373 models have one: 41.3 degrees on comet7, 42.7 on buffalo6, 36.4 on the ambulance, 51 on the sanchez; most cars are at 39 to 41. - Viewer: the steering slider runs to the vehicle's lock instead of a fixed 40 degrees (35 where a model has no handling record), and its hover text says which. Checked: the values in a rebuilt vehicles.json. 137 core tests pass. The slider's new range was not looked at in the running viewer. Not decoded: that the game steers both front wheels to exactly this angle (no Ackermann difference is applied); the steering wheel's ratio is still an estimate.