Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
LE is up - hoping it'll be a good prototype for new features
06-19-2010, 07:39 PM,
#10
 
Just fooling around ...

Use dedicated loaders for each [object]. Support simple inheritance [base.derived]. Maybe we should switch to a scripting language, lol.

Code:
; graphics

[model]
name = oem_wheel
mesh = oem_wheel.joe
texture-0 = oem_wheel.png
texture-1 = oem_wheel_misc1.png    ;optional, material texture
texture-2 = oem_wheel_misc2.png    ;optional, normal texture
position = 0,0,0                 ;optional, relative to parent
orientation = 0,0,0                ;optional, euler angles in degrees
scale = 1,1,1                    ;optional, use negative numbers to mirror objects
mass = 0.0                        ;optional, 0.0 => static object
color = 1,1,1,1                    ;if alpha 1 and diffuse texture with alpha do vertex color blend

[model.brake]
name = brake_front
texture-0 = rotor_worn.png
radius = 0.15
width = 0.05
position = -0.05, 0, 0

[model.wheel]
name = wheel_front
size = 205/50r17
texture-0 = touring.png
model = oem_wheel, brake_front

[light]
name = brake_left
position = 0.5, -1.5, 0.3
color = 1, 0, 0
radius = 8


; car dynamics

[tire]
name = tire_front
size = 205/50r17
type = touring

[brake]
name = brake_front
friction = 0.9
max-pressure = 3.0e6
bias = 0.6
radius = 0.1397
area = 0.01

[wheel]
name = front_right
position = -0.73, 1.28, -0.48
scale = -1, 1, 1
tire = tire_front
brake = brake_front
model = wheel_front
Reply


Messages In This Thread
[No subject] - by NaN - 06-17-2010, 03:08 AM
[No subject] - by joevenzon_phpbb2_import3 - 06-17-2010, 10:32 AM
[No subject] - by NaN - 06-17-2010, 10:40 AM
[No subject] - by joevenzon_phpbb2_import3 - 06-18-2010, 01:11 AM
[No subject] - by NaN - 06-18-2010, 07:11 AM
[No subject] - by joevenzon_phpbb2_import3 - 06-18-2010, 10:15 PM
[No subject] - by joevenzon_phpbb2_import3 - 06-18-2010, 10:15 PM
[No subject] - by zimluura - 06-19-2010, 11:20 AM
[No subject] - by NaN - 06-19-2010, 07:39 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)