We use necessary cookies to keep this website working, such as keeping you signed in and protecting forms. With your permission, we also use optional technologies to play embedded YouTube videos, measure site usage with Google Analytics, and show Google AdSense ads. You can accept all optional categories, reject them, or choose your preferences. You can change your choice at any time through Cookie Settings at the bottom of every page.
This prefab contains a script that allows to visually display the level of a storage with objects. The script is compatible with any building that has a storage.
To include the script in your mods you have to do the following:
- Put the script into your mod.
- add the script as "extraSourceFile".
- create a parent node in the i3d, which then gets all visual objects for a fillType as children.
- in the XML of the mod add another level at the storage at the single capacity entries and add there the entry "". At rootNode then the NodeIndex of the parent node must be entered.
In the prefab there is also a XML file, where you can have a look at the XML entry. However, this is only the relevant section.