Turn 3rd Person Shooter Game into 1st Person Shooter

My name is Nick and I am a n00b game developer. :slight_smile: I downloaded the 3rd Person Shooter Game from the asset store and I want to convert it to a first person shooter. I want to keep the crosshairs. I tried to position the camera where I want it but I gets moved back where it was because of the script. How can I modify the script in order to still have the crosshairs and achieve the result I want? (Obviously I want the camera to follow the movement of the character.)

If it is a case of adjusting where the camera sits then fine, just remove the existing camera script, make it a child object of the character and place in a new script for mouse look - for info, import the first person controller from standard assets in a new project and examine how that works, you will see that it uses a script to rotate the entire player parent object with the mouse, and a second script to make the camera tilt up and down, leaving left and right directions for sidestepping (strafe) - hope that makes sense!

I also recommend that if you are a n00b as you state, that you start from scratch rather than try and tackle something like an FPS, you will miss out on a lot of info that you may get starting from basic gameplay as you need to understand a lot of the programming you’re removing / adding as you continue to work. I have some tutorials for beginners at http://www.unity3dstudent.com and am currently creating a lot of new official Unity learning materials which will be added to the site in the next few months.

good luck!

There are a couple of things you need to look into for making an FPS. It’s suprisingly simple actually with the power of Unity after you’ve learned the basics of coding.

  • Mouse movement of camera
  • Character that moves with physics
    (gives the best result)
  • Raycasts with ScreenPointToRay
  • Functions for damaging enemies/objects (health)