assets/ now holds every track as a 16-colour indexed PNG (its palette is the track palette) plus a text file of lap gates and height map, and every vehicle as a PNG sprite sheet plus a text file with its name and handling (moved out of the code). The build embeds assets/ instead of unpacking the ADFs, so the disks are no longer needed to build either. skids extract converts original disks to assets and checks each file reads back identically; benchmark results from the assets match the disks exactly. Assets win over disk data with the same name, and --data assets picks up edits without a rebuild. assets/README.md describes how to edit everything.
17 lines
456 B
Plaintext
17 lines
456 B
Plaintext
# Skids vehicle settings. Lines starting with # are comments.
|
|
# The sprite sheet is police.png: 32 headings across, 25 tilts down.
|
|
name POLICE
|
|
# top speed on tarmac, world pixels per second
|
|
top 215
|
|
# acceleration and braking, world pixels per second squared
|
|
accel 180
|
|
brake 320
|
|
# sideways grip (higher = less sliding)
|
|
grip 5
|
|
# steering rate, radians per second
|
|
turn 3.5
|
|
# weight in collisions
|
|
mass 1.2
|
|
# speed and grip multiplier off the road
|
|
offroad 0.55
|