Transition between locations without confirmation aka Seamless Map Loading Transitions
Tough times call for tough measures.
So far, I've only created a couple of small addons. But even such a trifle requires the expenditure of some resources - for example, 2-3 cups of tea and 5-6 cigarettes. Unfortunately, now I can't afford even that.
I can't promise that I will definitely continue to release new addons, but your support can make it more likely.
If any of my addons made your Anomaly a little more comfortable - let me know through a small Patreon donation. Thank you.
Become a Patron!
=======================================================================
I looked. Have not found. Did.
The Anomaly uses excellent screen dimming on transitions, but the need to press a button makes them less smooth. Now the traveler does not stop in the middle of a step to say: "Yes, I want to leave the cordon for the garbage!".
So, there are five versions of the addon:
For RC 18-23 - release 1.5.1. In the event that a player is fighting, the game asks for confirmation to move to another location, otherwise confirmation is not required.
For RC 18-23 - release 1.5.1 - combat ignore. Transition confirmation is not required. At all.
For RC 18-23 with Level Transition Travel Simulator add-on. Confirmation is requested if the player is in combat, bleeds out, or has some radiation exposure (approximately >= 50msv)
For U4H8 - similar to the regular version for RC
For U4H8 - combat ignore. The transition to another level occurs in any case, regardless of the player's state, without confirmation.
Sweet!
Good addon, but you have to understand that the confirmation menu can save you from wasting time transitioning to another level.
By no means is this a bad addon. I just felt that it to be necessary to state that. Even though I probably won't be using this addon, it's good to know it exists incase I change my mind later on.
In fact, I myself have thought about cases where a player can accidentally (maneuver during a fight, for example) make a transition. In such cases, confirmation is definitely needed.
On the other hand, in most cases, the visual transition points are quite predictable - these are doors, gates, holes in the barbed wire. And it's pretty hard to hit them by accident. Perhaps the most unpredictable transition points in my opinion are the manholes leading to the underground part of Agroprom, so I will definitely add them to the list of exceptions (or die trying).
Thank you.
Unfortunately, I definitely did have some (rare) cases where it was hard to tell where the transition stated and I accidentally ended up triggering the area leave during a flanking maneuver.
If you can clarify in what places this happened, then I will try to figure out how to avoid it.
Could you possibly make a conditioned confirmation popup based on player combat state? Agony mode saves already uses similar thing, so whenever you are in combat you can't save.
In your case you could make a condition so that whenever PC is in combat, transitions require confirmation, otherwise there is no popup.
Yes, I also thought about it. And... Done! Thank you.
Btw. good thinking with possibly fatal transitions!
Thanks for the update, however I'll wait for update 3.
Bug - the game crashes if you try to change area if you haven't purchased the route from a vendor if playing with "accessable zone" unchecked. Can you fix? Otherwise great mod.
Wow, thanks for this information. Please clarify: does this happen when you move from a certain location or every time you try to move? And if you attach a log with an error, it will be great.
Now I checked in both directions some transitions unknown to me - it works.
I tried to travel from Rostok to the Truck cemetary without having purchased a route, and I crashed each time I tried. I tried about 3 times?
Hmm, unfortunately I was unable to reproduce your problem with this same transition.
Do you have a lot of addons installed? Perhaps my addon is conflicting with one of them (although this is unlikely, I only made changes to one file and I only know of one addon that affects the same file).
Which version of Anomaly are you playing?
If you are using (or not using) the Level Transition Travel Simulator - please make sure you are using the correct version of my addon.
Also, as I said, it would be interesting to take a look at the error log.
Where is the error log and I will gladly share it with you.
Immediately after the game crashes, the error text is automatically copied to the clipboard. So after that, just paste this text here as a comment.
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: ...desktop/x anomaly\gamedata\scripts\ui_sr_teleport.script:27: attempt to call field 'set_msg' (a nil value)
Very interesting.
The last question: what version of the game do you have - RC or Update 4 Hotfix 8? I will assume that the second option, because the game cannot execute the "set_msg" function, which is present in the RC, but absent in U4H8.
Just in case, in a few minutes I will additionally post the addon version for U4H8, try installing it.
Done!
Please let me know if you have any further problems.
Thanks brother, I will test ASAP and get back to you. I'm glad we got to the bottom of this.
Yes it works fine (U4H8 version). Question - what line of code would I need to remove in the U4H8 version to remove pop-up prompt when changing areas if in combat? I basically want to be able to change areas whilst in combat, and not get the pop up message as per the original release. What line of code would I need to remove to help me do this? Help me one last time brother because this is simply an essential quality of life mod for me now and I cant play without it.
Glad to hear (read) it works.
Added a new folder to the archive, "For Update 4 Hotfix 8 - combat ignore". There is a script in it without checking for combat.
Hi friend, update for 1.5.1?
Hi. Just checked it out. The RC version works fine with 1.5.1.
Hi could you include a no Combat popup for current version as when in combat you still get the popup message.
Hi.
Don't want to see a pop-up window when changing levels during a combat? The solution is in the "RC 18 - release 1.5.1 - combat ignore" folder.
Works great, thank you so much!
Thank you for feedback
This is exactly what I've been looking for, thanks!
Much more immersive traveling. Honestly the comfirmation is largely useless. Even in combat as originally mentioned. If you step into the areas you're left defenseless as you hit no, which teleports you basically to where you would spawn upon entering the area. All this time whatever your fighting is probably tearing into you.
Either way, its a win/win to me. Great work Author.
now this is great for immersion
but can this fade to black effect to be before you rich transition? With diffrent scrip. So you have time to go back.
Hello.
I also thought about this, but I'm not sure if this effect can be edited by some of the scripts.
transition between agroprom and garage is not working as the other
Wow.
Only this transition? They are not configured individually, the same script affects all transitions.
Bleeding? Radiation? Maybe there is a rat running around the passage that puts you in combat mode?
This comment is currently awaiting admin approval, join now to view.
Hi, good mod, but there is a problem, when you dont use "open zone" option on at new game, like me. And when you come to transition point when it is not open for you, you just get game crash. It is so annoying. Bcs im novice in anomaly and i dont know all transition locations and random crashes, when you accidently step on that transition zone just ******* me off. Or when you want loot some body near that spot, that isnt open for you and crash again.. Could you do something about it? I would be very grateful.
Be careful updating this mod to ignore combat option if you didn't have it before. It borked my save for some unknown reason. Keeps changing my user ltx settings too? I'm playing on 1.5.2 as well. Idk if the ignore combat is for 1.5.1 only? Idk but changing it to ignore combat changed all of my user.ltx settings like fov among many others. Mod should have nothing to do with that stuff but it changed it. Now I have to start over. Good-bye 50+ hours playthrough :/
Anomaly 1.5.1
Version: TBLWC - ignore combat
Error: playing with "accessable zone" unchecked and try to enter a zone without purchase
Log:
! [SCRIPT ERROR]: ...top/games/anomaly\gamedata\scripts\ui_sr_teleport.script:27: attempt to call global 'SetHudMsg' (a nil value)
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: ...top/games/anomaly\gamedata\scripts\ui_sr_teleport.script:27: attempt to call global 'SetHudMsg' (a nil value)
stack trace:
correction:
After comparing each of the files with the source file, I realized that I was using the RC18 version and not the other. I'm going to leave these comments in case the same thing happens to someone in the future, check the version of anomaly you have.
you can see in the log that the file tries to call "SetHudMsg" but can't find it because it's not the game version.
Sometimes, when traveling with a squad to Limansk from Dead City, they will push you back and send you back to Dead City :D I Think the entrance is a bit narrow there.