refunct-tas
refunct-tas copied to clipboard
Third-person view
I used this in the past to get a high orthographic view of the map to take screenshots from a bird's eye view for creating a map overview.
b UCameraComponent::GetCameraView
UCameraComponent.ProjectionMode.Value = 1
UCameraComponent.OrthoWidth
UCameraComponent.RelativeLocation.Z = -10000
AShooterCharacter.Controller->CastToPlayerController()->PlayerCameraManager->ViewPitchMax = 90
AShooterCharacter.Controller->CastToPlayerController()->PlayerCameraManager->ViewPitchMin = -90
Maybe these notes about the render distance may be relevant as well? maybe not
b ACullDistanceVolume::ACullDistanceVolume
((FCullDistanceSizePair*)((ACullDistanceVolume*)0x21fef400)->CullDistances.AllocatorInstance.Data)->Size
((FCullDistanceSizePair*)((ACullDistanceVolume*)0x21fef400)->CullDistances.AllocatorInstance.Data)->CullDistance
For proper third-person, I was thinking of using a SpringArmComponent and attaching the camera as a child to it. That should work, providing the camera is able to be attached to other components and isn't entangled in inheritance bullshit.