Decoded from SKIDMARKS_CD32's machine code: - Car physics: the per-frame engine/grip/steering update, gravity and jumps, the hill effect on the throttle, and body tilt. Replaces the reconstructed handling model. - The meaning of every .set value (separate drag, grip and power for human and computer drivers; steering, gravity, tow hitch), and the six handling presets, offered by a new Handling menu option. - Walls: the road edges are quadratic B-splines through the gates' ends. They match the painted road edges. - The real projection, which lifts points by their height; the height map is indexed by world cells, not screen pixels. - Tracks have one more gate than the stored count: the last gate was being dropped on every track. Computer drivers now follow the road between the walls and steer like the original's. Vehicle assets store the values as `handling`; older files still load. Docs describe the decoded logic.
18 lines
744 B
Plaintext
18 lines
744 B
Plaintext
# Skids vehicle settings. Lines starting with # are comments.
|
|
# The sprite sheet is vw.png: 32 headings across, 25 tilts down.
|
|
name BEETLE
|
|
driver ROB
|
|
# yes = towed behind cars (Caravans option) instead of driven
|
|
trailer no
|
|
#
|
|
# handling: the 16 values from the original .set file, used as the
|
|
# original game does. Counting from 1:
|
|
# 1 2 6 computer drivers: drag, grip, power
|
|
# 9 10 11 human drivers: drag, grip, power
|
|
# 3 steering, 5 gravity, 7 tow hitch distance; the rest are unused.
|
|
# Top speed = power * drag / (64 - drag) / 32 world units per frame,
|
|
# 50 frames a second (drag below 64). Higher grip, less sliding.
|
|
handling 57 28 32 12 3 29 20 14 51 15 63 0 0 0 0 0
|
|
# weight when cars collide (not from the original data)
|
|
mass 1
|