MrSamuelAdams
New member
I love the delete all setting, but sometimes it's a bit extreme. How can I go about making a mod to delete backpack on death but KEEP your toolbelt on death.
Thank you!
Thank you!
Yeah, so i'm newer to trying to mod. Is something like you made I could make as a XML config and just place into the mods folder? Sorry for the noob question.Ah, I misread. I think you could make a game event that removes items from the backpack on death easy enough. Maybe something like:
<action_sequence name="clear_backpack">
<property name="action_type" value="Game" />
<action class="RemoveItems">
<property name="items_location" value="Backpack" />
</action>
</action_sequence>
Just add a small effect_group to something like buffStatusCheck01 with a CallGameEvent trigger when you die. Totally untested but seems like it should work.
Yes, though you need to use xpath for it to change the code. Append would work in this situationYeah, so i'm newer to trying to mod. Is something like you made I could make as a XML config and just place into the mods folder? Sorry for the noob question.![]()