Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Config format
02-28-2011, 03:53 PM,
#3
 
Quote:nesting could be useful
This has been one of the motivating points.
Code:
[wheel.fl.coilover]
spring-constant = 49131.9
bounce = 2600
rebound = 7900

[wheel.fl.brake]
texture = rotor_shiny_slotted_drilled.png
friction = 0.6
max-pressure = 4.0e6

[wheel.fl.tire]
texture = touring.png
size = 215,45,17
type = tire-touring

[wheel.fl.double-wishbone]
upper-chassis-rear = -0.42, 1.0, -0.31
upper-chassis-front = -0.42, 1.24, -0.29
upper-hub = -0.69, 1.14, -0.3

[wheel.fl]
texture = oem_wheel.png, oem_wheel-misc1.png
mesh = oem_wheel.joe
position = -0.736, 1.14, -0.47
vs
Code:
wheel
{
    front-left
    {
        texture    oem_wheel.png, oem_wheel-misc1.png
        mesh        oem_wheel.joe
        position    -0.736, 1.14, -0.47
        tire
        {
            texture touring.png
            size    215, 45, 17
            type     touring
        }
        brake
        {
            texture        rotor_shiny_slotted_drilled.png
            friction        0.6
            max-pressure    4.0e6
        }
        coilover
        {
            spring-constant 49131.9
            bounce         2600
            rebound         7900
        }
        double-wishbone
        {
            upper-chassis-rear    -0.42, 1.0, -0.31
            upper-chassis-front    -0.42, 1.24, -0.29
            upper-hub            -0.69, 1.14, -0.3
        }
    }
    front-right
    {
        ...
    }
}
Reply


Messages In This Thread
Config format - by NaN - 02-28-2011, 03:09 PM
[No subject] - by zimluura - 02-28-2011, 03:27 PM
[No subject] - by NaN - 02-28-2011, 03:53 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)