Scripts / Teleport between levels and save system

Author
Message
Enzo1400
5
Years of Service
User Offline
Joined: 26th Jul 2018
Location:
Posted: 3rd Jan 2023 21:53
Hello,

I would like to know, please, how it is possible to make teleport zones between levels (with positions different from the start and end ones) and if there is a save function that preserves not only the player's properties, but also the modifications he makes at the level (permanently), such as getting and using entities. For example, you could make a level where there is a warehouse with supplies and weapons. In this place the player returns from time to time to restock. For teleporting between levels, you could make a copy of a level and use a winzone to get back to that same level but in a different location. If you can also use two different winzones on the level you teleported from, the problem is solved. However, I don't know if it is possible to save the game both for the player's properties and for the changes to the entities and other things present in it. Thank you in advance.
PM
smallg
Community Leader
18
Years of Service
Recently Online
Joined: 8th Dec 2005
Location:
Posted: 4th Jan 2023 12:51
not automatically, you can do it with your own file handling though with the io system in lua
lua guide for GG
https://steamcommunity.com/sharedfiles/filedetails/?id=398177770
windows 10
i5 @4ghz, 8gb ram, AMD R9 200 series , directx 11
Enzo1400
5
Years of Service
User Offline
Joined: 26th Jul 2018
Location:
Posted: 4th Jan 2023 20:14
Thank you for your reply, please may you explain step by step how can I do this? Thanks
PM
synchromesh
Forum Support
10
Years of Service
User Offline
Joined: 24th Jan 2014
Location:
Posted: 5th Jan 2023 11:07
This will be possible i believe with Necrym59's RPG behaviours once Lee has implemented certain things for it to work.
PM

Login to post a reply

Server time is: 2024-03-29 13:35:32
Your offset time is: 2024-03-29 13:35:32