Would it perhaps be possible to make teleport fog target the actor that had teleported? I want to do inventory checks on players that go through teleporters, and change the fog's appearance based on this. (For Team-Colored Fogs in DM in my case.)
I can think of a few other uses for this... Such as giving the player an inventory item that disrupts teleportation, which causes the player to get killed, and show a strange teleport fog. Another use could be a Powerup that makes it so there is a radius damage around the player when they teleport, killing nearby monsters and players.
This should affect the fog that shows when players spawn in DM as well.
Feature request on Zandronum - http://zandronum.com/tracker/view.php?id=1133
TeleportFog targets the actor being teleported
Moderator: GZDoom Developers
- StrikerMan780
- Posts: 486
- Joined: Tue Nov 29, 2005 2:15 pm
- Graphics Processor: nVidia with Vulkan support
- Contact:
Re: Make teleport fog target the actor that teleported
Giving different teleport fogs to different monsters (e.g., a larger fog for cyberdemons and a smaller one for lost souls).StrikerMan780 wrote:I can think of a few other uses for this...
- StrikerMan780
- Posts: 486
- Joined: Tue Nov 29, 2005 2:15 pm
- Graphics Processor: nVidia with Vulkan support
- Contact:
Re: Make teleport fog target the actor that teleported
Yep, that too.
- NeuralStunner
-
- Posts: 12328
- Joined: Tue Jul 21, 2009 12:04 pm
- Preferred Pronouns: No Preference
- Operating System Version (Optional): Windows 11
- Graphics Processor: nVidia with Vulkan support
- Location: capital N, capital S, no space
- Contact:
Re: Make teleport fog target the actor that teleported
I strongly approve of this idea.
However, I'd like to consider what would happen in a case of two fog actors: Source and destination. Ideally, one could diferrentiate between the two in order to make better effects.
Further, it would be most helpful if the telefog could spawn into a different state for respawning actors, as opposed to sharing the same one as teleports. (Or even better, allow telport/actor-respawn/item-respawn actors to be selected through [wiki=GameInfo_definition]MapInfo/GameInfo[/wiki].)
However, I'd like to consider what would happen in a case of two fog actors: Source and destination. Ideally, one could diferrentiate between the two in order to make better effects.
Further, it would be most helpful if the telefog could spawn into a different state for respawning actors, as opposed to sharing the same one as teleports. (Or even better, allow telport/actor-respawn/item-respawn actors to be selected through [wiki=GameInfo_definition]MapInfo/GameInfo[/wiki].)
Re: Make teleport fog target the actor that teleported
Maybe re-use the Melee and Crash states again?
- Demolisher
- Posts: 1749
- Joined: Mon Aug 11, 2008 12:59 pm
- Graphics Processor: nVidia with Vulkan support
- Location: Winchester, VA
- Contact:
TeleportFog targets the actor being teleported
http://forum.zdoom.org/viewtopic.php?f=15&t=34322 - Feature
Small change, simply sets the teleport fog's target field to the thing being teleported.
Small change, simply sets the teleport fog's target field to the thing being teleported.
- Attachments
-
P_Teleport Change.zip
- Diff
- (570 Bytes) Downloaded 72 times
- Demolisher
- Posts: 1749
- Joined: Mon Aug 11, 2008 12:59 pm
- Graphics Processor: nVidia with Vulkan support
- Location: Winchester, VA
- Contact: