Scriptable chasecam

Remember, just because you request it, that doesn't mean you'll get it.

Moderator: GZDoom Developers

Scriptable chasecam

Postby Marisa Kirisame » Wed Mar 20, 2019 6:17 am

This is one thing that would be pretty handy for many mods. I'm sure some people would prefer to, for example, have an over the shoulder view or similar, or a camera that orbits the player independently from the player angle until they actually move/attack. I've found ways to sort of do this through ZScript but there's a problem: They involve spawning an actual camera actor and viewing through it. This causes screen effects that rely on the camera being set on player, such as screen flashes, to not work. If P_AimCamera was made into an actor virtual, all of this could be done in a much cleaner way.
User avatar
Marisa Kirisame
ZScript Magician
Joined: 08 Feb 2008
Location: Vigo, Galicia
Discord: Marisa Kirisame#4689
Twitch ID: magusmarisa
Github ID: OrdinaryMagician
Operating System: Other Linux 64-bit
Graphics Processor: nVidia with Vulkan support

Re: Scriptable chasecam

Postby Matt » Wed Mar 20, 2019 8:09 pm

Would it be more flexible (or at least user-friendlily intuitive) to have some kind of flag where the camera actor will also experience whatever effects the does?
User avatar
Putting the XD into *xdeath since 2007
Joined: 04 Jan 2004
Location: Gotham City SAR, Wyld-Lands of the Lotus People, Dominionist PetroConfederacy of Saudi Canadia

Re: Scriptable chasecam

Postby Major Cooke » Wed Mar 20, 2019 8:46 pm

I couldn't agree more with this. Please!
User avatar
Major Cooke
Do unto others as you would have unto you. Judge yourself first.
Joined: 28 Jan 2007

Return to Feature Suggestions

Who is online

Users browsing this forum: No registered users and 2 guests