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
Line 54: | Line 54: | ||
# 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/ | + | # 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" | ||
+ | | width="10px" | '''5''' | ||
+ | | width="500px" | IMG | ||
+ | | Inside '''mod_accessory''' create folders: | ||
+ | * '''vehicle''' | ||
+ | ** '''truck''' | ||
+ | *** '''upgrade''' | ||
+ | ***** '''frontgrill''' | ||
+ | ****** '''renault_magnum_2009''' | ||
+ | |- style="vertical-align:top" | ||
+ | | width="10px" | '''6''' | ||
+ | | width="500px" | IMG | ||
+ | | | ||
|} | |} |
Revision as of 15:11, 26 February 2016
1 | IMG | Create folder called 02_truck_accessory. |
2 | IMG | Inside 02_truck_accessory create folders:
|
3 | IMG | Inside mod_accessory create folders:
|
4 | 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: SiiNunit { accessory_addon_data : unit.name { name: "My front grill" price: 1 unlock: 0 icon: "f_grill_09" exterior_model: "model path" } } And keep the file opened. |
4 | IMG | Now change definition as you want:
|
5 | IMG | Inside mod_accessory create folders:
|
6 | IMG |