unlike them Posted November 29, 2018 Share Posted November 29, 2018 I want to make birdnests and trash bags self destroy on close, is it possible? I cannot find any such property on other containers. Link to comment Share on other sites More sharing options...
Dracos99 Posted November 29, 2018 Share Posted November 29, 2018 i am not sure if it works with everything, but look at loot container 34, which is right below the birds nest. This is the air drop container and it destroys. I think the code you need is destroy_on_close="true" Link to comment Share on other sites More sharing options...
bbautista Posted November 29, 2018 Share Posted November 29, 2018 <lootcontainer id="111" count="1" size="8,4" destroy_on_close="true" sound_open="UseActions/open_cardboard" sound_close="UseActions/close_cardboard" loot_quality_template="baseTemplate"> <item group="NewPlayerAll"/> </lootcontainer> Here you go - - - Updated - - - i am not sure if it works with everything, but look at loot container 34, which is right below the birds nest. This is the air drop container and it destroys. I think the code you need is destroy_on_close="true" we were replying right about the same time lol sorry Link to comment Share on other sites More sharing options...
unlike them Posted November 29, 2018 Author Share Posted November 29, 2018 thank you friends! Link to comment Share on other sites More sharing options...
451443625 Posted November 29, 2018 Share Posted November 29, 2018 I just learned to do Xpaths mod, I don’t know if this is right. I want to make it into an Xpaths mod <configs> <append xpath="/lootcontainers/lootprobtemplates/lootcontainer[@id=10]"><spectrum destroy_on_close="true"/></append> <append xpath="/lootcontainers/lootprobtemplates/lootcontainer[@id=25]"><spectrum destroy_on_close="true"/></append> </configs> Link to comment Share on other sites More sharing options...
Boldero Posted November 29, 2018 Share Posted November 29, 2018 Has this been confirmed it works? I play dead is dead and always destroy nests and trash after looting with no future loot respawning as it helps me remember where I have been. Link to comment Share on other sites More sharing options...
451443625 Posted November 29, 2018 Share Posted November 29, 2018 Garbage dump and nest, the container will disappear after searching <?xml version="1.0" encoding="utf-8"?> <configs> <remove xpath="/lootcontainers/lootcontainer[@id=10]" /> <remove xpath="/lootcontainers/lootcontainer[@id=25]" /> <append xpath="/lootcontainers"> <lootcontainer id="10" count="0,2" size="5,3" destroy_on_close="true" sound_open="UseActions/open_garbage" sound_close="UseActions/close_garbage" loot_quality_template="baseTemplate"> <item group="junk"/> </lootcontainer> <lootcontainer id="25" count="1,3" size="4,3" destroy_on_close="true" sound_open="UseActions/open_garbage" sound_close="UseActions/close_garbage" loot_quality_template="baseTemplate"> <item name="foodEgg" count="1" prob="0.25"/> <item name="resourceFeather" count="4,8" prob="0.75"/> </lootcontainer> </append> </configs> Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.