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 1: | Line 1: | ||
{{TutorialNavigation|next=2. How to create model of front grill accessory}} | {{TutorialNavigation|next=2. How to create model of front grill accessory}} | ||
+ | |||
+ | '''TODO: Fix images containing renault.magnum* folder name''' | ||
{| class="wikitable" width="100%" | {| class="wikitable" width="100%" | ||
Line 19: | Line 21: | ||
** '''vehicle''' | ** '''vehicle''' | ||
*** '''truck''' | *** '''truck''' | ||
− | **** ''' | + | **** '''renault_mangnum''' |
***** '''accessory''' | ***** '''accessory''' | ||
****** '''f_grill''' | ****** '''f_grill''' | ||
Line 25: | Line 27: | ||
| 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 55: | Line 57: | ||
# The level when the accessory is unlocked. If zero it will be unlocked immediately on game start. | # 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/ | + | # 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''' |
Revision as of 16:47, 29 February 2016
TODO: Fix images containing renault.magnum* folder name