"Player" control during cutscenes.

Ask about mapping, UDMF, using DoomBuilder/editor of choice, etc, here!

Moderator: GZDoom Developers

Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. If you still don't understand how to use a feature, then ask here.
Post Reply
andreboomer
Posts: 21
Joined: Wed Feb 16, 2022 9:04 pm
Graphics Processor: nVidia with Vulkan support

"Player" control during cutscenes.

Post by andreboomer »

Ok as far as I'm aware, you cannot make a player move towards a patrol point or anything like that during a cutscene. What I've read is that you can create a dummy actor, that resembles the player. While the actual player is in a hidden sector when this occurs. But how would one go about doing this seamlessly? How could you warp/teleport the player to the spot the dummy actor is and get rid of the dummy actor in a way that looks convincing?
Thanks
User avatar
Cherno
Posts: 1337
Joined: Tue Dec 06, 2016 11:25 am

Re: "Player" control during cutscenes.

Post by Cherno »

You can always move the player by manually setting the position or adding some velocity. The direction can be calculated by simple vector maths from the current position towards the next patrol point.
andreboomer
Posts: 21
Joined: Wed Feb 16, 2022 9:04 pm
Graphics Processor: nVidia with Vulkan support

Re: "Player" control during cutscenes.

Post by andreboomer »

Cherno wrote:You can always move the player by manually setting the position or adding some velocity. The direction can be calculated by simple vector maths from the current position towards the next patrol point.
Could you elaborate more on this? And are there articles that explain this?
Also, how would I program an attack to work. Such as thing hate, or something like that?
User avatar
Cherno
Posts: 1337
Joined: Tue Dec 06, 2016 11:25 am

Re: "Player" control during cutscenes.

Post by Cherno »

Sorry, I can't spare the time to elaborate on this much further. Check the wiki for ACS action functions. As for attacks, that would have to be simulated, it depends on wether you have access to a custom PlayerPawn.
Post Reply

Return to “Mapping”