Moving cardinally in relation to camera

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.
User avatar
LanHikariDS
Posts: 179
Joined: Tue Aug 04, 2015 11:30 pm
Location: Playing in the snow

Re: Moving cardinally in relation to camera

Post by LanHikariDS »

Alright, thank you. I appreciate you going through all this trouble for me.
User avatar
The Zombie Killer
Posts: 1528
Joined: Thu Jul 14, 2011 12:06 am
Location: Gold Coast, Queensland, Australia

Re: Moving cardinally in relation to camera

Post by The Zombie Killer »

No problem! If there are any other issues let me know and I'll see what I can do
User avatar
LanHikariDS
Posts: 179
Joined: Tue Aug 04, 2015 11:30 pm
Location: Playing in the snow

Re: Moving cardinally in relation to camera

Post by LanHikariDS »

So, everything with the camera worked very nicely (I ended up using the nightly build, because removing the flags caused some issues that I don't remember off-hand), until I tried it in Deathmatch just now. When a player dies and respawns, the camera moves to their new position, but refuses to follow. It still turns on command, but it otherwise sits in place. (Also, in Singleplayer, if a player dies, they can still move without respawning, but I dunno if that's your code or mine. Not too concerned, as it's actually kind of funny, and it doesn't hurt mutiplayer, as they can't fire or collect items until they respawn)
User avatar
The Zombie Killer
Posts: 1528
Joined: Thu Jul 14, 2011 12:06 am
Location: Gold Coast, Queensland, Australia

Re: Moving cardinally in relation to camera

Post by The Zombie Killer »

Here you go, fixed all of the above issues.
You do not have the required permissions to view the files attached to this post.
User avatar
LanHikariDS
Posts: 179
Joined: Tue Aug 04, 2015 11:30 pm
Location: Playing in the snow

Re: Moving cardinally in relation to camera

Post by LanHikariDS »

Indeed, however, now when respawning, the controls revert to being player-based, not camera-based. (As a reminder, I'm using Chase_Type 3)
User avatar
The Zombie Killer
Posts: 1528
Joined: Thu Jul 14, 2011 12:06 am
Location: Gold Coast, Queensland, Australia

Re: Moving cardinally in relation to camera

Post by The Zombie Killer »

Hopefully this should fix it, sorry for being so late!
If there are any more issues, feel free to punch me
You do not have the required permissions to view the files attached to this post.
User avatar
LanHikariDS
Posts: 179
Joined: Tue Aug 04, 2015 11:30 pm
Location: Playing in the snow

Re: Moving cardinally in relation to camera

Post by LanHikariDS »

The Zombie Killer wrote:Hopefully this should fix it, sorry for being so late!
If there are any more issues, feel free to punch me
It works when using the singleplayer resurrect command (Which I didn't try before, so I don't know if that's an improvement), but in multiplayer, it still doesn't work. Also, I forgot to mention before, when the player respawns, they go crazy fast. (You can use '-host 1' as a parameter to test the game in multiplayer with only one person, and try suiciding, and respawning)

Return to “Editing (Archive)”