branchrust_reboot/main/rc_dronecancel
65 Commits over 151 Days - 0.02cph!
Make logs related to changing RC identifiers editor only
Don't allow C4 to stick to drones
thumb_up
16
thumb_down
26
Change drone to use a box collider instead of mesh collider
Don't allow RC controlling an autoturret while it is booting
█▊▇ █▆ █▌▌▆▅▋█▊█▊▌ ▆▅▄▊▌▊▍▉▌▌ ▇▊▉ ▅▊▄ ▌▅▄▌█▆▉█▅ ▍█ ▅▊▅▌▅▍▋▉
Fix static computer stations pulling RC identifiers of things it shouldn't know about
Fix autoturret and cameras networking their RC identifiers to everyone (will now only network to players who have auth)
Fix drone RC identifier networking to everyone (will now only network to the player who placed the drone)
Only allow the person who deployed the drone to change its identifier
Drones can still be stolen when they are not flying by picking them up so don't leave them unprotected
Reset drone flags when ending control (fixes audio getting stuck on)
Disable ShouldInheritNetworkGroup for drone (should fix feed cutting out when flying onto cargo ship)
Code review changes - switch to InvokeRandomized for CCTV cameras
Only select the RC identifier input field when no keys are down
Add the LOD levels back in for the deployed drone's propellers
Fix PTZ not returning correct zoom scale when running as server only
Fix load not loading for server side entity in server+client mode for cameras
Add the recording light back to the PTZ camera
PTZ camera temporarily goes out of focus while changing zoom level
Remove drone grounding trigger collider, was unused for a while now
Change interaction collider to ragdoll layer so it doesn't collide with anything
Only show the crosshair while remote controlling an autoturret
Add a killdrones command for paddy (doesn't kill delivery drones, only deployable drones)
Make the drone sway around in the wind while flying
Disable the swaying for the client controlling the drone to make it look stabilized
Add server convars for overriding the drone's movement speeds for paddy
Support max ranges for remote controlling devices (screen will have static when nearing max range, and will lose connection when too far)
Set max range for drones to 250m for now, configurable with a server convar
Drone and autoturret default to having no RC identifier set, so cannot be remote controlled until one is set
Reduce the amount of damage the drone takes when bumping into things
Enable condition on the drone item - fixes drone getting repaired when it is picked up and redeployed
Ignore triggers when checking if the drone is on the ground (fixes drone turning off randomly in the air around monuments)
Possibly fix desync when first taking manual control of an autoturret
Fix reload sound spamming when manually controlling an autoturret
Fix one GameObjectLOD for a drone propeller incorrectly marked as static
Don't allow controlling autoturrets which are in peacekeeper mode
Enable mipmaps for drone and PTZ icons
Move drone slightly up when deploying to avoid it clipping the terrain and flinging up
Change PTZ zoom to cycle through presets like binoculars
Adjust zoom speed to change much slower
Adjust pitch/yaw clamps for PTZ camera
Update crosshair color to be more visible
Fix client/server compile
Actually put the Z in the PTZ camera
WIP PTZ camera deployable
Add crosshair texture from lewis
Merge from PTZSecurityCamera
Shoot from the camera pos when manually controlling an autoturret
Add a placeholder crosshair to the computer station for autoturret aiming
Fix manual controlled autoturret shooting at a future aim pos (server was lerping faster than client)
Allow deploying drone in places where building isn't allowed cause it's just a drone
Fix fog not resetting immediately when exiting the computer station
Significantly reduce the movement leaning for deployed drone
Make drone deployable lose control when colliding with players
Make drone deployable lose control temporarily when getting damaged sometimes
Remove protection from drone deployable
Enable fog when RC controlling an autoturret to show their range
Scale up the autoturret's laser dot while RC controlling so it can be used as a crosshair
Refactor a bit so multiple people can connect to RC entities at the same time
Only one player will receive control over RC entities which can be controlled though
Computer station UI will show if you are in 'viewing only' mode when someone else has control
Fix compile errors in different build modes
Remove IRemoteControllable.Occupied
Pass the playerID to IRemoteControllable.StopControl so entities can know who stopped accessing it
Make sure the CCTV resyncs its angles on the client to match the server in case they somehow desync