Description

Create a list of Essential NPCs who won't die. But they can be wounded if they get hurt. Like companions in Fallout or Skyrim. Tested for 1.5.1 but should work on others.

Preview
Immortal Important NPCs [1.5.2]
Post comment Comments
DELORIANx2
DELORIANx2 - - 185 comments

спасибо, ато надоело

Reply Good karma Bad karma-1 votes
M4K5P0W3R
M4K5P0W3R - - 284 comments

Полезный мод

Reply Good karma Bad karma+3 votes
StronGV
StronGV - - 592 comments

Doesn't work absolutely! Although before that your mod "Companions Don't Die" was installed and it worked perfectly. At the moment I have a "hip" companion and when I shoot at her she dies. Uncomment the wolf, shoot him - he also died. It's a pity, I was waiting for this mod, I just wanted to make the "hip" immortal.:(((

Reply Good karma Bad karma+2 votes
RazorShultz Author
RazorShultz - - 58 comments

What edits did you make to the script?

Reply Good karma+3 votes
StronGV
StronGV - - 592 comments

Already figured it out. It turns out that the name needs to be entered in the language in which the game is running. If there is an English version of the game, then the name should be written in English, and if it is Russian, then in Russian. I have a Russian version. Wrote "Хип" - it worked.
I think we need to add this to the description of the mod.

Reply Good karma Bad karma+4 votes
RazorShultz Author
RazorShultz - - 58 comments

Good idea!

Reply Good karma+2 votes
RazorShultz Author
RazorShultz - - 58 comments

I edited the description to show Russian version, you think it looks ok?

Reply Good karma+3 votes
StronGV
StronGV - - 592 comments

Ok, but need to clarify that this is only for the Russian version of the game.

Reply Good karma Bad karma+4 votes
hQrUWkqMUaEEb
hQrUWkqMUaEEb - - 20 comments

i have the same, not work, can they all kill. use engl., but rus work too not.

Reply Good karma Bad karma+3 votes
Guest
Guest - - 690,697 comments

I tryed this out since my merc contacts keep wandering out and dying from mutants, It's working for me. Thank you for this mod :)

Reply Good karma Bad karma0 votes
ZSHADOWWOLF
ZSHADOWWOLF - - 108 comments

Добавь в список Фургона с Кордона, а то его постоянно бандиты убивают

Reply Good karma Bad karma+2 votes
PripyatBandit
PripyatBandit - - 166 comments

I'm trying to add Noah to the immortal list, but he's still dying to mercs all the time :(

Reply Good karma Bad karma+3 votes
thepainkiller666
thepainkiller666 - - 32 comments

For some reason, whenever the military from the south camp attack the rookie village and the military repairman dies, my game crashes. I'm gonna try installing this to my game and see if it solves the crashing by not having him able to get killed...though I hope he doesn't wander into the rookie village or it's gonna be a massacre

Reply Good karma Bad karma0 votes
Guest
Guest - - 690,697 comments

i dont quite understand the instructions for adding NPCs to the list, or rather, where exactly to add them, like, is it in the ingame console or...?

Reply Good karma Bad karma+1 vote
furqonoof
furqonoof - - 21 comments

download & open the file > open "gamedata" > "scripts" > edit it

Dont forget to extract the file first

Reply Good karma Bad karma+1 vote
One_Two
One_Two - - 12 comments

Скачал этот аддон, потому что Фанат и Хип уходили из деревни и умирали в самом начале игры

Написал в скрипте:

local importantNPCs = {
"Хип",
"Фанат",
"Волк"
}

Но Фанат всё равно умирает, когда я бью его ножом. Хип не проверял.

Reply Good karma Bad karma+2 votes
L1R1K
L1R1K - - 18 comments

Установил мод, также попробовал - и сам её убить могу, и через дебаг меню проверил - она умерла с пары выстрелов военного. Явно что-то работает не так, хотя, кажется, всё по инструкции.
--
Eng: We complain about mod not working properly. Both me and One_Two have the same issue: on the Russian version of the game, it just doesn't affect listed NPCs, e.g. they die as usual.
I've spawned an army squad, and one soldier killed Hip in few shots. Same for damage taken from the player.
UPD: just checked this out. On the English version, everything is okay. But on Russian, it stops working. I've checked Hip's name with the debugger, it states "Хип" and that's what typed in the script in the first line where the names should be listed.

Reply Good karma Bad karma+4 votes
One_Two
One_Two - - 12 comments

Слушай, зашёл в папку config/scripts/escape, там лежат файлы с названиями типа fanat, wolf и т.д.
Так вот если открыть такой файл (того же Фаната), там есть секция invulnerable = false. Попробуй заменить false на true, вдруг выгорит. Я сейчас этим заняться не смогу, только в понедельник.

Reply Good karma Bad karma+1 vote
L1R1K
L1R1K - - 18 comments

проверил, у меня не сработало - всё так же смертные (проверял на Хип)

Reply Good karma Bad karma+1 vote
L1R1K
L1R1K - - 18 comments

Неужели я нашёл решение. После трёх дней мучений, виновник найден.
Как я и подозревал, проблема в кодировке. Скриптовые файлы с Кириллицей надо открывать и редактировать в кодировке Windows 1251. По умолчанию же они открываются в кодировке Utf-8 (по крайней мере, у меня).
Решение проблемы:
0) Вы можете скачать готовую версию этого мода для русской версии игры, где уже сделаны бессмертными Хип и Стрелок, также можете расскомментировать/удалить лишние строки.
Drive.google.com
ИЛИ
1) Открыть файл immortal_important_npcs.script каким-нибудь продвинутым текстовым редактором. (Лично я использую бесплатный и удобный для этого дела VS Code от Microsoft, объясню на его примере).
Code.visualstudio.com
2) В редакторе, справа снизу, в строке фиолетового цвета будут надписи: UTF-8 и Plain Text. Первое - это кодировка, второе - режим подсветки синтаксиса, по умолчанию - обычный текст. Нас интересует надпись UTF-8. Нажимаем на неё.
3) В появившейся строке [Select Action] нажимаем на Reopen with encoding. Вводим 1251 и тыкаем на появившийся вариант "Cyrillic (Windows 1251)".
4) Если всё сделали правильно, в переменной local importantNPCs = { ... } строки русскоязычные, если вы их уже вводили, изменятся на кракозябры. Если там их не было, ничего не поменяется. В любом случае, сейчас вы должны ввести имена важных NPC, которых хотите сделать бессмертными, как указано в шапке мода, например:

local importantNPCs = {
"Хип",
"Стрелок",
"Фанат",
"Волк"
}

После того, как ввели, нажимаем снова на кодировку (теперь там написано Windows 1251), выбираем "Save with encoding", снова выбираем "Cyrillic (Windows 1251)".
Поздравляю! Вы великолепны. Проверил на своей версии, всё заработало.
5)* Бонус-уровень. В будущем, для редактирования файлов игры, рекомендую использовать установленный редактор. В нём, в разделе расширения (4 кубика в тулбаре сбоку) вводим Russian Language, устанавливаем самый верхний пак, применяем. Также вводим Lua, в самом вверху будет Lua Language Server, устанавливаем. Теперь при октрытии .script файлов будет удобная подсветка синтаксиса, а не серые буквы на сером фоне, и вы сможете просто и понятно редактировать файлы игры.

Удачи в зоне, сталкеры!

Eng: I've found a problem solution for this addon not working on the Russian version of the game. In short, there's a problem with encoding: it seems the game uses Windows 1251 encoding for Cyrillic symbols, and by default file immortal_important_npcs.script is saved in utf-8 (Unicode). Hence when we type something in Russian, for the game string "Хип" looks like "РҐРёРї" (I've got this by saving string "Хип" in utf-8 and reopening with Win 1251).
The solution is simple: open the file in Win 1251 encoding, type NPCs names, and save in this same encoding. I've used the Visual Studio Code editor for this. I recommend the author add two folders for -eng and -rus versions of the game with preset names in the Win 1251 encoding file for the Russian version, which I may provide.
UPD: here's the link for the Russian version of the mod already saved in Windows 1251 encoding, with immortal Hip and Strelok: Drive.google.com

Reply Good karma Bad karma+13 votes
One_Two
One_Two - - 12 comments

Спасибо, попробую поставить твою правку.

Reply Good karma Bad karma+2 votes
mortymere
mortymere - - 15 comments

Спасибо огроменное, все работает.

Thank you very much, works like a charm.

Reply Good karma Bad karma+2 votes
Guest
Guest - - 690,697 comments

Ваш способ помог!

Reply Good karma Bad karma+1 vote
KagirOdimm
KagirOdimm - - 11 comments

Ваш способ работает, спасибо .Причем notepad++ не справляется с задачей, нужен именно ваш предложенный инструментарий, именно Visual Studio Code. В общем ,СПАСИБО!

Your method works, thank you.Moreover, notepad++ does not cope with the task, it is your proposed toolkit that is needed, namely Visual Studio Code. In general, THANK YOU!

Reply Good karma Bad karma+2 votes
Vlaros161
Vlaros161 - - 8 comments

Я делал через notepad++ все заработало.

Reply Good karma Bad karma+2 votes
Pezzo11
Pezzo11 - - 40 comments

I wish it was working but nah, Mangun is supposed to be invincible but 3 bullets were enough to kill him. Is that normal ? (I use English for the game and the file was set for English name too)

Reply Good karma Bad karma+1 vote
Guest
Guest - - 690,697 comments

Can someone please tell me how I can activate this for "Sloglav", is it in the debug mode or the console? Someone please explai this to me

Reply Good karma Bad karma0 votes
Mich_Cartman
Mich_Cartman - - 3,795 comments

Hey, thanks for the work.
Is it possible to make it work with Grok's Ballistic Overhaul? When both installed everyone from the list in the script dieing very well. I checked this issue with clean Anomaly with only these two addons.
Thank you.

Reply Good karma Bad karma+5 votes
ST0NER
ST0NER - - 211 comments

Hello, first of all, thanks for your work with this Addon
Now my query is ... Is there a complete list of important characters to add?
I am a super rookie in this and I would not like me to die any important character, but I have no idea who are ...
Thanks in Advance.

Reply Good karma Bad karma+5 votes
adamjpurtee
adamjpurtee - - 127 comments

Is there anyway to make certain NPCs not immortal? Like Gatekeeper and ppl at rookie village. I dont wanna kill Sid or Barman.

I think one should be able to completely wipe out a camp.

Reply Good karma Bad karma+3 votes
Guest
Guest - - 690,697 comments

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

Guest
Guest - - 690,697 comments

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

Guest
Guest - - 690,697 comments

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

R3dShift
R3dShift - - 22 comments

Doesn't work

Reply Good karma Bad karma+1 vote
Mavrogatos
Mavrogatos - - 7 comments

Does this mod makes them outright invulnerable? I emptied a mag on Hip and she wouldn't bat an eye, I want them to just fall wounded and recovering after I'm long away from there.

Update: Tried to add Lukash and failed resoundingly. I have the script written this way, don't know what's wrong.

local importantNPCs = {
"Hip"
--"Hip",
--"Dima Hangman",
--"Wolf",
--"Fanatic",
--"Lukash"
}
________________
I'll try again removing the "--" at the beginning, since they came by default in the script yet they don't appear in the mod description.
________________
Finally tried it again just to find out only works for companions who crouch when they get wounded while the other NPCs just become immortal no matter how much I shoot at them. tried with Reefer, the bandit in Agroprom Underground and he wouldn't go down after 20 buckshots. I just want them to fall wounded without killing them but I don't know what do I have to write or remove.

Reply Good karma Bad karma+4 votes
Mavrogatos
Mavrogatos - - 7 comments

I did it! Decided to come back to this game and somehow I did find how to do what I intended!

All I did was delete from "printf("it's HIP's the player or a companion")" to "else" as if it were never there and now NPCs DO fall down when I shoot at them.

Hope this finally helps you, fellow stalkers.
_________________
Nevermind, sure by deleting that now I can make them fall down without killing them but now enemies can kill them. Either way, it's progress I guess.

Reply Good karma Bad karma+1 vote
Cynco
Cynco - - 6 comments

I tried deleting the same thing, yet they still do not fall over, any idea why?

Update: It works now. I'm now trying to make it so they can't be killed by NPCs. I'm doing this by trying to combine the Tougher Companions and NPCs mod with this mod.

Reply Good karma Bad karma+1 vote
Guest
Guest - - 690,697 comments

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

javercast624
javercast624 - - 20 comments

where to write the npcs?

Reply Good karma Bad karma+2 votes
Guest
Guest - - 690,697 comments

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

loginika1234567
loginika1234567 - - 3 comments

Подскажите или помогите сделать всех их бессмертными!)
Как сделать весь этот список бессмертными?
Я не могу понять зачем их делать смертными ломая игру и добавляя на их место бесполезных нпси
Почему аддон не дает выбор?
Война группировок нормальная тема после сюжетки но ключевые персонажи постоянно дохнут
---------
Prompt or help to make all of them immortal!)
How to make this whole list immortal?
I can't understand why they should be made mortals by breaking the game and adding useless NPS in their place
Why doesn't the addon give a choice?
Gang war is a normal topic after the plot, but key characters are constantly dying
---------
Help me pls!)
"Хип",
"Стрелок",
"Шов",
"Бродяга",
"Профессор Сахаров",
"Дух",
"Дуб",
"Тесак",
"Пианист",
"Мослина",
"Кассир",
"Дядька Яр",
"Турист",
"Грифон",
"Тихий",
"Чемодан",
"Сплин",
"Сыч",
"Айдар",
"Шустрый",
"Борода",
"Краб",
"Гармата",
"Гонта",
"Лоцман",
"Спартак",
"Ной",
"Вектор",
"Колин",
"Гарик",
"Локи",
"Гаваец",
"Ашот",
"Азот",
"Костоправ",
"Зверобой",
"Кардан",
"Гарин",
"Профессор Герман",
"Профессор Озёрский",
"Бомбила",
"Клён",
"Гном",
"Лесник",
"Хог",
"Хирург",
"Душман",
"Алсан",
"Леопард",
"Леший",
"Твёрдый",
"Лукаш",
"Шуруп",
"Скряга",
"Цербер",
"Ст. сержант Громов-Потрыко",
"Лёлик",
"Арни",
"Осведомитель",
"Гарик",
"Жорик",
"Навигатор",
"Бармен",
"Генерал Воронин",
"Лейтенант <<Аспирин>> Сострадов",
"Полковник Петренко",
"Старшина Киценко",
"Капитан Гавриленко",
"Маслина",
"Мопс",
"Султан",
"Мясник",
"Комбат",
"Сержант Ложкин",
"Лейтенант Роговец",
"Ст. лейтенант Кириллов",
"Полковник Кузнецов",
"Спора",
"Новиков",
"Библиотекарь",
"Иван Тропник",
"Профессор Каланча",
"Холод",
"Доктор",
"Лемур",
"Фургон",
"Фанат",
"Волк",
"Сидорович",
"Серёга",
"Майор Журов",
"Дровосек",
"Полимер",
"Проповедник",
"Харон",
"Кролик",
"Скрепа",
"Скупец",

Reply Good karma Bad karma+3 votes
Guest
Guest - - 690,697 comments

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

skyrimwarrior159
skyrimwarrior159 - - 1 comments

Замечание для тех, кто играет на русском языке и использует notepad++ для редактирования файла этого мода:
В настройках по умолчанию, (Опции >> Настройки >> Новый документ >> Кодировка)
До открытия файла в программе убрать галочку "Применять к открытым ANSI файлам
(Под пунктом UTF-8)
После чего открыть файл на редактирование и вписать имена нужных NPC на русском языке. Если все сделано правильно, то в самом правом нижнем углу будет указанно - (Windows CR LF ANSI)
Если же там UTF-8, распаковываем файл immortal_important_npcs.script из архива и делаем как написано выше.

Reply Good karma Bad karma+2 votes
Guest
Guest - - 690,697 comments

this mod is kinda wierd how it "works" at least for me using gamma,
it worked at early saves when going through red forest where it protected Stribog & Dazhbog(where they basically ignore npc fire & just stand about even if there are enemies) but after multiple visits the protection just dissapears & they act like normal npcs that get aggroed.

Reply Good karma Bad karma+1 vote
Cynco
Cynco - - 6 comments

Hi, how do I set the time for which the npc is injured?

Reply Good karma Bad karma+2 votes
CuCe4Ka
CuCe4Ka - - 14 comments

Мод не пашет на ру версии игры всё делал по инструкции и пробовал способы челов из комментариев но хип как пускали по кругу так и пускают

Reply Good karma Bad karma+1 vote
Guest
Guest - - 690,697 comments

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

Post a comment

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