Fast Travel Anywhere
Fast travel anywhere using PDA map markers.
Pre-warning: this mod needs testing, further improvements, and is not perfect. It’s working 99% of the time, although sometimes you may fall under the map, so make sure you’re making quick saves before teleporting.
What’s the purpose?
Adds the ability to teleport anywhere using your PDA map markers.
Goes against typical Stalker gameplay, but for you naughty cheaters out there, I know you’ve been waiting for this.
How to use?
Hover over any marker on the map, including your own, and press Z (this key can be reconfigured in the Lua script).
Depending on where you teleport to (if there are many buildings/objects around) you may get stuck! If this happens, you can use console command XSetNoClipGSC true 500 to get out, and then XSetNoClipGSC false to disable again. Adjust the 500 to move slower/faster.
And again, it is probably a good idea to quick save before teleporting.
How to install?
LISTEN UP! THIS IS A UE4SS MOD! NOT A .PAK MOD!
{Platform} refers to either Win64 or WinGDK
You’ll need to install UE4SS and then extract my mod to the existing Mods folder, and enable it:
Head over to https://github.com/UE4SS-RE/RE-UE4SS/releases and download the latest release (at this time, UE4SS_v3.0.1.zip)
Extract the contents of the zip to Stalker2/Binaries/{Platform} (where the Stalker2 .exe is)
Download this mod, and extract the FastTravelAnywhere folder to Stalker2/Binaries/{Platform}/Mods
Edit Stalker2/Binaries/{Platform}/Mods/mods.txt to include a line FastTravelAnywhere : 1 (before the built-in keybinds).
Launch the game and enjoy.
If nothing happens when you press Z, then you either haven’t installed UE4SS or the mod correctly, have a dodgy mods.txt (see example in technical details) or you have in-game binds conflicting with Z.
If you are experiencing crashes after installing UE4SS, open UE4SS-settings.ini and change the following values:
bUseUObjectArrayCache; from true to false
GuiConsoleEnabled; from 1 to 0
ConsoleEnabled; from 0 to 1
Technical details and notes
This mod works by getting the co-ordinates of the map marker on screen, translating that into a world position (X, Y) and then using Stalker 2 engine functions to get a valid floor height within 100 units of that position. During the time when the floor is being found (every 100ms), the player is teleported to near that location so the world is able to be streamed in. You can see the actual implementation in main.lua
This is working most of the time, but there can be issues with clipping under the map, so it’s important to quick save before teleporting.
If the script fails to find a floor position after 30 attempts you will return to your original location before teleporting.
Tip: console opens with tilde: ~ or ` (under ESC)
Example of mods.txt file
CheatManagerEnablerMod : 1
ActorDumperMod : 0
ConsoleCommandsMod : 1
ConsoleEnablerMod : 1
SplitScreenMod : 0
LineTraceMod : 0
BPModLoaderMod : 1
BPML_GenericFunctions : 1
jsbLuaProfilerMod : 0
FastTravelAnywhere : 1
; Built-in keybinds, do not move up!
Keybinds : 1