Visual tire colour change in mods tutorial

Hello All,

I figured it how the Visual tire colour can be changed in Automobilista mods (at least in Patricks f1 2014)
In Patricks f1 2014 mod the gen file looks like below:

Instance=LFTIRE
{
Moveable=True
//------------------------------------MAX SETTINGS---------------------------------------------
MeshFile=<OPTION>_TYRE_LF.GMT CollTarget=False HATTarget=False LODIn=(0.0) LODOut=(600.0) ShadowReceiver=True Shadowcaster=(True, Solid, 128, 128)
MeshFile=<PRIME>_TYRE_LF.GMT CollTarget=False HATTarget=False LODIn=(10000.0) LODOut=(600.0) ShadowReceiver=True Shadowcaster=(True, Solid, 128, 128)
MeshFile=INT_TYRE_LF.GMT CollTarget=False HATTarget=False LODIn=(10000.0) LODOut=(600.0) ShadowReceiver=True Shadowcaster=(True, Solid, 128, 128)
MeshFile=WET_TYRE_LF.GMT CollTarget=False HATTarget=False LODIn=(10000.0) LODOut=(600.0) ShadowReceiver=True Shadowcaster=(True, Solid, 128, 128)
//------------------------------------DISCGLOW---------------------------------------------
MeshFile=<12>_DISCGLOW_LF.GMT CollTarget=False HATTarget=False LODIn=(0.00) LODOut=(100.0)
MeshFile=<12>_RIM_LF.GMT CollTarget=False HATTarget=False LODIn=(0.00) LODOut=(350.0) ShadowReceiver=True
}

Instance=LFSpindle
{
Moveable=True
MeshFile=<12>_BRAKE_LF.GMT CollTarget=False HATTarget=False LODIn=(0.00) LODOut=(250.0) ShadowReceiver=True
}

Instance=RFTIRE
{
Moveable=True
//------------------------------------MAX SETTINGS---------------------------------------------
MeshFile=<OPTION>_TYRE_RF.GMT CollTarget=False HATTarget=False LODIn=(0.0) LODOut=(600.0) ShadowReceiver=True Shadowcaster=(True, Solid, 128, 128)
MeshFile=<PRIME>_TYRE_RF.GMT CollTarget=False HATTarget=False LODIn=(10000.0) LODOut=(600.0) ShadowReceiver=True Shadowcaster=(True, Solid, 128, 128)
MeshFile=INT_TYRE_RF.GMT CollTarget=False HATTarget=False LODIn=(10000.0) LODOut=(600.0) ShadowReceiver=True Shadowcaster=(True, Solid, 128, 128)
MeshFile=WET_TYRE_RF.GMT CollTarget=False HATTarget=False LODIn=(10000.0) LODOut=(600.0) ShadowReceiver=True Shadowcaster=(True, Solid, 128, 128)
//------------------------------------DISCGLOW---------------------------------------------
MeshFile=<12>_DISCGLOW_RF.GMT CollTarget=False HATTarget=False LODIn=(0.0) LODOut=(100.0)
MeshFile=<12>_RIM_RF.GMT CollTarget=False HATTarget=False LODIn=(0.0) LODOut=(350.0) ShadowReceiver=True
}

Instance=RFSpindle
{
Moveable=True
MeshFile=<12>_BRAKE_RF.GMT CollTarget=False HATTarget=False LODIn=(0.00) LODOut=(250.0) ShadowReceiver=True
}

Instance=LRTIRE
{
Moveable=True
//------------------------------------MAX SETTINGS---------------------------------------------
MeshFile=<OPTION>_TYRE_LR.GMT CollTarget=False HATTarget=False LODIn=(0.0) LODOut=(600.0) ShadowReceiver=True Shadowcaster=(True, Solid, 128, 128)
MeshFile=<PRIME>_TYRE_LR.GMT CollTarget=False HATTarget=False LODIn=(10000.0) LODOut=(600.0) ShadowReceiver=True Shadowcaster=(True, Solid, 128, 128)
MeshFile=INT_TYRE_LR.GMT CollTarget=False HATTarget=False LODIn=(10000.0) LODOut=(600.0) ShadowReceiver=True Shadowcaster=(True, Solid, 128, 128)
MeshFile=WET_TYRE_LR.GMT CollTarget=False HATTarget=False LODIn=(10000.0) LODOut=(600.0) ShadowReceiver=True Shadowcaster=(True, Solid, 128, 128)
//------------------------------------DISCGLOW---------------------------------------------
MeshFile=<12>_DISCGLOW_LR.GMT CollTarget=False HATTarget=False LODIn=(0.00) LODOut=(100.0)
MeshFile=<12>_RIM_LR.GMT CollTarget=False HATTarget=False LODIn=(0.00) LODOut=(350.0) ShadowReceiver=True
}

Instance=LRSpindle
{
Moveable=True
MeshFile=<12>_BRAKE_LR.GMT CollTarget=False HATTarget=False LODIn=(0.00) LODOut=(250.0) ShadowReceiver=True
}

Instance=RRTIRE
{
Moveable=True
//------------------------------------MAX SETTINGS---------------------------------------------
MeshFile=<OPTION>_TYRE_RR.GMT CollTarget=False HATTarget=False LODIn=(0.0) LODOut=(600.0) ShadowReceiver=True Shadowcaster=(True, Solid, 128, 128)
MeshFile=<PRIME>_TYRE_RR.GMT CollTarget=False HATTarget=False LODIn=(10000.0) LODOut=(600.0) ShadowReceiver=True Shadowcaster=(True, Solid, 128, 128)
MeshFile=INT_TYRE_RR.GMT CollTarget=False HATTarget=False LODIn=(10000.0) LODOut=(600.0) ShadowReceiver=True Shadowcaster=(True, Solid, 128, 128)
MeshFile=WET_TYRE_RR.GMT CollTarget=False HATTarget=False LODIn=(10000.0) LODOut=(600.0) ShadowReceiver=True Shadowcaster=(True, Solid, 128, 128)
//------------------------------------DISCGLOW---------------------------------------------
MeshFile=<12>_DISCGLOW_RR.GMT CollTarget=False HATTarget=False LODIn=(0.00) LODOut=(100.0)
MeshFile=<12>_RIM_RR.GMT CollTarget=False HATTarget=False LODIn=(0.00) LODOut=(350.0) ShadowReceiver=True
}

Instance=RRSpindle
{
Moveable=True
MeshFile=<12>_BRAKE_RR.GMT CollTarget=False HATTarget=False LODIn=(0.00) LODOut=(250.0) ShadowReceiver=True

<OPTION> and <PRIME> part wil be filled out based on the upgrades file

UpgradeType="Tyre Compounds"
{
Instance="OPTION"
Instance="PRIME"

UpgradeLevel="Soft/Medium"
{
Description=""
Price=0
GEN=<OPTION>=SOFT
GEN=<PRIME>=MEDIUM
HDV=[GENERAL]
HDV=TireBrand=F12014_Tyres_Soft-Medium
}

UpgradeLevel="Soft/Hard"
{
Description=""
Price=0
GEN=<OPTION>=SOFT
GEN=<PRIME>=HARD
HDV=[GENERAL]
HDV=TireBrand=F12014_Tyres_Soft-Hard
}

UpgradeLevel="Medium/Hard"
{
Description=""
Price=0
GEN=<OPTION>=MEDIUM
GEN=<PRIME>=HARD
HDV=[GENERAL]
HDV=TireBrand=F12014_Tyres_Meduim-Hard
}

UpgradeLevel="Super-Soft/Soft"
{
Description=""
Price=0
GEN=<OPTION>=SSOFT
GEN=<PRIME>=SOFT
HDV=[GENERAL]
HDV=TireBrand=F12014_Tyres_SuperSoft-Soft
}
}

However in this way only the first tire's colour is displayed despite in the TBC file there is 4 compunds.

So i have exported the form.mas where I realized the following things:

soft_tyre_lf
soft_tyre_rf
soft_tyre_lr
soft_tyre_rr

GMTS is connected with the following dds.

tyres_type_soft
tyres_type_soft00
tyres_type_soft01
tyres_type_soft02
tyres_type_soft03
tyres_type_medium
tyres_type_medium01
etc...

However I figured out that Automobilista can't handle multiple tyre types so I did the following.

in soft_tyre_lf, soft_tyre_rf, soft_tyre_lr, soft_tyre_rr gmts i modified the materal data and change the frames
from 0,1,2,3
to 0,1,2,3,4,5,6,7,8,9,10,11
becasue in Automobilsita each compund can handle 3 frames.

So what i have done after this is that i changed the names of dds files

from
tyres_type_ssoft
tyres_type_ssoft00
tyres_type_ssoft01
tyres_type_ssoft02
to
tyres_type_soft
tyres_type_soft00
tyres_type_soft01
tyres_type_soft02

from
tyres_type_medium00
tyres_type_medium01
tyres_type_medium02
to
tyres_type_soft03
tyres_type_soft04
tyres_type_soft05

from
tyres_type_medium00
tyres_type_medium01
tyres_type_medium02
to
tyres_type_soft06
tyres_type_soft07
tyres_type_soft08

from
tyres_type_hard00
tyres_type_hard01
tyres_type_hard02
to
tyres_type_soft09
tyres_type_soft10
tyres_type_soft11

In this way 4 compunds in the following order:
Supersoft
Soft
Medium
Hard

So in the tbc this sequence needs to be the same

I have packed all these data into mas and overwrote the original one.

And that made the trick it works fine.

I think in other mods it should work the same.

If anyone is interested I can send you the mas and the tbc files.
 

Latest News

Do you prefer licensed hardware?

  • Yes for me it is vital

  • Yes, but only if it's a manufacturer I like

  • Yes, but only if the price is right

  • No, a generic wheel is fine

  • No, I would be ok with a replica


Results are only viewable after voting.
Back
Top