danielspoa
New member
in the end of entityclasses.xml you have stuff like
<entity_class name="EntityLootContainerRegular">
<property name="Mesh" value="LootContainers/zpackPrefab"/>
<property name="ModelType" value="Custom"/>
<property name="Prefab" value="Backpack"/>
<property name="Class" value="EntityLootContainer"/>
<property name="Parent" value="Backpack"/>
<property name="IsEnemyEntity" value="false"/>
<property name="TimeStayAfterDeath" value="300"/>
<property name="LootListOnDeath" value="70"/> <!-- used to determine container X/Y size -->
<property name="Faction" value="none"/>
</entity_class>
notice the "TimeStayAfterDeath" property.. I think this is what you are looking for, but I didn't test it
<entity_class name="EntityLootContainerRegular">
<property name="Mesh" value="LootContainers/zpackPrefab"/>
<property name="ModelType" value="Custom"/>
<property name="Prefab" value="Backpack"/>
<property name="Class" value="EntityLootContainer"/>
<property name="Parent" value="Backpack"/>
<property name="IsEnemyEntity" value="false"/>
<property name="TimeStayAfterDeath" value="300"/>
<property name="LootListOnDeath" value="70"/> <!-- used to determine container X/Y size -->
<property name="Faction" value="none"/>
</entity_class>
notice the "TimeStayAfterDeath" property.. I think this is what you are looking for, but I didn't test it
