Players not teleporting like monsters?

Archive of the old editing forum
Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. This forum is archived - please use this set of forums to ask new questions.
Locked
User avatar
Spleen
Posts: 497
Joined: Fri Nov 28, 2008 7:07 pm

Players not teleporting like monsters?

Post by Spleen »

I know that under most circumstances, monsters won't teleport when they cross a teleport linedef if doing so would telefrag someone or something. Is there a way to have similar behavior in players? It would be REALLY REALLY REALLY useful. Because then I can finally use teleport linedefs plus portals to link sectors without telefrag-fests in online games.
User avatar
Tormentor667
Posts: 13556
Joined: Wed Jul 16, 2003 3:52 am
Preferred Pronouns: He/Him
Operating System Version (Optional): Windows 11
Graphics Processor: nVidia (Modern GZDoom)
Location: Germany
Contact:

Re: Players not teleporting like monsters?

Post by Tormentor667 »

Hmm... is it possible that "-TELESTOMP" helps in this case? I am not sure about it though...
User avatar
Spleen
Posts: 497
Joined: Fri Nov 28, 2008 7:07 pm

Re: Players not teleporting like monsters?

Post by Spleen »

Tormentor667 wrote:Hmm... is it possible that "-TELESTOMP" helps in this case? I am not sure about it though...
Good idea, but that didn't work :(

I used this:

Code: Select all

actor NoStomp : DoomPlayer replaces DoomPlayer {
 -TELESTOMP
 health 90
}
I made the appropriate KEYCONF lump, and due to this guy having 90 health, I knew it was he was replacing the DoomPlayer properly.

Regardless, when I tested it on e4m2, I could still telefrag the cyberdemon (simplest example I could think of).

I then proceeded to "summon doomplayer" and "summon nostomp" into the spot where the cyberdemon was. I could telefrag them too.
User avatar
Tormentor667
Posts: 13556
Joined: Wed Jul 16, 2003 3:52 am
Preferred Pronouns: He/Him
Operating System Version (Optional): Windows 11
Graphics Processor: nVidia (Modern GZDoom)
Location: Germany
Contact:

Re: Players not teleporting like monsters?

Post by Tormentor667 »

Then this flag obviously doesn't affect the player. I have no idea how to do it else but I'd suggest a new feature in this case, or ask if that's actually a bug (that players still can telefrag other objects)
Locked

Return to “Editing (Archive)”