Data Posted August 6, 2018 Share Posted August 6, 2018 i want to make 9mm from using iron aswell as keeping the brass types so i copied the recipes and items (changed the item number) <item id="1512" name="9mmBulletiron"> <property name="CustomIcon" value="9mmBulletiron"/> <property name="Meshfile" value="Items/Weapons/Ranged/Pistol/9mm_bulletPrefab"/> <property name="Material" value="Iron"/> <property name="HoldType" value="21"/> <property name="Stacknumber" value="500"/> <!-- STK ammo --> <property name="CraftingSkillGroup" value="craftSkillGuns"/> <property name="EconomicValue" value="14"/> <property name="Group" value="Ammo/Weapons"/> </item> <item id="1513" name="bulletCasingiron"> <property name="CustomIcon" value="bulletCasingiron"/> <property name="Meshfile" value="Items/Crafting/bullet_casingPrefab"/> <property name="Material" value="Iron"/> <property name="HoldType" value="21"/> <property name="Stacknumber" value="500"/> <!-- STK resource --> <property name="EconomicValue" value="25"/> <property name="EconomicBundleSize" value="5"/> <property name="Group" value="Resources,Ammo/Weapons"/> <property name="CraftingSkillGroup" value="craftSkillGuns"/> </item> <recipe name="bulletCasingiron" count="1" craft_area="forge" craft_tool="anvil" material_based="true"> <ingredient name="unit_iron" count="2"/> <ingredient name="unit_clay" count="1"/> </recipe> <recipe name="9mmBulletiron" count="1" craft_area="workbench"> <ingredient name="bulletTip" count="1"/> <ingredient name="gunPowder" count="1"/> <ingredient name="bulletCasingiron" count="1"/> </recipe> im missing something as nothing shows up in the forge to make the casings or in the workbench icons have been made ---------------------- ok fixed it, i thought i had to change the material to "iron" but keeping as brass, works, dunno why or how, but it works Link to comment Share on other sites More sharing options...
DUST2DEATH Posted August 6, 2018 Share Posted August 6, 2018 For Iron, Material value="metal". <item id="151" name="9mmBulletiron"> <property name="Meshfile" value="Items/Weapons/Ranged/Pistol/10mm_bulletPrefab"/> <property name="Material" value="metal"/> <property name="HoldType" value="21"/> <property name="Stacknumber" value="500"/> <property name="CraftingSkillGroup" value="craftSkillGuns"/> <property name="EconomicValue" value="17"/> <property name="Group" value="Ammo/Weapons"/> </item> <recipe name="9mmBulletiron" count="1" craft_area="forge" material_based="true" craft_time = "1" craft_exp_gain="0"> <ingredient name="unit_iron" count="1"/> </recipe> Link to comment Share on other sites More sharing options...
Data Posted August 7, 2018 Author Share Posted August 7, 2018 and now its not working today, nothing changed from last night, just no damage to anything both the 9mm iron and 762 worked perfect last night today nothing tried changing to material metal, that didnt work damn annoying if i was to send someone my items xml, could they have a look, as i just cant figure it out im on the discord - Android_Data Link to comment Share on other sites More sharing options...
Haidrgna Posted August 7, 2018 Share Posted August 7, 2018 Did you set rays for your new ammo on the pistol? If it casts no rays it will not do any damage. Check the shotgun/shells/slugs for an example of how it should work. If you have more than 1 type of bullet for a gun you will also need to move the damage from the gun and on the bullets, otherwise they will do the same damage. Link to comment Share on other sites More sharing options...
Data Posted August 7, 2018 Author Share Posted August 7, 2018 yep go that sorted now, Khaine and others helped on that on discord i so need a detailed tutorial on all the xml stuff Link to comment Share on other sites More sharing options...
Haidrgna Posted August 8, 2018 Share Posted August 8, 2018 Well this is something you learn by doing and making mistakes, since by making mistakes you learn what works and what not Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.