So I'm trying to replace the fuelhatch, to match my Greys race. I've found the objects, and changed the reference in the dropship.structure, but the image doesn't load. Can anyone tell me what I need more? dropship.structure: Code: { "value" : [255, 87, 81, 255], "foregroundBlock" : false, "backgroundBlock" : true, "object" : "greyfuelhatch", "objectParameters" : { "unbreakable" : true } greyfuelhatch.frames: Code: nothing edited greyfuelhatch.object: Code: { "objectName" : "greyfuelhatch", "rarity" : "Common", "objectType" : "container", "description" : "Accepts a bunch of different kinds of fuel.", "shortdescription" : "Fuel Hatch", "race" : "decorative", "greyDescription" : "I can convert most common fossil fuel into fuel, Element 115 would work best though", "inventoryIcon" : "fuelhatchicon.png", "orientations" : [ { "dualImage" : "greyfuelhatch.png:<color>.<frame>", "imagePosition" : [-8, -16], "frames" : 4, "animationCycle" : 0.7, "spaceScan" : 0.1, "anchors" : [ "background" ] } ], "hasWindowIcon" : false, "recipeGroup" : "fuel", "slotCount" : 6, "uiConfig" : "/interface/fuel/fuel.config", "autoCloseCooldown" : 3600, "frameCooldown" : 67, "soundEffect" : "/sfx/objects/shipengine.wav", "soundEffectRadius" : 300 }
I found that sometimes ship objects I'd messed with just stopped appearing and I had to delete the .shipworld file in /players so it regenerates it. Also, check the starbound.log file in the root directory to see if there are any pertinent errors. (I assume the dropship.structure code you posted on here was just the bit you changed since it's not valid like as posted)
If you edit an object file and then update the ship's .structure file you will need to delete the .shipworld file or create a new character. I just tried it out and was able to make one work just fine. I attached mine to this post if you want to see it. It adds the object "newRacefuelhatch" to the game. I ended up using the default texture but with a purple line on it. Hopefully that will help you.
Yeah - so I'm an idiot When placing the dot, I placed it one pixel lower than before ... which ment that it couldn't be placed ... duh... Thanks guys! It's working now and looking SPIFFY!!!
Ive got a mod which already uses a mod intern copy of that item among other ship items. If youre interested or interested in joining with youre ship specific modifications more ppl are allways wellcome!