mers Posted November 5, 2018 Share Posted November 5, 2018 Hi all Today i try add material into forge but when i place my forge on ground i receive error "object no found" Do you have a good tutorial for add new material into forge plz ? Link to comment Share on other sites More sharing options...
Subquake Posted November 6, 2018 Share Posted November 6, 2018 Here's some things, that I can remember from the top of my head for you to check. To make it easier to understand, lets call the new material 'gold': materials.xml - define the 'gold' materialitems.xml - create two items, one 'gold', that has the 'gold' material set as its material and another would be unit_gold item (the item must be named unit_ + MaterialName = unit_gold), that would:<property name="Extends" value="unit_iron" /> and also has material set to 'gold'recipes.xml - if you want to be able to scrap items made out of gold material, you must add:<recipe name="gold" count="1"> <wildcard_forge_category /> </recipe>blocks.xml - find forge and add 'gold' to InputMaterials:<property name="InputMaterials" value="iron,brass,lead,glass,stone,clay,[color="#FFA500"][b]gold[/b][/color]"/>XUi/windows.xml - find windowForgeInput and add your new material:materials_accepted="iron,brass,lead,glass,stone,clay,[b][color="#FFA500"]gold[/color][/b]" also change grid to include new material so that it shows in the list:<grid rows="[color="#FFA500"][b]7[/b][/color]" ...> <forge_material name="0"/> </grid> If I forgot something, someone please correct me. Link to comment Share on other sites More sharing options...
mers Posted November 6, 2018 Author Share Posted November 6, 2018 Oh yes this work perfect, just some problem with UI but i know how fix it Thx you very much:02.47-tranquillity: Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.