Started by
Professor Blue
on
Topic category: Help with Minecraft modding (Java Edition)
I'm trying to create a camera for my mod (it's focusing on security) , but I've tried using many procedures and it doesn't work. Is there any way to make a security camera? i need this otherwise I can't make my mod. It would be really nice if someone could help, it would be appreciated
Edited by Professor Blue on Fri, 07/23/2021 - 13:52
Hmm I don't think Mcreator supports camera manipulation natively and even with plugins the most I've seen is manipulating the FOV
Id suggest cracking into SecurityCraft and looking at how they coded their cameras and then apply a similar set of code for yours though it would have to be custom
i see NorthWestTrees Gaming Made A Mod Called CCTV Craft And It Had Cameras, So I Don't Know.
They probably used custom code, try asking in their discord about it
NowrthWestTrees didn't use a single line of code. CCTV Craft has been developed using native procedure blocks only. The mod uses a lot of variables/NBT Tags and a lot of reflection when he designed the systems.
Ah thanks for the clarification, I didn't know just took a guess as I didn't know of a procedure to manipulate the player's camera
When you have Speed or Slow the FOV changes, maybe you can use that.
Thats what I was thinking but that wouldn't make a camera system, that would be more of a zoom functionality
Well, I Found this.
The only problem is getting an overlay to display the area a camera is at
Zoom is pretty simple as all you truly need to do is mess with the player's FOV but getting the player to literally see what the camera sees is a different problem