Object Fill Level (Prefab)

  • Object Fill Level (Prefab)
  • Object Fill Level (Prefab)
KingMods Logo
KingMods tarafından yayınlandı
Bu modu talep edin
V1.0.0.0
3 319

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.

Sunucu
Konsollar
Değişiklik günlüğü
1
Kredi
  • tn4799
Yorumlar
0