startup in 3rd person view

  • Two Factor Authentication is now available on BeyondUnreal Forums. To configure it, visit your Profile and look for the "Two Step Verification" option on the left side. We can send codes via email (may be slower) or you can set up any TOTP Authenticator app on your phone (Authy, Google Authenticator, etc) to deliver codes. It is highly recommended that you configure this to keep your account safe.
May 14, 2004
7
0
0
hi i been working on a mod for a whille now but being having trouble to configure unreal to start in 3rd person on startup.
does anyone know how to do this in script.
i do i need to setup a special cameria any tips would really help
or any idears on how to overide 1st person view as i dont need this feature
maybe on some advice on what script i need to edit
thanks
stephen bishop
 
Last edited:

Ransico

New Member
Jul 30, 2004
12
0
0
Hi,

The way I did it in my mod, is made a new player class (that extended UnrealPlayer), and made sure that the gametype used this class as opposed to the normal one, by setting
PlayerControllerClassName=MyGame.MyPlayer
in the defaultproperties section of your gametype class.

Then, I overrode the PlayerCalcView function from the UnrealPlayer class, as below:

Code:
class MyPlayer extends UnrealPlayer;

function event PlayerCalcView(out actor ViewActor, out vector CameraLocation, out rotator CameraRotation ) {
    
    Super.PlayerCalcView( ViewActor, CameraLocation, CameraRotation );

    if(!bBehindView) {bBehindView=true;}

}

This is a pretty simple way of doing it, but It seems to be working perfectly so far.