Description

A modification of "Respawn_Mode_1.0.3" by Yonte. Converted and modified for Anomaly 1.5.1/1.5.2 by Mr_Gepardas. With Additional features + MCM Support.

Preview
[1.5.2][1.5.1] Respawn Mod/Curse of Immortality 1.1.0 [MCM]
Post comment Comments  (0 - 50 of 205)
Trefan
Trefan - - 104 comments

THANK YOU!

Reply Good karma Bad karma+5 votes
Foxhed
Foxhed - - 256 comments

the 2 only things i didn't liked about the orignal are:
- a stash is not created in the place you died
- the place where you respawn should be the last place you sleept

Reply Good karma Bad karma+3 votes
Spacecheese88
Spacecheese88 - - 92 comments

Where do you respawn?

Reply Good karma Bad karma+2 votes
Foxhed
Foxhed - - 256 comments

it depends on the faction, i think loner you respawn in Sidorovich's bunker?

Reply Good karma Bad karma+2 votes
Spacecheese88
Spacecheese88 - - 92 comments

Ahh ok. Would be good about going back to the last place you slept..

Reply Good karma Bad karma+4 votes
Mr_Gepardas Author
Mr_Gepardas - - 40 comments

1. As seen from the original mod by Yonte, there seems to have been some issues with that, which is also why I put in the insurance feature so there is at least some chance that you will keep some items with you
2. With version 1.0.2 Beta1 this is now finally possible.

Reply Good karma+3 votes
madtrickster13
madtrickster13 - - 3 comments

Can I disable the Insurance feature in-game or through the gamedata file?

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

Under scripts, there is a respawn_mode.script file. On line 72, you can set the insurance "chance" to like 0% instead of the default 45%

Reply Good karma Bad karma+1 vote
Guest
Guest - - 688,965 comments

Also below that would change "...(0,100) <=..." to "...(1,100) <=..."

Reply Good karma Bad karma+1 vote
Grokitach
Grokitach - - 895 comments

(buried)

Be sure to try Azazel mode first. It's already in the game and does allmost the same thing (minus secure container and insurance)

Reply Good karma Bad karma-7 votes
DennyW
DennyW - - 45 comments

Cant do story with Azazel

Reply Good karma Bad karma+3 votes
Sentinowl
Sentinowl - - 4 comments

People are here because they want Azazel without the Random Stalker respawn.

Reply Good karma Bad karma+4 votes
Guest
Guest - - 688,965 comments

and the dead body in azazel mod is a bug

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

Thanks for porting over the mod. This respawn system is a nice in-between Ironman and Campfire Saves. For my own game, I tweaked respawn_mode.script to keep certain items on death like the starter Makarov, bandages, and newbie backpack as well as lowering the "insurance" chance to 5%. Really brutal and enjoyable with 1:1 population.

Reply Good karma Bad karma+3 votes
Ziggylata
Ziggylata - - 44 comments

Hey, I really like this mod and I appreciate it and what it does for the pacing, since you arent constantly reloading your save when something bad happens or you die.

Id like to suggest some things.

Beyond just make it more stable and less buggy, id like to see a feature added that accelerates time by a day or two, so that when you respawn, you are a day or two in the future. This could allow NPCs to move around, mutants and squads to respawn and allow the game to be sort of "repopulated", same with jobs if you need to get money again.

Thanks very much. I want to see save reloading discouraged/disabled in every way possible as I think it really ruins the feel of Stalker, but the game doesnt really support that without mods like this.

Reply Good karma Bad karma+5 votes
Ekkaia!
Ekkaia! - - 301 comments

Could be an option in the new game window like iron man and so on? Could be nice (sometimes wanna play this way, sometimes in a normal way)

Reply Good karma Bad karma+2 votes
Mr_Gepardas Author
Mr_Gepardas - - 40 comments

Have actually looked in to doing that, but unfortunately it requires editing a lot of files, some which I don't even know much about and I do not have that much free time.
Would prefer having the mod as a toggleable option within the game, so then people could easily change up "Change" values and other values in the game, instead of having to edit respawn_mode.script manually.

Reply Good karma+1 vote
DennyW
DennyW - - 45 comments

any chance you could make it so you only respawn with your essentials? like you outfit and maybe secondary weapon and a couple of random misc. Think of it as an simulation of random stalkers robbing you before you are brought to safe place

Reply Good karma Bad karma+1 vote
DennyW
DennyW - - 45 comments

Btw which mode is this meant to be played with right now cant you just reload your save after you die?

Also i get reproducible CTD when dying to electro and acid anomalies in Corden

Reply Good karma Bad karma+1 vote
Guest
Guest - - 688,965 comments

Think it's mainly to play in modes where dying woulf result in needing to reload a game. So one of them would be story mode. Also think it's more like an option if you want to reload or if you want to continue with the punishment of getting killed, by losing some of your stuff in your inventory, can kind of change your playing style, or for some people help to play the game more like some ripoff single player escape from tarkov

Reply Good karma Bad karma+1 vote
Mr_Gepardas Author
Mr_Gepardas - - 40 comments

Hi DennyW, the mod was mainly aimed like the original, to play in the story mode, without needing to always reload the game. You can still reload game to before death, but it is mainly for people who want to keep playing with the consequences of death. Something between iron man and azazel mode.

Which version of the mod are you using when you are getting the CTDs? Btw to update the mod from an older version would be best to first delete all files that were added with older version, and then just to copy over the new version.
How often does the CTD happen and where about?
I have tried to reproduce the bug (Mod 1.0.1 Beta 2) in Cordon near mill (acid anomaly guessing) and electro anomaly between Farmstead and military checkpoint (north of Cordon) but have not experienced the CTDs

Reply Good karma+1 vote
DennyW
DennyW - - 45 comments

Works perfectly with Ironman, once you die saves are delted but you still respawn,

Ctd turned out to be caused by amnesia mod

Reply Good karma Bad karma+3 votes
Ziggylata
Ziggylata - - 44 comments

Hey, just tried this mod and I do like what its doing and the impact on the game, however there are some things im concerned about that id like an explanation for, as well as feedback on it currently.

I like the respawning (as far as cordon is going, I havent given it an honest full playthrough). I like how the mod tells you the money youve lost and I like how this encourages you to live with your consequences rather than just reload your saves over and over.

I do not like the new starting gear, and starting with multiple guns, this is a negative change in my opinion. I do not like how it deletes my saves after respawning because sometimes a bug just happens and I like to have the option to go back when that happens. This is still the xray engine after all, sometimes things just dont work.

Id like to know what happens to items after my respawn and how this affects quest-important items such as the psy-helmet or package deliveries.

How are respawn points set? Could stashes or other means of dropping gear be made?

I think itd be neat if you dropped a lootable stash when you died, so that if you died to mutants, your gear might be left over and recoverable (maybe with durability damage) and if you died to stalkers, its very likely in their possession.

Reply Good karma Bad karma+1 vote
deker512
deker512 - - 20 comments

the author should try to make death according to the following mechanics: after death, a backpack similar to the "quick throwing of objects" item appears . so that the character is reborn with items that the item did not throw away, and a backpack with all the good appeared at the place of death. there is an addon "minecraft respawn". it looks very good, but his jamb is that suddenly the character becomes immortal (after a complete loss of health, health is completely healed and in the same place)

Reply Good karma Bad karma+1 vote
DennyW
DennyW - - 45 comments

Deleting saves only happens when you play Ironman (try out the mod before complaining too much man:D), but imo it is nececary otherwise you can just reload each time you die and should properly just play vanilla. If you are worried about CTD you should backup your save games reguarly in Stalker Anomaly\appdata\savedgames, it's a good idea to do this even without this mod.

I agree that starting loadouts are lazy/bad, here (https://filebin.net/0fl58q8ob2aovh8q) is my edited loadout that is more balanced and diverse across all faction, needs to go into;\Respawn_Mod_\gamedata\configs\items\settings

If you go read through the scripts file you would see:
local ignore_list = {
["cash"] = true,
["device_pda_1"] = true,
["device_pda_2"] = true,
["device_pda_3"] = true,
["wpn_knife"] = true,
["wpn_knife2"] = true,
["wpn_knife3"] = true,
["wpn_knife4"] = true,
["wpn_knife5"] = true,
-- important quest items:
["army_isg_pendrive"] = true,
["attackers_pda"] = true,
["bad_psy_helmet"] = true,
["blackbox_mlr"] = true,
["chernobog_notes"] = true,
["cit_doctors_key"] = true,
["cit_doctors_pda"] = true,
["contact_lost_pda"] = true,
["decoder"] = true,
["decryption_radio"] = true,
["drekavac_notes"] = true,
["drx_agr_u_documents"] = true,
["drx_jup_u_documents"] = true,
["drx_sl_quest_item_1"] = true,
["drx_sl_quest_item_2"] = true,
["drx_sl_quest_item_3"] = true,
["drx_x16_documents"] = true,
["drx_x18_documents"] = true,
["drx_x19_documents"] = true,
["drx_x8_documents"] = true,
["good_psy_helmet"] = true,
["hb_isg_dushman_intel"] = true,
["item_pda_map_mlr"] = true,
["jup_b32_scanner_device"] = true,
["lx8_history_2_documents"] = true,
["lx8_history_3_documents"] = true,
["lx8_history_documents"] = true,
["main_story_1_quest_case"] = true,
["main_story_2_lab_x18_documents"] = true,
["main_story_3_lab_x16_documents"] = true,
["main_story_4_lab_x10_documents"] = true,
["main_story_5_lab_x8_documents"] = true,
["main_story_6_jup_ug_documents"] = true,
["main_story_7_mon_con_documents"] = true,
["mlr_strelok_item_01"] = true,
["pri_decoder_documents"] = true,
["radio_connections_pda"] = true,
["recover_mutant_data_device"] = true,
["x8_documents"] = true,
["special_delivery_case"] = true,
["strelok_pendrive"] = true,
["zat_b40_sarge_pda"] = true,
["artefact_container"] = true

seems like most things are accounted for including bad and good psy helmet, not sure about package delivery, maybe that is special_delivery_case

Reply Good karma Bad karma+2 votes
LunaticMerc
LunaticMerc - - 26 comments

This mod + iron man = best hardcore mode. Great job!

Reply Good karma Bad karma+3 votes
LunaticMerc
LunaticMerc - - 26 comments

Bug encountered:
When I died because of psy storm, I respwaned but I`m stuck in black screen. I think it`s because of the "zombie" mechanics when you`re hit by a lightning from psy storm

Reply Good karma Bad karma+2 votes
Mr_Gepardas Author
Mr_Gepardas - - 40 comments

Hi LunaticMerc, I think I was able to reproduce the bug in my own game, it even happened with an emission, seems like the game might have something additional, when you die during emission. Saw words "You survived fate worse than death" and then just seeing blackscreen as well.

Going to be investigating this bug and hopefully able to resolve it. While this bug is still happening, would strongly recommend to keep some sort of backups of your saves, especially if you are playing on iron man mode, as it will delete your saves and with this blackscreen, do not think you can even save the game or go back to an older save

Reply Good karma+2 votes
Mr_Gepardas Author
Mr_Gepardas - - 40 comments

Have just released 1.0.2 Beta 2 version with the possible fix for black screen issue after respawn. Unfortunately this fix only works on savegames that have not died due to PSY or Emission storms. This new version also includes new loadout options by DennyW.

The black screen bug mainly happens due to Anomaly using custom PSY health system, of which I was not aware, so when your PSY health reaches 0, the game has an automatic condition to kill the character, even if health and other statuses are back to full, with full removal of any controls. This is why after respawning even ESC button stops working, as the game disables controls for the full level.
With the Beta 2 version of the mod I am resolving this issue by applying new PSY health value on death, which after respawn gives back full control to the player.

Reply Good karma+2 votes
LunaticMerc
LunaticMerc - - 26 comments

Thanks for the update! Can`t play iron man without this now

Reply Good karma Bad karma+1 vote
DennyW
DennyW - - 45 comments

Bug: If you fight in Rostok arena and die you will respawn without anything except the equipment you are provided in the arena fight

Reply Good karma Bad karma+3 votes
DennyW
DennyW - - 45 comments

Btw how do I edit respawn chance in bed to 100%?
All I see is this;

--Respawn in Bed decision
local respawn_mod_gepardas = alife_storage_manager.get_state().respawn_mod_gepardas
if math.random(1,100) > respawn_in_bed_chance or not respawn_mod_gepardas then
alife_storage_manager.get_state().respawn_mod_gepardas = nil
db.actor:give_game_news("Respawn Mod", "Your body has been returned to default starting location.","ui_inGame2_neutral_2_mask", 0, 20000)
elseif respawn_mod_gepardas then
db.actor:give_game_news("Respawn Mod", "Your body has been returned to your last sleep location.","ui_inGame2_neutral_2_mask", 0, 20000)
end

Reply Good karma Bad karma+2 votes
Mr_Gepardas Author
Mr_Gepardas - - 40 comments

in respawn_mode.script should be line 5 "local respawn_in_bed_chance = 80 ---- %Chance for player to respawn in last slept bed"

just change that to = 100

Reply Good karma+1 vote
Mr_Gepardas Author
Mr_Gepardas - - 40 comments

yeah, just checked it, I am able to reproduce this bug, for the items, seems that I should be able to fix that, as I believe there should be a way to get those items back. Newest version should be uploaded soon.

Unfortunately though, it looks like if you die in the arena, it breaks the whole mission, so when you come back to do arena again and select "I am ready", it does nothing. Really unsure if I will be able to fix that. Then again I guess there is not real solution that would go well, as if you failed the arena and died, you really should not be able to keep trying and trying again, almost becomes like a game reload. So if I cannot fix this bug then basically if you die in arena, you cannot try the arena mission again.

EDIT:
1.0.2 Beta 3 just uploaded with the first quickfix regarding getting the inventory back from arena upon death. This does not however fix the arena mission/quest. This might take much more time or even be impossible for me to fix.

Reply Good karma+1 vote
Foxhed
Foxhed - - 256 comments

you should integrate your addon with AMCM and add options to edit the chance values.

Reply Good karma Bad karma+3 votes
Mr_Gepardas Author
Mr_Gepardas - - 40 comments

Hi there, thanks for recommending AMCM, it is an amazing tool for modders.
Just uploaded newest version of this mod with support for AMCM/MCM.

Reply Good karma+3 votes
Spacecheese88
Spacecheese88 - - 92 comments

Nice with the MCM - this is an amazing mod that really hits that sweet spot. Is there any possible way (unless it is already done and I have missed it) to delete saves when you die and make an auto save when you respawn so you don't save scum? Not an issue for me as I am happy to live with the choices, but it would set that tension higher knowing there was no coming back

Reply Good karma Bad karma+1 vote
Mr_Gepardas Author
Mr_Gepardas - - 40 comments

From what I seen in the comments, you can play Iron man + this mod, to get that experience, as surprisingly iron man works quite well as it deletes your saves upon death (unless you decide to have more than 1 life) but you still respawn, and then can create a new savegame to continue.

But as a warning still would recommend to reguraly have some backups of your savegames, as it is rare, but sometimes the game will crash when respawning (could be just the level loading, really not sure as while I was doing testing for other features, and purposely dying loads, the game would crash from time to time, again never could reproduce it reliably to know what is causing it)

Reply Good karma+1 vote
Spacecheese88
Spacecheese88 - - 92 comments

Really? So 1 life in ironman plus this mod means that everytime I die, My saves are deleted but I respawn and just continue?

Reply Good karma Bad karma+1 vote
Mr_Gepardas Author
Mr_Gepardas - - 40 comments

yes, the saves that are part of that character (I think Iron Man goes by the name of the character maybe? not sure how it knows which saves are which characters) but just tried it and yeah it deletes all saves and the only saves that are left are other characters I had and an autosave, which is right after you respawn.

Reply Good karma+1 vote
KCIV
KCIV - - 8 comments

If I wanted to modify this to be 4.5 or Xkg Is that an edit to the bind_container.script? the if (total_weight + (item:weight() or 0) <= 4) line?

(edited)

Reply Good karma Bad karma+1 vote
Ziggylata
Ziggylata - - 44 comments

At some point, my game stopped having emissions of all types and it just gives me the message that they happened, rather than letting them actually happen.

EDIT: Can I get into contact with you somehow?

Reply Good karma Bad karma+1 vote
Mr_Gepardas Author
Mr_Gepardas - - 40 comments

Try running Anomaly in Debug mode, and then in-game press F7 I think and choose start emission, what happens? Does the emission happen, or it just tells you that it happened?

I have plaid about 8 Hours on my save, emissions are still happening, only seen the message about it that it happen after I have died, when it skips time or if I went to sleep in bed.

Reply Good karma+1 vote
Guest
Guest - - 688,965 comments

I really like this mod but I crash way too often. I'm can't load into garbage w.o crashing now for example.

Reply Good karma Bad karma+1 vote
Mr_Gepardas Author
Mr_Gepardas - - 40 comments

In Anomaly install location, after a crash can you go to appdata then logs, and check .log file, right at the bottom of the file it should be able to say why it has crashed (might need to have debug mode enabled in Anomaly launcher) This way I should be able to start looking in what is causing the crash.

As you know Anomaly is a very complex game/mod, so with additional mods somethings can cause crashes, also it is recommended not to have any other mods installed, as it is possible for some script files to be overwritten like _g.script, ui_sleep_dialog, xr_effects etc., which will cause more crashes.

Reply Good karma+1 vote
Guest
Guest - - 688,965 comments

so I didn't see this message before I reinstalled anomaly and all my mods one by one. It turned out there was conflicts with a CinemaFX mod and I haven't crashed since. I'll be sure to post any logs I get in the future though.

Reply Good karma Bad karma+2 votes
lantfinal_
lantfinal_ - - 1 comments

So an idea struck me while playing and ive made an account to post it , basically , when you die and respawn , your rank could reset from veteran/legend etc to rookie (since everyone would assume you died)

Reply Good karma Bad karma+1 vote
PossuM
PossuM - - 322 comments

I think this is gonna change the way I play this game forever. Way better than having your saves deleted and losing high tier suits and weapons is gonna hurt, not even mentioning containers filled with artifacts. So far from my tests it works as it should.

Btw to make this compatible with other new game loadout mods all you have to do is carry over one line regarding artefact container. I would post the line here but this website is from 1894 and cuts it off for reasons I donĀ“t know
artefact_c

Also I merged xr_effects with LttZ DC if someone needs it
S000.tinyupload.com

Reply Good karma Bad karma+4 votes
FrostySkipper
FrostySkipper - - 16 comments

Hey PossuM, that link doesn't work for me for some reason. Can you upload it on a google drive link or zippyshare? I would appreciate it.

Reply Good karma Bad karma+1 vote
PossuM
PossuM - - 322 comments

Seems like tinyupload is down
Zippyshare blocks my country

How about filebin
Filebin.net

Reply Good karma Bad karma+2 votes
Post a comment

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