@title Photo Mode Unlock
@version 1.0.0
@author Apocalyptech
@contact https://apocalyptech.com/contact.php
@categories qol

@license Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0)
@license-url https://creativecommons.org/licenses/by-sa/4.0/

###
### Unlocks the camera in Photo Mode to be able to go extremely far.  Possibly
### not to the full extent of every level -- I've not tested thoroughly -- but
### enough to take you from the Highway FT in Droughts back to the main FT in
### that area, at least.  Also buffs up the camera move speed so that it's not
### agonizing having to go over so much terrain.  That might make lining up
### precise angles a bit harder, but c'est la vie!
###
### Also reduces the camera's collision radius to zero, which doesn't let it clip
### directly through objects, but it can often slip through real tiny seams.
###
### Generated by gen_photo_mode_unlock.py
###

# Extending camera range
SparkPatchEntry,(1,1,0,),/Game/GameData/Camera/CameraMode_PhotoMode_Offset.CameraMode_PhotoMode_Offset:Behaviors_CameraBehavior_OffsetCameraRelativeFromInputs,MoveLimit,0,,(Min=(X=-30000,Y=-30000,Z=-30000),Max=(X=30000,Y=30000,Z=30000),IsValid=1)

# Increasing camera move speed
SparkPatchEntry,(1,1,0,),/Game/GameData/Camera/CameraMode_PhotoMode_Offset.CameraMode_PhotoMode_Offset:Behaviors_CameraBehavior_OffsetCameraRelativeFromInputs,MoveSpeed,0,,800

# Decrease collision radius (can sometimes let us clip through edges)
SparkPatchEntry,(1,1,0,),/Game/GameData/Camera/CameraMode_PhotoMode_Offset.CameraMode_PhotoMode_Offset:Behaviors_CameraBehavior_OffsetCameraRelativeFromInputs,CollisionRadius,0,,0