Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Free FPS Starter Scripts!!

Discussion in 'Made With Unity' started by viral-vector, Nov 11, 2010.

  1. arwe2793

    arwe2793

    Joined:
    Oct 18, 2012
    Posts:
    25
    i dont know how to set it up... thisis assets
     
  2. viral-vector

    viral-vector

    Joined:
    Apr 12, 2010
    Posts:
    248
    you direct any specific questions to my email.
    I will have documentation and videos for the 2.0 release
     
  3. viral-vector

    viral-vector

    Joined:
    Apr 12, 2010
    Posts:
    248
    Version 1.5 source out now FREE.
    We have decided to give out fpx.zero source 1.5 while 2.0 is being completed. There is a possibility we will give out the networking source as well.
    GET THE UPDATED SOURCE HERE
    Play Demo Here. The actual source is updated from the demo with mo features and polish
    1.5 videos can be found on youtube through the website.
    Please direct any questions or comment to out website forums or email address.
     
    Last edited: Oct 23, 2012
  4. viral-vector

    viral-vector

    Joined:
    Apr 12, 2010
    Posts:
    248
    NETWORKING EXAMPLE NOW AVAILABLE!

    We have added the networking example project on the site
    [ VIRALVECTOR.WEEBLY.COM ]
    Get both the 1.5 source code 1.0 networking package from there
    News for version 2.0 and updates can also be found there.
    I hope to post a youtube video update soon!
     
  5. viral-vector

    viral-vector

    Joined:
    Apr 12, 2010
    Posts:
    248
    Due to excessive downloading. The downloads for 1.5 source and networking example are down.
    I will re-post them up in a day on my ftp to allow larger volumes of people to grab the files.
    Thank you for the support taking time to work with the files.
    Also best wishes for anyone who was affected by the Hurricane!
     
  6. UNITY3D_TEAM

    UNITY3D_TEAM

    Joined:
    Apr 23, 2012
    Posts:
    720
    can u share source script .new updated?it will helpful for my learning
     
    Last edited: Oct 31, 2012
  7. viral-vector

    viral-vector

    Joined:
    Apr 12, 2010
    Posts:
    248
    Still figuring out hosting options, without having to resort to paying for hosting as the project is free right now and have no resources to purchase unlimited hosting. i currently use dropbox and it has a 20 gb limit which is best option i have seen so far. but that has been breached within 6 days. so a ~6 gb limit on a free hosting site is not practical.
     
  8. Ullukai

    Ullukai

    Joined:
    Aug 24, 2010
    Posts:
    746
    I can host it on my site : http://unity3d.ca if you want for free. It can be a permanent solution for you if you want. Just PM me or contact me. I just sent you an email to your gmail about this. Happy Halloween !

    just sent you PM also about this

    *edit* there are also other hosts for free like http://rapidshare.com where the link lasts about a month and then you have to reupload it..also http://ultrashare.net/.. there is also googledrive that is free: https://www.google.com/intl/en_US/d...rce=en-oa-na-us-sk&utm_campaign=en&authuser=0..also mediafire is free with 50gb free storage : http://www.mediafire.com/
     
    Last edited: Nov 1, 2012
  9. viral-vector

    viral-vector

    Joined:
    Apr 12, 2010
    Posts:
    248
    Thank you for the offer when i have a definite decision i will let you know.
    Downloads back up!
     
  10. viral-vector

    viral-vector

    Joined:
    Apr 12, 2010
    Posts:
    248
    UPDATE 6
    1. Pathfinding For AI
    2. Elevator Platform System
    3. Improvements Updates
    NEXT UPDATE
    1. Ladders
    2. Pathfinding showcase
    3. Bug Fixes
    4. Other not yet decided additions
     
  11. EctoNecro

    EctoNecro

    Joined:
    Nov 6, 2012
    Posts:
    63
    I'm on my phone and don't have time to read through this entire thread, but I must say this project looks insanely amazing. Does it have multiplayer support? I thought I saw the word networking somewhere.
     
  12. viral-vector

    viral-vector

    Joined:
    Apr 12, 2010
    Posts:
    248
    Yes the "PRO" version will come with networking out of the box.
    You can get a copy of my old networking project on my website to get a feel of how it might look. But i will be re-written a lot of it to support new features, and improvements. It will be unity networking, but for Photon users, they can easily convert the code to Photon, or we might make a free addon that will have photon classes you can swap the unity classes for.
    Thank you for your comments, and taking time to check out the project. We hope many people will find it useful, and easy to use once it is complete.
     
  13. EctoNecro

    EctoNecro

    Joined:
    Nov 6, 2012
    Posts:
    63
    How much are you going to be charging for the PRO version?
     
  14. viral-vector

    viral-vector

    Joined:
    Apr 12, 2010
    Posts:
    248
    Have not decided yet (~60 Usd). But it will be comparable with other kits in the asset store, while being a complete solution
     
  15. EctoNecro

    EctoNecro

    Joined:
    Nov 6, 2012
    Posts:
    63
    Finally home now, checked out the whole thread, the kit is awesome man, great work!

    Also what's the ETA on the PRO?
     
  16. viral-vector

    viral-vector

    Joined:
    Apr 12, 2010
    Posts:
    248
    Earliest possible release would be somewhere in January for pro
    But there will be a free and lite version which we might release before hand, as the free version is already complete and lite is 90% complete

    You can leave requests for things you would like added here or on the forums on my website
     
  17. viral-vector

    viral-vector

    Joined:
    Apr 12, 2010
    Posts:
    248
    The project will include a built in Path Technology for individuals who don't have unity Pro or do not want to worry about getting the project working with another path-find solution.
    The path system is A* based and will be as simple to use as possible while trying to be robust efficient.
    **The system will already has static dynamic object avoidance (Ai will avoid other Ai, walls, "closed" doors, moving objects)
    **Multi-floor room pathing by linking graphs together (node to node linkage, "LAST IMAGE")
    For example nodes from one graph can be linked to another of another (make as many links as needed)
    **Fully integrated into project pipeline easily extendable for other projects
    **More details to come!
     

    Attached Files:

  18. HolBol

    HolBol

    Joined:
    Feb 9, 2010
    Posts:
    2,887
    :O There will be AI Path finding for this? Sweet.
     
  19. viral-vector

    viral-vector

    Joined:
    Apr 12, 2010
    Posts:
    248
    Yes there will be pathfinding aI behavior libraries to utilize it. We will have the traditional zombie behavior, along with patrol, wonder, and response behaviors as well.
    The idea is to make the package a complete solution for single player and networking
     
  20. technotdc

    technotdc

    Joined:
    Oct 21, 2011
    Posts:
    60
    Hi....

    I tested your project networking example 1.0 .....(in Unity 3.5)

    ¿¿ Why when I'm testing two connections in a few seconds I get a message that says " game:Killed .... with Fell ".....????

    after crashes :(:(

    Also I get some error with animations....

    You could put the fixed project..... please,please,please
     
  21. viral-vector

    viral-vector

    Joined:
    Apr 12, 2010
    Posts:
    248
    Sorry Guys, i am in finals so i was not able to post updates to 2.0 fix the networking bug.
    I will be done soon and will post a bunch of new updates, will try to get a tutorial video up
     
  22. technotdc

    technotdc

    Joined:
    Oct 21, 2011
    Posts:
    60
    No problem .... thanks ¡¡¡¡

    I managed to fix some bugs for myself...
     
  23. Gilead Pealleon

    Gilead Pealleon

    Joined:
    Aug 13, 2012
    Posts:
    10
    Could you please put up the FPX 1.5 and networking download as something besides .rar please. My computer has trouble with this format
     
    Last edited: Dec 24, 2012
  24. hike1

    hike1

    Joined:
    Sep 6, 2009
    Posts:
    401
    I ran it in 4.0, it ran a few times then i got this:

    Assets/Outside Assets/Scripts/FPX/Generals/CamBobber.js(2,20): BCE0004: Ambiguous reference 'MouseLook': MouseLook, MouseLook.



    private var me : Transform;
    public var lookY : MouseLook;
    public var lookX : MouseLook;

    function Awake (){
    me = transform;
    //lookY = me.GetComponent("MouseLook");
    //lookX = me.root.GetComponent("MouseLook");
    }
    function LateUpdate () {
    //Rotation
    lookY.rotationY += Mathf.Sin(Time.time) * Time.smoothDeltaTime * .25;
    lookX.rotationX += Mathf.Sin(Time.time * .5) * Time.smoothDeltaTime * .25;


    In 3.5, the level geometry never loads, just the crates, etc. 'Cinema 4d could not be found' (on both 4 and 3.5)

    Could you post some tips on getting a human enemy in this game
     
  25. viral-vector

    viral-vector

    Joined:
    Apr 12, 2010
    Posts:
    248
    I will get around setting up a .zip version of both
     
  26. viral-vector

    viral-vector

    Joined:
    Apr 12, 2010
    Posts:
    248
    Usually you get that error if you have two instances of a script name. in your case i think you imported the standard assets so now you have the mouse look i provides in .js and the one in the unity standard script pack in .c# delete the c# version or set up a new project and don't import the standard script pack.

    Both packages are only tested on 3.5 and will not be upgraded to 4.0, the new 2.0 version is 4.0 compatible

    Getting a human enemy is the same as getting any other enemy working. if you have specif questions i can answer those
     
  27. Gilead Pealleon

    Gilead Pealleon

    Joined:
    Aug 13, 2012
    Posts:
    10
  28. hike1

    hike1

    Joined:
    Sep 6, 2009
    Posts:
    401
    There's a human soldier (bootcamp?) in there I got working
     
  29. viral-vector

    viral-vector

    Joined:
    Apr 12, 2010
    Posts:
    248
    Sorry for the long wait, i was in the process of switching my isp
    Here are the zipped copies.
    FPX1.5Souce
    FPXNET1.0Source
     
  30. viral-vector

    viral-vector

    Joined:
    Apr 12, 2010
    Posts:
    248
    2.0 Web Player Demo....
    I have returned to the project after a few weeks vacation...i have fresh new ideas and energy to finally complete the project.
    I wanted to let out a web player demo...for feedback and bug reports, and any feature requests...

    * Some bugs issues i am aware of
    * Don't forget to set your mouse sensitivity in game
    ****Button are different from other versions and i did not update the button config in the about section****
    ****Button Changes ----->
    1. Crouch = C
    2. Use/Enter/PickUp/Open Door = TAB
    3. Lean = Q&E
    4. Switch Grenades/Firing Modes = X
    5. Drop Weapon/Melee Weapon = G
    6. Switch Seats in Vehicles + 1,2,3...etc...

    ***Once you drop the knife you cannot pick it up again (**Not Yet)..but you can still use fists

    TEST 2.0 HERE
     
    Last edited: Jan 31, 2013
  31. hike1

    hike1

    Joined:
    Sep 6, 2009
    Posts:
    401
    Can the truck be driven?
     
  32. viral-vector

    viral-vector

    Joined:
    Apr 12, 2010
    Posts:
    248
    Yes, the pack will include vehicle drivability.
    For familiarity sake it will utilize a tweaked and optimized version of the unity car tutorial. On the other hand if you choose to use your own controller, the vehicles are set up to allow different controllers.

    I am posting Update Video 7, this weekend
    Update 7 will show a little more pathfinding, updates, and finally drivable vehicles

    Also I am rolling out a textbook Networking implementation (as part of ViralVector's "FollowMe" asset in the asset store)
    Some users have had problems utilizing the free networking example of FPX.Zero (1.0).
    This new networking will be a basis for the networking that will be found in FPX.Zero 2.0

    Will rollout a video and additional info on this project as well

    Networking Features: [Already Implemented]
    . Semi-fully Authoritative SetUp (Host manages most aspects for cheat free games)
    . Host can kick players
    . Connection Game logic separated
    . Pre Post Game Lobby -- Game Starts when Host hits starts not when server is created, or users join ala a pre-game lobby
    . Team Solo code
    . Team Balancing (Team sizes must be even or off by 1)
    . Host can only start games if (# of players is adequate, all players have checked "ready")
    . User can switch team in Pre Post game lobby
    . Host can edit game options in Lobbies (gameType, options or modifiers ect..)
    . Score Game time (game ends at end of time or score reached)
    . Host can restart games after they have ended (in post game lobby)
    . Proper mid-game user joining (for user that join midway in game)
    . Host manages NPC for true sync
    . Chat script (fully integrated)
    . Host messaging system (host posts game msgs here such as scores,kills,etc)
    . No objects ever instantiated
    . No levels are ever loaded
    . Easy to understand get working for your game(s)
    . Optimized and virtually bug free

    [Still Need To be Implemented]
    . sorting games by # of players, size, game-mode etc
    . voting --- allow users to vote on certain actions
    . Allow support for map loading
     
    Last edited: Mar 11, 2013
  33. piluve

    piluve

    Joined:
    Mar 17, 2012
    Posts:
    158
    Wow ... So the next update will have all that things... Really nice!
    What are you using for the networking? I mean sfox, photon or unity networking? ( or are you implementing your own dlls?).
    Is these pack been programmed in c# or in js?
    Thx!
    Aw:sorry if that questions are allready made but there are too much pages jaja :(


    Edit: will be the multiplayer updated (free version) or 1.5 is the last version?
     
    Last edited: Mar 11, 2013
  34. viral-vector

    viral-vector

    Joined:
    Apr 12, 2010
    Posts:
    248
    No problem! Happy to clarify and some questions have not been asked before

    Yes...FPZ.Zero 2.0 will have networking (but only the PRO version)

    Networking will include the features in my previous post.
    Those features i have already implemented in another project ("FollowMe" found in the asset store)
    I will migrate and extend my networking implementation to FPX.Zero 2.0 after i complete vehicle management, pathfinding, and some additional fixes, code optimizations.

    I am using Unity Networking with "Self" hosted master-server and facilitator.
    I originally planned on utilizing Photon...but it would go against the idea of not having plugins for the pack, 100% coding by me from a to z (will allow me to roll updates, and provide support if i design the entirety of the project).

    Photon/Smartfox etc.. are paid services (with limited free versions)
    Unity Networking allows for 1000 ccps without payment!
    Unity Networking improved by hosting your own Master-server, facilitator, connection tester

    With that said, you can utilize plugins once you have your hands on the project.
    You can plug in a (pathfinding, vehicles movement, networking, ect) solutions if my base solution do not fit your need, or you rather use something that you are familiar with

    The Project is entirely in Unity Script == most users of Unity Know UnityScript?
    Originally i began coding 2.0 in C# but decided it would be easier for current users if i kept it in UniScript
    But if there is a demand i can post-release create a C# version
     
  35. piluve

    piluve

    Joined:
    Mar 17, 2012
    Posts:
    158
    :'(i will love to see a networking free version haha!
    I normally use c# but i think , that there is no problem with unityscripting.
    Keep up with it!
    See you
     
  36. viral-vector

    viral-vector

    Joined:
    Apr 12, 2010
    Posts:
    248
    Will keep free networking in mind! Thank you for your support
     
  37. OussamaB

    OussamaB

    Joined:
    Feb 8, 2013
    Posts:
    1,470
    Update the download link please?
     
  38. viral-vector

    viral-vector

    Joined:
    Apr 12, 2010
    Posts:
    248
    Links should be FIxed
     
  39. viral-vector

    viral-vector

    Joined:
    Apr 12, 2010
    Posts:
    248
    UPDATE 7

    Re-wrote path-finding system; still WIP
    Driving Mechanics still WIP
    Bug Fixes
    Tweaks
    Sniper RIfle
     
    Last edited: Apr 29, 2013
  40. viral-vector

    viral-vector

    Joined:
    Apr 12, 2010
    Posts:
    248
    Path-finding, now fully integrated into Ai, and FPX.zero 2.0

     
  41. AaronC

    AaronC

    Joined:
    Mar 6, 2006
    Posts:
    3,552
    This is looking really good. I am wondering if you can direct me to a "terms of use" document or similar? I have looked for terms of use (ie can we use the game art as well in our own FPS games etc). As I haven't found anything I don't like to presume.. Also I think the docs button might be broken on your website.

    Cheers!
    ~A
     
  42. viral-vector

    viral-vector

    Joined:
    Apr 12, 2010
    Posts:
    248
    I will provide a full terms of use with full documentation soon after the project is complete. Some of the art as you see is place holder, and will be replaced with better optimized art. The doc button is not broken, i just have not uploaded documentation. Developing robust path-finding has proven to be a challenge and has held back the project a couple of months. I will continue posting updates and inform of new addition here.
    Thank you for your interest in the project.
     
  43. AaronC

    AaronC

    Joined:
    Mar 6, 2006
    Posts:
    3,552
    Thanks for the quick reply. Does that mean that we cannot presently use what you've made in anything we might sell or even give away?

    Edit: Meaning binary applications, not content of any sort.
     
  44. viral-vector

    viral-vector

    Joined:
    Apr 12, 2010
    Posts:
    248
    A: You may not re-distribute source code or models as your own.
    B: You may not use current models for a paid product.
    C: You are allowed to use the models and source code together to produce a free of use application.
    D: You are allowed use the source code alone to produce a paid application.

    The final product will have models that are safe to use in conjunction with the source code for paid applications
     
  45. AaronC

    AaronC

    Joined:
    Mar 6, 2006
    Posts:
    3,552
    Thanks for that information :thumbsup:

    I especially need shotgun behaviours and might go for this option. Thanks for your hard work!
     
  46. viral-vector

    viral-vector

    Joined:
    Apr 12, 2010
    Posts:
    248
    Short Update on Path-finding.
    Added a Queue System.
    Better Heuristics
    Optimization Options
    Speed Improvements
    Avoidance of other agents

    **The system still needs further speed adjustments.
    **The system is written entirely is UnityScript (Will port to C# as a standalone later)
    **The system will be robust but simple to use.

    EXAMPLE OF 9 AGENTS PATHING TO PLAYER'S POSITION

     
  47. viral-vector

    viral-vector

    Joined:
    Apr 12, 2010
    Posts:
    248
    Testing speed improvements. System still WIP but now efficient for commercial use.
    The system works on a "loose" grid, only the dimension and spacing between the nodes are utilized.

    *Better Queue System for path requests
    *Ai improvements
    * "Fudge" Heuristic added
    *System now integrated in game loop (number of nodes are expanded every "Update",Results sent back to caller)
    *Raycast path simplifier (simple path smotthing)
    *Extendable PathReceiver class allows easy integration (.Js) --> Extending the class allows any object to recieve paths to a target
    *Several other options added for speed


    Audio By Supa*

     
    Last edited: May 20, 2013
  48. IndyLion

    IndyLion

    Joined:
    Jan 12, 2013
    Posts:
    14
    Am I allowed to sell a game made with this? I would give credit to you guys for the FPS kit.
     
  49. viral-vector

    viral-vector

    Joined:
    Apr 12, 2010
    Posts:
    248
    Yes you can
     
  50. IndyLion

    IndyLion

    Joined:
    Jan 12, 2013
    Posts:
    14
    SWEET! I was wondering if you guys thought about adding a Bow and Arrow?