I am currently trying to mod a BDF chassis for my trailer mod, but I would like to get some tips on how to "overwrite" the "suitable_for[]" in the truck def files from SCS.
It works when I use exactly the same unit names as SCS. But there is a problem: If another mod has the same units as well (for example default edited truck mods), the game crashes.
I do not know if I should rename the units for this to work. Is that a good way? Are there better ways?
example:
I want to use the interior of the ActrosMP4 in my edited cabin.
The unit name of my new, edited cabin is: swp_giga.mercedes.actros2014.cabin
That is what the exclusive.sii looks like:
Code: Select all
SiiNunit
{
accessory_interior_data: exclusive.mercedes.actros2014.interior
{
name: "@@exclusive@@ GigaSpace"
price: 39720
unlock: 12
icon: "interior_mercedes_actros_2014_ecl"
model: "/vehicle/truck/mercedes_actros_2014/interior/model.pmd"
collision: "/vehicle/truck/mercedes_actros_2014/interior/model.pmc"
animated_model: "/vehicle/truck/mercedes_actros_2014/interior/anim.pmd"
active_mirrors_part: a_mirrors
passive_mirrors_part: p_mirrors
look: exclusive
variant: exclusive
@include "animations.sui"
@include "sound.sui"
dashboard_path: "/ui/dashboard/mercedes_actros_2014.sii"
gps_path: "/ui/gps.sii"
glass_panes[]: .mercedes.actros2014.pane.front
glass_panes[]: .mercedes.actros2014.pane.left
glass_panes[]: .mercedes.actros2014.pane.right
glass_panes[]: .mercedes.actros2014.pane.top
suitable_for[]: "gigaspace.mercedes.actros2014.cabin"
suitable_for[]: "gs_8x4.mercedes.actros2014.cabin"
ext_model: "/vehicle/truck/upgrade/ext_interior/mercedes_actros_2014/stock.pmd"
ext_variant: cab_hi_eu
ext_look: exclusive
defaults[]: "/def/vehicle/truck/mercedes.actros2014/accessory/steering_w/exclusive.sii"
}
@include "glass.dat"
}
So I have to "overwrite" those files OR copy this file with a new unit name and add the suitable_for[]: for my cabin:
Code: Select all
SiiNunit
{
accessory_interior_data: MY_exclusive.mercedes.actros2014.interior
{
name: "@@exclusive@@ GigaSpace"
price: 39720
unlock: 12
icon: "interior_mercedes_actros_2014_ecl"
model: "/vehicle/truck/mercedes_actros_2014/interior/model.pmd"
collision: "/vehicle/truck/mercedes_actros_2014/interior/model.pmc"
animated_model: "/vehicle/truck/mercedes_actros_2014/interior/anim.pmd"
active_mirrors_part: a_mirrors
passive_mirrors_part: p_mirrors
look: exclusive
variant: exclusive
@include "animations.sui"
@include "sound.sui"
dashboard_path: "/ui/dashboard/mercedes_actros_2014.sii"
gps_path: "/ui/gps.sii"
glass_panes[]: .mercedes.actros2014.pane.front
glass_panes[]: .mercedes.actros2014.pane.left
glass_panes[]: .mercedes.actros2014.pane.right
glass_panes[]: .mercedes.actros2014.pane.top
suitable_for[]: "gigaspace.mercedes.actros2014.cabin"
suitable_for[]: "gs_8x4.mercedes.actros2014.cabin"
suitable_for[]: "swp_giga.mercedes.actros2014.cabin"
ext_model: "/vehicle/truck/upgrade/ext_interior/mercedes_actros_2014/stock.pmd"
ext_variant: cab_hi_eu
ext_look: exclusive
defaults[]: "/def/vehicle/truck/mercedes.actros2014/accessory/steering_w/exclusive.sii"
}
@include "glass.dat"
}
Otherwise, when I use the same unit as scs (exclusive.mercedes.actros2014.interior) and only add suitable_for[]: "swp_giga.mercedes.actros2014.cabin", it will conflict with other mods that do the same.
What is the best way to use the e.g. the SCS interior with an edited cabin (but still have no mod conflicts)?