i made a big crafting station and i wanna add light effect to whole part of my object . can some one help me? thank you
Did You tried adding that to .object file Code: "lightColor" : [10, 10, 20] Code: { "objectName" : "fenclavesatelite", "colonyTags" : ["electronic","mechanical"], "rarity" : "Uncommon", "description" : "A radar dish. Human used to use those.", "shortdescription" : "Enclave Radar Dish", "race" : "generic", "category" : "decorative", "price" : 150, "lightColor" : [10, 10, 20], <<===================== "printable" : true, "apexDescription" : "Hairless were using this type of satellite.", "avianDescription" : "Fully operational satellite.", "floranDescription" : "Average satellite thing.", "glitchDescription" : "Just another medium size satellite.", "humanDescription" : "Ha! I know... Enclave had those things.", "hylotlDescription" : "Just a satellite what else i could say.", "novakidDescription" : "Average satellite thing.", "inventoryIcon" : "fenclavesatelite.png", "orientations" : [ { "dualImage" : "fenclavesatelite.png:<color>", "imagePosition" : [-16, 0], "frames" : 1, "animationCycle" : 1.0, "spaceScan" : 0.1, "anchors" : [ "bottom" ] } ] }
I've never tested that myself but in assets\objects\human\bunkerceilinglight1 You can find something like this Code: "animation" : "/objects/wired/light/lighttogglebgfullbright.animation", "animationParts" : { "bg" : "bunkerceilinglight1.png", "fg" : "bunkerceilinglight1lit.png" }, "animationPosition" : [-8, -32], <== maybe this? "scripts" : [ "/objects/wired/light/light.lua" ], "scriptDelta" : 60, "interactive" : false, <== this may mess up ur crafting station but im not sure note that in assets\objects\human\bunkerceilinglight1 there is no animation file Code: { "objectName" : "bunkerceilinglight1", "colonyTags" : ["human","humanbunker","light"], "rarity" : "Common", "description" : "A metallic ceiling lamp.", "shortdescription" : "Metal Ceiling Lamp", "race" : "human", "category" : "light", "price" : 90, "lightColor" : [229, 229, 210], "pointLight" : true, "pointBeam" : 2, "beamAmbience" : 0.35, "apexDescription" : "A metallic ceiling light.", "avianDescription" : "A ceiling light.", "floranDescription" : "Hanging lamp.", "glitchDescription" : "Bored. A light fixture.", "humanDescription" : "A device you attach to your head, and... wait, no, it's just a light.", "hylotlDescription" : "An uninteresting ceiling light.", "novakidDescription" : "A plain lookin' ceilin' light.", "inventoryIcon" : "bunkerceilinglight1icon.png", "orientations" : [ { "image" : "bunkerceilinglight1.png:<color>.<frame>", "imagePosition" : [-8, -32], "direction" : "left", "flipImages" : true, "spaceScan" : 0.1, "anchors" : [ "top" ], "lightPosition" : [0, -4], "beamAngle" : 270 }, { "image" : "bunkerceilinglight1.png:<color>.<frame>", "imagePosition" : [-8, -32], "direction" : "right", "spaceScan" : 0.1, "anchors" : [ "top" ], "lightPosition" : [0, -4], "beamAngle" : 270 } ], "animation" : "/objects/wired/light/lighttogglebgfullbright.animation", "animationParts" : { "bg" : "bunkerceilinglight1.png", "fg" : "bunkerceilinglight1lit.png" }, "animationPosition" : [-8, -32], "scripts" : [ "/objects/wired/light/light.lua" ], "scriptDelta" : 60, "interactive" : false, "inputNodes" : [ [0, -3] ] }
Are we talking an object which uses light.lua? Code: "lightColor" : [59, 183, 255], "pointLight" : true, "flickerDistance" : 0.2, "flickerStrength" : 0.05, "flickerTiming" : 4, "lightPosition" : [0, -1.5], "pointBeam" : 2, "beamAmbience" : 0.3, "beamAngle" : 270 //this is in degrees aka 0-359 That's is a bunch of things you could potentially use. Most of which you wouldn't need. But you probably want "lightPosition" anyhow. The rest you can just add/change/play with one at a time to see how they work. I'm also assuming you're already using the fullbright already? That's not mandatory but is nice and definitely shows when you're otherwise in darkness. Oh yes, you can also add lights in your .animation file if you really wanted, but I prefer do it in my .object files.
Yes it's Object File thank you. that's what i'm talking about and one more thing i'm trying to make my Object be place in only one direction like just right. i mean disabling it's Flipping
"image" instead of "dualImage" Code: "direction" : "right", "flipImages" : false, Usually those would be inside of "orientations" but would technically work at the base level when you don't want multiple options.