Open CansecoDev opened 4 years ago
A basic implementation should looks like this.
worlds.txt
with the name of every map that has persistence separated by line.g_raceMode
to 0 to avoid problems.player
world
x
y
z
for player position persistence.
Design a world persistence model that allows for world persistence, spawning entities on map load and saving them on certain critical events like a map change or previous to a server shut down.