Replace the effect of all night scopes and binoculars to the Beef's Shader. Adding a switch hotkey for night scopes. Restoration of work 1PN93. Weapons: fn2000, g3sg1, l96a1, l96a1m, m24, m98b, sv98, svd nimble, trg, vintorez nimble, vssk
REQUIRES INSTALLED Beef's Shader Based NVGs v0.9 for 1.5.1
ONLY directx 10-11 !!! (PPE version for any directX in development)
IN NEW VERSION (0.91):
1. The hot key is selected in the game menu, in the same place where all the other keys are assigned, at the very bottom.
2. The NVG of the binoculars now also turns off/on. The key is the same as for scopes. Binoculars NVG upgrades:
Contrast PPE filter >> NVG Beef's Shader_3 + noises PPE >> NVG Beef's Shader_3 as original
3. The code is slightly optimized, the unnecessary has been removed
WHAT THIS ADDON DOES:
List of weapons affected by the addon:
fn2000, g3sg1, l96a1, l96a1m, m24, m98b, sv98, svd nimble, trg, vintorez 1pn93, vintorez nimble, vssk
WHAT THIS ADDON DOESN'T DO:
Features of the addon:
But you can add ";" before scope_nightvision in the _up.ltx if you need to disable the contrast filter, and delete the nightvision_2.ppe file from this add-on.
You can also replace this file with another PPE, or you can specify a different PPE effect in weapon_scopes.ltx. Do as you like.
INSTALLATION:
COMPATIBILITY:
ui_keybinding.xml from this mod is compatible with addons:
Quick Meele Attack (tested)
Teleport Companions (tested)
Must be compatible with Weapon Parts Overhaul (not tested)
If you are going to use them, then first install them, and then this addon.
You can also manually add / change the lines you need at the bottom of the file to adapt to other addons that use bindable hotkeys.
If your other addon changes w_binoc_up.ltx, then use its file, but add ";" before the three lines starting with scope_nightvision:
; scope_nightvision = effector_nightvision_2
; scope_nightvision = effector_nightvision_1
; scope_nightvision = effector_nightvision_3
REQUIRED: Beef's Shader Based NVGs v0.9 for 1.5.1
RECOMMENDED: Anomaly Tacticool Scopes 1.4
==========================================================================================
РУССКИЙ
Замена эффекта всех ночных прицелов и бинокля на Beef's Shader. Добавление хоткея выключателя ночных прицелов. Восстановление работы 1ПН93.
ТОЛЬКО ДЛЯ directx 10-11!!! Версия на PPE для любого директа в разработке.
ТРЕБУЕТСЯ УСТАНОВЛЕННЫЙ Beef's Shader Based NVGs v0.9 for 1.5.1
В НОВОЙ ВЕРСИИ v0.91:
1. Горячая клавиша выбирается в меню игры, там же где назначаются все остальные клавиши, в самом низу.
2. ПНВ бинокля теперь тоже выключается. Клавиша та же, что и для прицелов. Апгрейды ветки ПНВ бинокля:
Контрастный PPE фильтр >> ПНВ Beef's Shader_3 + помехи PPE >> ПНВ Beef's Shader_3 как исходный
3. Код немного оптимизирован, убрано лишнее
ЧТО ДЕЛАЕТ ЭТОТ АДДОН:
ЧЕГО ЭТОТ АДДОН НЕ ДЕЛАЕТ:
Особенности работы аддона:
Но вы можете добавить ; перед scope_nightvision в нужных вам _up.ltx чтобы отключить контрастный фильтр полностью, а файл nightvision_2.ppe из этого аддона удалить.
Также можно подменить этот файл другим PPE, либо можно указать в weapon_scopes.ltx другой PPE эффект. Делайте как вам удобно.
УСТАНОВКА:
СОВМЕСТИМОСТЬ:
ui_keybinding.xml из этого мода совместим с аддонами:
Quick Meele Attack (tested)
Teleport Companions (tested)
Должно быть совместимо с Weapon Parts Overhaul (not tested)
Если вы собираетесь их использовать, то сначала установите их, а потом уже этот аддон.
Также вы можете вручную добавить/изменить нужные вам строки снизу файла для адаптации к другим аддонам, использующим назначаемые хоткеи.
Если другой ваш аддон изменяет w_binoc_up.ltx, то используйте его файл, но добавьте ; перед тремя строками с началом scope_nightvision:
;scope_nightvision = effector_nightvision_2
;scope_nightvision = effector_nightvision_1
;scope_nightvision = effector_nightvision_3
ТРЕБУЕТСЯ: Beef's Shader Based NVGs v0.9 for 1.5.1
РЕКОМЕНДУЕТСЯ: Anomaly Tacticool Scopes 1.4
Average
1012 votes submitted.
This is a great addon.
I've released a couple of small NVG addons recently (one for a sound overhaul, and one for icons) and I think a more general overhaul of prices/utility for all night vision devices could make these more primitive night sights very attractive in the early game.
Thank you. I was thinking how to make the night scopes really useful. The shader of the head-mounted NVG, if possible, should be applied over the fullscreen crosshair texture (you look through the NVG into the scope). The quality of the reticle will be much worse than with a night scope.
Does this work without Shader NV? I'm a laptop peasant (It's not compatible with DX8) but I really want to turn NV scopes on and off
This addon does not work without Shader, but I can later make a version with a ppe, leaving the switch.
Cool, thanks!
NEW VERSION
Now this addon includes all NV scopes added by upgrades.
Wow, this is nice 👏👍
Спасибо.
The idea is very nice and immersive. Thank you for this.
Is it possible to add strong blur effect around the scope picture the same way you did the NV?
If so - would be more immersive without "fully closed" scope images, while we're waiting for fully 3D PiP scopes addon or whatever devs team has in mind instead.
Thank you. I may not understand you very well, but I have not edited the shaders. I just made a switch script. I don't have the necessary knowledge to work with shaders. Most likely, a new implementation of scopes will appear before I master the work with shaders.
Ниче не найс, на r2.5 вылетает похоже, где ж тут найс, вы че косорукие уже r2.5 для вас бичуха, ну понимаю статика, она уже в прошлом, но r2.5 извините, на нем весь сталкер держится, потому что dx10 и 11 это фейки r2.5, слегка доработанные.
Это только для DX10-11. Это указано в описании требуемого для работы аддона.
Конфликтует с Powered Exoskeletons (вы используете один и тот же бинд - custom21). В принципе, наверное, можно оставить как есть (там бинд проверяет уровень заряда в аккумуляторе; само действие с переключением ПНВ никак не конфликтует).
Нужно заменить CUSTOM21 в обоих скриптах и внизу файла ui_keybinding.xml на любое значение из диапазона CUSTOM22....CUSTOM25 (который свободен).
Если все кастом-клавиши заняты, то в обоих скриптах нужно заменить
это:
(bind == key_bindings.kCUSTOM21)
на вот это:
(key == DIK_keys["DIK_X"])
Вместо X можно использовать любую другую клавишу.
Мой ui_keybinding.xml тогда не требуется.
Hey, any idea how to make this mod compatible with powered Exoskeletons ? It seems that loading this mod after Powered Exoskeletons, makes the first mentioned overwrite the keybind for this mod.
You need to replace CUSTOM21 in both scripts and at the bottom of the ui_keybinding.xml file with any value from the range CUSTOM22 .... CUSTOM25 (which is free).
If all custom keys are busy, then in both scripts you need to replace
this is:
(bind == key_bindings.kCUSTOM21)
to this:
(key == DIK_keys ["DIK_X"])
Any other key can be used instead of X.
My ui_keybinding.xml is not required then.
i like to do this
local bind = dik_to_bind(key)
if(bind == key_bindings.kCUSTOM) then
if(key == DIK_keys["DIK_"] ) then
I cannot seem to get it to work. Does this mod need to be before Beef's NVGs or after in load order?
From the instructions:
2) Install Beef's NVG
3) Install this addon
The load order for this is thus after Beef's NVGs, which is the base addon.
If only people implemented their scripts that are using DIK to your approach, I would be really grateful. The option to know which mods are adding binds to the keyboard all described into the options would be a godsend. Really clean scripting!
simple patch for anomaly mags redux & this addon
Drive.google.com
also, this addon works very nicely with shader based 2d scopes
Does this work with Beef's NVGs v1.1?
Will this work with 2D Shader Based Scopes?.
when I turn it off it just makes my binoculars blurry, am I missing something?
Не переключается по назначенной кнопке.
Maslinupoymal, please, make a new version of this mod compatible with new NVGs, help every stalker, please!