it won't work because the enum is wrong. open main.lua. replace with below content:
RegisterKeyBind(Key.LEFT_ARROW, {ModifierKey.CONTROL}, function() local PlayerController = FindFirstOf("PalPlayerController") local PalUtility = StaticFindObject("/Script/Pal.Default__PalUtility") PalUtility:SendSystemAnnounce(PlayerController, "All Fast Travel Points Unlocked...")
ExecuteAsync(function() local PalLevelObjectUnlockableFastTravelPoints = FindAllOf("PalLevelObjectUnlockableFastTravelPoint") for Index, FastTravelPoint in pairs(PalLevelObjectUnlockableFastTravelPoints) do if not FastTravelPoint:IsUnlocked() then FastTravelPoint.EnableRequestUnlock = true FastTravelPoint.bUnlocked = true FastTravelPoint:OnTriggerInteract(FindFirstOf("PalPlayerCharacter"), 26) FastTravelPoint:OnCompleteSyncPlayer(FindFirstOf("PalPlayerState")) end local sec = tonumber(os.clock() + 1); while (os.clock() < sec) do end end end) end)
It crashed my game twice. It doesn't seem like the delay is working, at least for me. I watched your video to see what it's suppose to look like and sure enough it was very noticeably slower than when I did it.
On a positive note, the third attempt, while still being giga fast, didn't crash my game lol.
Says it unlocked all the fast travel points and that it gave points for them, but when I check my point count and map, it did not.
EDIT: Oh, turns out it did, but for them to appear on the map, I have to actually visit near them first, which kind of honestly kills the point of installing this mod in the first place.
As matmegh said, there's a mod to unlock the map that goes well with this. I throw a link to it in the description. I didn't want to add that to this mod because it felt wrong when it's not something I did myself.
If you're on gamepass, I haven't been able to test it there. If not, I'm unsure what could be causing it. I did multiple tests before uploading to ensure it was as stable as it can be before posting. I tried multiple worlds as well and it worked flawlessly on my end. I feel like a lot of mods on here are hit and miss due to the early access nature of the game. I'll have some buddies try it out and see if they have similar issues. One potential fix could be extending the wait time before unlocks. Inside of Scripts/main.lua, line 18:local sec = tonumber(os.clock() + 0.1), 0.1 is the wait time in seconds. So you can replace it with something like: local sec = tonumber(os.clock() + 0.5) to make it wait half a second before unlocking the next one.
32 comments
open main.lua. replace with below content:
RegisterKeyBind(Key.LEFT_ARROW, {ModifierKey.CONTROL}, function()
local PlayerController = FindFirstOf("PalPlayerController")
local PalUtility = StaticFindObject("/Script/Pal.Default__PalUtility")
PalUtility:SendSystemAnnounce(PlayerController, "All Fast Travel Points Unlocked...")
ExecuteAsync(function()
local PalLevelObjectUnlockableFastTravelPoints = FindAllOf("PalLevelObjectUnlockableFastTravelPoint")
for Index, FastTravelPoint in pairs(PalLevelObjectUnlockableFastTravelPoints) do
if not FastTravelPoint:IsUnlocked() then
FastTravelPoint.EnableRequestUnlock = true
FastTravelPoint.bUnlocked = true
FastTravelPoint:OnTriggerInteract(FindFirstOf("PalPlayerCharacter"), 26)
FastTravelPoint:OnCompleteSyncPlayer(FindFirstOf("PalPlayerState"))
end
local sec = tonumber(os.clock() + 1);
while (os.clock() < sec) do
end
end
end)
end)
still worked, had to do it twice to get the rest of them after first crash though
Talk about an accidental hardcore run lol
On a positive note, the third attempt, while still being giga fast, didn't crash my game lol.
If there is a Anti Cheat, it will most probably kick you
(However Always Fast Travel was working for me at least)
EDIT: Oh, turns out it did, but for them to appear on the map, I have to actually visit near them first, which kind of honestly kills the point of installing this mod in the first place.