You are viewing a potentially older version of this package. View all versions.
Concussion_LLC-RockCamEssentials-1.5.2 icon

RockCamEssentials

A library that adds a class that makes rock cam easier to work with.

Date uploaded a week ago
Version 1.5.2
Download link Concussion_LLC-RockCamEssentials-1.5.2.zip
Downloads 26
Dependency string Concussion_LLC-RockCamEssentials-1.5.2

This mod requires the following mods to function

UlvakSkillz-RumbleModdingAPI-4.0.2 icon
UlvakSkillz-RumbleModdingAPI

API to Help Modders Get Started and to remove the necessity of GameObject.Find

Preferred version: 4.0.2

README

Helo, this is my first mod so don't be too harsh

This is a library that is made to make working with rockcam easier.

If you have any questions about how the mod functions please refer to the link at the bottom.

I'm just gonna note a few oddities of the mod:

  • To start working with the rock cam you need to import this mod into yours and create a variable of type Rock_Cam, no need to put anything into the constructor.
  • Every function that doesn't need to return anything will return a bool to signify whether it finished successfully or not.
  • Because RockCam is weird you have to assign the settings a little bit after mapload
  • To use the isShown variable you have to run once and only once the IsShownUpdate() function. Then the variable will be either 0(not shown), 1(shown), 2(not shown and was hidden this frame) or 3(shown and was shown this frame).
  • Here are a few settings which are not normally accessable: individual control over rotational and positional smoothing across different camera settings; 3rd person angle setting; finer control and adjustability of the photo timer button and the fov setting switch; ability to move the handheld camera without moving the rockcam itself; max render distance(the distance at which the camera will render an image); vertical offset when spawning rock cam; ... .
  • POV is a variable that stores which pov the camera is set to, either "TP", "FP" or "HH".
  • There are 2 functions to move the camera, either SetRockCamPosition and SetRelativeHandheldCameraPosition. SetRockCamPosition will just move the rockcam itself, but SetRelativeHandheldCameraPosition will move the camera of the handheld mod, but it will still follow rockcam's movements.
  • If anything in the camera gets desynched then calling Fix() should fix it.
  • Variables Camera, Tablet, CameraController, POVController, TPFOVSetter, FPFOVSetter, HHFOVSetter, DetachedMonitors shouldn't be needed and exist there purely in case that i missed a setting that someone needs.

Future plans:

  • Find a way to created custom detached monitors and implement it.
  • Make setting settings easier on mapload.
  • Make more camera settings.

Github repo:

Report bugs/suggestions/ask questions here:

CHANGELOG

version 1.5.2

  • Fixed a bug where FullRecordingSetup was setting audioBitrate as framerate and vice versa

version 1.5.1

  • Added an overload of the FullRecordingSetup function to allow RecordingSettings type input. Made the change because i currently RecordingSettings isn't used anywhere as input.

version 1.5.0

  • Massive internal rewrite
  • Added documentation
  • Is not backwards compatable for 99% of use cases, decided to do the change now, before people have published mods with this
  • Organised the functions into subclasses, such as: thirdPerson, firstPerson, handheld,
  • Names for functions within subclasses were shortened to avoid stuff like thirdPerson.SetThirdPersonPOV(), so it's now just thirdPerson.SetPOV().
  • Renamed variables such as Tablet to be _Tablet to indicate that they shouldn't be used unless absolutely required.
  • Changed the DoPostProcessing function to not require a pov input by putting it into the new classes.
  • Minor bug fixes

version 1.4.1

  • Renamed GetRecordingSetup(), GetVerticalResolution() and GetHorizontalResolutionUntested() to GetRecordingSettings(), GetVerticalSetteings() and GetHorizontalSettings(), they also all output a RecordingSettings type variable.
  • Fixed GetHorizontalResolutionUntested() to actually work post update.

version 1.4.0

  • Due to a recent breakthrough i was able to modify a lot more of the parameters, so this is a big one, the functions labeled "Untested" are the ones which i'm not confident in that they will work how i expect them to work, so be vary about using them as they can have unintended consequences.
  • Added SetResolution().
  • Added SetVideoBitrate().
  • Added SetAudioBitrate().
  • Added SetFramerate().
  • Added SetMicrophoneGainUntested().
  • Added FullRecordingSetup() to make recording setup look neater.
  • Added RecordMicUntested(), it allows you to toggle mic recording(can't test rn as i don't have a vr).
  • Added SetPOVBypassUntested(), it changes the pov without the usual function, so it might allow for more customizeable 3rd person camera and such, in theory.
  • Added UpdateDetachedPreview().
  • Added DetachedPreviewChanged variable, it will only be accurate if UpdateDetachedPreview() is run every frame.
  • Added GetRecordingSetup().
  • Added GetVerticalResolution().
  • Added GetHorizontalResolutionUntested().
  • Added LckService and DetachedPreviewManager variables, shouldn't be needed normally.

version 1.3.0

  • Added post processing settings

version 1.2.1

  • Fixed a bug where POV wouldn't update properly.
  • Changed how FullCameraSetup() works to allow for preserving the smoothing options.

version 1.2.0

  • Added POVUpdate() because POV wasn't properly synched after player input.
  • Added POVChanged variable to make switching between POV presets easier, requires POVUpdate() to be run every frame to be accurate.
  • Added the cameras used for POVs by the rockcam, not sure if useful, but they are there.
  • Added FOVUpdate() for when player changes FOV manually.
  • Added SetGlobalHandheldCameraPosition().
  • Changed error handling a bit.
  • Created a github.
  • Added a POVs variable that stores that names of the POVs in that could appear in the POV variable.

Version 1.1.0

  • Added IsShownUpdate() and isShown variable, this allows for detecting camera spawning and despawning.
  • Added IsRecording() because the isRecording variable doesn't update with player started recordings.
  • Made a changelog :D
  • Added a FullCameraSetup() function to make setting up the camera look neater.

Version 1.0.1

  • Fixed an issue where FOV wasn't being changed properly

Version 1.0.0

  • Created

Help And Other Resources

Get help and find other resources in the Modding Discord: https://discord.gg/fsbcnZgzfa