Changes

Jump to navigation Jump to search
no edit summary
***** '''accessory'''
****** '''f_grill'''
|- style="vertical-align:top"
| width="10px" | '''4'''
| width="500px" | IMG
| Inside '''/02_truck_accessory/mod_accessory/def/vehicle/truck/renault.magnum/accessory/f_grill''' create file called '''custom_g.sii''' which will contain definition of the grill.
 
And paste there the following example definition:
 
<pre>
SiiNunit
{
accessory_addon_data : unit.name
{
name: "My front grill"
price: 1
unlock: 0
icon: "f_grill_09"
exterior_model: "model path"
}
}
 
</pre>
 
And keep the file opened.
|- style="vertical-align:top"
| width="10px" | '''4'''
| width="500px" | IMG
| Now change definition as you want:
 
# "unit.name" must be set to some '''unique''' value - each component divided by dot can have '''max 12 characters'''. For example the good name will be '''custom.amazing.renault.f_grill'''
# The name is the name of the accessory in truck configuration screen. You can call it in any way.
# The price is a price of your accessory in game base currency (€ for ETS2, $ for ATS).
# The icon is a image that is displayed in truck configuration screen. We will leave the image at the moment as '''f_grill_09'''.
# The exterior_model is a model of the grill. It must a path to the '''.pmd''' file you will get after converting the data. So for this it will be: '''"/vehicle/trucl/upgrade/frontgrill/renault_magnum_2009/custom_grill.pmd"'''.
 
|}
developer
1,626
edits

Navigation menu