Scrap Mechanic

Scrap Mechanic

42 ratings
Spectator Mod
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
12.639 MB
Jun 15, 2020 @ 4:19pm
Feb 28 @ 2:27am
14 Change Notes ( view )

Subscribe to download
Spectator Mod

Description
======How To Use======
-Place the Spectator Activator and press E on it to use it
-Use the controls that are posted in the chat when you enter the camera to control it (controls are also below)
-Place any surveillance cameras you wish to use (can move while being viewed)
-Free cam can be used to get cinematic shots or cool camera views
-Spectator cam can be used to watch other players
-Surveillance cam can be used in games or just to watch your build (Cameras also have a setting to make the camera get disabled when it is shot or hit with a hammer)

========Controls========
-E on a disabled surveillance camera to re-enable it at any time (disabled cameras spark and show static when viewed)
-E on the Spectator Activator to enter the camera
-E twice to exit the camera
-1 to toggle the cam mode
-2 to reset all movement related controls just in case you accidentally invert movement
-3 to toggle status titles, these are the things that pop up in the middle of the screen
-4 to lock players into your current mode (host only)
-0 to print the controls for your current mode in the chat
=====When in Free Cam=====
-WASD to move
-Mouse movement to turn
-X and C or scroll to change movement speed
-Space bar to move up
-E to move down (Control cannot be used because of how the key reading works)
-7 to reset the free cam position
-8 to make your character follow your free cam
-9 to toggle WS vertical lock (If the camera moves up/down when looking up/down and pressing W/S)
===When in Player Spectator===
-A and D to change the player you are spectating (cannot spectate self)
-Mouse movement to rotate around the spectated player
-X and C or scroll to zoom in and out
===When in Surveillance Cam===
-A and D to change the camera you are viewing (camera must be same color as spectator activator)
-9 to change camera hit behavior (what happens when the camera is hit with a spud or hammer)

======Known bugs / problems======
-If the spectator activator is rotated at off angles, the static will appear crooked.
-Surveillance cameras that are moving at high speeds while being viewed may sometimes clip into the screen.
-Holding E while switching to free cam mode will invert the E control.
-Surveillance cameras can start disabled in rare, currently unknown cases.
-Please let me know of any other problems you encounter in as much detail as possible.

======Past updates======
-1.1; Fixed multiple client side problems
-2.0; Added surveillance cameras and surveillance cam mode, free cam W/S vertical lock option, clients values are saved, mod parts now have icons!
-2.1; Smoother camera movements, added option to make character follow Free Cam position, added movement speed below 0.1 [0.01 to 0.09]
-3.0; Massive code overhaul, fixed client lockout issues, fixed collisions, added mode lock, player spectator camera no longer clips, more reliable character following camera, normalized free cam movement, added checks for data compatibility
-3.1; Minor patch to fix issues caused by insanely rare edge case of the world host not being player id 1

(Check the change notes for more detail on each update)

====Possible future updates====
-First person player spectating
-Locking rotation to spectated player in spectate cam
-Remote surveillance camera controls (ie: moving bearings connected to a surveillance camera while viewing it)
-Zooming on surveillance cameras
-Quaternion surveillance camera rotation (cameras have full rotational ability to exactly match what the part is doing)
-Configurable viewing order of surveillance cameras
-Configurable FOV for each surveillance camera and/or all modes

=======Special Thanks=======
-wingcomstriker405 for inspiration and help with the camera and testing.
-Multiple people from The Guild for assistance with making this mod.
-Disority and MrMonkeySam for help with multiplayer testing.

Anyone that wants to use parts of my script for their own mod can do so as long as they give proper credit where it is due.
Popular Discussions View All (1)
1
Jun 15, 2020 @ 5:11pm
is monkæ?
Disority
76 Comments
ShrooToo  [author] Feb 28 @ 1:04am 
FINALLY I have spend a week or two changing almost every single line of code in this mod and fixing many many issues
ShrooToo  [author] Jan 17, 2023 @ 1:49pm 
itbedehaam Good to hear, sorry about that.
itbedehaam Jan 16, 2023 @ 4:52pm 
Restarted game, sorted itself.
ShrooToo  [author] Jan 16, 2023 @ 2:39pm 
itbedehaam Do you maybe have any other spectator activators in your world still? All spectator activators of the same color share data, so you would have to delete them all to reset them. If that's not the issue, does restarting the entire world at least fix it?
itbedehaam Jan 16, 2023 @ 1:09am 
Following on this issue: "-Users can randomly freeze up and no longer be able to use a Spectator Activator until it is replaced"

Replacing doesn't want to fix ti for me.
ShrooToo  [author] Jul 6, 2022 @ 1:37am 
PolishCapybara idk maybe modded parts are different? I'll have to take a look at it.
AsperGenerator Jul 6, 2022 @ 12:35am 
buttons, seats aren't blocked, but ok
ShrooToo  [author] Jul 5, 2022 @ 5:58pm 
PolishCapybara I think that is the point of the Scrap Guard isn't it? blocking interactions and placing
AsperGenerator Jul 5, 2022 @ 2:26pm 
both
ShrooToo  [author] Jul 5, 2022 @ 1:49pm 
PolishCapybara What is blocked by the Scrap Guard? Interacting with the activator?