Drakner Posted November 5, 2018 Share Posted November 5, 2018 im trying to make it so my turrents no longer require ammo, ive tryed adding infinite ammo= "true" in the blocks xtml but no luck Link to comment Share on other sites More sharing options...
Kubikus Posted November 5, 2018 Share Posted November 5, 2018 im trying to make it so my turrents no longer require ammo, ive tryed adding infinite ammo= "true" in the blocks xtml but no luckI tried that once, and didn't get it to work, so I made a "dummy"-ammo, increased the stacksize to 20,000 and made it craftable with 1 wood. Link to comment Share on other sites More sharing options...
Drakner Posted November 5, 2018 Author Share Posted November 5, 2018 ill have to give that a shot ty Link to comment Share on other sites More sharing options...
Drakner Posted November 5, 2018 Author Share Posted November 5, 2018 im getting ERR loading and parsing 'recipes.xml' (no item/block with name AutoGunRounds' existing this is my recipe <recipe name="AutoGunRounds" count="100"> <ingredient name="wood" count="100"/> </recipe> this is what i replaced my autoturrent ammo with <property name="AmmoItem" value="AutogunRounds"/> and this is in my items <item id="1026" name="AutogunRounds"> <property name="Meshfile" value="Items/Weapons/Ranged/Pistol/9mm_bulletPrefab"/> <property name="Material" value="brass"/> <property name="HoldType" value="21"/> <property name="Stacknumber" value="20000"/> <!-- STK ammo --> <property name="CraftingSkillGroup" value="craftSkillGuns"/> <property name="EconomicValue" value="14"/> <property name="Group" value="Ammo/Weapons"/> </item> Link to comment Share on other sites More sharing options...
Telric Posted November 5, 2018 Share Posted November 5, 2018 Check the caps. They matter in xml. In recipes, the g is caps, but in items and the property, you have lower. Should fix it. Link to comment Share on other sites More sharing options...
Drakner Posted November 5, 2018 Author Share Posted November 5, 2018 Check the caps. They matter in xml. In recipes, the g is caps, but in items and the property, you have lower. Should fix it. thank you! i didnt even realise lol Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.