The stand-alone mod S.T.A.L.K.E.R. Anomaly aims to be the most stable and customizable experience for fans of the S.T.A.L.K.E.R. games. It's powered by the Monolith 64-bit engine, a custom fork of the X-Ray engine.
Ever not realize that your detector battery had run out? Ever wonder why Svarog screen is animated when it is out of power? The second may have to remain a mystery of the zone, but I have an answer to the first. Dead battery indicator with sound. RC18/19 and later.
Must have
Thanks, great addon!
ive got the battery usage at 8 in the lua file, cause the drainage is too low at ingame maxsetting 3. just testing it now...
It is a warning of a battery being dead. It goes off when the device can't operate. It doesn't give any advanced warning so rate of drain shouldn't effect anything other than how often you will see this pop up.
En U4H8 el juego se crashea. Lo probe porque me parece una idea buenisima, porque a mi me pasa que el detector Svarog se queda sin bateria y no te enteras
RC18+ only.
FATAL ERROR
[error]Expression : <no expression>
[error]Function : CScriptEngine::lua_error
[error]File : ..\xrServerEntities\script_engine.cpp
[error]Line : 191
[error]Description : fatal error
[error]Arguments : LUA error: ...l.k.e.r. anomaly\gamedata\scripts\battery_warning.script:53: attempt to call global 'main_hud_shown' (a nil value)
RC18+ only
No work in RC19?
19=18+1 so yes it works
Now that's a good understanding of mathematics
i thought i could save 3 characters using RC18+ instead of 18/19 i was wrong
which surprises me i mean 18+ is a very common term on the internet...
ROFLMAO
Work for the headlamp/Flashlight too?
No. I didn't bother because with detectors it can be hard to tell when they are not working. Headlamp's and flashlights it is very apparent.
Hello friend, how can I add the flashlight to the plugin? What happens is that the low battery icon appears constantly when my flashlight is at 100%, simply equipping it and it is annoying.
screenshot showing flashlight pls
Just tested this. Flashlight works fine. you have some addon that is messing with flashlights. or item_device.script
oh I understand, I have several plugins that touch this file, at least I know where to start, thank you very much for answering, greetings!
Greetings again, I found it, I thought I would have more plugins that use this file, it seems the only plugin I have that has item_device.script is Arszi's Radiation Overhaul
It doesn't seem to work with me, after maybe there is a conflict with another mod?
For example I am using: MergeIcons_Replacement_for_RC18.1
the icon is displayed by the same system that displays the PDA notification. anything that messes with that will also mess with this.
This is actually very useful, thanks a lot!
Thanks for the mod! Will try it out!
Cheers!
please tell me how to move the low battery icon to the hud?
add this to the script, replacing notify_icon_x/y with the cords you want:
base_notify = actor_menu.set_notification
function actor_menu.set_notification(typ, texture, tm, snd)
base_notify(typ, texture, tm, snd)
local hud = get_hud()
if(hud) then
cs = hud:GetCustomStatic("notify_icon")
pos = cs:wnd():GetWndPos()
pos.x = notify_icon_x
pos.y = notify_icon_y
cs:wnd():SetWndPos(pos)
end
end
Thanks)
Not work for me... no battery icon in the hud. How to fix?
the icon is displayed by the same system that displays the PDA notification. anything that messes with that will also mess with this.
many minimalist huds hide this.
see the script modification in a comment above for a posible fix.
I have the smaller pda notifs addon, will this be compatible with that.
the icon is displayed by the same system that displays the PDA notification. anything that messes with that will also mess with this. depending on how they made the icon smaller this icon may or may not be smaller. Let me know.
Any chance we could get a mod for NVG's? IRL nvgs will have a led or something that will blink in the corner of the vision when the battery 🔋 is low.
good mod