I had the darndest time setting this up. Between the ORk custom controls guide and the one the Explosive wrote for this asset I was have a really hard time setting this up to work. I kept running into issues of either the camera not being controllable or the player getting caught in a teleport loop (I still have no idea what was going on there). Took me 4hours to figure this out.

So I'm going to write up a guide for this specific camera asset for ORK. And save everyone else the effort. I know a few people touched on it previously, and even GIL wrote his own guide, but I feel there needs to a full tutorial from start to fin on how to setup one up. So here it is! A practical 0 100% guide for custom camera guide for this asset!

1: Import your 'Simple RPG Camera Asset'

2: Drag your Main Camera into a prefab folder
Select the Prefab and then Add Component -> Script -> Simple Rpg Camera (or you can just drag it on...)
image

3: Pull up your player prefab the one your combatant will use. Lets go with Gils example of Brown Pants. We need to make a New Tag for the Camera to target. Check the inspector Window -> Tag -> Add Tag -> Click the + Sign and name it "Brown Pants"
image

4: Now assign the New Tag

5: Go back to your Main Camera prefab and open the script we added earlier. There should be an
empty slot called "Target Tag" Type the tag "Brown Pants" Since we want the camera to orbit that object
image

That's it for Prefab settings.
Into the Framework we go!

6: Window -> Ork Framework -> Base/Control -> Game Controls

7: In Camera Control Type set: None

8: Add a Custom Control

9: Set Blocked By and Placed On to: Camera

10: Since the script we dragged onto the Camera was called SimpleRPGCamera and that's the function in the script we're going to type that in Behavior Name
image
It is that simple. You'll be up and running in 5 minutes or less.
Last part though. In every scene you make now you need to replace the default Main Camera with your prefab. So when you zone it will instantly use the new camera instead.
Save Settings then Test
Hope it was helpful!

For comfort purposes I would recommend changing Target -> Target Offset Y to 1.25 This will keep your camera out of the ground, also change the Zoom -> Auto Zoom Speed from 1 and 10 to 3 and 8. I would also change the Zoom range from 1 to 10 to 3 and 30 and fine tune from there to your custom needs. Its quite comfortable for me there. Its fast but not too zippy and very smooth, it really feels pro to me.
Post edited by paulgswanson on
Sign In or Register to comment.