MrSamuelAdams Posted July 1 Share Posted July 1 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! Link to comment Share on other sites More sharing options...
bdubyah Posted July 4 Share Posted July 4 Isn't this already an option? Link to comment Share on other sites More sharing options...
BFT2020 Posted July 4 Share Posted July 4 That setting drops backpack on death. I believe OP wants tool belt to stay but everything in backpack gets deleted Link to comment Share on other sites More sharing options...
bdubyah Posted July 6 Share Posted July 6 (edited) 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. Edited July 6 by bdubyah (see edit history) Link to comment Share on other sites More sharing options...
MrSamuelAdams Posted July 9 Author Share Posted July 9 On 7/6/2024 at 12:06 AM, bdubyah said: 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. 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. 😕 Link to comment Share on other sites More sharing options...
BFT2020 Posted July 9 Share Posted July 9 7 hours ago, MrSamuelAdams said: 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. 😕 Yes, though you need to use xpath for it to change the code. Append would work in this situation Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now