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.

Description

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.

Preview
Battery Warning (Anomaly 1.5.1/1.5.2)
Post comment Comments
Bik_Pichure
Bik_Pichure - - 17 comments

Must have

Reply Good karma Bad karma+7 votes
lildioss
lildioss - - 128 comments

Thanks, great addon!

Reply Good karma Bad karma+2 votes
sentinel_deco
sentinel_deco - - 171 comments

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...

Reply Good karma Bad karma+1 vote
ravenascendant Author
ravenascendant - - 1,100 comments

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.

Reply Good karma+1 vote
alisen88
alisen88 - - 288 comments

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

Reply Good karma Bad karma+1 vote
ravenascendant Author
ravenascendant - - 1,100 comments

RC18+ only.

Reply Good karma+1 vote
Gh0sTp
Gh0sTp - - 19 comments

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)

Reply Good karma Bad karma+1 vote
ravenascendant Author
ravenascendant - - 1,100 comments

RC18+ only

Reply Good karma+1 vote
Moduserx3
Moduserx3 - - 23 comments

No work in RC19?

Reply Good karma Bad karma+1 vote
ravenascendant Author
ravenascendant - - 1,100 comments

19=18+1 so yes it works

Reply Good karma+6 votes
saturnit3
saturnit3 - - 73 comments

Now that's a good understanding of mathematics

Reply Good karma Bad karma+6 votes
ravenascendant Author
ravenascendant - - 1,100 comments

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...

Reply Good karma+9 votes
Strogglet15
Strogglet15 - - 1,332 comments

ROFLMAO

Reply Good karma Bad karma+1 vote
gobravo
gobravo - - 144 comments

Work for the headlamp/Flashlight too?

Reply Good karma Bad karma+2 votes
ravenascendant Author
ravenascendant - - 1,100 comments

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.

Reply Good karma+1 vote
SniperHellscream
SniperHellscream - - 981 comments

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.

Reply Good karma Bad karma+1 vote
ravenascendant Author
ravenascendant - - 1,100 comments

screenshot showing flashlight pls

Reply Good karma+2 votes
ravenascendant Author
ravenascendant - - 1,100 comments

Just tested this. Flashlight works fine. you have some addon that is messing with flashlights. or item_device.script

Reply Good karma+2 votes
SniperHellscream
SniperHellscream - - 981 comments

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!

Reply Good karma Bad karma+1 vote
SniperHellscream
SniperHellscream - - 981 comments

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

Reply Good karma Bad karma+1 vote
Aragonite
Aragonite - - 98 comments

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

Reply Good karma Bad karma+1 vote
ravenascendant Author
ravenascendant - - 1,100 comments

the icon is displayed by the same system that displays the PDA notification. anything that messes with that will also mess with this.

Reply Good karma+1 vote
Tweaki_Breeki
Tweaki_Breeki - - 218 comments

This is actually very useful, thanks a lot!

Reply Good karma Bad karma+1 vote
GabeCPB0
GabeCPB0 - - 354 comments

Thanks for the mod! Will try it out!

Cheers!

Reply Good karma Bad karma+1 vote
Еngel
Еngel - - 108 comments

please tell me how to move the low battery icon to the hud?

Reply Good karma Bad karma+1 vote
ravenascendant Author
ravenascendant - - 1,100 comments

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

Reply Good karma+1 vote
Еngel
Еngel - - 108 comments

Thanks)

Reply Good karma Bad karma+1 vote
brunoagostinimariano
brunoagostinimariano - - 52 comments

Not work for me... no battery icon in the hud. How to fix?

Reply Good karma Bad karma+1 vote
ravenascendant Author
ravenascendant - - 1,100 comments

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.

Reply Good karma+1 vote
Is_Online
Is_Online - - 95 comments

I have the smaller pda notifs addon, will this be compatible with that.

Reply Good karma Bad karma+1 vote
ravenascendant Author
ravenascendant - - 1,100 comments

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.

Reply Good karma+1 vote
2-ton
2-ton - - 143 comments

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.

Reply Good karma Bad karma+2 votes
not_ur_mother
not_ur_mother - - 48 comments

good mod

Reply Good karma Bad karma+1 vote
Post a comment

Your comment will be anonymous unless you join the community. Or sign in with your social account:

Tags

Battery Warning (Anomaly 1.5.1/1.5.2) has not been tagged yet.