Description

This addon forces your companions to switch off their headlamps when asked to be in stealth mode.

Preview
TB's companions deactivate headlamps when in stealth
Comments
reter
reter

thx, should fit with the stealth addon

Reply Good karma Bad karma+5 votes
Tweaki_Breeki Author
Tweaki_Breeki

I just checked, this will be compatible I believe.

Reply Good karma+2 votes
bvcx
bvcx

I didn't even know about this bug lol. Despite of flashlights/headlamps not affecting stealth/visibility on r2+ renderers, this is gonna be very helpful for dx8 users...and people who use my stealth addon (self promotion alert).
Thanks ;p

Reply Good karma Bad karma+5 votes
Tweaki_Breeki Author
Tweaki_Breeki

I agree! Thanks again for the bloodsucker cloak, I almost died to one (again) if it wasn't for the slight 90% transparency clue that it was about to rip my face off.

Gonna grab your "Hunger, thirst, sleepiness bars" next, that also looks like a winner! :)

Reply Good karma+4 votes
bvcx
bvcx

Cheers ;]

Reply Good karma Bad karma+1 vote
tenacious79
tenacious79

Awesome mod idea , thank you for this :) finally my companions can 'go dark' and maybe just maybe not get me killed this time ;)

Reply Good karma Bad karma+2 votes
Tweaki_Breeki Author
Tweaki_Breeki

We can only hope!

*looks at furthest companion*

"Come back here! Don't shoot at them yet! Where have you gone?!"

*looks at nearest companion*

"Can you... can you get out of the doorway? Any day now?"

Reply Good karma+2 votes
Vakkeran
Vakkeran

Is it possible to make it so you can command them to turn off their lights in general. Them waving their beams around while you try to use night vision really sucks. But this is one of the other gripes I've always had about companions in the dark.

Reply Good karma Bad karma+1 vote
Tweaki_Breeki Author
Tweaki_Breeki

Seeing as the "don't loot corpses" doesn't actually work properly, I thought about changing it for what you're asking. It's a little higher on the coding level, but I'll have a try!

Reply Good karma+2 votes
Vakkeran
Vakkeran

It doesn't? I notice they'll scoop up rifles laying on the ground, but never seen if they took anything off bodies' inventory.

Reply Good karma Bad karma+2 votes
zanghuashenwu
zanghuashenwu

me to

Reply Good karma Bad karma+1 vote
zanghuashenwu
zanghuashenwu

Is there a patch to fix this bug?

Reply Good karma Bad karma+1 vote
captainfriendo
captainfriendo

There's already a setting in the options for this. I believe it's in graphics, can't check right now. It's called companions use headlights or similar.

edit: Here you go, Settings->Visual->Advanced->Stalkers can use headlamps

Reply Good karma Bad karma-2 votes
Vakkeran
Vakkeran

That turns off everyone's headlamps. Just want the companions following you to turn theirs off.

Reply Good karma Bad karma+3 votes
niandica
niandica

I really like the idea but something weird happened to me, after installing this addon, I'm always in "combat mode", I mean, every chopper I found shoots me, and I need to enable the option "allow during combat" to fast travel, if I disable the addon, everything works fine...

Reply Good karma Bad karma+1 vote
Tweaki_Breeki Author
Tweaki_Breeki

I'm not certain why this would happen, the only code that is changed is:

| if htime <= 4 or htime >= 20 then

and:

| if (stalker:has_info("npcx_is_companion")) then
| if (stalker:has_info("npcx_beh_substate_stealth")) then
| if torch then
| if (torch:attachable_item_enabled()) then
| torch:enable_attachable_item(false)
| end
| local se_torch = alife_object(torch:id())
| if se_torch then
| alife_release(se_torch)
| end
| end
| end
| end

I've started a new game for myself today, and so far the choppers are patrolling over me but not hostile, and I have a companion and two guys for the Tourist Safari mission :/

Edit: Looking at this code after indentation is removed has made me realise how I could just wrap that all up with 'and' operators (facepalm).

Reply Good karma+1 vote
IgorDolvich
IgorDolvich

Bruh, this is amazing, thank you. I play with the Stealth mod by bvcx and it would always annoy me when my companions would randomly decide to turn on their headlamps during stealth and blow our cover.

Reply Good karma Bad karma+2 votes
Tweaki_Breeki Author
Tweaki_Breeki

Glad you like it, it was a bit weird how they would do this. No longer! :)

Reply Good karma+3 votes
Guest
Guest

Now if the NPC companions would have better options in the tactics wheel that would be useful.

Telling a companion to go in stealth makes them ignore all combat. No option to fight if Player is attacked. Kinda strange.

Reply Good karma Bad karma0 votes
Tweaki_Breeki Author
Tweaki_Breeki

Companions in stealth mode still do attack enemies, if you also have them in "Fire At Will" mode too.

There is already an option when you talk to them: "Let's talk about tactics..." and in there you can ask them to attack if you get shot, but if this actually works I'm uncertain.

I would also like new options in the wheel, I might start learning about it as well!

Reply Good karma+1 vote
GabeCPB0
GabeCPB0

Works great! A must-have!

Reply Good karma Bad karma+1 vote
Tweaki_Breeki Author
Tweaki_Breeki

That's great to hear, I'm glad this is useful, even if just a small change to the game :)

Reply Good karma+1 vote
L30W
L30W

Thank you! This is one of the most useful mods that fixes something very important.
Hope this fix will be integrated in the main game.

Reply Good karma Bad karma+1 vote
Tweaki_Breeki Author
Tweaki_Breeki

Agreed! If any Anomaly devs are looking at this comment, please do put this in the next update!

I've also made it so that the screen doesn't go black when you place a sleeping bag on the floor, but haven't released as yet due to possible incompatibility with other mods.

There are lots of small things that need adjusting, slowly but surely :)

Reply Good karma+2 votes
yorkie89
yorkie89

Oooh... now i don't have to shot Hip just to make her turn off that damm torch ...oh wait, she got herself killed in mid-night crossfire...
By any chance can we have "CPR your dead Hip" (just joking )
loving this mod, even just a simple light on/light off, makes the game much better! 11/10

Reply Good karma Bad karma+1 vote
Tweaki_Breeki Author
Tweaki_Breeki

Ha, cheers!

Yeah, this started by me using the "Companion Inventory Unlock" addon, where you can see their whole inventory, and I took their headlamp... but they just magically generated a new one each time I took it.

They're all a bit daft sometimes, for backpacks with legs :D

Reply Good karma+1 vote
Guest
Guest

This comment is currently awaiting admin approval, join now to view.

ST0NER
ST0NER

TY!! I'm going download it and I still did not try it, but you already have my 10/10
A very necessary Addon

--- edit ----

YES, it works perfectly and without conflict with none of the bunch of addons that I have installed. Thank you.

Reply Good karma Bad karma+2 votes
renzie_raven
renzie_raven

Disclaimer before I post this: Scripting and Coding are things that I have no real experience in.

So I have been carefully testing changes to this script. My "knowledge" is based on very messy re-writes that I have somehow managed in the past so safe to say I am clueless. I have been trying to find a way to make this script affect companions when they are NOT in stealth mode too. I love NPCs having flashlights, I HATE companions having them.

I been working my butt off to make my companions function in a useful way and all I need to do is find out how to entirely disable their flashlight and then I will be done. It screws with my NVGs and my own torch.

Reply Good karma Bad karma+1 vote
Zima-Blue
Zima-Blue

I loved your mod. Now all we need is a mod that makes the companions open the way when you try to pass them, another that makes them stop walking in circles bumping into you and, finally, one that creates a minimum distance between them, because looking back and seeing your mates practically inside each other totally breaks my immersion.

Reply Good karma Bad karma+1 vote
Post a comment
Sign in or join with:

Only registered members can share their thoughts. So come on! Join the community today (totally free - or sign in with your social account on the right) and join in the conversation.