Giter Site home page Giter Site logo

third-person-shooter's Introduction

Unity2020badge C#badge

Version-1.1.3

ScreenShts1 ScreenShts2 ScreenShts3 ScreenShts3

This Unity Package has a Third Person Shooter Player which can shoot anything by raycast weapon.Currently it has set up with two types weapon i.e. pistol and assult rifle but if you want you can use any type weapon but it has need to record animation for that kind weapon.

I made this package by watching 'Kiwi Coder's tutorials in YouTube.

The Demo Video for this pacakge.

This package also dependent on following packges :

  1. Cinemachine
  2. Animation Rigging
  3. Unity Standard-Assets-Character
  4. Guns Pack : Low Poly Guns Collection
  5. Human Character (Free Sample Pack) by wolf3d
  6. Polygon Starter Pack
  7. Unity Particle Pack
  8. SG553 Assult Rifle

So you need to import above packages except third from 'Unity Asset store' as I have removed from my package to save memory.Although you need to download 'Standard Asset Character' from here. You can't download or import 5th asset as it is removed from asset store so I have to put used character model in this package.

Technical Info :

  • Place Player prefab and MainCamera prefab in your scene and you don't need to further setup, If it is not works then you may go to use Player_2 prefab and follow the below process.
  • You need to see this short video to put a Player_2 prefab in your scene or you just follow this
  1. Remove MainCamera from your scene.
  2. Put 'MainCamera',"Player_Follow_Free_Look_Cam","--UI--"(optional), and "Player_2" in your scene.
  3. Then set Player_2 in Follow section and set "Camera_Look" from Player_2 in "Look At" Section of "Player_Follow_Free_Look_Cam".
  4. Now Set "Rig Controller" of CharacterLocomotion Script,"MainCamera" of CameraAim Script,"Player Camera","Raycast Target" "Weapon Right Grip","Weapon Left Grip" and "Rig Controller" from the Scene's Hierarchy "Player_2".
  5. Set Multi Aim Constraint's "Source Object" of "Spine_Aim", "Spine1_Aim", "Head_Aim","Weapon_Pose" with "Raycast_Target".
  6. Go To Edit->Project Preference->Time and set Fixed Timestep to 0.01, Maximum Allowed Timestep to 0.1,Time Scale to 1 and Maximum Particle Timestep to 0.03
  7. Go To Edit->Project Preference->Input Manager and off Snap of Horizontal and Vertical's by remove corresponding tick.

Now you are ready to basic movement of Player2 but if you want Weapon effect then you need to put weapon_pickup or pistol_pickup in your scene and go to playmode.

If you want to use the scripts in other scripts you need to mention "using Baponkar.ThirdPerson.Shooter" in your scripts.

  • If You saw that the Player or Player2 prefab not moving with input then it may be need to untick thr IK Pass from the animator base layer like the below picture.

remove_ik_pass_tick_screenshot

Issues :

  1. You may see some aiming issue with player prefab I will try to remove those issue in coming upgrade package.
  2. You may see some weired position of the player in near of the weapon pickup or inside of the houses.
  3. The Recoil effects not works properly.
  4. Some wired movement during sprinting and jumping.
  5. Some Cinemachine Camera follow snaping issue.
  6. Current Cinemachine also showing two error it will not affect to this package's work. It may be go away by upgrading Cinemachine package.
  7. There is no reload option is not added.

License :

Read License from here . You can use it for non commercial purpose but if you want to use it for commarcial purpose then you need to donate minimum $1 before using it.

Donation or here

Unity Version

Unity 2020.3.15f2 or higher version.

Thanks and Credits :

  1. Unity Technologies
  2. Kiwi Coder
  3. Fun Asset
  4. Wolf3d
  5. Synty Studio
  6. mixamo.com
  7. wburtn

Contact : Email , @baponkar in twitter

third-person-shooter's People

Contributors

baponkar avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.