I recently bought Titanfall II. That game has an ability called phase shift, which I think would be very interesting to have in this game.
What this ability does is that it momentarily teleport you into an identical but player free game world, lets you walk a few paces and then returns you to reality, possibly telefragging a player.
Heres a video of how it looks like https://www.youtube.com/watch?v=vGcCdXyxF3Y
Now no Idea of how its implemened in there, I imagine it simply applies a filter to yor vision and turns your models visibility/hit-detection off.
Now the real question, how do I implement this in Cataclysm?
Should I grab the current terrain, making a copy of it somewhere not usually accessible (say current z-level +100) and then teleport the player there and back; or would it be better to make the player completely invisible and turn their collision off, even if that means filling the game movement, vehicle and monster detection code with special cases?
I imagine the terrain copying approach is better and wanted to ask were the relevant code for saving/loading the map is?