I've added these parameters to the format, which is now:
Code:
#0. model filename (no spaces allowed)
#1. texture filename (no spaces allowed)
#2. mipmap texture (1 for true, 0 for false)
#3. disable lighting (1 for true, 0 for false)
#4. is this a skybox? (1 for true, 0 for false)
#5. is this object a transparent blended texture? (1 for true, 0 for false)
#6. bump wavelength
#7. bump amplitude
#8. driveable (1 for true, 0 for false) -> deprecated, use collide-able flag
#9. collide-able (1 for true, 0 for false)
#10. friction coefficient for non-treaded tires
#11. friction coefficient for treaded tires
#12. rolling resistance coefficient (http://en.wikipedia.org/wiki/Rolling_fricti
on)
#13. rolling drag
I added the parameters to Road Atlanta's list.txt by doing the following after loading the file in listedit:
Code:
> $ addparam 5.0
> $ addparam 20.0
> $ set 1 road* 12 1.0
Set 146 entries.
> $ set 1 road* 13 0.0
Set 146 entries.
The first two lines add the new parameters and specify defaults that are the same as vamos' values for grass. The second two lines set the road to have a 1.0 coefficient on rolling resistance and a 0.0 on drag.
While I'm at it, here are some of vamos' default material values, for reference:
Code:
<material name="track" type="asphalt">
<friction>1.0</friction>
<restitution>0.1</restitution>
<rolling>1.0</rolling>
<drag>0.0</drag>
<bump-amplitude>0.01</bump-amplitude>
<bump-wavelength>100.0</bump-wavelength>
<texture>
<file>textures/track2.png</file>
<length>200.0</length>
<smooth/>
<mipmap/>
</texture>
</material>
<material name="grass" type="grass">
<friction>0.7</friction>
<restitution>0.1</restitution>
<rolling>5.0</rolling>
<drag>20.0</drag>
<bump-amplitude>0.03</bump-amplitude>
<bump-wavelength>2.0</bump-wavelength>
<texture>
<file>textures/grass.png</file>
<width>10.0</width>
<length>12.0</length>
<smooth/>
<mipmap/>
</texture>
</material>
<material name="gravel" type="gravel">
<friction>0.8</friction>
<restitution>0.0</restitution>
<rolling>40.0</rolling>
<drag>200.0</drag>
<bump-amplitude>0.05</bump-amplitude>
<bump-wavelength>2.0</bump-wavelength>
<texture>
<file>textures/gravel3.png</file>
<width>10.0</width>
<length>10.0</length>
<smooth/>
<mipmap/>
</texture>
</material>
<material name="tires" type="rubber">
<friction>1.0</friction>
<restitution>0.8</restitution>
<rolling>1.0</rolling>
<drag>5.0</drag>
<bump-amplitude>0.0</bump-amplitude>
<bump-wavelength>1.0</bump-wavelength>
<texture>
<file>textures/blue-tires.png</file>
<width>0.33</width>
<length>3.0</length>
<smooth/>
<mipmap/>
</texture>
</material>
<material name="rail" type="metal">
<friction>1.0</friction>
<restitution>0.1</restitution>
<rolling>1.0</rolling>
<drag>0.0</drag>
<bump-amplitude>0.0</bump-amplitude>
<bump-wavelength>1.0</bump-wavelength>
<texture>
<file>textures/rail.png</file>
<width>0.375</width>
<length>10.0</length>
<smooth/>
<mipmap/>
</texture>
</material>
<material name="wall" type="concrete">
<friction>1.0</friction>
<restitution>0.1</restitution>
<rolling>1.0</rolling>
<drag>0.0</drag>
<bump-amplitude>0.0</bump-amplitude>
<bump-wavelength>1.0</bump-wavelength>
<texture>
<file>textures/wall.png</file>
<width>1.0</width>
<length>10.0</length>
<smooth/>
<mipmap/>
</texture>
</material>
<material name="kerb" type="concrete">
<friction>1.0</friction>
<restitution>0.1</restitution>
<rolling>1.0</rolling>
<drag>0.0</drag>
<bump-amplitude>0.06</bump-amplitude>
<bump-wavelength>2.0</bump-wavelength>
<texture>
<file>textures/blue-kerb.png</file>
<width>2.0</width>
<length>4.0</length>
<smooth/>
<mipmap/>
</texture>
</material>
You can probably figure out what vamos' xml parameter names in terms of what the corresponding VDrift parameters are.