Rain World

Rain World

324 ratings
Line of Sight
2
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
134.245 KB
23 Apr, 2023 @ 7:40pm
28 Aug @ 8:23pm
18 Change Notes ( view )

Subscribe to download
Line of Sight

Description
Limits the player's field of view based on the surrounding terrain.
Also limits the player's view when unconscious, sleeping, or dead.

Configurability
- Three different render modes: Classic, Fast, and Fancy.
- Brightness of unseen tiles
- How far inside a tile you can see
- Should allow vision when unconscious
- Visibility of certain objects (Fancy mode)

Compatibility
- Compatible with SBCameraScroll
- Compatible with Arena, Jolly Coop, and Myriad of Slugcats
- Incompatible with Splitscreen Coop.
- Incompatible with Safari mode. Only slugcats work.
- Mostly compatible with The Watcher. Has some small visual issues.

Known Issues
- "Fast" render mode has many visual errors.
- "Fancy render mode has a few visual errors.

Credits
- Slime_Cubed - original v1.5 mod author
- Zombieseatflesh7 - ported to v1.9 and additional updates
- Lolight2 - showcase video

Ported, uploaded, and maintained with the author's permission.
Github: https://github.com/zombieseatflesh7/RainWorld-LineOfSight
Popular Discussions View All (1)
10
27 Jan @ 10:59am
PINNED: Bugs
Zombieseatflesh7
101 Comments
Zombieseatflesh7  [author] 28 Aug @ 8:40pm 
thanks gelbi. I implemented that fix
glebi574 19 Aug @ 12:51pm 
https://github.com/zombieseatflesh7/RainWorld-LineOfSight/blob/eaf3b490954c3d6af464141dd550de84dbd5a0ef/LineOfSight/LOSController.cs#L95 - some types can still be `null`(basically random, but should be consistent for a set of mods), which will cause exception at line 100 - either skip `null` types or use something, like:
public static IEnumerable<Type> GetTypesSafe(this Assembly self)
{
foreach (Module module in self.GetModules())
foreach (Type type in module.GetTypes())
yield return type;
}
Zombieseatflesh7  [author] 19 Aug @ 10:05am 
darn well it is good to know anyway. I couldn't think of what mod could possibly cause that issue though.
Just a Floating Eye 19 Aug @ 9:47am 
Alright the Watcher issues are from a different mod, but I can confirm that a mod is breaking line of sight in a way that the self mode does not work (you cannot see self when unconscious) and allowed creatures don't work (I can see pole plants). Using as little mods as possible the mod works just fine, but I have sifted through 1/3 of my 150 or so mods and I cannot find the mod. Sorry for filling up the comments section.
Just a Floating Eye 19 Aug @ 6:36am 
I have been searching through my modlist for very long, verified my game multiple times, and yet I found nothing. I will let you know when I do find it, but so far I have found nothing.
Just a Floating Eye 18 Aug @ 6:40pm 
I am. I am currently going through all my mods to try and fix this, I have had other rendering/visual bugs lately too and it has been a huge mystery.
Zombieseatflesh7  [author] 18 Aug @ 6:39pm 
Are you using the fancy render mode?
Just a Floating Eye 18 Aug @ 5:37pm 
I have been having issues lately with this mod, I am certain it is some sort of mod incompatibility. But for some reason the "can see certain creatures" option will not work, the "can see self" option will not work, and it breaks the effects of Watcher.

I am certain this is not an issue with the mod itself but rather an incompatible mod.
IamMael 29 Jun @ 1:44pm 
Darkworld (darkwood)
WhittleWillow 14 Apr @ 6:51pm 
this seems to work just fine with the watcher update fyi