Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by SherlockHolmes · Feb 16, 2013 at 07:10 PM · fpstutorial

I want to make a First Person Shooter in Unity3D, where do I start?

Hi!

I watched some tutorials on youtube for beginners. Now I know how to make a floor, objects, terrain. I know the basics. But I can't script at all. C# or JavaScript. I want to hold the gun, aim, AI, reload, etc.

I read that C# is better for this kind of stuff, but then again, on YouTube everyone, with 1 or 2 exceptions, uses JavaScript. Also, there are little C# tutorials. How do I learn to script animations, reloading, aiming, etc.?

Thanks in advance!

Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

4 Replies

· Add your reply
  • Sort: 
avatar image
0

Answer by Ryanrc · Aug 18, 2013 at 08:20 AM

Look At The Very Basic, Beginners Tutorial

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

Answer by FXBaconGames · Feb 16, 2013 at 07:29 PM

If you already know how to make animations, just look at the unity docs under animation for implementing it into scripting:

http://docs.unity3d.com/Documentation/ScriptReference/Animation.html

Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image SherlockHolmes · Feb 17, 2013 at 01:57 PM 0
Share

Thanks! Will do!

avatar image
0

Answer by KubeX · Feb 16, 2013 at 08:38 PM

You may check out MrXTeabag's videos on unity FPS. (Uses Java Script) It's a good start if you're new to making FPS games in Unity. Includes how to make the gun, reloading, shooting, animations (jump animations, sprinting animations, aiming, etc.)
http://www.youtube.com/watch?v=UZWwDLS1j58

If you're interested in programming AI, you may check out ETeeskiTutorial's video on AI path finding. From there you can continue to follow the series of the AI video to make a basic AI behavior.
http://www.youtube.com/watch?v=i3HunQfX5fA

Making a terrain is very easy in Unity.

Open up Unity if you haven't already. Create a scene or select the scene you want to make your terrain in. Over at the top of the window there's a button that says "Terrain". (It's right beside "Window" and "Component". The 3rd last one in the list) Click on it and click create terrain. You now have a huge plane but it's blank. Select the terrain object in the hierachy. Look in the inspector and click on the paint brush. Click on Edit Textures and click Add Texture. There are 2 texture boxes. Click on select on the first box. You may now choose any texture you want. If you have Standard Assets imported, you may choose "Grass (Hill)" as your texture. Make sure you have direction light so that you can see your terrain.

Comment
Add comment · Show 3 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image SherlockHolmes · Feb 16, 2013 at 09:20 PM 0
Share

Wow thanks! But I have a question. Is JavaScript O$$anonymous$$ to use? Isn't C# so much more efficient? And why does the majority use JS?

Thanks.

avatar image KubeX · Feb 16, 2013 at 10:00 PM 0
Share

$$anonymous$$ore use Java Script as it was designed for Unity and slightly easier to use. Actually Java Script is also known Unity script by some. C# is a bit more efficient but only slightly.

See ETeeski's explanation between C# and Javascript http://www.youtube.com/watch?v=7xUfUn0$$anonymous$$JrA

avatar image SherlockHolmes · Feb 17, 2013 at 01:12 PM 0
Share

Thanks again!

avatar image
0

Answer by Mason Fontenot · Sep 01, 2014 at 03:39 PM

I suggest MisterNinjaBoy's Youtube tutorials. He has a free FPS kit that is very good and contains plenty of weapons and hand models, AI scripts, Raycast shooting scripts, animations, minimaps, etc. He is very good at explaining, and is a very helpful person ;) https://www.youtube.com/user/misterninjaboy

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

14 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

I am having a problem with the following script 1 Answer

How to Make a FPS without knowledge [BEGINNER] ! 5 Answers

how come we can't get the unity fps tutorial files anymore? 2 Answers

Multiplayer FPS Tutorial 1 Answer

Complete AI Tutorial? 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges