• If you have a mod, tool or prefab, please use the Resources section. Click Mods at the top of the forums.

New Vehicle Cosmetics and Default Opening

AaronG85

Refugee
Creating a new mod and was wondering if there was a way to remove 'Cosmetics' from vehicles and make the default action open to the Storage and not drive? or a way to remove Open all together?

 
Last edited by a moderator:
Creating a new mod and was wondering if there was a way to remove 'Cosmetics' from vehicles and make the default action open to the Storage and not drive? or a way to remove Open all together?


For the cosmetic part, you should just need to remove the following tag

    <property name="Tags" value="vehicle,canHaveCosmetic"/>




Remove canHaveCosmetic and it should prevent the use of dyes

 
For the cosmetic part, you should just need to remove the following tag

    <property name="Tags" value="vehicle,canHaveCosmetic"/>




Remove canHaveCosmetic and it should prevent the use of dyes
Thats what i thought but still appears

 
Thats what i thought but still appears
Does it still allow you to apply dyes though? 

Another thing you can try is remove the vehicle tab for the dyes in the item_modifiers file

    <item_modifier name="modDyeWhite" installable_tags="clothing,armor,weapon,tool,vehicle,drone" modifier_tags="dye" type="attachment" cosmetic_install_chance="0">




If you are simply looking to remove it from the window itself, you would have to start looking at the xui files then, and the windows one in the XUI folder is where I would start.

 
Thats what i thought but still appears


Did you try spawning a new vehicle? I know if you change the storage size with a mod it will only apply to newly crafted or spawned vehicles. Or like when tfp changed weapon and tool mod slots, the items you already had kept the old number of slots.

 
Back
Top