Jump to content

feiyi

Members
  • Posts

    5
  • Joined

  • Last visited

Posts posted by feiyi

  1. 6 minutes ago, Red Eagle LXIX said:

    Correct, id is not used anymore.  EDIT: Also please see the edit above, junk is already in use, name it something else, I changed to add a suggestion.

    In other words, the new version binds the container according to the name, not the ID, so I just need to add a new name to bind?

    1 minute ago, feiyi said:

    In other words, the new version binds the container according to the name, not the ID, so I just need to add a new name to bind?

    <lootcontainer id="220" name="junk_items" count="0,2" size="4,3" sound_open="UseActions/open_backpack" sound_close="UseActions/close_backpack" open_time="1.5" loot_quality_template="qualBaseTemplate">
      
     
    <append xpath="/entity_classes/entity_class[@name='zombieTemplateMale']">
    	<property name="LootListOnDeath" value="junk_items" />
    </append>

     

  2. Just now, Red Eagle LXIX said:

    Did you also change the pointer to it?

     

    <append xpath="/entity_classes/entity_class[@name='zombieTemplateMale']">
    
      <property name="LootListOnDeath" value="junk"/>
    
    </append>
    
    

     

    <append xpath="/entity_classes/entity_class[@name='zombieTemplateMale']">
    	<property name="LootListOnDeath" value="junk" />
    </append>

    Value should not be ID? Before A20, I always used ID

  3. 40 minutes ago, Red Eagle LXIX said:

     

     

    You need to give the container a name not an ID anymore.

    I added the specified name, but still reported an error

    <lootcontainer id="220" name="junk" count="0,2" size="4,3" sound_open="UseActions/open_backpack" sound_close="UseActions/close_backpack" open_time="1.5" loot_quality_template="qualBaseTemplate">

     

    52 minutes ago, Red Eagle LXIX said:

     

     

    You need to give the container a name not an ID anymore.

    A legal container contains ID and name. I once added ID and name. Name exists on the original basis. ID is also independent and unused, but red ink will jump every time I search

×
×
  • Create New...