FPS Kit | Version 2.0

Hello! Let me introduce a tool for Unity 3D called FPS Kit | Version 2.0
This tool contain everything you need to create a First Person Shooter - Now With Multiplayer Support

  • This package is no longer available on Asset Store

Here is a list of features included in this package (All of next features are working in Unity Free):

  • Multiplayer powered by Photon Cloud
  • Team selection - New
  • Map selection - New
  • Scoreboard with Kills/Deaths/Ping - New
  • Game Modes: Deathmatch and TeamDeathmatch - New
  • Weapon System that allow to create numerous types of weapons, such as Shot Gun, Machine Gun, SIngle Fire Rifles, Pistols, Grenade Launchers, Rocket Launcher, Grenades and Knives;
  • Weapon Recoil System and Dynamic crosshair;
  • Smooth weapon rotation and movement responce effects;
  • Sniper scope feature (Call of Duty style);
  • FPS Controller with ability to Run, Jump, Crouch, Prone and Climb Ladders;
  • Weapon Pick Up system (With 2 types of pick - Add to player weapon list or Replace current weapon with picked), also with ammo pick up feature;
  • Realistic Camera Bob and Weapon Sway effects;
  • Step sound controller, Flash light controller and Smooth Slow Motion effect controller included
  • GUI Example (Main Menu, Ammo Count, Weapon List and alot more)
  • 9 Example Weapons and 4 Example Scenes included

Web Player previews:

Multiplayer v2.8 - New
Mini Game
Free Run

Documentations

Weapon Script
Weapon Pick Up
FPS Controller
Ladder System

Tutorials (WIP)

How to setup new weapon?
Setup impact holes for different surfaces
Setup Multiplayer Scenes - New
Setup 3rd Person Character for Multiplayer - New

Update Log

  • Version 1.6 (24.01.2014) - New

NOTE: This version was entirely converted to C# so it’s no longer compatible with previous versions of Kit.
Folder “FPS Kit 2.0” was renamed to “FPS Kit 2.0 C#”

  • Converted all scripts to C#
  • Fixed chat bug
  • Added fall damage
  • Updated PhotonCloud plugin

After importing dont forget to:

  1. Setup your PhotonCloud ID and isert it into PhotonNetworking settings
  2. Add Multiplayer Scenes into build setting to able play

… For older version notes check “ReadMe!” file inside package

Simple Mods - list of simple scripts compatible with Kit

  • Kill Player without damaging it (Example: Player fell down)

1)Open PlayerDamage.cs and add next functions at line 150

    void DestroyOurPlayer(){
        if(photonView.isMine){
            photonView.RPC("RPCDestroyOurPlayer", PhotonTargets.All);
        }
    }
    [RPC]
    void RPCDestroyOurPlayer(){
        //Spawn ragdoll
        GameObject temp;
        temp = Instantiate(ragdoll, transform.position, transform.rotation) as GameObject;
        if(photonView.isMine){
            temp.SendMessage("RespawnAfter");
            StartCoroutine(DestroyPlayer(0.2f));
        }else{
            temp.SendMessage("clearCamera");
        }
    }
    }

2)Then create new Javascript that will be attached to object with Box Collider marked as Trigger and paste next code

    function OnTriggerEnter (other : Collider) {
        other.gameObject.SendMessage("DestroyOurPlayer", SendMessageOptions.DontRequireReceiver);
    }
  • Make player leave room when Round Ends

1)Open RoomMultiplayerMenu.cs and scroll to line 232 where it says:

StartCoroutine(Restart());

2)Replace with:

LeaveRoom();
  • Add points to our team when walking inside trigger area (Example: Capture the flag)
  1. Open RoomMultiplayerMenu.cs and add next function at the end of script right before last “}” line:673
    void CaptureFlagAddPoints(){
        //Add points to our team
        int teamScore = new int();
        if((string)PhotonNetwork.player.customProperties["TeamName"] == team_1.teamName){
            teamScore = (int)PhotonNetwork.room.customProperties["Team1Score"];
            teamScore ++;
            Hashtable setTeam1Score = new Hashtable() {{"Team1Score", teamScore}};
            PhotonNetwork.room.SetCustomProperties(setTeam1Score);
        }
        if((string)PhotonNetwork.player.customProperties["TeamName"] == team_2.teamName){
            teamScore = (int)PhotonNetwork.room.customProperties["Team2Score"];
            teamScore ++;
            Hashtable setTeam2Score = new Hashtable() {{"Team2Score", teamScore}};
            PhotonNetwork.room.SetCustomProperties(setTeam2Score);
        }
    }
  1. Create new Javascript which will be attached to Area (Box collider marked as trigger) and paste next code
function OnTriggerEnter (other : Collider) {
    if(other.gameObject.tag == "Player"){
        GameObject.FindWithTag("Network").SendMessage("CaptureFlagAddPoints", SendMessageOptions.DontRequireReceiver);
    }
}
}
  • NOTE:* Each time player will walk inside area one point will be added to it’s team

Looking good! So what’s the price going to be?

Thanks! I would say around 40$

well, all I get is"you need to install unity player"…

I have unity installed and all the players. I can see other players, but not yours ? why ?

Somehow Dropbox block webplayer HTML, so you need to unblock it manually. When you open it with Internet Explorer it will ask you to unblock in bottom of page. But Chrome dont give any messages at all, it just block.
So try to open it with IE. Btw release is delayed a bit since I was working on documentation.

FPS Kit 2.0 were submitted to asset store and it current status: Pending Review

Remove the “s” from “https” and it will work! Dropbox doesn’t seem to like that.

Also great package! Will you be adding in multiplayer?

Thanks man! It worked.

What about multiplayer, I´m alredy developed multiplayer system for FPS type games, but It was based on Unity 3D standart network so no server hosting was possible, which means that player create server on local machine and while PC is on, server is up, but once PC turned off server automatically removed. I will probably redoing it using Photon server solution once I got free time.

FPS Kit 2.0 has been approved to Asset Store, here is link http://u3d.as/content/nsdesign-games/fps-kit-version-2-0/3sw
Also link could be find on front post.
If you have any questions just post it via reply.
Tutorial on how to setup new weapon coming soon.

  • Cheers

I have a few questions:

Will you be updating this kit regularly?
It seems there’s nothing in this kit that I can’t get from the FPS Kit 1.2 from OneManArmy - and that’s free and arguably have more features . Any additional features or changes coming?
I noticed the cross-hairs don’t dynamically move when you crouch, prone and run etc. Is this something you’ll be changing? Right now it’s static and doesn’t feel right.

First of all thanks for purchasing FPS Kit 2.0 (if you did?)
Yes I´m planning to update it with new features, currently I am working on smooth slow motion effect and ofcourse dynamic crosshair. And I have alot of planned stuff to do so dont worry.

What about OneManArmy fps kit, just checked it today. For free package its ok, but as I know almoust every model there were downloaded for free so they cant be used in commercial projects. Also there is alot of crossed codes variables etc etc, so currently its very hard to implement new custom weapons and animations, like custom reload, fire, take in /out animations. Car and Helicopter scripts are most likely were taken from free packages aswell, same thing for AI (not sure about this one).
All weapon movements there are using simple Unity animation, unlike in my project all weapon movements (Walk, Run and Idle) are dynamic and tweakable. Same thing for recoil, OMA fps kit using animation, but in my FPS Kit its all done via script so its easily tweakable. And other thing I noticed, their character can´t prone and climb ladders.

My goal is to make it easier to setup, less scripts but more functionality. Thats why my WeaponScript contai all the types of weapons. I hope you understand a difference, and also enjoy using FPS Kit 2.0, I´m always here to respond any question, also will constanly update it with new features.

  • Cheers!

Edit: Found another bug in OneManArmy fps kit, I made some simple tunel with cubes and walked there with crouching, but when I stopped pressing crouch button player just back in it normal position and can see through ceiling (when normally player unable to stand in small tunnels). In my FPS Kit this problem is fixed and even when you try to stand in tunnel you cant - if height of selling is less than player normal position height).

Just let everybody know.
Updated front post with New tutorial on How to Setup Weapon in Fps Kit 2.0.
Also new updates were submitted to asset store and currently in Pending Review status.
New version contain Dynamic Crosshair and Smooth slow motion effect along with all previous features.

Version 1.1 has been approved to Asset Store.
Also added new tutorial - Setup impact holes for different surfaces

Hey i have your fpskit v.1 the old pack is possible to have this pack free??

I’m sure if you purchased through the asset store that once it gets approved you can download it.

Yeah sure, you can download updates for free. Just go to Asset Store page and update your package

Edit: make sure you logged in under same account as one you purchased package with

Is this The pack i haved Buyed from you

How i can have this version from you?

What do you mean? That package contain only FPS controller, its like lite version and price is also cheaper.

FPS Kit | Version 2.0 is separated package which contain much more features and have different price aswell

Here is link: http://u3d.as/content/nsdesign-games/fps-kit-version-2-0/3sw

Just updated front post, I have some exciting news for everybody.
FPS Kit 2.0 with multiplayer support is currently under development.
First Web Player preview has beed released, find link in fron post

  • Cheers!

Hello NSdesignGames,

Can you please list to us what other new features you are planning to include in this kit after multiplayer? it’s nice if you set a road map for the new feature you are planning to include, as you know there is 2 packs in the asset store that really did a greate progress in the fps filed, I mean to say “Unlimited FPS Camera” and “FPS Constructor”, so you will need to do a huge effort in-order to be able to compete with them.