Hello everyone! It's my first time when I'm trying to create mod, so, of course, I have a lot of problem with it. With Basic Guide without any obstacles I have replaced my own textures, changed the name and the description of coal. But it's not cool and very boring, so I have tried to create my own ore, but game's ignoring it! The name of ore is Coalite. I have created 2 folders: Starbound\mods\coalite\tiles\mods Starbound\mods\coalite\items\generic\crafting Into mods I have created coalite.mathmod and coalite.png with texture. The code of .mathmod: { "modId" : 11, "modName" : "coalite", "itemDrop" : "coaliteore", "description" : "Coalite ore.", "health" : 1, "harvestLevel" : 1, "breaksWithTile" : true, "miningSounds" : [ "/sfx/tools/pickaxe_ore.ogg", "/sfx/tools/pickaxe_ore2.ogg" ], "miningParticle" : "orespark", "renderTemplate" : "/tiles/classicmaterialtemplate.config", "renderParameters" : { "texture" : "coalite.png", "variants" : 8, "multiColored" : false, "zLevel" : 0 } }Into crafting I have created coaliteore.item and coaliteore.png with texture. The code of .item: { "itemName" : "coaliteore", "price" : 4, "rarity" : "Common", "category" : "craftingMaterial", "inventoryIcon" : "coaliteore.png", "description" : "Look at this coalite. Like a coal, but cooler", "shortdescription" : "Coalite", "itemTags" : [ "reagent" ], "radioMessagesOnPickup" : [ "pickupcoalite" ] } this code won't work! Game is not changing and I can't find my new super-mega ore :'c It looks like I need to change code of biomes when, I supposed, Coalite should to be generated. But I don't know how and what exactly.
What does your log file say? That is the first place you should always look. (And should always be posted too when asking for help)
..\common\Starbound\storage There will be 6 files, you want the first one. Not the ones ending in a number.
Wow! Just now Starbound isn't even opening! It seems... conflict between IDs. Okay, before it i didn't forget change ID of Coalite, but game was refusing to generate it. Code: [23:47:24.092] [Error] Application: exception thrown, shutting down: (ObjectException) Error loading object '/objects/biome/jungle/junglebush14/junglebush14.object': (MaterialException) Error loading mod file /tiles/mods/coalite.matmod Caused by: (MaterialException) Duplicate mod id 11 found for mod coalite [0] 13f203ee3 Star::captureStack [1] 13f202c6e Star::StarException::StarException [2] 13f4858ea Star::ObjectException::format<Star::String,Star::OutputProxy> [3] 13faf9b4f `Star::ObjectDatabase::readConfig'::`1'::catch$1013
Code: [23:58:40.898] [Info] Root: Detected asset source named 'coaliteore' at '..\mods\coalite' Code: [23:58:41.883] [Info] Loading assets from: '..\mods\coalite' Well... that's all about coalite
Post the whole log please. Just because nothing stands out to you, doesn't mean nothing is there. Experienced eyes can see things most do not. If there are no errors caused by your mod, then it is likely there is ntoting technically wrong with the coding, but it just isn't set up properly. Come to think of it, I re-read your first post... it sounds like you didn't add it to the ..\biomes\oredistrebutions.config
IT'S WORKING!!! Whoaaaa! I'm so damn happy my first mod IS WORKING! Thank you, lazarus! Thank you very much!