Croslely Posted October 17, 2020 Share Posted October 17, 2020 I wanna gain ammo's cartridges after every guns shot. because brass is not enough... I cant see anywhere about 'shot' or 'gain items' in buffs.xml or any xml.. how can I do to make mod about these function plz help me. Link to comment Share on other sites More sharing options...
Mihail Posted October 17, 2020 Share Posted October 17, 2020 You should be able to. In items, for the firearm in question, under action0 <property name="Create_item" value="resourceBulletCasing"/> Link to comment Share on other sites More sharing options...
Vampirenostra Posted October 18, 2020 Share Posted October 18, 2020 Same happens when you drink a potion water/yuka/beer etc... Link to comment Share on other sites More sharing options...
FranticDan Posted October 18, 2020 Share Posted October 18, 2020 doesn't work unfortunately (I tried with scrap brass) Link to comment Share on other sites More sharing options...
Gouki Posted October 18, 2020 Share Posted October 18, 2020 Hi Croslely If you want brass, why don't you install a mod that adds brass or the creation of brass when mixing materials, I use mine, brass is obtained from zinc and copper mixed in the cement mixer and a compound is formed that melts in the forge , there's also the Meancloud mod (I think it's called yes), which adds boulders on the copper and zinc surface. Regards Link to comment Share on other sites More sharing options...
convergent Posted October 19, 2020 Share Posted October 19, 2020 Also, if you look at the dev comments in item modifications.xml there is specific mention of a brass catcher. Link to comment Share on other sites More sharing options...
Liesel Weppen Posted October 19, 2020 Share Posted October 19, 2020 Nice idea. Besides that brass is not really rare since you can melt dukes to brass and easily get lots of dukes by trader quests (and selling stuff), i always wondered why in an apocalypse where ressources are more or less rare deosn't pick up the used bulletcasings. Especially if you melt brass and craft new amunition yourself anyway. Link to comment Share on other sites More sharing options...
Mihail Posted October 19, 2020 Share Posted October 19, 2020 15 hours ago, convergent said: Also, if you look at the dev comments in item modifications.xml there is specific mention of a brass catcher. I'm not seeing that in my item_modifiers.xml. Any chance you could paste that into the thread? I literally started working on a brass catching mod this weekend. I was wrong about adding to the action since firearms don't appear to work that way. - Anyone familiar with how onSelfItemLost works? That was my next theoretical approach to this problem. Link to comment Share on other sites More sharing options...
Vampirenostra Posted October 19, 2020 Share Posted October 19, 2020 Just tried adding jars as in boiledWatter item.... it doesn't work... Guess the problem is in the superclass Eat and Drink and it is not inherited by Weapons <property name="Class" value="Eat"/> Link to comment Share on other sites More sharing options...
Mihail Posted October 21, 2020 Share Posted October 21, 2020 I have a lunatic idea: What if only a trader could open the brass catcher? That is, could we make a quest that is initialized by firing with the mod attached, that then increments a variable for each shot fired if the quest is active, and whose reward is brass casings in an amount equal to that variable? Link to comment Share on other sites More sharing options...
Vampirenostra Posted October 22, 2020 Share Posted October 22, 2020 that is way too complicated... you don't want a permanent quest just to get some casing... Link to comment Share on other sites More sharing options...
Iceburg71 Posted October 28, 2020 Share Posted October 28, 2020 Another thought on this would be that you don't want it to catch ALL casings. Maybe 60 percent. not all casings are re-useable after be fired. especially if fired multiple times already. So you need to have way to do that in the game. Link to comment Share on other sites More sharing options...
Vampirenostra Posted October 28, 2020 Share Posted October 28, 2020 7 hours ago, Iceburg71 said: Another thought on this would be that you don't want it to catch ALL casings. Maybe 60 percent. not all casings are re-useable after be fired. especially if fired multiple times already. So you need to have way to do that in the game. yep but you could still melt it... Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.