If you're running the GamePass version of the game and can't use Console Command Runner, there's an alternative way to setup this mod, or any other console-command-related hotkeys you might want to setup. Here's what you do:
1. In your StarfieldCustom.ini place the following:
[Menu] bUseConsoleHotkeys=1 If you already have a [Menu] section in your StarfieldCustom.ini, just put the bUseConsoleHotkeys=1 line anywhere underneath it. Technically it doesn't really matter what settings you place under what sections, as the sections are really there for organizational/human-readability purposes. But traditionally, put this line under [Menu].
2. If you don't already have a bat file that is loaded by your StarfieldCustom.ini, set one up by making MYBATFILE.txt (replace "MYBATFILE" with any name you want) and placing it in the same folder as StarfieldCustom.ini, and include anywhere within MYBATFILE.txt the following:
; Setup condition for Night Vision hotkey toggle logic setini "iConsoleHistoryCharBufferSize:Menu" 64444
Then load this bat file by making sure the following line is included in your StarfieldCustom.ini (traditionally under the [General] section):
sStartingConsoleCommand=bat MYBATFILE
Again, if you already have a bat file loaded in your StarfieldCustom.ini, you can just add the setini line from above in your existing bat file, or if you must separate them, you can load an additional bat file like so:
Of course, feel free to modify the command to your liking (e.g. pick a different hotkey other than 'n,' pick a different colour filter other than green, etc.). I used a blue-cool colour filter instead of green (from SimShark's pinned suggestions), and I also felt it unnecessary to spawn the notifications every time I toggle my nightvision, so here's what mine looks like:
[Hotkeys] ; Hotkey to toggle the player HUD f11=tm
Now you can also use this same StarfieldConsole.ini file to add any other console command related hotkeys you can think of. As can be seen in my personal example, comments can be delimited by ';' (alternatively, comments can also begin with '#') and multiple hotkeys can be set one per line. You might find the f11=tm hotkey useful, as it turns the player HUD on and off (again, feel free to change the hotkey to anything you prefer).
FINAL NOTE: If the console command you want to run with a hotkey is actually short enough (250 characters or less, I think) you can actually put your hotkey definitions directly in your bat file without having to use StarfieldConsole.ini. You would do so by adding a line such as the following to your bat file that you have loaded via StarfieldCustom.ini:
Hotkey f11 tm
That is the equivalent of the f11=tm line in my StarfieldConsole.ini, and works fine. The reason using this method won't work for the night vision goggles toggle is because the console command is too long and the Starfield console will read that line as multiple different commands, none of which will make sense to it. The only way to turn night vision on and off by setting hotkeys in your bat file instead of in StarfieldConsole.ini would be to set two hotkeys, one that turns night vision on, and one that turns it off. But then it wouldn't be a true toggle. But thought you might want to know how to set hotkeys directly in your bat file in case you have one with a console command that is short enough in size.
Anyone else getting blurred vision on the outside of the screen? The images in the description don't show what I'm seeing. Thanks I figure this out. the ccr script makes two changes player.imod 00103BC6 and player.imod 00047090 6 Make both the same number to have a full screen of one color. a total of 4 values to change. Thank you for this mod, it's very nice, but that blurry effect was making me sea sick :)
So this is just that one reshade reset... Will this be undergoing any additional work to polish it a bit and make it more realistic? The pixelated image isnt nearly as functional as real night vision that came out 15 years ago much less than 400 years in the future.
22 comments
You have to open the .toml file and replace the 00103BC6 (NOTE: there are two) with this:
B&W 00103406
Noir 001033E7
OnlyRed 0020119B
Bloodshot 0022637E
Blue 001E5BF0
BlueCool 001EB726
(tnx to lorne999 and his mod https://www.nexusmods.com/starfield/mods/5323)
Do you know what color code I would use for a turquoise-ish or white phosphorous night vision color?
I'm trying to replicate white phosphorous for night vision as that is more updated and what I'm aiming for, thanks.
1. In your StarfieldCustom.ini place the following:
[Menu]
bUseConsoleHotkeys=1
If you already have a [Menu] section in your StarfieldCustom.ini, just put the bUseConsoleHotkeys=1 line anywhere underneath it. Technically it doesn't really matter what settings you place under what sections, as the sections are really there for organizational/human-readability purposes. But traditionally, put this line under [Menu].
2. If you don't already have a bat file that is loaded by your StarfieldCustom.ini, set one up by making MYBATFILE.txt (replace "MYBATFILE" with any name you want) and placing it in the same folder as StarfieldCustom.ini, and include anywhere within MYBATFILE.txt the following:
; Setup condition for Night Vision hotkey toggle logic
setini "iConsoleHistoryCharBufferSize:Menu" 64444
Then load this bat file by making sure the following line is included in your StarfieldCustom.ini (traditionally under the [General] section):
sStartingConsoleCommand=bat MYBATFILE
Again, if you already have a bat file loaded in your StarfieldCustom.ini, you can just add the setini line from above in your existing bat file, or if you must separate them, you can load an additional bat file like so:
sStartingConsoleCommand=bat MYBATFILE,bat MYOTHERBATFILE,...
3. Make the file StarfieldConsole.ini in the same folder as StarfieldCustom.ini, and make sure your new StarfieldConsole.ini includes the following:
Night Vision Version:
[Hotkeys]
; Hotkey to toggle night vision goggles
n=If getini "iConsoleHistoryCharBufferSize:Menu" == 64444; player.imod 00103BC6 1; player.imod 00047090 6; setini "iConsoleHistoryCharBufferSize:Menu" 65530; cgf "Debug.Notification" "Turn on night vision goggles."; ElseIf getini "iConsoleHistoryCharBufferSize:Menu" == 65530; player.rimod 00103BC6; player.rimod 00047090; setini "iConsoleHistoryCharBufferSize:Menu" 64444; cgf "Debug.Notification" "Turn off night vision goggles."; else cgf "Debug.Notification" "Incompatibility event occurs with night vision goggles Mod."; EndIf
Cat Eye Vision Version:
[Hotkeys]
; Hotkey to toggle cat eye vision goggles
n=If getini "iConsoleHistoryCharBufferSize:Menu" == 64444; player.imod 00047090 6; setini "iConsoleHistoryCharBufferSize:Menu" 65530; cgf "Debug.Notification" "Switch cat-eye vision."; ElseIf getini "iConsoleHistoryCharBufferSize:Menu" == 65530; player.rimod 00047090; setini "iConsoleHistoryCharBufferSize:Menu" 64444; cgf "Debug.Notification" "Restore human vision."; else cgf "Debug.Notification" "NV Mod has compatibility issues."; EndIf
Of course, feel free to modify the command to your liking (e.g. pick a different hotkey other than 'n,' pick a different colour filter other than green, etc.). I used a blue-cool colour filter instead of green (from SimShark's pinned suggestions), and I also felt it unnecessary to spawn the notifications every time I toggle my nightvision, so here's what mine looks like:
[Hotkeys]
; Hotkey to toggle the player HUD
f11=tm
; Hotkey to toggle night vision goggles
n=If getini "iConsoleHistoryCharBufferSize:Menu" == 64444; player.imod 001eb726 1; player.imod 00047090 6; setini "iConsoleHistoryCharBufferSize:Menu" 65530; ElseIf getini "iConsoleHistoryCharBufferSize:Menu" == 65530; player.rimod 001eb726; player.rimod 00047090; setini "iConsoleHistoryCharBufferSize:Menu" 64444; EndIf
Now you can also use this same StarfieldConsole.ini file to add any other console command related hotkeys you can think of. As can be seen in my personal example, comments can be delimited by ';' (alternatively, comments can also begin with '#') and multiple hotkeys can be set one per line. You might find the f11=tm hotkey useful, as it turns the player HUD on and off (again, feel free to change the hotkey to anything you prefer).
FINAL NOTE: If the console command you want to run with a hotkey is actually short enough (250 characters or less, I think) you can actually put your hotkey definitions directly in your bat file without having to use StarfieldConsole.ini. You would do so by adding a line such as the following to your bat file that you have loaded via StarfieldCustom.ini:
Hotkey f11 tm
That is the equivalent of the f11=tm line in my StarfieldConsole.ini, and works fine. The reason using this method won't work for the night vision goggles toggle is because the console command is too long and the Starfield console will read that line as multiple different commands, none of which will make sense to it. The only way to turn night vision on and off by setting hotkeys in your bat file instead of in StarfieldConsole.ini would be to set two hotkeys, one that turns night vision on, and one that turns it off. But then it wouldn't be a true toggle. But thought you might want to know how to set hotkeys directly in your bat file in case you have one with a console command that is short enough in size.
I figure this out. the ccr script makes two changes
player.imod 00103BC6 and
player.imod 00047090 6
Make both the same number to have a full screen of one color. a total of 4 values to change.
Thank you for this mod, it's very nice, but that blurry effect was making me sea sick :)
EDIT wtf i just read it in the first page. I missed that.