This mod makes it so companions don't die, they just get critically injured. They will be on the floor until the healed some, then get back up to fight again.
This mod makes it so companions don't die, they just get critically injured. They will be on the floor until the healed some, then get back up to fight again. The companions also won't die from headshots.
Be careful because if they take too many bullets from the player in 1 second it the game sometimes doesn't complete the callbacks to stop the damage, but normal enemies can't shoot this much (like if you unload a full mag into your companion).
They also won't die to grenades from npcs etc, or to mutants.
Update on 18/05/2023: Mutants and enemy stalkers will no longer continue to spam attacks on injured companions
How to install:
Go into mod folder, and then inside you will see gamedata. Drag this gamedata folder into your game directory and overwrite files if asked. Or, install using MO2.
So Hip becomes like Piper from FO4.
Чем же?
Gonna test this asap, I had to set companions immortal since they are too ignorant to remain alive for more than 2 gunfights and this way at least they died only on emissions, but this seems perfect!
Thanks. I also downloaded 2-3 different mods for immortal companions and just didn't want them to be so OP.
Tested on RC 22 it works flawlessy, you even waste a medikit when you want to revive them faster, just like in fallout. Perfection
Does this addon require the new RC builds to work?
I don't know, it won't hurt to try on RC18, because you can just delete the script from your gamedata folder. But it uses a new callback function which was just created some months ago.
Try to install the mod then shoot your companion, if the game doesn't crash then it works. But if you are on RC18, you should just upgrade to RC21.
I'm still on 1.5.0, I'll just wait for the official release of the next minor version. Been waiting for a addon like this for a long time. Other things that I would like to see or write is npc alertness when being shot from afar. Do you know where I can find the documentation to write my own scripts?
Работает на RC22. Вылетов не замечено на данный момент. Working on the RC22. No departures seen at the moment
Yes, working with RC22.
He is working with RC23?
Should be, any problems let me know
Love this mod, thanks for making it.
EDIT: Is there a way to remove medkit requirement on picking companions back up? They're not exactly the smartest tools around and they would have died to a lot of dumb stuff.
Is there a need for a new game?
can such a mod for unique companions such as hip?
or make it possible to enable / disable invulnerability for a specific companion.
Yes, I am making a small mod soon for creating your own "essential NPCs" which will have the same protection as this mod. Btw this mod will also protect Hip, if she is your companion currently. But if she isn't your companion yet it won't. My next mod will fix that
I don't think this is working as intended? My companions just keep getting back up on their own over time.. I want them to STAY DOWN until I can get to them and heal them... This is the same as the invincibility for companions addons.
Other mods just made the companions unable to take damage, I made it so they get critically wounded if they take too much damage, and if they get shot in the head, they immediately get critically wounded. Companion healing over time is controlled by scripts/axr_companions.script in the healing_timer function.
Cool mod, especially if you take only 1 companion. But if you take a large team, it will be too OP, almost cheating :D because they get up without a medkit after 20-30 seconds by themselves. It would be cool to limit their ability to self heal while they are injured.
Companion healing over time is controlled by scripts/axr_companions.script in the healing_timer function. You can change the line health = clamp(health + 0.1, 0, 1), to something like health + 0.05 instead.
I would like to comment that somehow in Red Forest, Monolith was able to kill Hip with this mod installed and enabled. I am not sure how they did it.. I was in cover, she was out attacking a huge crowd of them head on, like companions do, and during the onslaught, some kind of damage was able to trigger her death. It was announced, and took her icon off my HUD.
You might want to comb your script for anything you might have missed or forgotten.. I wish I had more information to help you, but I'm no scripter, and possess only basic knowledge of how to change number values in them.. That's how I figured after looking at the script in notepad and gathering a general sense of how it works, that you probably just forgot some damage type.. Hopefully narrowing it down to the Monolith NPC's in the area Red Forest is at least enough to help you identify what weapon or type of damage may have caused it. It could have also been a mutant or anomaly though..? Fire?
:( This is probably going to drive you nuts.
>she was out attacking a huge crowd of them head on
from the desc:
"Be careful because if they take too many bullets in 1 second it the game sometimes doesn't complete the callbacks to stop the damage, but normal enemies can't shoot this much (like if you unload a full mag into your companion)."
Hi, are you sure you didn't shoot her accidentally? I tested this with 2 companions vs like 5 alpha monolith squads fighting for like 10 minutes and they didn't die. Only the player should be able to kill the companion still, not any npc or mutant
I've got news for ya, Hip keeps dying in Dead City from a Monolith guy with a Gauss Rifle in Dead City with this addon.
Is there a way to edit the script to make downed companions stay down for a lot longer? 2-5min so i have to use a health kit on them?
Hi, to do this you have to edit scripts/axr_companions.script, look for the function called "healing_timer", because the auto-healing isn't done by my mod but by this default file. You can change the clamp(health + 0.1, 0, 1) to something like health+ 0.05 or something.
i tried this and it work but the downside is when companion go down in the last second it gonna take a while for them to stand up(give them medkit doesn't help)
I second the previous questions about companions staying down for londer :)
Can you do that for me (Us) ? :)
А как увеличить время воскрешения? Чтобы медленнее воскресал компаньон?
Или как сделать, чтобы они лежали ранеными, пока я не смогу добраться до них и исцелить их
Hey!
English is not my first language, which is why I have to use machine translation of the page.
This does not provide a completely reliable translation ... So I was confronted with the fact that I did not quite understand what the phrase "doesn't complete the callbacks to stop the damage" means.
Could anyone rephrase this?
And yes, this is also machine translation, I'm sorry)
Hi man,
It means if your companion take too many bullets at once it can die. It means when many enemies shoot at your companion in the same time, it can die from too much damage.
It is rare and very unusual, it will not happen probably.
Oh, now it's clear, thanks!
i had hip for a long while but she got killed by some sin guy, i guess i ran into that glitch someone mentioned.
The addon would be perfect if in the game menu you could toggle the invunerability.
Does this work with Strelok and the boys while doing the Living Legend quest ?
It will work for any companion, so if you see their portrait on the right side of your screen, it will protect them
Hi RazorShultz, seems like this mod is a little abandoned ... still
Could you pls make modification of this mod that:
- it would work only for Hip
- It would keep companions down for longer (twice as much or trice ?)
Pretty pls :)
I am currently working on a small mod to make other NPCs have the same protection as companions if you add their names to a list. I will make a compatibility patch with this mod, so you can either use both or just use that one, I'll release it soon i think
I really look forward to that.
I have already prepared mod with Hip reskin that also changes rewards you get from her for her rifle quest.
I would really like to use Hip, that is unkillable (even if she is incapacited on ground for one minut or more) and while other companions are totally killable (as they should)
This doesn't seem to work for me
I had two companions and took the to army warehouses. In a firefight with only two enemies, and from a good distance, both of my companions were killed.
Small idea to override the Check thing death how about giving them a invisible shield that blocks bullets/explosions until they stand up again?
That's already how it works essentially, if they are in the wounded state they ignore all damage
Companions can still die, I'm not sure what the rules are with this but, I know emissions out right kill them. Sometimes they do die in gun fights. But, I think I like it when they can have the chance of dying .
I do prefer this over the immortal companions mods as you can actually still die and loose fights (Especially with the random spawns addon)
My only complaint (that I'm not even sure is possible to get around or fix) is that when companions are down enemy's continue to attack them instead of attacking me or the other companions. Makes majority of fights I should loose very one sided in my favour
Thank you for creating this mod. I have been looking for one around for quite some time that did a similar job to what Bethesda does with your companions in their games, in which they can get incapacitated, but don't die. Thank you again.
I thought that the author was gone, it's good that there will be an opportunity in the next version to choose who will be immortal.
I myself tried to bind this scenario only to "Hip". 6 hours of experimentation and nothing else. In scripting I'm full nil. Tried to change the condition "if (npc: has_info (" npcx_is_companion ")) then"
If you insert: if (npc:character_community() == "stalker") - all stalkers in the game become immortal.
And if instead of "stalker" you put "devushka" or "stalker_devushka", then it does not work at all.
This is great! It makes the ChAES raid way less awful, thanks for the mod.
I've got news for ya, Hip keeps dying in Dead City from a Monolith guy with a Gauss Rifle in Dead City with this addon.
Hi, amazing mod, but I've been having some issues. That is: My companions keep getting killed. Sometimes they "don't die" as they are supposed to, and I've watched Hip getting machinegunned for 20 seconds straight without missing a beat. But sometimes they just... die. The rando ones more than all. Maybe they're out there fighting a mutant or an enemy and just like that their "invencibility" fails and they just die normally. Hip died once too (I wasn't with her, she picked a fight with the Military in south Cordon and I fast traveled away. 30 seconds later I got the notification that she kicked the bucket). This is, as you can imagine, really troublesome. I redownloaded the mod to check if it was caused by overlapping and will be getting back to you shortly if I see it happen again.
EDIT: My companions keep dying to normal attacks, I'll go check for another mod with similar functionality
Funtions like a charm!
Always wanted to prevent companions from dying without making them immune to damage, since they would just push through anything and eventually kill whatever they faced, which is OP.
This mod brings the perfect balance, great job!
Works well, but there seems to be an issue where giving companions a medkit doesn't do anything except wasting a medkit. This is normally not an issue unless you mod axr_companion to extend the time a companion is incapacitated. Hope to see an update.
Hi, how could you change axr_companion? I do not have such a file and I do not know how to extend their stay on earth, please help me
You must edit healing_timer() function.
Change it from health = clamp(health + 0.1, 0, 1) to something like health + 0.8 or maybe 0.03 if you want longer injury time.