Jump to content
Sign in to follow this  
Chris Dunaway

What connects a loot container to a particular vehicle?

Recommended Posts

Posted (edited)

What is the "link" between a vehicle and what storage container it uses?


To be clear, I'm not looking for how to increase the vehicle storage.  I want to know what connects a particular loot container to a particular vehicle.

In the loot.xml file, this line appears:

<!-- vehicleMinibike storage --> <lootcontainer id="77" count="0" size="7,2" sound_open="UseActions/open_shopping_basket" open_time="0" sound_close="UseActions/close_shopping_basket" loot_quality_template="qualBaseTemplate"> </lootcontainer>

The comment indicates that this is the storage for the minibike .

In vehicles.xml there is a section for the minibike named storage:
<property class="storage"> <property name="class" value="Storage"/> <property name="display_name" value="basket"/> <property name="slot_type" value="basket"/> <property name="mesh" value="basket"/> <property name="transform" value="basket"/> <property name="parent_part" value="chassis"/> </property>

But I fail to see how the game knows that lootcontainer id="77" belongs to the minibike.

Where is the "connection"? Is there some configuration somewhere that links them up?
Edited by Chris Dunaway (see edit history)

Share this post

Link to post
Share on other sites

I moved your topic. The Mods section is only for posting mods, Questions can be asked in "Discussion and Requests". 

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Create New...