Space Engineers

Space Engineers

Color Replacer Blocks - V2
69 Comments
Cornelius 20 Dec, 2024 @ 12:46pm 
Also here's an excerpt of the error, this error ONLY happens on dedicated servers. Single player worlds are fine

2024-12-20 12:40:30.528 - Thread: 19 -> Error: Error during loading session:System.NullReferenceException: Object reference not set to an instance of an object.
at ColorReplacerBlocks.ColorReplacer.BeforeStart()
at Sandbox.Game.World.MySession.BeforeStartComponents()
at Sandbox.Game.World.MySession.Load(String sessionPath, MyObjectBuilder_Checkpoint checkpoint, UInt64 checkpointSizeInBytes, Boolean saveLastStates, Boolean allowXml)
2024-12-20 12:40:30.528 - Thread: 19 -> Exception while loading world: Object reference not set to an instance of an object.
Cornelius 20 Dec, 2024 @ 12:45pm 
Cpt Pillowy Giant 4 Dec, 2024 @ 6:00am 
Went to use it last night and again today and it crashes my game, it might be as its changing 3k worth of blocks though... Time to go back to the Paint Gun perhaps :P
Dying Dark Star 30 Nov, 2024 @ 9:49pm 
can some one please maintain this mod. its started to crash my game.
Eevee 1 Oct, 2024 @ 2:45am 
anyone know how to remove skins from blocks i cant use skins i dont have due to having all DLCs
Ilona Blaze 5 Jun, 2024 @ 1:49pm 
Wish i could see wich color i am replaciing
Nixeen 30 Jan, 2024 @ 9:14am 
I wish there was a way to use HSV instead of RGB, or HSV Hex codes
[TWF] Damigeil Lapin *LEAO* 1 Nov, 2023 @ 3:03am 
you're mod doesn't work on Dedicated Server *snif*
MattPlaysSimulations 6 May, 2023 @ 5:29pm 
I shared the crash logs in the discord channel for this mod
Bowen 5 May, 2023 @ 8:24pm 
I am using both currently and they seem to work together. :steamthumbsup:
Meridius_IX / Lucas  [author] 5 May, 2023 @ 5:36pm 
Yes, however V1 is still published if you want to use that for programmable block (unsure if both work together, I'd doubt it)
Bowen 4 May, 2023 @ 11:20pm 
Did v2 lose programmable block support?
Meridius_IX / Lucas  [author] 4 May, 2023 @ 5:08pm 
Steam doesn't seem to like your link. If you want to try dropping it in the discord server, that might work better
MattPlaysSimulations 4 May, 2023 @ 1:53am 
Here is the link to the latest crash report on the server

{LINK REMOVED}
MattPlaysSimulations 4 May, 2023 @ 12:04am 
ill have to try get that over next few days as id need to re-add it to the server
Meridius_IX / Lucas  [author] 3 May, 2023 @ 5:45pm 
Would need to see a crash log
MattPlaysSimulations 3 May, 2023 @ 6:07am 
This seems to be crashing my server
Tzar 22 Apr, 2023 @ 12:13am 
The ability to see a visual of the color you are replacing would be extremely useful for larger and more complex builds.
huesaturation 15 Apr, 2023 @ 6:30am 
After the new DLC, the mod stopped working. I tested it yesterday (14/04/2023)
Norrisweb 13 Apr, 2023 @ 12:43pm 
Working now, thank you :) :selike:
Meridius_IX / Lucas  [author] 13 Apr, 2023 @ 11:49am 
Should be fixed now once the mod updates on your end
Norrisweb 13 Apr, 2023 @ 11:00am 
The block seems to have been broken by the new update, the functionality no longer shows in the menu
Seriathus 10 Feb, 2023 @ 10:11am 
Is there a scripting API for this block? I'd like to use it as a way of turning "off" and "on" neon blocks, which is normally not possible. Sadly, it doesn't seem to be possible to do so with a timer block, so I wondered if it would be possible with a script...
AssHunter 15 Jan, 2023 @ 9:10am 
This mod would be very nice if you added to the "Replace withs type" section new option like Hex code
Magna Greymane 4 Jan, 2023 @ 7:48pm 
blocks not showing up in a server with the mod installed am I doings something wrong?
ZettDeEff 1 Dec, 2022 @ 2:06pm 
T H A N K Y O U S O M U C H ! ! ! ! THIS IS AWESOME! (Caps = no mistake ;-) ) :steamthumbsup::steamhappy:
Bacon Gaming 27 Aug, 2022 @ 8:09am 
This should be in vanilla game, very nice :selike:
fireflash1596 27 May, 2022 @ 7:53pm 
Oh i just spotted this mod this is so nice
KILLFUCC SOULSHIEITTER 22 Apr, 2022 @ 6:03pm 
Would it be possible to use blockdata to target specific blocks? I.E Conveyors, Pipes, so we could specificly target things to color?
DontFollowOrders 22 Apr, 2022 @ 6:30am 
Anybody made a chameleon camouflage script for this?
MarQue77 25 Feb, 2022 @ 7:15am 
Rhadon, just apply the default skin or specify “clean armor” instead of one of the other skins.
Rhadon 21 Oct, 2021 @ 9:48am 
There does not seem to be any option to remove the applied skin? It would be great i you could consider adding that!
SpetS 29 Aug, 2021 @ 8:08pm 
@Meridius_IX / Lucas it was weird, reloading the world fixed it. Thx!
Meridius_IX / Lucas  [author] 29 Aug, 2021 @ 6:04pm 
@SpetS - I would check grid ownership or any potential safezone settings. This mod won't affect anything related to permissions for painting.
SpetS 29 Aug, 2021 @ 5:45pm 
I can't manually paint other blocks now, even after removing the Color Replacer block. :/
lukslu5 2 Jun, 2021 @ 3:12pm 
Add Replace Skin option -> Remove Skin
Anex 30 May, 2021 @ 12:59pm 
hello is there a way to color by type of blocks, like if I want to recolour all the conveyors to blue and catwalks to grey?
Kontu 28 May, 2021 @ 5:23am 
Alright I'll start testing/narrowing it down to see if there's a mod/plugin incompatibility somewhere, thanks
Meridius_IX / Lucas  [author] 27 May, 2021 @ 9:26am 
@Kontu - Just tested this in my own server instance and its working fine. If you're using Torch and/or any plugins, try testing without those.
Kontu 27 May, 2021 @ 6:35am 
Added this to several of our servers and they weirdly started bootlooping; failing on this:

06:16:30.9280 [INFO] Keen: Exception while loading world: Object reference not set to an instance of an object.
06:16:30.9280 [DEBUG] Keen: at ColorReplacerBlocks.ColorReplacer.BeforeStart()
at Sandbox.Game.World.MySession.BeforeStartComponents()
at Sandbox.Game.World.MySession.Load(String sessionPath, MyObjectBuilder_Checkpoint checkpoint, UInt64 checkpointSizeInBytes, Boolean saveLastStates, Boolean allowXml)
at Sandbox.Game.World.MySessionLoader.LoadDedicatedSession(String sessionPath, CancelToken cancelToken, Action afterLoad)
at Patched_Sandbox.MySandboxGameInitQuickLaunch_0(Object )
06:16:30.9280 [DEBUG] Keen: MySandboxGame.Initialize() - END

No mod errors related to Color Replacer anywhere in the logs; just that debug message that crash looped us
Alewx 20 Apr, 2021 @ 12:10pm 
Man you are worth your weight in gold, this is again a massive help.
DontFollowOrders 4 Mar, 2021 @ 10:24pm 
Something about the power output on the grid I've built it on, maybe doesn't play well with some modded blocks. I just separately placed a reactor, a color block, and a button panel and it's staying on. I might be able to set up the parameters like this, copy/paste it onto the main grid and use it before it deactivates

Yep, that was successful. The direct HSV replacement didn't work, so what I did was place a block of the target color on the grid so that it shows up in the existing block list, and used that method. So it kinda works
DontFollowOrders 4 Mar, 2021 @ 10:11pm 
I take that back, by the time I got back to it it had greyed out. I replaced it again and went and watched it in the terminal, and it stayed active for a bit but greyed out while I was looking at it. I suppose this means if you can be quick enough you can use it? Yeah something strange here
DontFollowOrders 4 Mar, 2021 @ 10:09pm 
ApexAlphaGaming, I literally just had the same problem. Strangely enough, I think block orientation matters. I had this thing oriented so that the small teal square was facing toward the rear of my rover with the teal line horizontal, and my stuff in the terminal was greyed out. I reoriented it just so that it was vertical instead, and for some reason I can now use it in the terminal. Hope that helps
ApexAlphaGaming 13 Feb, 2021 @ 5:09pm 
I can't interact with anything in the terminal for the block. It's all greyed out.
TastyChickenLegs 25 Jan, 2021 @ 5:47pm 
Great Mod. I used it tonight and it helped so much. Thanks for sharing
Drakray 24 Jan, 2021 @ 10:24am 
I too support this, would be nice to be able to color by type, especially to be able to recolor light armor independently from heavy and utility block all at once, if possible
Dying Dark Star 5 Nov, 2020 @ 5:09pm 
i think either update this mod or make v3 for this suggestion
can you guys have it where you effect specific blocks E.g. set in the settings that cat walks and conveyors can be the only blocks affected to be red and cockpits to blue?
Tactical Femboy 24 Sep, 2020 @ 12:54pm 
So can I change the color of some blocks but not others?
Kane 15 Aug, 2020 @ 9:57am 
I have yet to try this mod, but if it holds its promise of centralized color scheme management, it will be my forever best mod! this is an awesome mod, thank you very much!