Admin Tool: Observe entities in an extra viewport (#36969)

* camera

* add console command

* change verb name to camera

* placeholder text

* add button to player panel

* orks are indeed the best

* visibility flag fix

* not a datafield

* more follower fixes

* more cleanup

* add zooming

* resizing real

* remove commented out code

* remove AddForceSend

* comment

* Use OS window and add some comments

* fix comments and variable name

* Needs RT update

* Minor grammarchange

* Fix warning

* Cleanup

* almost working...

* fix bug

* oswindow update

* Remove need for RequestClosed.

---------

Co-authored-by: beck-thompson <beck314159@hotmail.com>
Co-authored-by: PJB3005 <pieterjan.briers+git@gmail.com>
This commit is contained in:
slarticodefast
2025-07-25 18:53:01 +02:00
committed by GitHub
parent f501b1b57f
commit b4e81cb8f2
19 changed files with 525 additions and 24 deletions

View File

@@ -0,0 +1,14 @@
# dummy entity for the admin camera EUI
# this gets parented to the person being observed
- type: entity
id: AdminCamera
categories: [ HideSpawnMenu ]
name: admin camera
description: We are watching you.
components:
- type: Visibility
layer: 8 # Don't network this to anyone so cheat clients can't see it. We are adding a PVS override to the user.
- type: Eye # for the camera itself
drawFov: false
pvsScale: 0.8 # we don't need the full range