Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 14 Next capture
2021 2022 2023
2 captures
12 Jun 22 - 14 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 DanielEvilCreater · Jul 22, 2017 at 06:45 PM · scripting problem

How do i make a Fps game on unity 5

i need Help on make a multiplayer fps game on unity 5 please tell me how to i watched allot of youtbue vids and i dont find any that work all of them are outdated or not multiplayer pls help me

Comment
Add comment · Show 1
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 DanielEvilCreater · Jul 22, 2017 at 06:48 PM 0
Share

the Vid i watch and dont work https://www.youtube.com/watch?v=U$$anonymous$$57qdq_lak

3 Replies

· Add your reply
  • Sort: 
avatar image
1
Best Answer

Answer by kalibcrone · Jul 22, 2017 at 07:15 PM

This is Unity's official tutorial for how to make an FPS with Networking... https://unity3d.com/learn/tutorials/topics/multiplayer-networking

And here is step by step video series following the official unity tutorial... https://www.youtube.com/watch?v=ovUnNJlREIk&list=PLwyZdDTyvucw5JhBMJxFwsYc1EbQYxr0G

NOW, try not to take this offensively, but I'm just being honest here: based on the question you are asking and the way you typed it, I assume you may need to start with something simpler. Networking is extremely complicated and not something you can just pick up easily.

Good luck!

Comment
Add comment · Show 2 · 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 DanielEvilCreater · Jul 23, 2017 at 08:56 AM 0
Share

I was in a rush because it was night time

avatar image DanielEvilCreater · Jul 23, 2017 at 09:02 AM 0
Share

i made a networking test and i worked

avatar image
1

Answer by Getsumi3 · Jul 22, 2017 at 07:07 PM

All what I can suggest is to start with a simple singleplayer FPS, not a multiplayer. Make a base singleplayer. on youtube are a lot of vids. After that you should start learning Photon or uNet to make a multiplayer Here some vids

https://www.youtube.com/watch?v=UK57qdq_lak&list=PLPV2KyIb3jR5PhGqsO7G4PsbEC_Al-kPZ
https://www.youtube.com/watch?v=f8tAI0ITV6s&list=PLZcQtrQ9JcLye36JLtP7GlV6hC_syi4f1
https://www.youtube.com/watch?v=0fGB2H1AGP8&list=PLZ1b66Z1KFKh-auyvzNkOBFLWf6dH6iEH

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 DanielEvilCreater · Jul 23, 2017 at 09:01 AM 0
Share

I need a vid that works on unity 5 2017.1.OF3

avatar image
0

Answer by DanielEvilCreater · Jul 24, 2017 at 09:36 AM

Here is a code that i made that made coding more easier

 using System.Collections;
 using System.Collections.Generic;
 using UnityEngine;
 
 public class Wepon : MonoBehaviour {
 
     public float range = 100f;
     public int bulletsPerMag = 30;
     public int bulletsLeft = 200;
 
     public int currentBullets;
 
     public Transform shootPoint;
 
     public float fireRate = 0.1f;
 
     float fireTimer;
 
     // Use this for initialization
     void Start () {
 
         currentBullets = bulletsPerMag;
     }
     
     // Update is called once per frame
     void Update () {
     
         if (Input.GetButton("Fire1")) 
         {
             Fire ();    
         }
 
         if (fireTimer < fireRate)
             fireTimer += Time.deltaTime;
     }
 
     private void Fire()
     {
         if (fireTimer < fireRate) return;
 
         RaycastHit hit;
 
         if (Physics.Raycast (shootPoint.position, shootPoint.transform.forward, out hit, range)) 
         {
             Debug.Log(hit.transform.name + " found!");
         }
             
         currentBullets--;
         fireTimer = 0.0f;
     }
 }
     

That is just v1

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

110 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 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 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 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 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 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 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 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

Adding constraint component at runtime 1 Answer

Appear a text at start in the center of the screen 1 Answer

Why my editor vs code opens a few windows when i try to open a script from unity,My VS Code open a few tables when i double click a script in Unity? 0 Answers

Trying to make an object "Flee" from the player but it won't work? 3 Answers

How to make script affect only one this game object 2 Answers


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