RimWorld
343 평점
[SYR] Light Radius
2
   
어워드
즐겨찾기
즐겨찾기됨
즐겨찾기 해제
Mod, 1.0, 1.1, 1.2, 1.3, 1.4
파일 크기
게시일
업데이트일
270.114 KB
2018년 9월 23일 오전 6시 38분
2022년 10월 21일 오후 2시 17분
변경 사항 10개 ( 보기 )

다운로드 위해 구독하기
[SYR] Light Radius

Syrchalis님의 1 모음집
[SYR] Syrchalis' Mods
아이템 24개
설명
Adds dynamic light radii to light sources




When selecting lights or when placing lights Light Radius shows an indicator which area will be considered "Lit".





Settings:
Show inner light radius -> Shows a radius that roughly matches the area that is "lit", meaning over 30% light.
Show outer light radius -> Shows a radius that roughly matches the area that is being affected by the lamp at all, meaning anything above 0%.

The radii are not perfect, this is because the actual light and the display radius use different calculations, however they match relatively well.

This mod automatically supports basically any mod, because it dynamically generates the display radii. (For Wall Light use the option of that mod if you want to see light radii).

Note: The colorful light overlay is from a different mod - it only shows actual light. This mod here shows a radius when placing lights and when selecting them (even if they are off!).





Savegames:
  • Adding: Safe
  • Removing: Safe

Incompatibilities:
  • Wall Light - use the setting of the mod itself





Collection of my mods for RimWorld

If you enjoy my mods consider dropping me a dime:
[ko-fi.com][www.patreon.com]
댓글 44
Thels 2024년 7월 29일 오전 12시 41분 
@Narlindir: Not completely. Vanilla shows a light radius when placing or selecting a light source, but doesn't state what % this is. It seems to not be 50%.

This mod displays a light radius not just when placing or selecting it, but also when placing any other kind of light source, and allows picking if you want 50% light or any light, or both.

In short, this mod is a lot more convenient than the vanilla implementation, and I hope it gets revived at some point.
Narlindir 2024년 4월 27일 오전 10시 47분 
isnt this vanilla now?
lol 2024년 4월 27일 오전 12시 36분 
TD Enhancement Pack does something very similar
AAA 2024년 4월 25일 오전 10시 27분 
15
Monkey Magic 2024년 3월 3일 오전 7시 32분 
Kinda wondering how this would work with lights that already have a radius - such as Owlchemist's Ceiling Mod. These ceiling mounted lights it adds already have a radius, but given that vanilla lighting does not, the mismatch kinda irritates me, so this mod would be a good addition.

But yeah, would there be an issue?
Jarrod 2023년 10월 2일 오전 6시 34분 
Would love a third radius for 50% light. I know 30% is "good enough" but I personally hate seeing dark corners and edges even if the pawns don't mind lol
AnimateDream 2023년 2월 17일 오후 3시 53분 
*irrelevant
(please let me edit comments some day steam)
AnimateDream 2023년 2월 17일 오후 3시 51분 
@Draconis
I was concerned and had a look at the source. The only stuff that affects the game while running are here.
https://github.com/Syrchalis/LightRadius/blob/master/Source/SYR_LightRadius/HarmonyPatches.cs

The second harmony patch only affects when you are placing things blueprints for stuff so it should be relevant. The first runs when anything calls DrawExtraSelectionOverlays. I don't know if this always runs on any selected object, but even if so it immediately is doing some very low cost null checks then a low cost check to see if the thing has a light emitting component before it does any other work.

If you are not placing any blueprints and don't have anything selected there should be 0 performance impact, and from my reading of the code the impact otherwise should be very minor. It honestly doesn't seem like this mod would be a problem to me. Maybe you can experiment a bit more with this knowledge, see if it indeed slows down only when a bunch of things are selected?
Draconis🐊 2022년 1월 30일 오전 11시 01분 
Was noticing mid to late game I was getting pretty big slowdowns especially during raids, optimized everything and shucked a bunch of mods. Removed this and my ticks per second skyrocketed, not sure what the conflict is or if it just bogs down with lots of base lights? Loved the look of this but dang I was running at like 10-17 ticks and its back to 40+ even in late game with the new runtime optimizer.
tuk0z 2021년 10월 6일 오전 4시 06분 
Noice, thank you Syrchalis :)