Adds nightvision to three existing BaS scopes with toggle key
[Read description]
IMPORTANT : WORKS ONLY FOR THE LATEST BAS.
Current BaS already has a NVG scope function, which requires Beef's shader based NVGS.
This addon is ONLY for those who don't like Beef's NVGs or DX8/DX9 users who can't use it
Currently only supports 16:9 (you can still run this on other ratios but it'll look weird)
Conflicts with scopes_16.xml and if you're using texture replacement addons for 2D scopes. But a patch/merge is easy to do
1. This doesn't add any new scopes, just a hacky way of enabling nightvision for three existing scopes in Bas, with three different NVG effects
1PN93-4 Night Sight - cheap one
1PN93-1 Night Sight - Mid end
PN-23 Night Sight - the best one
2. You can toggle the NVG with a keybind currently set as the semicolon ";" (I was trying to avoid keybind conflicts because there are a lot of them in anomaly)
You can change the key in by editing the script, just change DIK_SEMICOLON in the line
local switch = DIK_keys.DIK_SEMICOLON
to something else by looking at the DIK keys table
3. And yes, this supports alternate aim sights
4. I also included fixed shaders for r1 to prevent crashing for DX8 users(I didnt do it, it was posted on discord, and idk why it wasn't included in the last BaS update)
Following screenshots are taken with tacticool scopes overlay
Changelog:
update 2: Added NVG turning on/off sounds within BaS as per request
update 1: Fixed a bug where it allowed other scopes to have the NVG effect
Credits:
xcvb, LVutner, SD and Maid for testing and advice
Night vision revision for the ppe files
Niiice, thank you!
Dx8 friendly? THANK YOU
Super nice👍 Can it be included in the next bas update? I would like to add it as an option, thank you🙂
Sure! you can make it better too, like the ppe files and the scope overlay
damn that is cool
All that's really left is the EOTS gauss scope detector effect. I can't figure out how to make it work.
It's just one line scope_alive_detector = scope_detector
but the problem is, they're only read by the engine if they're in upgrade files. So the only way to achieve it is by adding it to an upgrade scheme. I don't think there are any easy workarounds
Sigh... figured it was an engine limit. I was adding the detector effect to every weapon addon .ltx I could find in the game without any avail.
Finally, thank you!!
Nice, thank you!!
Este es el scope (mira) que vende el cientifico de yantar? supuestamente es como el del fusil gauss pero no funciona, o al menos no se como hacer q funcione. Alguien podria explicarme como hacer funcione ? o instalando este addons lo soluciona?
That's EOTS (gauss scope), and no it won't work. But this is for nightvision scopes and it works
Thank you very much! The last thing we need is to make target acquisition to Gauss scope, If someone here can make a script I really appreciate it)
From what I've learned target acquisition(and nightvision scopes)are only obtainable via upgrade schemes because of how engine works. This mod is replicating it by ppe effect, which is simple really,
But doing target acquisition from script sounds impossible to me, but I could be wrong
or... idk if it would work but could try adding another upgrade scheme for the scoped weapon which could possibly fool the engine
PN-23 and below NVG scopes not working is this common issue? does it conflict with shader based 2d scopes?
Make sure you have the latest BaS. I'm not sure how it's effected by shader based 2D scopes, this mod works by checking the existence of an entry nv_scope_status = 1 inside weapon configs
yes i am using the latest bas aka the 26th aug 1.5.1 ver, weird im uninstall and reinstall it still no bueno
edited: okay i juz added that script you mention, it works THX
edited 2: i take my work back it still doesnt work
can i dm u persosnally in discord?
Sure, DM me or drop a comment on addon discussions
Good day dev, i have this not-cool bug, When i install Boom and Sharp, the detectors seems to be not working, example: Echo detector not beeping with 100% battery when near anomalies. Its like the detectors are turned off even not.
Detectors don't beep near anomalies, only artifacts
Also this is unrelated to this mod (or bas)
Ask around in anomaly discord
Tested on 1PN93-1 and works great thanks.
Am running Expedition 1.5.1 Poor Man's Modpack