Download

UDK Third Person

hello i’m still using UDK because i want to finish an old project i started using udk, i want to change my project from fiirst person project to third person project

is there a tutorial or shared class script or kit download of a Third Person like this https://www.youtube.com/watch?v=ImPiRZOEbJA but with aiming weapons like resident evil 6

Hello dude.

I am making a 3rd person shooter:

https://www.youtube.com/watch?v=86PJWuV-9Xc

The camera I have done by my self, it is just the behindview camera with some offsets.

Copy and paste this code on your pawn code just for testing:


//override to make player mesh visible by default
simulated event BecomeViewTarget( PlayerController PC )
{
   local UTPlayerController UTPC;

   Super.BecomeViewTarget(PC);

   if (LocalPlayer(PC.Player) != None)
   {
      UTPC = UTPlayerController(PC);
      if (UTPC != None)
      {
         //set player controller to behind view and make mesh visible
         //since we are not using the Pawn.CalcCamera() function so camera animations (chainsaw execution, i.e) will work normally
         UTPC.SetBehindView(true);
         SetMeshVisibility(UTPC.bBehindView);
      }
   }
}

defaultproperties
{
    CamOffset = (X=6, Y=15, Z=-28);
    //CamOffset = (X=6, Y=15, Z=-28);
    //x -> distance from camera
    //y -> horizontal position
    //z -> vertical position

    Drawscale=0.95 
    Health=100
    HealthMax=100

    bPhysRigidBodyOutOfWorldCheck=TRUE
    bRunPhysicsWithNoController=true

    LeftFootControlName=LeftFootControl
    RightFootControlName=RightFootControl
    bEnableFootPlacement=true
    MaxFootPlacementDistSquared=56250000.0 // 7500 squared    
}