#Spectator camera

266 messages ยท Page 1 of 1 (latest)

candid vale
#

Currently working on a spectator camera modification with @neon fractal. If anyone wants to help, let me know.

shy sequoia
#

what exactly does this entail? will this be mode specific? will this be after death?

candid vale
#

Well there will be a difference between how we implement it into the base game versus how a mod will be.

#

Base game will include a debug camera that is the same as the one it is now

#

Will be available for admins

#

This mod will likely be its own modded gamemode however

#

With more advanced tools

hardy wedge
#

i mean bd, you already know i'm researching it and will talk with dullae. i'll need it for KoTH and wasteland anyway

candid vale
#

Yup, just making posts about it here to keep things organized

hardy wedge
#

gonna do one for mine too

hardy wedge
#

showcase video incoming ( i mean, it's gonna take a few min, slow ass upload ๐Ÿ˜ฉ ) nothing insane just going from pawn to spec cam fly around and through object, and going back to the pawn

#

took 10 min, but ofc fixing small problems always takes the most time (like for ex keybindings are weird, idk yet how to fix that)

candid vale
#

dude hell yes

#

@hardy wedge does it work in multiplayer?

hardy wedge
#

everything i do works on multiplayer, thats my main testbed, the problem is more about single player, i never test for it, since i dont do stuff that would play well in SP

#

im having trouble with keybinds, but i have a AZERTY keyboard, you might not have this problem on qwerty

hardy wedge
#

right side is the Spectator cam

candid vale
#

dude lets try it

hardy wedge
#

hummmmmm

#

gonna try, i havent setup and tested my server yet, we'll see, i didnt even cook , yolo

#

yup cook failed as expected ^^
cook successful, trying to launch server

hardy wedge
#

i'm in voice in internal discord

#

The more i think about it, i would loose less time creating a new Pawn instead of the spectatorPawn ^^

#

**BUG **
-When in spectator cam, trying to deploy/respawn, when going back to the Player char, you cant move anymore
-Going back to player char: weapon hidden oO :
workaround : go back into the Spect cam and again to player char
-Returning to Player char you can get stuck and not able to move : hit F6 a few times, if it doesnt work, Respawn ( coming from the Stop mov inside the macro immediately maybe)
Minor: -While in spectator camera, and leaving the server it doesnt destroy the pawn, it stay there like a doofus (need to test if its still the case)

TODO:
3rd person cam ? for the admin himself, and also to follow a soldier (line trace from camera, if it hit a soldier : follow it , a little crosshair might help with that)
When going out of spectCam, possibility to teleport to the current SpectCam location, instead of going back to the previous pawn location
More granularity for speed, +10 speed instead of 15

TODO Minor :
Fix the error message spam for compass (Everything in the UI is broken) (Hide HUD on possess , should be enough)
Or better yet hide the UI
Add Icons on top of player char(and bot)

V0.1 :
DONE:Camera move speed
Bug fixed:when going into spectCam it would control the pawn of the first player connected to the server ๐Ÿคฆโ€โ™‚๏ธ

V0.2 :
bug fixed: camera going backward when changing speed with alt+scrollwheel

v0.3
Feature: When possessing the spectCam, hide the pawn / shadows / weapon and make it invincible (maybe change collisions too)
bug: Apparently didnt fix the camera going backward when changing speed with alt+scrollwheelnn
bug fixed: when walking and going into spect cam, soldier continued moving

v0.4
Feature: First test of FOV/Zoom, Camera manager, on the client works perfect thx Miha

#

gonna go soon, if you wanna test with me , move you ass , if not you can setup your own server / use goomes
F6 to activate and deactivate spectator cam
F2 to add 2 bots
F1 for slomo (doesnt work)

hardy wedge
#

Alright im out

candid vale
#

Great work though, super solid base

hardy wedge
#

k so i fixed the bug where i could control your pawn

#

was ez

hardy wedge
#

@candid vale

#

Dev V0.1
If you want to test it
servertravel risala?game=/Dev/Core/BP_AAS_Dev.BP_AAS_Dev_C

#

https://www.youtube.com/watch?v=-5vJyK5bmMo
Controls :
F6 to enter/exit Spectator cam
Move WASD
Go faster temporarily: Sprint key
Granular speed increase / decrease: Alt + scrollwheel
Move up: Jump(and 'Jump' only : not 'Jump/Vault' in your settings, bind it to Capslock it works nicely)
Move down: Crouch ('crouch' only not 'crouch toggle')

00:00 Move + sprint
00:09 Granular speed increase / decrease
00:17 Move up / down
00:30 Move up / down With granular speed

Move WASD
Go faster temporarily: Sprint key
Granular speed increase / decrease: Alt + scrollwheel
Move up / Down : Jump / Crouch

โ–ถ Play video
#

will do zoom/fov maybe in a few hours taking a break

hardy wedge
#

if you need a server ping me ill be around later

candid vale
hardy wedge
#

sure

#

one sec

#

remove the old one and install the new one @candid vale

candid vale
#

in voice

hardy wedge
#

is it a ghost ? is it an an admin in spectator cam with his Mesh hidden(but not the shadow ^^)

hardy wedge
#

full of weird shit happening ^^ now it's a camera man

candid vale
#

lmao

hardy wedge
#

here we go

#

finally , hey @candid vale you know why there is no collision between player char ?

#

it's like that in vanilla (i think i tested on a vanilla map without my mod)

hardy wedge
#

v0.3
Feature:
When possessing the spectCam, hide the pawn / shadows / weapon and make it invincible (maybe change collisions too)

bug:
Apparently didnt fix the camera going backward when changing speed with alt+scrollwheel (just tested again looks like it's working , ๐Ÿ˜• )

bug fixed:
when walking and going into spect cam, soldier continued moving

hardy wedge
#

so did you try it @candid vale ? because you went away saying 'i need to rent a server'

#

you wanna try before the playtest to make sur it works ? we could even try with the factions , im DLing it

#

cant you rob goomes of his ๐Ÿ˜‰ ๐Ÿ˜‰ ?

candid vale
hardy wedge
#

aww , it sux

candid vale
#

taking a while

hardy wedge
#

4 hours fuck

#

oh shit , sunday...

#

i mean ... it make sense

#

@tacit ridge

#

can you lend us your server ? we want to try a mod before the playtest (it's 4mb)

#

(also bluedrake, if you want to use it , everyone needs to have it, so we will need to warn everyone when you ping them for the playtest

#

i mean, at this point yolo and lets try it at the playtest directly

hardy wedge
#

i was using the same thing miha did, just not in the right place, doing it on the server instead of client without noticing ๐Ÿ˜’

#

works nice, and doesnt effect player settings and configured FOV, ๐Ÿ‘

hardy wedge
#

#1028312436677279836 message
v0.5
Polish of the Controls (Added Jump / Vault / JumpVault AND Crouch / CrouchToggle)
Added granularity when increasing camera speed (10 increments instead of 15)
Added Zoom to Next/previousItem (Mouse wheel)
Hidden the mag count/weapon fire mode at the bottom Right
Added compass to Spectator Cam

Bug fix:Fix the error message spam for compass (Everything in the UI is broken)
Bug fix:Replaced the compass, that was broken in the Spect cam, to a working one.
Tentative Bug fix: Returning to Player char you can get stuck and not able to move

Controls :
F6 to enter/exit Spectator cam
Move WASD
Go faster temporarily: Sprint
Granular speed increase / decrease: Alt + Mouse wheel
Move up: (Any one or every) Jump / Vault / JumpVault
Move down: (Any one or every) Crouch / CrouchToggle

**Zoom : **
Lean Right And left (Can hold it to keep zooming)
Next/Previous Item (Mousewheel)

hardy wedge
#

also added zoom to mousewheel , since i saw it on miha's code, so every one can choose what they prefer(i prefer holding Lean R/L)

hardy wedge
#

non existant, im gonna make a video for the progress ,and cook it, and send it

#

i managed to find a way to hide the UI

#

after the vanilla function that supposed to do it crash the SDK

#

anyway, ive Replaced the compass, that was broken in the Spect cam, to a working one.
Since i'd like to still have it (there is a way to hide it, with a keybind, didnt do it yet will do later)

#

and i've hidden the mag count at the bottom

candid vale
#

kk sounds good

hardy wedge
#

gonna video it

#

will be faster

candid vale
#

having a working compass could be dope

hardy wedge
#

its very prototype this version, i havent tested a lot,

#

just managed to finish this instant making it work

#

didnt do any debug

#

send it, yolo

#

@candid vale were gonna just use my server for testing

#

Demo

#

works on server you can join if you want

#

Position of the Compass is normal i'll fix that later

candid vale
#

I put it on FCV as well

#

what's with the giant TEXT BLOCK ui lol

#

I can't hide any of it with showhud 0 either

hardy wedge
#

Its to tell me its the right one

#

i told you it was a rough version

#

i didnt clean it up

candid vale
#

kk np

hardy wedge
#

im in voice

#

internal

candid vale
#

Todo

  1. Center compass
  2. Allow lean toggle for zoom controls
  3. Hide stance indicator
  4. Remove "TEXT BLOCK"
hardy wedge
#
  1. Keybind to show and hide hud (i wont / be able to use ShowHud 0)
candid vale
#
  1. Add gamepad controls for controlling camera view, and gamepad triggers for controlling zoom
hardy wedge
#

v0.6 (Polishing only)
1. Fix: Center compass and Remove "TEXT BLOCK"
**2. Fix: Allow 'leanToggle' for zoom controls **
**3. Fix: Hide stance indicator **
4. Fix: F7 Keybind to show and hide hud (Hiding the compass and watermark in Spectator mode. in Player Char mode: hide all widget)

Unintended : when leaving the SpectatorCam, it stays at it's last position, so when you go back into the spectator cam, you are not at the player pos, but at last pos.
Thinking about more about it : it's interesting, maybe implement another keybind to reset SpectCam position to the player's position.
And allows you to go back and forth between Player/Spect without travel every time.

TODO:
hide the Flag Capture indicator when the soldier was inside the cap zone and go into spectator cam
Bug:You need to hit the F7 key multiple time before it hide the UI: Set the default value of ShowHUD

Low prio:
5. Add gamepad controls for controlling camera view, and gamepad triggers for controlling zoom
(Smoother cinematic view)
6. execute console command 'ShowHud 0' see if it works?

hardy wedge
#

should be way more presentable for making video now

#

welp , it's crashing the client, deleting it

#

Nevermind,

#

i think MSI Afterburner is crashing the game ๐Ÿคทโ€โ™‚๏ธ

#

V0.6: Blue i pinged you, but had to deleted the file(with the ping message) , i though it was causing crash

candid vale
#

btw found some interesting bugs today

candid vale
#

I didn't delete anything

#

also I think the spectator camera is breaking the AI somehow?

#

we tested it and for some reason there is definitely some odd AI behavior whenever the spectator cam is enabled

hardy wedge
hardy wedge
hardy wedge
#

i'll investigate, but thats more of a dullae thing

#

maybe filter by HDplayercharacter , when trying to find targets, idk

candid vale
#

he said he's never seen it happen in vanilla

#

although he's super interested to know how the spectator camera broke it if that's actually what happened

#

but there's no way for him to know

#

unless you show him the source

hardy wedge
#

and looking for it

hardy wedge
#

and he can reproduce

#

ill try to reproduce myself on my end

#

weird thing is , it happened one time , and didnt after that

candid vale
hardy wedge
#

yeah

candid vale
#

also defending bots will not attack the first flag until it has been captured

#

so you'll notice that none of the insurgents will move until the first flag is already taken

hardy wedge
#

maybe making a test map where they have to move a long distance to a cap zone ?

candid vale
#

other issues are HUD getting stuck on when you switch to spec once

#

so the second compass is still there, so is text block, even when you leave cam

#

also the first time to enable cam, every time after you enable cam again it will always be the same spot that you first toggled it

#

it doesn't retoggle to your player's new position

hardy wedge
#

did you try version 5 ? or talking about the previous one here ?

#

ive reworked the whole thing

hardy wedge
hardy wedge
#

in general hitting F7 clean it up (as a workaround)

hardy wedge
#

alright gonna go and work on it for a while

#

v0.7 (features)
Show TPS in the scoreboard and list the controls for the spectator cam
Changing the color of the icon of your squad mates to green, to differentiate from team mates that stays blue, Override the whole map, increased brightness of the icon.
Enable 3rd person cam, with N key
Tentative:When going Back in spectCam Hold F6 to get back to previous spectCam location , Tap will reset the position to Players loc

Floating map
Players own green icon.
Show other player's icons.
Show/hide floating map (Temp keybind F8 ? Radial menu CameraToggle that are not used i think)
Hide when MainMenu/DeployMenu/Scoreboard is opened.
Scrollwheel when not hovering the map should zoom the map centered on the player.

Fix: You need to hit the F7 key multiple time before it hide the UI ||(fix Set the default value of ShowHUDCustom)||
Fix: When in spect cam, bots could still see you and shoot
Fix: When you go into SpectatorCam the Capture progress was still going on, and other players could see the other player's presence on the flag in the capture status top right (the little circles)
||(fix Edited collisions from Object type channel Pawn to Dynamic on the Soldier mesh/capsule when going into SpectCam, and reset after (on the server, and on every clients))||

Bugs: Dont swich teams while the SpectatorCam oof

hardy wedge
hardy wedge
hardy wedge
#

increased the brightness of the Player icon (was too dark might have been a problem on some map backgrounds

hardy wedge
#

Oh, i could even show the other team players icons on the map

hardy wedge
#

@candid vale you mentioned again, that bots are acting weird with the spectate cam, i thought it was a minor thing, is it really that problematic ? like it happens a lot ? and what does it do exactly ? the bots are looking at the spect cam ? when you go far away do they resume normal behavior

candid vale
#

yeah its pretty problematic

#

it breaks them pretty fundamentally

hardy wedge
#

okay

#

i'll look into it in prio, maybe not today , bit tired to tackle something like that

#

@neon fractal have you looked into why AI bug when near a Spectator cam.
Maybe it's because i choose a Pawn as parent, i tried SpectatorPawn but something wasnt working right

#

maybe you could filter for only HDplayerChar and lower ?

#

ill try switching , but thats a lot of rewrite

#

idk if more modders will have the same problem

neon fractal
#

No, I didn't look into it

#

I don't think I can

#

I'd have to test/change things in editor

hardy wedge
#

ok , so my actor is a simple pawn

#

i'll try making a test setup

#

because :

#

5:19 AM]
=DRK= Bluedrake42: also defending bots will not attack the first flag until it has been captured
[5:19 AM]
=DRK= Bluedrake42: so you'll notice that none of the insurgents will move until the first flag is already taken
[5:19 AM]kaiz: maybe making a test map where they have to move a long distance to a cap zone ?

#

so that they are moving / attacking,

#

nevermind, it's another issue,

#

Oh

#

i think i know what's going on

#

it's on my side, ill test, just to make sure it doesnt interfere

neon fractal
#

Good, let me know how it works out

hardy wedge
#

@candid vale i think i ve found the problem, it was on my end, had nothing to do with the Spectator Cam (Spect camwas a pawn i thought the bot were confused by it and targeting it)

#

I've tested it a good bit on a server (Installed on candy van but not running in case there is problem)
Please let me know when you plan on testing it (if you do an impromptu playtest and know when you wanna do it please let me know in advance if possible)

V0.7

#

**New keybinds : **
Controls :
F6 to enter Spectator cam (Tap will spawn the camera at PlayerChar location, Hold F6 to get back to previous Spectator Cam location)
F6 to exit Spectator cam (Tap will control the PlayerChar at previous location, Hold F6 will teleport the player to Spectator Cam location)
F7 Show/hide UI
F8 or T(RadialMenu is Unused for now) Show:Hide Floating map
N(CameraToggle) 3rd person camera

Move: WASD
Go faster temporarily: Sprint
Granular speed increase / decrease: Alt + Mouse wheel
Move up: (Any one or every) Jump / Vault / JumpVault
Move down: (Any one or every) Crouch / CrouchToggle

Zoom :LeanRight/left (toggleLean works too)
Zoom :Next/Previous Item (Mousewheel)

#

fuck yes, i wasnt sure it would work since it was disabled on purpose , but could reactivate the 3rd person cam, it's working on live MP PT

candid vale
#

dude yessssss

hardy wedge
#

let me know when

candid vale
#

@hardy wedge trying to join now but it keeps kicking me out

#

okay I just put it on FCV

#

testing it there now

#

you should put a crosshair when you switch to third person

#

use the GTAV one

#

its small and simple

hardy wedge
candid vale
#

yeah the bots are still fucked

hardy wedge
#

are u kidding me

#

how are they fucked, i saw them shooting me no problem

#

i really need more info on what you are doing exactly

#

and what is happening

candid vale
#

I already explained it

#

A: they don't attack the first objective

#

B: they don't fire if they've reached a defense objective and are standing still

hardy wedge
#

yeah well i didnt had this problem

#

maybe it's happening on vanilla only

#

also how many bot were there ? 8 right as configured for the minimum ?
i noticed bots werent going inside the cap zone, so they werent capping, even though there was 4 bot near cap, only one was inside

#

Ayyy, bots green icon is working , didnt think of testing this

hardy wedge
#

OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO

#

I get it

#

@candid vale

#

as a workaround for now

#

dont Create a squad with bots, they are following you

#

and when you go into spect cam, for some reason they go back to where you were when activating Spect cam

candid vale
hardy wedge
#

i meant on a live server as opposed to in editor, my bad

#

im sorry i cant reproduce it

#

its working perfectly

#

Ive seen them attack the first obj, and fire while in a flag

hardy wedge
#

๐Ÿคทโ€โ™‚๏ธ idk what to tell you

#

i cant figure it out with so little info, and replicating the condition and it working perfectly

hardy wedge
#

been playing for 20 min with a few bots, capturing the attack flag , going back on the def flag when its atacked

#

everything looks fine ๐Ÿ˜’

candid vale
#

its all good man

#

not a big issue

#

the problems they have don't really break the game

#

just make them slightly more stupid lol

#

but its still playable

#

it works just fine for now

hardy wedge
#

well

#

next time we can test it, you'll set it up like you did, and show me what's going on

#

with text its a bit hard

#

trying to fix other problems with AI and capture zone (when going into spect cam, bots still shoot at the player char left behind) and capture zone still show player inside it / capturing it

#

fixed the cap thing, getting crashes in editor when trying to stop bots from shooting the player char

indigo minnow
#

I cannot download the militia. It says "oops something went wrong"

hardy wedge
#

try another browser , also #โ“mod_install_help @indigo minnow

#

10:27 PM]=DRK= Bluedrake42: For today's playtest you will need the latest version of both the Spectator camera and also the VBSS faction

so how was the bots ? still fucked, do you have footage of it by any chance ?

#

About the Specator cam mod, any feedback guys from the previous playtest?
Floating map ? no problem ?
Green icon for squad mates ?
3rd person cam ?

Were bots particularly dumb about capturing flags ?

rough cobalt
#

Hey.!! The Thirdperson Cam is not work.? Why.?

candid vale
#

still problems

#

I'll have to do a playtest with only the spectator mod

hardy wedge
#

im so confused dude

hardy wedge
#

guys, you need to be precise

rough cobalt
#

Key N not work.! Key F7 doesn't work for me

hardy wedge
#

and the rest was ? F6 was working ?

hardy wedge
#

also are u sure the mod was running ? BD said he disabled it

hardy wedge
# candid vale I'll have to do a playtest with only the spectator mod

can we please set a date and time, and do a proper announcement, i really cant do the 'hey im feeling like playtest now'
It gives people time to know about it and plan for it, more people will join, could it start at max 6pm CEST ? (my old brain doesnt work right when its late)

rough cobalt
#

Ok.. He has disabled it.,

hardy wedge
candid vale
hardy wedge
#

yes , but the first one is when you found the problem, iirc, and the second i couldnt join anyway, not a patreon

#

im just saying, if you do an impromptu one, i wont be able to join thats all, busy IRL gotta plan

#

and nevermind for the max 6pm i realize its gonna be hard to get players to join up, until 9pm CEST is alright

hardy wedge
#

F6 Tap : Hide soldier / Show Spect cam at Soldier pos
F6 Tap : Show soldier at previous loc
F6 Hold : Hide soldier / Show Spect cam at previous loc
F6 Hold : Teleport and Show soldier at Spect cam loc

#

BD you said that you wanted the cam to reset to the soldier's location, instead of showing the previous spect cam location.
it's now default behavior with toggle F6 key

hardy wedge
#

for this :
F6 Hold : Teleport and Show soldier at Spect cam loc

i should make it so it finds the nearest landscape... to avoid killing the soldier when you spawn 300m in the air ๐Ÿ˜„

#

~~v0.8

F6 to enter Spectator cam (Tap will spawn the camera at PlayerChar location, Hold F6 to get back to previous Spectator Cam location)
F6 to exit Spectator cam (Tap will control the PlayerChar at previous location, Hold F6 will teleport the player to Spectator Cam location)

TODO:
Follow another soldier with a 3rd person cam : line trace , or Click on a player's name in the scoreboard
show a widget on top of the head of AI and player (show name too ?) :
#๐Ÿ†˜sdk_help message
BUG:Show the Capture flags in the Floating map
Bug: floating map , wrong image bg, just happened one time ๐Ÿคท
BUG: The map is centered on the spectCam if you zoomed it previously, setup the mousewheel keybing to zoom the map while in spectator cam. (conflic with zooming)
Bug: doesnt hide the custom compass of SpectatorMode map when showing main menu~~

working on Koth now

hardy wedge
hardy wedge
#

3rd person cam Prototype video, need some polish before releasing, so it'll be a while until i have a KoTZ version worthy of playtesting

azure cape
#

I didn't know anyone was working on it. ๐Ÿ™‚