RimWorld

RimWorld

221 ratings
NightVision
3
   
Award
Favorite
Favorited
Unfavorite
Mod, 1.0, 1.1, 1.3
File Size
Posted
Updated
10.124 MB
Aug 4, 2018 @ 3:00am
Aug 30, 2021 @ 11:57am
13 Change Notes ( view )

Subscribe to download
NightVision

Description
1.0. or: How I Learned to Stop Worrying And Love The Dark

Attennn'shun Colonist…
You've had your eyeballs removed and replaced by mech-damn machinery,
You can spot the mole on my left private cheek through bright red devilstrand pants from a hundred tiles away.
I've seen you hit a squirrel with an autopistol at max range while riding backwards on a thrumbo...

And yet, why in the hive do you keep slowing to a centipedean crawl whenever you touch the slightest bit of shadow?

You are worse than a wimp with the flu.


1.1. Everybody was night-time fighting...du du du du duh duh duh duh duuuh


...on this fine and dark night, I, Private Cheek, am going to teach you the sly and deadly art of night-time fighting,
forged by the ancients of the first Sparta, tempered in the wars of antiquity, sharpened by Urb-World gangs, honed by...
...yes?...
...I don't give a damn if I said I would teach you this two quadrums, two minutes or two years ago,
when I say 'I will teach you', what do you say??
...Damn straight, you're honoured.



Features:
  • Adds Night Vision: No slow down in darkness. No negative thoughts
  • Adds Photosensitivity: Faster in darkness. Slower in bright light
  • Includes corresponding positive or negative thoughts
  • New Apparel: Night vision goggles, tinted goggles, and the adv. night vision helmet. All unlocked via vanilla research.
  • Bionics: Adds night vision to bionic eyes and similar. Adds a new eye implant that gives photosensitivity, with its own research.

  • Supports Alien races (e.g. add natural photosensitivity to any human-like race)
  • Customisable settings for headgear (e.g. add night vision to the cowboy hat)
  • Customisable settings for any bionics or health conditions that effect the eyes (e.g. remove night vision from bionic eyes, or make luciferium even more potent with a custom buff in both bright light and darkness)


New Features for NightVision 1.1:
The light multiplier (night vision in darkness, photosensitivity in bright light) now affects:
  • Ranged and Melee Hit chance: e.g. shooting or striking a poorly lit target is harder without night vision, but easier with photosensitivity.
  • Ranged Cooldown: cooldown after firing weapons is increased in darkness without nightvision, but decreased with photosensitivity. The changes depend on the shooter's skill: as skill increases the negative effect decreases while the positive effect increases.
  • Melee Dodge Chance: depends on the difference in vision between the attacker and target, e.g. if the attacker does not have night vision and the target does, the target's dodge chance will be increased; and vice-versa.
  • Adds a chance for a sneak attack: if the attacker has better vision than the target, there is chance the attack will be a sneak attack; i.e. 100% hit chance, and undodgeable.
  • Enemies will now tend to prefer cover that is in darkness (if they use cover).
  • Humanoid enemy aggro range in darkness/bright light is now affected by their vision: i.e. if they don't have night vision and they are in darkness, you can sneak closer to their outposts or siege camps.
  • Added a new raid: Late game drop pod raid. At night. Melee specialists with night vision. Can only trigger during a solar flare.

  • These features can be individually disabled if you choose.


Details:
Extends Rimworld's light and dark mechanics.
Rather than all human-like pawns having the same 20% debuff to movement and work speed when in darkness, Night Vision uses three categories:
  • Night vision: Work and move at the same speed no matter how dark it is. No negative thoughts from darkness.
  • Photosensitive: Work and move 20% faster in complete darkness, but 20% slower in v.bright light. Positive thoughts in darkness, negative thoughts in bright light.
  • Default (vanilla): Work and move 20% slower in complete darkness. Negative thoughts in darkness.
Darkness means < 30% light & bright light means > 70% light.

Notes:
  • As in vanilla, the magnitude of the effect increases the closer the light level gets to 0% or to 100%.
  • For bionic eyes and the like, the effect scales with the number of implants (i.e. a colonist needs a full set of bionic eyes to get night vision).
  • Does not change the surgery success chance due to light - that stat is actually related to the bed, not the surgeon.
  • In order to craft the retro-reflector implant (for photosensitivity), a raw tapetum lucidum has to be extracted via surgery from certain animals.
  • Or you can just buy one. Its stocked by shaman traders, and sometimes exotic traders.
  • Included in the mod are a few example patches for any modders or xml junkies who want to support Night Vision out of the box.


Possible future plans:
Find a job, or:
Extend the day-night, light-darkness system with factions, incidents, world quests, night caravaning, night predators and anything else before I get sick of shadows and shades and buy a sun lamp. This mod is partly just a framework to set more interesting stuff up.



Credits
Clankwork for the art
Pardeike for the Harmony library
Marnador for the Rimworld font
Madman666 for the combat features idea

And thanks to all the Rimworld modders whose code I've perused and purloined in making this mod, including (though not limited to): ChJees, erdelf, XeoNovaDan, NoImageAvailable, Mehni, Jecrell ... and pretty much anyone else who has released a mod in the last couple months

Links:
GitHub[github.com]
Forums[ludeon.com]


Popular Discussions View All (1)
6
Feb 12, 2022 @ 7:57am
Bug reporting
drumad
142 Comments
Latex Santa Apr 7 @ 12:17pm 
@Lives2DieAgain
Someone had better let Mlie know to get in touch with the mod creator, in case the original poster can't find the time to work on it anymore.
Lives2DieAgain Apr 7 @ 12:46am 
Still works in 1.4, but I'm hoping it gets updated to 1.5.
BrainW4v3! Jun 2, 2023 @ 3:51am 
any update on that update? I love your work and my colonies just feel so dark without it. Hope that time is kind to youand looking forward to the release
mynameactually Nov 17, 2022 @ 6:13pm 
Looking forward to the update.
velcroboy333 Oct 27, 2022 @ 7:41pm 
Seems like there could be some cool tie-in with the xenome stuff from Biotech.
Vlad_1492 Oct 27, 2022 @ 7:37pm 
One of my must-haves, great mod especially with fog of war and silent raids.
Looking forward to hunting piggies in the dark with 1.4
drumad  [author] Oct 21, 2022 @ 2:19pm 
Looking into it - not sure how long
Turambar Oct 21, 2022 @ 2:01am 
Hi Drumad! Will you update this mod to 1.4?
76561198023963578 Aug 29, 2022 @ 2:12am 
found this after downloading realistic darkness... this will make my night battles way more interesting
Legiaseth Aug 24, 2022 @ 4:41am 
After looking at it a bit more, I'm pretty sure it's because the darkvision psycast has no effect on the sight stat, and just removed the light effect