Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Making tire, rim, brake disk meshes explicit
01-15-2015, 10:03 AM, (This post was last modified: 01-15-2015, 10:14 AM by NaN.)
#1
Making tire, rim, brake disk meshes explicit
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.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)