Workshop.codes
Login
Create
Dropthatbeat

Accurate OR Simple Third person - TOOL

This code is over 6 months old. The code may have expired and might no longer function.

Accurate Or Simple Third person

This is a Tool for others who want to be able to have both an accurate third person camera, or a basic one.

Hold crouch and reload to switch to third person for a demonstration

  • accurate camera: reacts to the users line of sight.
  • basic camera: is less resource intensive, while also being less shaky for the end user.

The game rules cost 167 elements or less, without the small messages.

modify the blend speed if its too fast or slow for the cameras. default is = 40

Dont forget to relabel your variables!

you dont have to rename them if they dont conflict but make sure to change the number before you input it!

Example code

variables
{
global:
2: CameraDistanceFactor

player:
26: AA
27: AB
28: AC
37: AL
}

The numbers on the left need to be variable positions not currently used by your gamemode.

for the full code without having to check out the gamemode in game is under the snippet section at the top of this page.

Workshop.codes