DayZ
Animated NVG Toggle
32 Comments
madskillz 9 Jul @ 10:36pm 
Баг или фича. включил пнв. зашел в сэйф зону , пнв выключени происходит (анимация) но оно не выключается. если снять пнв подсветка выключается. а если одеть его обратно , то автоматом включена подсветка , хотя прибор поднят вверх.
Apocryphox 7 Jul @ 1:49pm 
Same here.
AXER 3 Jul @ 5:07pm 
Yeah :(
Cline West 2 Jul @ 3:19pm 
Needs to be fix, players are saying they need to press the NVG button/key twice. Also saying that the NVG stays on sometimes...
bsgaming 28 Jun @ 10:33pm 
When the night vision scope animation is turned off, the night vision effect remains active
базару?jackson 24 Jun @ 1:31pm 
@thehippos thats working, but animation has less
AXER 15 Jun @ 2:34pm 
i've still problems with "thehippoz" fix. So hopefully, there will be an official fix soon :)
AXER 8 Jun @ 3:13pm 
hopefully there will be a fix
thehippoz 8 Jun @ 8:58am 
Nm it was the manager I wrote. It was duplicating itself causing all kinds of issues. The fix posted below will work for the on/off. To fix the hand wave while not wearing nvg, replace bool actioncondition

override bool ActionCondition( PlayerBase player, ActionTarget target, ItemBase item )
{
NVGoggles goggles;
NVGOnHelmet = EntityAI.Cast(player.FindAttachmentBySlotName("Headgear"));
if(NVGOnHelmet)
{
//Print("NVGOnHelmet: " + NVGOnHelmet)
goggles = NVGoggles.Cast(NVGOnHelmet.FindAttachmentBySlotName("NVG"));
if(goggles)
{
return true;
}
}
NVGOnStrap = EntityAI.Cast(player.FindAttachmentBySlotName("Eyewear"));
if(NVGOnStrap)
{
//Print("NVGOnStrap: " + NVGOnStrap)
goggles = NVGoggles.Cast(NVGOnStrap.FindAttachmentBySlotName("NVG"));
if(goggles)
{
return true;
}
}

return false;
}
FireManAndy 7 Jun @ 7:06pm 
We had to remove it as well, was not turning off, also experienced fps drops, when removed back to normal. Hope to see a fix.
thehippoz 7 Jun @ 3:07pm 
Oh don't use that fix I posted, it works but there's issues. I should have made it more clear also, replacing OnFinishProgressServer with Start. The issue now is battleye keeps disconnecting over and over. I removed this mod and it's fine. Anyone have that issue? I'm not dealing with 1.28 issues anymore, hopefully skadjna can figure it out. Miss the trains too :steamsalty:
thehippoz 7 Jun @ 9:09am 
CJ-187's mod breaks this too. I managed to fix it though. Go into 4_World and find ActionToggleNVG.c and add under class skd_ActionToggleNVG

override void Start( ActionData action_data )
{
super.Start( action_data );

[add everything from void OnFinishProgressServer here]
}
Franky 7 Jun @ 4:41am 
Yea NVG does not turn off after you turn it on. Includes vanilla NVG's
AXER 5 Jun @ 5:28pm 
Thank you very much
skadjna  [author] 4 Jun @ 10:08pm 
Will update it soon, if problem has on vanilla. Will check
AXER 4 Jun @ 3:57pm 
any plan to update it?
AXER 3 Jun @ 2:19pm 
After 1.28 update, it's broken :( Animation works, but you cant switch back to off
Demmonik 19 May @ 10:39am 
С модовыми ПНВ работать не будет
🅷🆄🅽🆃🅴🆁 13 May @ 9:12am 
Nice job. Love it!
Can you do that for headlamp?
NotYes555 23 Apr @ 5:09am 
no one expecting the sound of MW2? tziiuuuuuiiii
AXER 21 Apr @ 10:44am 
you awesome
FuriousDartfrog 19 Apr @ 8:17pm 
thats cool nvg :steamthumbsup:
Captain Bigzy 18 Apr @ 7:10am 
Cool mod thanks! :steamhappy:
Sixx 17 Apr @ 11:24am 
Awesome, will do. Thank you for repack!! Love the work BTW!!!!!
NEX 17 Apr @ 9:06am 
That´s absolutely amazing!
Simple and still detailed even using the vanilla emote animations :)
skadjna  [author] 17 Apr @ 8:31am 
@Sixx just repack. Will change id with sound update
Sixx 17 Apr @ 8:27am 
Mod*
Sixx 17 Apr @ 8:27am 
Mood has a workshop id of 0 so doesnt work.
Vaslav 17 Apr @ 3:58am 
Круто классно респект!!!! Спасибо!
skadjna  [author] 17 Apr @ 1:56am 
@Aoibheann, im on it
Aoibheann 17 Apr @ 1:46am 
great job!! we need to have these things for rp.Is it possible to add startup and shutdown sound effects?:humansteak: