Forums

Full Version: Making tire, rim, brake disk meshes explicit
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
The idea is to make it easier to understand and modify car config files

Currently tire, wheel and brake meshes are optional parameters, making it not obvious when they are generated and how they look (are scaled).

I plan to change this to:
Code:
[wheel.rr.brake]
texture = rotor_shiny_slotted_drilled.png
mesh = disk: 230 9        # diameter: 230mm, thickness: 9mm

[wheel.rr.tire]
texture = tire/touring.png
mesh = tire: 275 40 18    # width: 275mm, height/width: 40%, diameter: 18in

[wheel.fl]
texture = wheel/pentagonal_hub.png
mesh = rim: 275 40 18 wheel/pentagonal_hub.joe

No implicit meshes or scaling. So only when the game sees a disk/tire/rim: entry it would generate the required mesh.