RUMBLE does not support other mod managers. If you want to use a manager, you must use the RUMBLE Mod Manager, a manager specifically designed for this game.
You are viewing a potentially older version of this package.
View all versions.
RockCamDetachedPreviewManager
A library that allows for creating custom detached previews.
| Date uploaded | 13 hours ago |
| Version | 1.0.0 |
| Download link | Concussion_LLC-RockCamDetachedPreviewManager-1.0.0.zip |
| Downloads | 2 |
| Dependency string | Concussion_LLC-RockCamDetachedPreviewManager-1.0.0 |
This mod requires the following mods to function
UlvakSkillz-RumbleModdingAPI
API to Help Modders Get Started and to remove the necessity of GameObject.Find
Preferred version: 5.1.5Concussion_LLC-RockCamEssentials
A library that adds a class that makes rock cam easier to work with.
Preferred version: 1.6.2README
This is a library that allows for easier creation of custom detached preview modes for RockCam.
How to use
- Install like a regular mod
- Add it as a dependency for your mod
- Add Il2CppRUMBLE.Recording.LCK as a dependency
- In your mod create an instance of a class that is parented from the DetachedPreview class within RCDPM class or just an instance of that class.(see documentation on how to do that)
- Call Melon< RockCamDetachedPreviewManager.Main>.Instance.AddPreview(your preview instance)
- Done
Documentation
- DetachedPreview:
- a class that is used to pass information to this mod, contains a name(string); Start, End, Initiate functions; preview(Il2CppRUMBLE.Recording.LCK.LCKTabletDetachedPreview.Preview).
- name:
- string that will be displayed on the button when the preview is active.
- Initiate:
- a function, that will be run on every mapload. Takes a Rock_cam input from RockCamEssentials and outputs a bool(the bool isn't used, can be anything, purely a limitation of how i wrote it). You must create a function and do preview.Initiate = function(same for Start/End).
- Start:
- a function, that will be run every time your preview is selected. IO same as Initiate.
- End:
- a function, that will be run every time your preview is unselected. IO same as Initiate.
- Il2CppRUMBLE.Recording.LCK.LCKTabletDetachedPreview.Preview:
- the ingame type used to save previews. Has to have Mode, AttachingMonitor and LocalizedKey filled.
- Mode:
- a type LCKTabletDetachedPreview.PreviewMode enum, has a value for every coresponding vanila preview, the behavior of the attaching monitor depends on this parameter, but i don't know how exactly as of now.
- AttachingMonitor:
- the monitor on which the output of the rpckcam will be displayed, imo the best way of doing this is to copy one from ingame and then modify it, you can find them in LCK Tablet -> LCKTabletDetachedPreview -> availablePreviews -> inspect some preview -> attaching monitor
- LocalizedKey:
- not entirely sure what it does, i just fill it with RockCam.DetachedPreview."Mod name"
- AddPreview:
- adds your preview into the preview list, which will be injected into the actual previews on any map load(could cause errors if rockcam doesn't exist), returns the index of your preview, which can be compared against in LCKTabletDetachedPreview.ActivePreviewNo(aka Rock_cam Camera._DetachedPreviewManager.ActivePreviewNo)
- ForceInjectPreview:
- immediately injects your preview, can be used if you want to inject your preview after the map has loaded, returns same as AddPreview
Debug keybinds:
hold e for every keybind
- r - adds a dummy preview called aboba
- t - switches to the next preview
Report bugs/suggestions/ask questions here:
- https://discord.gg/r6g9N73U (ping me, my username is deterraleon)
- https://discordapp.com/channels/1076039299448967198/1498028193091817643
Release trailer: https://youtu.be/6mxeWeOLPiQ
CHANGELOG
Version 1.0.0
- Created
Help And Other Resources
Get help and find other resources in the Modding Discord: https://discord.gg/fsbcnZgzfa