Jump to content

GG2015

Members
  • Posts

    67
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by GG2015

  1. So I keep getting warnings and apply not set, could someone tell me what is wrong with this code?

     

    <configs>
    <set xpath="/entityclasses/entity_class[@name='DroppedLootContainer']/property[@name='TimeStayAfterDeath']/@value">1800</set>
    </configs>
    
    

     

    Trying to change from

     

    <entity_class name="DroppedLootContainer"> <!-- used after a container block is destroyed -->
    <property name="Mesh" value="LootContainers/backpack_droppedPrefab"/>
    <property name="ModelType" value="Custom"/>
    <property name="Prefab" value="Backpack"/>
    <property name="Class" value="EntityLootContainer"/>
    <property name="Parent" value="Backpack"/>
    <property name="TimeStayAfterDeath" value="60"/>
    <property name="IsEnemyEntity" value="false"/>
    <property name="LootListOnDeath" value="4"/> <!-- used to determine container X/Y size -->
    <property name="Faction" value="none"/>
    </entity_class>
    

     

    To this.

     

    <entity_class name="DroppedLootContainer"> <!-- used after a container block is destroyed -->
    <property name="Mesh" value="LootContainers/backpack_droppedPrefab"/>
    <property name="ModelType" value="Custom"/>
    <property name="Prefab" value="Backpack"/>
    <property name="Class" value="EntityLootContainer"/>
    <property name="Parent" value="Backpack"/>
    <property name="TimeStayAfterDeath" value="1800"/>
    <property name="IsEnemyEntity" value="false"/>
    <property name="LootListOnDeath" value="4"/> <!-- used to determine container X/Y size -->
    <property name="Faction" value="none"/>
    </entity_class>
    

×
×
  • Create New...