Camera position on automap

Ask about ACS, DECORATE, ZScript, or any other scripting questions 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.

Camera position on automap

Postby Enjay » Tue Nov 17, 2020 5:41 am

I guess that this is almost certainly a "can't be done" but, just in case, is there any simple way to keep the automap centred on the player position when changing cameras?

What I mean is, imagine the player accesses a console that uses a script to change the camera to view several different locations on the map. If the player was looking at the automap while doing this, the automap would jump to every camera position as the camera changes. I would like to keep the automap centred on the player position so that, if the automap was accessed during the script, it would show the area around the console where the player is standing, rather than jumping to the camera position.

My guess is that the camera is some sort of virtual player and the map has to jump to it, but I just thought that I'd ask.
User avatar
Enjay
Everyone is a moon, and has a dark side which he never shows to anybody. Twain
 
 
 
Joined: 15 Jul 2003
Location: Scotland

Re: Camera position on automap

Postby Player701 » Tue Nov 17, 2020 7:30 am

No, I don't think this is possible. The automap always centers on whatever the player's Camera field points to. Which is obviously used for security cameras as well.
User avatar
Player701
 
 
 
Joined: 13 May 2009
Location: Russia
Discord: Player701#8214
Operating System: Windows 10/8.1/8/201x 64-bit
OS Test Version: No (Using Stable Public Version)
Graphics Processor: nVidia with Vulkan support

Re: Camera position on automap

Postby Rachael » Tue Nov 17, 2020 8:52 am

This is a good candidate for a feature suggestion.
User avatar
Rachael
Admin
 
Joined: 13 Jan 2004
Discord: Rachael#3767
Twitch ID: madamerachelle
Github ID: madame-rachelle
Operating System: Windows 10/8.1/8/201x 64-bit
OS Test Version: No (Using Stable Public Version)
Graphics Processor: nVidia with Vulkan support


Return to Scripting

Who is online

Users browsing this forum: Daryn and 1 guest