I’m trying to make a “Single Player - Open World - Road game” where the player can find and move actors around as he/she like. But the hole point of the game is surrounded that the actors stays where the player left them in a big level streaming world. I almost jumpt on the most undocumented game type in the hole got dam world. Atleast I’m happy with the engine I’m trying to work with
It’s going to be a struggle with world origin changing as the player moves miles away from the actros it can interact with. That’s why I like to find a way to trigger a actor spawn / despawn occurring when current landscape of that actor spawn / despawns. What did I try to say???
It’s a workaround to bind actor to current level stream really. I don’t get why something like this is not a standard part of “level streaming” tools. It sounds really basic for a open world I think.
If this save/unload works when you trigger a “unloading of streamd level” it checks that level for all actors inside of itself*. Actors that are relevent get it’s info saved in a game instance with the “tag” of some kind that tell what level it belongs to, the actor type it is and what state it’s in and at last with consideration of world origin position** saves the placement on that level tile. After that unloads all actors and after that the level itself.
When you trigger that level to load agen you do everything backwards. Load level => Get Actros => Spawn Actors and the level is as you left it.
When the actor cross into a new level streaming volume nothing happens until that streaming level unloads. Where the “tag” and position is yet agen saved for the game session. It’s probobly the most elegant way of spawn/despawn streaming actors in a open world game like the one I like to created. But there is no real docs or threads taking about this to learn how to make it happen. :<
- How do I call this funktion of checking what actors is inside of that level I like to unload from my current level? (“Level 1” check for actors in “Trigger Volume 4” in “Level 4” and get everything needed of this actors for “Level 4” to refrence spawn it later-)
** World origin almost needs to be changed with the player triggering a unload or load streaming level. Move it to every new tile the player enters? I don’t know how to handle the position saving right.
I can’t recall a open world game that remember player interaction in this kind of way. Most likely why there is no info on the internet how to accomplish something like this. It’s sad really how everything despawn for ever in open world games. I have tried to find a way to make this work for days now. Someone with a fresh eye with more skills then me know how to make this happen? I can’t start making a game and assume this will work. I like making a demo and test it first. :0
Thanks in advance for helping me!