MantisBT - Zandronum
View Issue Details
0003565Zandronum[All Projects] Suggestionpublic2018-11-01 11:462018-11-03 15:31
normalminorhave not tried
0003565: cvar to disable spawnfog
Would it be possible to have a cvar to remove the spawnfog on joining players, without fully removing teleportfog?

Teleportfog is always spawned, and in my mod is very distracting when people join midgame and are SetDeadSpectator'd immediatley. My only solution now is to fully remove fog, which I don't find a good solution at all.
No tags attached.
txt TeleportFog.txt (549) 2018-11-03 15:28
Issue History
2018-11-01 11:46FusedNew Issue
2018-11-03 15:28KaminskyFile Added: TeleportFog.txt
2018-11-03 15:31KaminskyNote Added: 0020170

2018-11-03 15:31   
When an actor is spawned, the TeleportFog spawned with it doesn't have any target pointer assigned to it, but it will set its target to the actor if the actor is teleported.

What you can do is create a custom TeleportFog class which inherits and replaces the original one, then have it execute an ACS script upon spawning that checks if it has a target and removes it from the world if it doesn't.