ZeroK-RTS / Zero-K

Open source RTS game running on the Spring/Recoil engine
https://zero-k.info
GNU General Public License v2.0
693 stars 208 forks source link

Track unit but FPS #4931

Open sprunk opened 1 year ago

sprunk commented 1 year ago

A few days ago somebody suggested something like the unit track mode for camera, but from the unit's FPS perspective (so it follows turret rotation). Some remarks:

Licho1 commented 1 year ago

Wait.. FPS mode has existed in the engine. Including support for custom per unit HUD. We just blocked it in ZK to avoid some abuse Has it been removed now?

sprunk commented 1 year ago

I don't mean FPS mode for controlling the unit, that still exists (and we even added a modoption to unblock it if somebody wants to mess around with friends c927a792865d925d0e02c76ad77365ae1d9dc9e7). This would be just for looking at the world from the unit's perspective, but the unit would still be using its normal unit AI to move and aim. There are various technical reasons why the built-in FPS mode can't be used for this (you can't enter the mode without taking over the control of the unit, and if you can't control the unit you can't enter the mode at all; there is some hard-coded ugly UI; in FPS mode the camera can be moved arbitrarily but for spectating we would want it to follow turret rotation).

6AKU66 commented 11 months ago

I wish direct control also could be used in BAR. Also ZeroK probably gonna be affected by this after engine update: https://github.com/beyond-all-reason/spring/issues/1125

sprunk commented 11 months ago

Thanks for the info, but FPS mode is a cheat-only gimmick so it's not a big deal if there are engine bugs. Also I reiterate that this ticket isn't even about FPS mode.