Zandronum Chat on our Discord Server Get the latest version: 3.2
Source Code

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0003565Zandronum[All Projects] Suggestionpublic2018-11-01 11:462024-01-10 03:25
ReporterFused 
Assigned ToKaminsky 
PrioritynormalSeverityminorReproducibilityhave not tried
StatusresolvedResolutionfixed 
PlatformOSOS Version
Product Version3.1-beta 
Target Version3.2Fixed in Version3.2 
Summary0003565: cvar to disable spawnfog
DescriptionWould 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.
Attached Filestxt file icon TeleportFog.txt [^] (549 bytes) 2018-11-03 15:28 [Show Content]

- Relationships

-  Notes
User avatar (0020170)
Kaminsky (developer)
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.
User avatar (0022901)
Fused (reporter)
2023-08-05 20:24

Sounds good, you can close this in my opinion since that suits my use case.
User avatar (0022929)
Fused (reporter)
2023-12-06 11:39

I am reopening this issue because while this solution does work for regular teleport fog, it appears the target pointer is _not_ passed with functions such as `SetActorPosition`.
It would be nice to either have an option to just disable the spawn fog altogether so the main issue is fixed, or to have this git issue backported instead:'https://github.com/rheit/zdoom/pull/192 [^]'

The latter would allow the teleport fog to be temporarily disabled, and even allows modifying both the source and destination fog.
User avatar (0022935)
Kaminsky (developer)
2023-12-18 14:41

'https://foss.heptapod.net/zandronum/zandronum-stable/-/merge_requests/7 [^]'
User avatar (0022939)
Kaminsky (developer)
2023-12-29 18:59

This commit just got pushed in:'https://foss.heptapod.net/zandronum/zandronum-stable/-/commit/9e0f75dd49b90c0676ab3404c28bd3cec6bbcde5 [^]'

So now there's a DMFlag, "sv_nospawntelefog", that prevents spawn fog from appearing when a player spawns.
User avatar (0022986)
Ru5tK1ng (updater)
2024-01-10 03:25

Pulled the latest changes and the new DM flag works as intended and switches seamlessly on the fly between on and off. Teleport and morph fogs are not affected.

Issue Community Support
This issue is already marked as resolved.
If you feel that is not the case, please reopen it and explain why.
Supporters: No one explicitly supports this issue yet.
Opponents: No one explicitly opposes this issue yet.

- Issue History
Date Modified Username Field Change
2018-11-01 11:46 Fused New Issue
2018-11-03 15:28 Kaminsky File Added: TeleportFog.txt
2018-11-03 15:31 Kaminsky Note Added: 0020170
2023-08-05 20:24 Fused Note Added: 0022901
2023-08-06 04:03 Kaminsky Status new => closed
2023-08-06 04:03 Kaminsky Resolution open => no change required
2023-12-06 11:39 Fused Note Added: 0022929
2023-12-06 11:39 Fused Status closed => feedback
2023-12-06 11:39 Fused Resolution no change required => reopened
2023-12-18 14:41 Kaminsky Note Added: 0022935
2023-12-18 14:41 Kaminsky Assigned To => Kaminsky
2023-12-18 14:41 Kaminsky Status feedback => needs review
2023-12-18 14:41 Kaminsky Target Version => 3.2
2023-12-29 18:59 Kaminsky Note Added: 0022939
2023-12-29 18:59 Kaminsky Status needs review => needs testing
2024-01-10 03:25 Ru5tK1ng Note Added: 0022986
2024-01-10 03:25 Ru5tK1ng Status needs testing => resolved
2024-01-10 03:25 Ru5tK1ng Resolution reopened => fixed
2024-01-10 03:25 Ru5tK1ng Fixed in Version => 3.2






Questions or other issues? Contact Us.

Links


Copyright © 2000 - 2025 MantisBT Team
Powered by Mantis Bugtracker