berticus0001 Posted December 22, 2015 Share Posted December 22, 2015 Unload All Firearms Got 4 pistols, 3 are junk but the fourth isn't too bad. Shame I haven't read the book yet, there's 45 rounds in those other three. The games just teasing me now! Copy the item block below to the end of your items.xml (change id="xxx" to the next free index) to add a new (fake) ammo type that will allow you to unload your guns without the need to read the books first, then replace the lines that follow in each weapon to add the unload option to your weapons. (All line numbers are from a vanilla items.xml) The new "ammo" uses the 44 cylinder icon to show an empty chamber in your radial ammo options and will replace the bullet icon on your HUD to show the weapon is empty. <item id="xxx" name="Unload"> <property name="CustomIcon" value="44MagnumCylinder" /> <property name="CustomIconTint" value="617075" /> <property name="Meshfile" value="Items/Weapons/Ranged/Pistol/9mm_bullet" /> <property name="Material" value="brass" /> <property name="HoldType" value="21" /> <property name="Stacknumber" value="500" /> <property name="Weight" value="5" /> <property name="Group" value="Ammo/Weapons" /> <property class="Preview"> <property name="Zoom" value="18" /> <property name="Pos" value="0.1,0" /> <property name="Rot" value="10,-45,0" /> </property> <property class="Attributes"> <property name="GetQualityFromWeapon" value="true" /> <property name="EntityDamage" value="0,0" /> </property> <property name="ActionSkillGroup" value="Pistols"/> <property name="CraftingSkillGroup" value="Gun Smithing"/> </item> Pistol Line 1014¬ <property name="Magazine_items" value="9mmBullet,Unload" /> 44 Magnum Line 1072¬ <property name="Magazine_items" value="44MagBullet,Unload" /> Sawed-Off Shotgun Line 1130¬ <property name="Magazine_items" value="shotgunShell,Unload" /> mp5 Line 1196¬ <property name="Magazine_items" value="10mmBullet,Unload" /> AK47 Line 1262¬ <property name="Magazine_items" value="762mmBullet,Unload" /> Sniper Rifle Line 1146¬ <property name="Magazine_items" value="762mmBullet,Unload" /> Pump Shotgun Line 2968¬ <property name="Magazine_items" value="shotgunShell, shotgunSlug,Unload" /> Hunting Rifle Line 3142¬ <property name="Magazine_items" value="762mmBullet,Unload" /> ------------------------------------------------------------------------------- Extra! ----------- <item id="xxx" name="EmptyTank"> <property name="CustomIcon" value="gasCan" /> <property name="CustomIconTint" value="617075" /> <property name="Meshfile" value="Items/Weapons/Ranged/Pistol/9mm_bullet" /> <property name="Material" value="brass" /> <property name="HoldType" value="21" /> <property name="Stacknumber" value="500" /> <property name="Weight" value="5" /> <property name="Group" value="Ammo/Weapons" /> <property class="Preview"> <property name="Zoom" value="18" /> <property name="Pos" value="0.1,0" /> <property name="Rot" value="10,-45,0" /> </property> <property class="Attributes"> <property name="GetQualityFromWeapon" value="true" /> <property name="EntityDamage" value="0,0" /> </property> <property name="ActionSkillGroup" value="Pistols"/> <property name="CraftingSkillGroup" value="Gun Smithing"/> </item> -------- Chainsaw Line 1403¬ <property name="Magazine_items" value="gasCan,EmptyTank" /> Auger Line 1466¬ <property name="Magazine_items" value="gasCan,EmptyTank" /> NOTE: Didn't bother with the Blunderbus, if you're that desperate for 1 more round in that, my friend, you are in a bad way!! berticus0001 Link to comment Share on other sites More sharing options...
Clockwork Orange Posted December 22, 2015 Share Posted December 22, 2015 Lol at blunderbuss. The OCD in me did it anyways. Thanks for this, this is a great idea! Link to comment Share on other sites More sharing options...
wanderingShadow Posted December 26, 2015 Share Posted December 26, 2015 This works great for unloading guns. The only problem that I have is that every time you try and manual reload you stop moving for a breif moment, longer if your not quick about the release. Which is very bad if you are running for your life, such as backpedaling while shooting at a horde. Not a terrible problem if you just remember not to manual reload when in danger. Obviously this is due to no delay on the ammo swap menu. Not sure how easy this is to fix, just thought I would put the warning out there for anyone else using this. Link to comment Share on other sites More sharing options...
Gamer_62 Posted June 23, 2017 Share Posted June 23, 2017 Any chance making this work for Alpha 16 b119. Please and Pretty Please Link to comment Share on other sites More sharing options...
Kubikus Posted June 23, 2017 Share Posted June 23, 2017 Any chance making this work for Alpha 16 b119. Please and Pretty PleaseWhat about it is not working..? Link to comment Share on other sites More sharing options...
Gamer_62 Posted June 23, 2017 Share Posted June 23, 2017 i thought the button was "TAB and hold" but thats the menu now ,isn't it?? Link to comment Share on other sites More sharing options...
Kubikus Posted June 23, 2017 Share Posted June 23, 2017 i thought the button was "TAB and hold" but thats the menu now ,isn't it??It's the reload-key, should be "R" with default settings. Link to comment Share on other sites More sharing options...
Gamer_62 Posted June 23, 2017 Share Posted June 23, 2017 I tried "R and hold" but get nothing <item id="1466" name="Unload"> <property name="CustomIcon" value="44MagnumCylinder" /> <property name="CustomIconTint" value="617075" /> <property name="Meshfile" value="Items/Weapons/Ranged/Pistol/9mm_bullet" /> <property name="Material" value="brass" /> <property name="HoldType" value="21" /> <property name="Stacknumber" value="500" /> <property name="Weight" value="5" /> <property name="Group" value="Ammo/Weapons" /> <property class="Preview"> <property name="Zoom" value="18" /> <property name="Pos" value="0.1,0" /> <property name="Rot" value="10,-45,0" /> </property> <property class="Attributes"> <property name="GetQualityFromWeapon" value="true" /> <property name="EntityDamage" value="0,0" /> </property> <property name="ActionSkillGroup" value="Pistols"/> <property name="CraftingSkillGroup" value="Gun Smithing"/> </item> Link to comment Share on other sites More sharing options...
Kubikus Posted June 23, 2017 Share Posted June 23, 2017 Did you modify the weapons? Link to comment Share on other sites More sharing options...
n2n1 Posted June 23, 2017 Share Posted June 23, 2017 or https://7daystodie.com/forums/showthread.php?41679-Quick-Mod-Unloading-Ammo&p=437110&viewfull=1#post437110 Link to comment Share on other sites More sharing options...
Gamer_62 Posted June 23, 2017 Share Posted June 23, 2017 No i didnt modify weapon..and used this mod for ages But n2n1 worked thankyou Link to comment Share on other sites More sharing options...
Kubikus Posted June 23, 2017 Share Posted June 23, 2017 No i didnt modify weapon..and used this mod for ages But n2n1 worked thankyouCertainly none of these mods work without modifying the weapons. Link to comment Share on other sites More sharing options...
Gamer_62 Posted December 15, 2018 Share Posted December 15, 2018 Any chance we can get this into A17 ? Been using this for ever it seems. Link to comment Share on other sites More sharing options...
Tristam Posted December 16, 2018 Share Posted December 16, 2018 For those in A17, just scrap the gun and then cancel. Ammo pops out. Selling the guns also returns the ammo. Link to comment Share on other sites More sharing options...
Gamer_62 Posted December 16, 2018 Share Posted December 16, 2018 @Tristam..Thanks so much for your help Link to comment Share on other sites More sharing options...
Tristam Posted December 16, 2018 Share Posted December 16, 2018 @Gamer_62 my pleasure. Pay it forward. Link to comment Share on other sites More sharing options...
n2n1 Posted December 16, 2018 Share Posted December 16, 2018 I can not understand what problems the TFP that would embed it in vanilla... Link to comment Share on other sites More sharing options...
Gamida Posted December 16, 2018 Share Posted December 16, 2018 I think someone mentioned also if you click on modify it will remove ammo from a gun. Then just click complete to get out of it. Link to comment Share on other sites More sharing options...
berticus0001 Posted December 16, 2018 Author Share Posted December 16, 2018 This mod is now fully integrated into the game, just hold reload ® down to get the alt options and select the type you don't have, I sell the steel rounds at first so thats usually my go-to. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.