RimWorld

RimWorld

LED Technology(continued)
24 Comments
bearcatben854 28 Apr, 2024 @ 12:32pm 
Any updates on this working for 1.4?
Dark 27 Oct, 2022 @ 4:34pm 
That sucks that the code was lost but awesome to hear its being worked on!
velcroboy333  [author] 27 Oct, 2022 @ 7:49am 
Yes, I do plan to update this mod. Funny story though, somewhere along the way, I lost the source code. :demondeath: So, I'm going to have to set up a new project. not the end of the world, but, is the reason for the delay.

@Daemonjax, I didn't fork this form Github. I code the code form a guy who got the code form a guy...But I can make one if it's helpful?
Dark 27 Oct, 2022 @ 7:32am 
Any plans for 1.4?
Daemonjax 27 Jun, 2022 @ 7:06am 
Where's the code for this fork? I can't find it on github.
velcroboy333  [author] 6 Jun, 2022 @ 10:01am 
Thanks, I will look at this soon. I'm wrapping up another project at the moment.
Hansenbansen 2 Jun, 2022 @ 4:11am 
Hi velcroboy,
not sure if you also do C# dev for this mod, but I found the light cone to be too unnatural, because it just stops without fading. If you change AngledGlowFlooder.cs.addCellIndex to take the distance from the light source as argument, you can easily calculate the intensity as

double intensity = 1.0 - (double)distance/targetDistance;

and then use that to create a an individual light for each cell

ColorAtCellIndex = isBlocked ? new Color32(0, 0, 0, 0) : new Color32((byte)(254 * intensity), (byte)(255 * intensity), (byte)(179 * intensity), 0);

instead of using the standard Color = new Color32(254, 255, 179, 0);

This gives a good fade out effect to the light cone. Tried it out myself, I just do not want to fork the mod again. Cheers!
velcroboy333  [author] 18 May, 2022 @ 6:46am 
You can still access the log. Start the game, when you notice the issue happen, alt-tab out and open the folder C:\Users\Username\AppData\LocalLow\Ludeon Studios\RimWorld by Ludeon Studios. If you come by the Discord linked above :steamthis:, drag/drop the Player.log file into the comments and I'll take a look.
shane_357 17 May, 2022 @ 11:12pm 
I'm afraid not at this stage, I disabled dev mode.
velcroboy333  [author] 17 May, 2022 @ 7:23pm 
Could you turn on dev mode and share any errors that pop up when this happens?
shane_357 17 May, 2022 @ 7:52am 
Hey, getting a bug after I use stuff from this mod. The lighting effect of say, the UV hydroponics, gets flung around the map in copied spots way outside my base. I have 3 hydroponics and 7 false fields of lighting duplicated.
velcroboy333  [author] 3 Oct, 2021 @ 9:47pm 
Hydrobed had a fillPercent of .30, which equates to 30% cover.
selest19 3 Oct, 2021 @ 7:19am 
hydro bed is what i was concerned about dose it even have cover?
velcroboy333  [author] 2 Oct, 2021 @ 6:57pm 
Could be? I didn't patch for it but not sure I'd need to? Does CE affect lighting structures? Or the hydrobed?
selest19 2 Oct, 2021 @ 3:33pm 
ce?
Carrier002 1 Oct, 2021 @ 10:06pm 
Thanks you sir!
velcroboy333  [author] 1 Oct, 2021 @ 10:38am 
Maybe I'm wildly overthinking but I added some white variants. Hopefully you like them. :mhwgood:
velcroboy333  [author] 1 Oct, 2021 @ 8:30am 
Oh, I found the Kelvin Scale....so Warm is at 2700k, "Cool" is between 3500-4100. OK, and "Natural" is between 3300-5300. Which, to me, looks like straight up white with a hint of yellow, or hint of blue on the other end of the scale.

Let me see what I can do...
velcroboy333  [author] 1 Oct, 2021 @ 8:22am 
@Kosh, I'll add some soon.

@Carrier002, I'll be honest, I'm really bad with colors that aren't yellow, green, red, blue, etc...Is "natural white" just white? or is it like some other shade of white? Where would you place it on the RGB decimal scale?
JohnMcHobo 1 Oct, 2021 @ 7:07am 
Hot damn those LED strips MUST become part of my mountain fortress!
Carrier002 29 Sep, 2021 @ 5:10am 
Would it be possible to add mod settings that changes the led strips to natural white instead of warm white?
Kosh 29 Sep, 2021 @ 2:26am 
Could you please add "safe for outdoor use" LED Strip? I'd like to use it to light roads.
Captain 28 Sep, 2021 @ 7:03pm 
I used to love using this, thanks for reviving it!
Three 28 Sep, 2021 @ 2:44pm 
I love it! :ZombieHeart: