Detailed Setup
Quick Tips & Troubleshooting
FPS Controller usage
System Setup
Step 1 - Player Setup
Make sure the FlashlightSwing is parented to the PlayerControllerParent and NOT the FPSController
Step 2 - Flashlight UI Manager Setup
Step 3 - Audio Manager Setup
Adding Audio ClipsStep 4 - Flashlight Controller Setup
Variable Name
Description
hasFlashlight
You can choose whether you have a flashlight at the beginning at start or not
Show Flashlight Inventory
If this is true, you can press the inventory key to open the flashlight UI
Infinite Flashlight
Tick this if you don't want to pickup batteries
Battery Drain Amount
Set to 0.01 for slow rate, higher values for faster burn rate
Battery Count
How many batteries you have at the start
Drain Battery Without Dimming
This means your battery level will decrease but the intensity of the flashlight will never change
Replace Battery Timer
The time it takes to hold a key to replace your current battery
MaxFlashlightIntensity
The maximum Intensity of the light source
FlashlightRotationSpeed
The speed the flashlight will follow the camera
Flashlight Inputs
The generic inptus for the system
Flashlight Spot
Add FlashlightSpotlight gameobject from the FlashlightSwing gameobject
FlashlightMovement
Add FlashlightSpotlight to the slot
AudioClip ScriptableObjects
Add the ScriptableObjects from the SO folder to the appropriate slots
Step 5 - Interactables & Pickups Setup
Last updated
Was this helpful?