Difference between revisions of "Tutorials/Beginners/Truck accessory/1. How to configure new truck accessory mod"
< Tutorials | Beginners | Truck accessory
Jump to navigation
Jump to search
(11 intermediate revisions by one other user not shown) | |||
Line 19: | Line 19: | ||
** '''vehicle''' | ** '''vehicle''' | ||
*** '''truck''' | *** '''truck''' | ||
− | **** ''' | + | **** '''renault.mangnum''' |
***** '''accessory''' | ***** '''accessory''' | ||
****** '''f_grill''' | ****** '''f_grill''' | ||
Line 25: | Line 25: | ||
| width="10px" | '''4''' | | width="10px" | '''4''' | ||
| width="500px" | [[File:Truck_accessory_create_custom_g_sii.jpg]] | | width="500px" | [[File:Truck_accessory_create_custom_g_sii.jpg]] | ||
− | | Inside '''/02_truck_accessory/mod_accessory/def/vehicle/truck/ | + | | 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: | And paste there the following example definition: | ||
Line 47: | Line 47: | ||
|- style="vertical-align:top" | |- style="vertical-align:top" | ||
| width="10px" | '''4''' | | width="10px" | '''4''' | ||
− | | width="500px" | | + | | width="500px" | IMG |
| Now change definition as you want: | | Now change definition as you want: | ||
Line 53: | Line 53: | ||
# The name is the name of the accessory in truck configuration screen. You can call it in any way. | # 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 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 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/truck/upgrade/frontgrill/renault_magnum_2009/custom_grill.pmd"'''. | # 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/truck/upgrade/frontgrill/renault_magnum_2009/custom_grill.pmd"'''. | ||
|- style="vertical-align:top" | |- style="vertical-align:top" | ||
| width="10px" | '''5''' | | width="10px" | '''5''' | ||
− | | width="500px" | | + | | width="500px" | IMG |
| Inside '''mod_accessory''' create folders: | | Inside '''mod_accessory''' create folders: | ||
* '''vehicle''' | * '''vehicle''' | ||
Line 66: | Line 65: | ||
***** '''renault_magnum_2009''' | ***** '''renault_magnum_2009''' | ||
|- style="vertical-align:top" | |- style="vertical-align:top" | ||
− | | width="10px" | ''' | + | | width="10px" | '''6''' |
− | | width="500px" | | + | | width="500px" | IMG |
| Inside the '''base''' folder create folders: | | Inside the '''base''' folder create folders: | ||
Line 75: | Line 74: | ||
|- style="vertical-align:top" | |- style="vertical-align:top" | ||
| width="10px" | '''6''' | | width="10px" | '''6''' | ||
− | | width="500px" | | + | | width="500px" | IMG |
| To the '''environment''' copy '''generic_s.tga''' and '''vehicle_reflection.tobj''' files from the '''BlenderTools-1.2\data\sample_base\material\environment''' folder which you can find in the folder where you extracted '''SCS Blender Tools'''. | | To the '''environment''' copy '''generic_s.tga''' and '''vehicle_reflection.tobj''' files from the '''BlenderTools-1.2\data\sample_base\material\environment''' folder which you can find in the folder where you extracted '''SCS Blender Tools'''. | ||
|} | |} | ||
Line 82: | Line 81: | ||
=See also= | =See also= | ||
− | + | ||
− | + | [[Category:TODO]] |