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
(17 intermediate revisions by one other user not shown) | |||
Line 4: | Line 4: | ||
|- style="vertical-align:top" | |- style="vertical-align:top" | ||
| width="10px" | '''1''' | | width="10px" | '''1''' | ||
− | | width="500px" | | + | | width="500px" | [[File:Truck_accessory_create_folder.jpg]] |
| Create folder called '''02_truck_accessory'''. | | Create folder called '''02_truck_accessory'''. | ||
|- style="vertical-align:top" | |- style="vertical-align:top" | ||
| width="10px" | '''2''' | | width="10px" | '''2''' | ||
− | | width="500px" | | + | | width="500px" | [[File:Truck_accessory_create_base_and_ma.jpg]] |
| Inside '''02_truck_accessory''' create folders: | | Inside '''02_truck_accessory''' create folders: | ||
* '''mod_accessory''' - where you will put the new resources | * '''mod_accessory''' - where you will put the new resources | ||
Line 14: | Line 14: | ||
|- style="vertical-align:top" | |- style="vertical-align:top" | ||
| width="10px" | '''3''' | | width="10px" | '''3''' | ||
− | | width="500px" | | + | | width="500px" | [[File:Truck_accessory_create_def_tree.jpg]] |
| Inside '''mod_accessory''' create folders: | | Inside '''mod_accessory''' create folders: | ||
* '''def''' | * '''def''' | ||
** '''vehicle''' | ** '''vehicle''' | ||
*** '''truck''' | *** '''truck''' | ||
− | **** ''' | + | **** '''renault_mangnum''' |
***** '''accessory''' | ***** '''accessory''' | ||
****** '''f_grill''' | ****** '''f_grill''' | ||
|- style="vertical-align:top" | |- style="vertical-align:top" | ||
| width="10px" | '''4''' | | width="10px" | '''4''' | ||
− | | width="500px" | | + | | 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" | [[File:Truck_accessory_definition_description.jpg]] |
| 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 level when the accessory is unlocked. If zero it will be unlocked immediately on game start. | ||
# 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" | [[File:Truck_accessory_create_vtufr.jpg]] |
| Inside '''mod_accessory''' create folders: | | Inside '''mod_accessory''' create folders: | ||
* '''vehicle''' | * '''vehicle''' | ||
** '''truck''' | ** '''truck''' | ||
*** '''upgrade''' | *** '''upgrade''' | ||
− | + | **** '''frontgrill''' | |
− | + | ***** '''renault_magnum_2009''' | |
+ | |- style="vertical-align:top" | ||
+ | | width="10px" | '''7''' | ||
+ | | width="500px" | [[File:Truck_accessory_create_bme.jpg]] | ||
+ | | Inside the '''base''' folder create folders: | ||
+ | |||
+ | * material | ||
+ | ** environment | ||
+ | |||
|- style="vertical-align:top" | |- style="vertical-align:top" | ||
| width="10px" | '''6''' | | width="10px" | '''6''' | ||
− | | width="500px" | | + | | width="500px" | [[File:Truck_accessory_copy_basic_mats.jpg]] |
− | | | + | | 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 74: | Line 82: | ||
=See also= | =See also= | ||
− | + | * [[Tutorials/Beginners/Truck_accessory#1._How_to_configure_new_truck_accessory_mod|Tutorial overview]] | |
− | [ | + | * [https://www.youtube.com/watch?v=1HSZegIfXso Video version of the tutorial] |