This site uses cookies! Learn More

This site uses cookies!

armedunity.com uses cookies to improve user experience.

By continuing to use this site, you agree to allow us to store cookies on your computer.

Search the Community: Showing results for tags 'gun'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • GENERAL
    • Introduce yourself
    • Discussions
    • Showcase
    • Need help?
    • Seeking team members?
    • Offtopic
  • RESOURCES
    • unity3D | Example Projects
    • unity3D | Scripts
    • unity3D | Shaders
    • unity3D | Tutorials
    • 3D models
    • Animated 3D Models
    • Graphic design
    • Textures
    • Sounds
    • Other
  • FREE FPS PROJECT
    • FPSKit Download
    • FPSKit Modifications/Tutorials
    • FPSKit WIP/Showcase
    • Discussions / Bug reports
  • SELL | REQUEST
    • Sell
    • Request

Categories

  • Free Projects
  • Free Assets
  • Game Demos

Calendars

  • Community Calendar

Facebook URL


Twitter URL


IndieGoGo URL


Kickstarter URL


IndieDB URL


GreenLight URL


Location:


Interests

Found 26 results

  1. Hello game developers! I've been doing a lot of 3D modeling for practice and I figured I should give some to the community. Here is a little Super-Shorty shotgun. One of my favorite guns. License: You CAN publish a game using this commercially, you CAN modify the model or textures in any way to see fit. However, you CANNOT sell or distribute this model without my consent. If you wish to give it to someone send them the link to this post. 360 Giff: https://gyazo.com/56cca749f2ae88c7fb3eabab491ccf9f Some Animations I made (NOT INCLUDED): Model Info: 870 Faces, 1.0k vertices Texture info: All textures are 2048x2048, Material includes diffuse, normal map, metallic, occlusion, rough map. Also includes camo texture. Download: https://drive.google.com/file/d/0B2vPiBIX_4AAZEFudXhjeEZUN0k/view?usp=sharing Enjoy earthlings, there is more free stuff to come.
  2. Version V1

    156 downloads

    Hi Spent the day creating this for my sons project but thought i would share it with the community on AU because there not many free gun prefabs ive seen around it"s a ARGi with all removable attachements For use on None Commercial project use unless you have my consent also please give a shot out Please leave a thank you if you Download it and your constructive comments below enjoy With be updated so leave you ideas I have decided due to many requests to release this asset for commercial use it is now published for commercial & non commercial but credits must be given in final build for non-commercial & commercial i think this is fare thank you Free Map Download HILL HOUSEFree 2 floor fps Map Direct Download Here Enjoy Remember to give Credits Thanks Pacciones Aug with attachments.unitypackage
  3. I know this is probably a crap model. But I am showing it anyway. It is my first model, and my first time texturing, so don't hate on it too much. Tell me how to improve it, when I have it perfect, I will have it available for download. This is for the fps game I am making with the au fps kit. I have to add a few more details, but overall, complete. Thanks. Verts: 6,612 Faces: 6,151 Tris: 13,044 (Is this a lot?) I guess it is high poly? Pictures:
  4. HQLP Weapons Pack 1 - High quality low poly weapons pack. Package contains: - 5 Low poly High Quality weapons. The average triangle count per weapon is more 3000 triangles. - Each weapon has it's own 2048 x 2048 texture and material. Weapons list: Melee: -Axe Pistol: -M9 MachineGun: -P90 -M4A1 Sniper: -L96 Any bug or question send to: proassetsunity@gmail.com (Pending for review on Unity AssetStore) (Sorry for the screenshots quality)
  5. So im working on this p226 http://i.imgur.com/oo8KBfa.png http://i.imgur.com/86hKe7l.png http://i.imgur.com/PatFwG5.png there and would like your opinions first of all i know that the ironsight for the gun is missing but im doing it separate file so i can reuse it on other models if i need to . Other than that what is good about it and what can i improve on it thanks for the feedback . Also need to texture it too but too much to do and soon will put the final result with texture and the ironsight soon thanks for the feedback(again) Also need to do the low poly too but best to get feedback now so i dont have to spend too long going back Don't be afraid to criticize
  6. Here are two scripts that i recently made, they are really basic so the gun can´t reload and it does have not a mag, but anyway, i wanted to share them to the forum Shooting.cs using UnityEngine; using System.Collections; public class Shooting : MonoBehaviour { private RaycastHit hit; AudioSource audiosource; public AudioClip shoot; void Awake () { audiosource = GetComponent<AudioSource>(); } void Update () { if (Input.GetMouseButtonDown (0)) { bang(); audiosource.PlayOneShot(shoot, 0.7f); } } void bang() { Vector3 myTransform = transform.transform.forward; Physics.Raycast (transform.position, myTransform, out hit, 50); if ((Physics.Raycast (transform.position, myTransform, out hit, 50)) && (hit.collider.gameObject.tag == ("enemy"))) { hit.collider.SendMessageUpwards("DoDamage"); print ("hit"); } } } EnemyHealth.cs using UnityEngine; using System.Collections; public class EnemyHealth : MonoBehaviour { public float EnemyHealthVar = 100; void Update () { if (EnemyHealthVar <= 0) { Debug.Log("ded"); Destroy(gameObject); } } public void DoDamage() { EnemyHealthVar -= 50; } } As im a begginer, please tell me if there is any error or anything that can be improved
  7. QBB

    My new gun
  8. So guys Yaze here and well i did a bit of practicing on making some weapons and well these are the results ​ M1911 http://i.imgur.com/KJI0E7t.jpg Scar-l http://i.imgur.com/eh1w5tK.jpg http://i.imgur.com/15dtxoT.jpg http://i.imgur.com/W6xSNE6.jpg So these were the weapons that i made there a few mistake in these weapons in which i can add some more detail which i kinda wanted to do on the texturing meaning using normal maps and so on and forth also in the M1911 there was a few mistakes such as some of the normals were baked properly since i did it the lazy method by not using an envelope Problems: the sight on the scar wasnt the right one on the gun(mainly cause i wasnt lazy or couldnt do it but i just hate that sight sooo much its just like a square with a hole in the middle so i just made a plain sight and well yeah gimme the critism even though i pretty much know what to be said its just i wanted to fix some of the mistaks and all but i was just tooo lazy lol also the scaling ehh i found it a bit off on the scar
  9. Reworked my material definition for these old textures, model + bakes done my RedRogueXIII. It's still a WIP though, some of the rust/dirt is too strong and undefined 3d Preview https://skfb.ly/CMJP Edit: - added a third render showing the silencer I also forgot to tell you that no generators (dDO, sub. painter) were used to texture this. The textures that you see were made with the teqnique of photosourcing.
  10. Hey guys thanks for all your help and I was just wondering if you had any ideas that I should to the fps kit I'm using please right back.
  11. Hi all here. Am new to unity 3D. Am learning JavaScript now. When i saw a video in YouTube i got a gun script which i think is awesome. I tried to test it out, but nothing happened. Am new to this, so i don't know where to apply and how to make it work. Here am sharing the script with you guys. Please try it and if working, assist me to get it work (A YouTube tutorial would be much better). //Type of Gun public enum weaponType {MachineGun = 1, Burst = 2, Launcher = 3, SemiAuto = 4, Shotgun = 5, AutoShotgun} public var GunType : weaponType; public enum underBarrel {None = 0, Shotgun = 1, Launcher = 2} public var underBarrelType : underBarrel; public enum barrelType {Normal = 0, Silenced = 1} public var barrel : barrelType; public enum sightType {Iron = 0, Holographic = 1} public var sight : sightType; private var underbarrelUse : boolean; var gunSpecs : GunSpecs; class GunSpecs { public var fireRate : float = 0.1; public var gunDamage : int = 40; public var gunRange : float = 20; public var gunMaxDamageMutliplier : float = 2.2; @HideInInspector var baseRange; } var gunTypeSpecs : GunTypeSpecs; class GunTypeSpecs { var burstDelay : float = 0.05; var shotgunShots : int = 12; var launcherMissile : GameObject; } var attachments : Attachments; class Attachments { var glObject : GameObject; var sgObject : GameObject; var slObject : GameObject; var hsObject : GameObject; var underBarrelSpawn : Transform; var holograhpicAimPoint : Transform; var ironsightAimPoint : Transform; @HideInInspector var aimpos : Vector3; } var grenadeLauncher : GrenadeLauncher; class GrenadeLauncher { var glProjectile : GameObject; var glreloadtime : float = 2; var glrecoil : float = 0.5; var glForce : int = 3000; @HideInInspector var glFireTimer : float = 100; } var underBarrelShotGun : UnderBarrelShotGun; class UnderBarrelShotGun { var sgShots : int = 8; var sgDamage : int = 20; var sgSpread : float; var sgRecoil : float = 0.1; var sgReloadTime : float = 1; var sgRange : int = 20; var sgShotSound : AudioClip; var sgPumpSound : AudioClip; var sgForce : int; var sgBulletRenderer : LineRenderer; @HideInInspector var sgFireTimer : float = 100; } var silencer : Silencer; class Silencer { var silencerRangeDecrease : int = 5; } //Raycast Variables; var range : float = 1000; var force : float = 1000; //Bullet Variables var clips : int = 20; var bulletPerClip = 30; var bulletInClip : int = 0; var bulletLeft : int = 0; var reloadTime : float = 3; @HideInInspector public var reloading = false; // Shoot Variables private var weapon_Fire_Timer : float = 0.0; var muzzlePoint : GameObject; var mainCamera : Camera; private var aiming = false; //Spread Variables var spread : float; var spreadPerSecond : float = 1; var decreaseSpreadPerSecond : float = 0.5; var baseSpread : float = 10; var maxSpread : float = 20; //Gun Movement Variables public var MoveAmount : float = 1; public var MoveSpeed : float = 2; public var Gun : GameObject; private var MoveOnX : float; private var MoveOnY : float; private var DefaultPos : Vector3; private var NewGunPos : Vector3; private var ON : boolean = true; private var xRotation = 0.0; //recoil variables var recoilAmount : float = 0.1; var recoilRecoverTime : float = 0.2; var rotationRecoil : float = 0.05; private var currentRecoilZPos : float; private var currentRecoilZPosV : float; //Gui Elements var hitmarkerFadeTime : float = 0.01; var hitmarker : GUITexture; //SFX public var ReloadAudio : AudioClip; public var SilcendShotAudio : AudioClip; public var ShotAudio : AudioClip; private var ShootAudio : AudioClip; //Particle Effects public var hitparticles : ParticleEmitter; public var ammoGUI : GUIText; private var startRotation : Vector3; function Start() { bulletLeft = bulletPerClip; bulletInClip = clips * bulletPerClip; DefaultPos = transform.localPosition; gunSpecs.baseRange = gunSpecs.gunRange; startRotation.x = transform.rotation.x; startRotation.y = transform.rotation.y; startRotation.z = transform.rotation.z; } function Awake() { reloading = false; } function LateUpdate() { if(hitmarker.guiTexture.color.a < hitmarkerFadeTime) { hitmarker.guiTexture.color.a = 0; } else { hitmarker.guiTexture.color.a -= hitmarkerFadeTime; } if(Input.GetKeyDown("3")) { underBarrelType +=1; if(attachments.sgObject == null && underBarrelType == 1){ underBarrelType = 2; } if(attachments.glObject == null && underBarrelType == 2){ underBarrelType = 0; } if(underBarrelType == 3){ underBarrelType = 0; } } if(Input.GetKeyDown("4")) { barrel +=1; } if (barrel == 2) { barrel = 0; } if(Input.GetKeyDown("5")) { sight +=1; } if (sight == 2) { sight = 0; } switch(underBarrelType) { case underBarrel.None: underbarrelUse = false; if(attachments.glObject != null){attachments.glObject.SetActiveRecursively(false);} if(attachments.sgObject != null){attachments.sgObject.SetActiveRecursively(false);} break; case underBarrel.Shotgun: if(attachments.glObject != null){attachments.glObject.SetActiveRecursively(false);} if(attachments.sgObject != null){attachments.sgObject.SetActiveRecursively(true);} break; case underBarrel.Launcher: if(attachments.sgObject != null){attachments.sgObject.SetActiveRecursively(false);} if(attachments.glObject != null){attachments.glObject.SetActiveRecursively(true);} break; } switch(barrel) { case barrelType.Normal: gunSpecs.gunRange = gunSpecs.baseRange; attachments.slObject.SetActiveRecursively(false); ShootAudio = ShotAudio; break; case barrelType.Silenced: gunSpecs.gunRange = gunSpecs.baseRange - silencer.silencerRangeDecrease; attachments.slObject.SetActiveRecursively(true); ShootAudio = SilcendShotAudio; break; } switch(sight) { case sightType.Iron: attachments.hsObject.SetActiveRecursively(false); attachments.aimpos = attachments.ironsightAimPoint.localPosition; break; case sightType.Holographic: attachments.hsObject.SetActiveRecursively(true); attachments.aimpos = attachments.holograhpicAimPoint.localPosition; break; } } function Update () { if(Input.GetKeyUp("2")) { if(underbarrelUse == false){ underbarrelUse = true; }else{ underbarrelUse = false; } } if(underbarrelUse == false) { if(Input.GetButton("Fire1") && bulletLeft > 0 && weapon_Fire_Timer > gunSpecs.fireRate && reloading == false) { switch(GunType) { case weaponType.MachineGun: weapon_Fire_Timer = 0; RayShoot(); audio.PlayOneShot(ShootAudio); spread += spreadPerSecond; break; case weaponType.Burst: if(Input.GetButtonDown("Fire1")) { weapon_Fire_Timer = 0; Burst(); } break; case weaponType.SemiAuto: if(Input.GetButtonDown("Fire1")) { weapon_Fire_Timer = 0; RayShoot(); audio.PlayOneShot(ShootAudio); spread += spreadPerSecond; } break; case weaponType.AutoShotgun: for(var asg = 0; asg < gunTypeSpecs.shotgunShots; asg++) { weapon_Fire_Timer = 0; ShotGun(); audio.PlayOneShot(ShootAudio); } spread += spreadPerSecond; currentRecoilZPos -= recoilAmount; bulletLeft--; break; case weaponType.Shotgun: if(Input.GetButtonDown("Fire1")) { for(var sg = 0; sg < gunTypeSpecs.shotgunShots; sg++) { weapon_Fire_Timer = 0; ShotGun(); audio.PlayOneShot(ShootAudio); } spread += spreadPerSecond; currentRecoilZPos -= recoilAmount; bulletLeft--; } break; case weaponType.Launcher: if(Input.GetButtonDown("Fire1")){ weapon_Fire_Timer = 0; FireMissile(); currentRecoilZPos -= recoilAmount; bulletLeft--; } break; } } else { spread -= decreaseSpreadPerSecond; if(bulletLeft == 0 && reloading == false) { reloading = true; Reload(); } } if(bulletLeft < bulletPerClip && reloading == false && Input.GetKeyDown("r")) { Reload(); reloading = true; } } else { if (Input.GetButtonDown("Fire1")) { var underBarreldamage : float; switch(underBarrelType) { case underBarrel.Shotgun: if(attachments.sgObject != null){ if(underBarrelShotGun.sgFireTimer > underBarrelShotGun.sgReloadTime) { audio.PlayOneShot(underBarrelShotGun.sgShotSound); AudioPlay(0.4,underBarrelShotGun.sgPumpSound); currentRecoilZPos -= underBarrelShotGun.sgRecoil; underBarrelShotGun.sgFireTimer = 0; Debug.Log("Shotgun"); for(var s = 0; s < underBarrelShotGun.sgShots; s++) { var hit : RaycastHit; var directionRay = attachments.underBarrelSpawn.TransformDirection(Random.Range(-underBarrelShotGun.sgSpread, underBarrelShotGun.sgSpread) * underBarrelShotGun.sgSpread, Random.Range(-underBarrelShotGun.sgSpread, underBarrelShotGun.sgSpread) * underBarrelShotGun.sgSpread, 1); if(Physics.Raycast(attachments.underBarrelSpawn.position, directionRay, hit, underBarrelShotGun.sgRange)) { Instantiate(hitparticles,hit.point,Quaternion.FromToRotation(Vector3.up, hit.normal)); var sgTracer = Instantiate(underBarrelShotGun.sgBulletRenderer,attachments.underBarrelSpawn.position,Quaternion.identity); sgTracer.SetPosition(0, attachments.underBarrelSpawn.position); sgTracer.SetPosition(1, hit.point); if(hit.rigidbody) { hit.rigidbody.AddForceAtPosition(directionRay * underBarrelShotGun.sgForce, hit.point); } if(hit.collider.tag == "EnemyBody" || hit.collider.tag == "EnemyHead") { underBarreldamage = underBarrelShotGun.sgDamage; hitmarker.guiTexture.color.a = 1; if (hit.collider.tag == "EnemyHead") { underBarreldamage = underBarrelShotGun.sgDamage*1.5; } ApplyDamage(underBarreldamage, hit); } } } } } break; case underBarrel.Launcher: if(attachments.glObject != null){ if(grenadeLauncher.glFireTimer > grenadeLauncher.glreloadtime) { currentRecoilZPos -= grenadeLauncher.glrecoil; grenadeLauncher.glFireTimer = 0; Debug.Log("Launcher"); var glprojectile = Instantiate(grenadeLauncher.glProjectile,attachments.underBarrelSpawn.position,mainCamera.transform.rotation); glprojectile.rigidbody.AddForce(transform.forward*grenadeLauncher.glForce); } } break; case underBarrel.None: Debug.Log("None"); break; } } } if (spread < baseSpread) { spread = baseSpread; } if (spread > maxSpread) { spread = maxSpread; } weapon_Fire_Timer += Time.deltaTime; grenadeLauncher.glFireTimer += Time.deltaTime; underBarrelShotGun.sgFireTimer += Time.deltaTime; if(Input.GetButton("Fire2") && underbarrelUse == false) { aiming = true; NewGunPos = new Vector3(attachments.aimpos.x, attachments.aimpos.y, attachments.aimpos.z+currentRecoilZPos); } else { aiming = false; NewGunPos = new Vector3(DefaultPos.x, DefaultPos.y, DefaultPos.z+currentRecoilZPos); } if(aiming == true && sight == 1) { currentRecoilZPos *= 0.5; } currentRecoilZPos = Mathf.SmoothDamp(currentRecoilZPos,0,currentRecoilZPosV, recoilRecoverTime); transform.localRotation.x = currentRecoilZPos*rotationRecoil; ammoGUI.text = bulletLeft+" / "+bulletInClip; /*if(ON == true) { MoveOnX = Input.GetAxis("Mouse X") * Time.deltaTime * MoveAmount; MoveOnY = Input.GetAxis("Mouse Y") * Time.deltaTime * MoveAmount; NewGunPos = new Vector3(DefaultPos.x-MoveOnX, DefaultPos.y-MoveOnY, DefaultPos.z+currentRecoilZPos); transform.localPosition = Vector3.Lerp(transform.localPosition, NewGunPos , MoveSpeed * Time.deltaTime); } else { Gun.transform.localPosition = DefaultPos; }*/ transform.localPosition = Vector3.Lerp(transform.localPosition, NewGunPos , MoveSpeed * Time.deltaTime); var newRotation : Vector3; if(reloading == true){ newRotation = Vector3(startRotation.x+0.1,transform.localRotation.y,transform.localRotation.z); }else{ newRotation = Vector3(startRotation.x,startRotation.y,startRotation.z); } var lastGunRot :Vector3 = Vector3(transform.localRotation.x,transform.localRotation.y,transform.localRotation.z); var newGunRot = Vector3.Lerp(lastGunRot, newRotation, MoveSpeed * Time.deltaTime / 3000); transform.localRotation.x = newGunRot.x; transform.localRotation.y = newGunRot.y; transform.localRotation.z = newGunRot.z; } function FireMissile(){ var rocket : GameObject = Instantiate(gunTypeSpecs.launcherMissile,muzzlePoint.transform.position,transform.rotation); rocket.rigidbody.AddForce(transform.forward * 3000); } function RayShoot() { var hit : RaycastHit; var rayPosition : Vector3 = mainCamera.transform.position; if (aiming == false) { //rayPosition = muzzlePoint.transform.position; } else { spread = 0; //rayPosition = aimcam.transform.position; } var directionRay = mainCamera.transform.TransformDirection(Random.Range(-maxSpread, maxSpread) * spread, Random.Range(-maxSpread, maxSpread) * spread, 1); currentRecoilZPos -= recoilAmount; if(Physics.Raycast(rayPosition, directionRay, hit, range)) { if(hit.collider.tag == "EnemyBody" || hit.collider.tag == "EnemyHead") { hitmarker.guiTexture.color.a = 1; var dist = Vector3.Distance(transform.position,hit.point); //var damage = (gunSpecs.gunDamage+(gunSpecs.gunRange*gunSpecs.gunRange/(dist+gunSpecs.gunRange)))/*+gunSpecs.gunRange*0.1*/; var damage = gunSpecs.gunDamage -((dist/6) - gunSpecs.gunRange); damage = Mathf.Clamp(damage, gunSpecs.gunDamage/2,gunSpecs.gunDamage); /*if(damage >= gunSpecs.gunDamage*2) { damage = gunSpecs.gunDamage*2; }*/ if (hit.collider.tag == "EnemyHead") { damage = damage*1.5; } Debug.Log(damage); ApplyDamage(damage, hit); } if(hit.rigidbody) { hit.rigidbody.AddForceAtPosition(directionRay * force, hit.point); } Instantiate(hitparticles,hit.point,Quaternion.FromToRotation(Vector3.up, hit.normal)); } bulletLeft--; } function Reload() { yield WaitForSeconds(reloadTime); for(var b = bulletLeft; b < bulletPerClip; b++) { if(bulletInClip > 0) { bulletInClip --; bulletLeft = b+1; } } reloading = false; } function AudioPlay(waittime : float,sound : AudioClip) { yield WaitForSeconds(waittime); audio.PlayOneShot(sound); } function ApplyDamage(dmg : float, hit) { hit.transform.SendMessage("Damage",dmg); } function Burst() { RayShoot(); audio.PlayOneShot(ShootAudio); spread += spreadPerSecond; yield WaitForSeconds(gunTypeSpecs.burstDelay); audio.PlayOneShot(ShootAudio); spread += spreadPerSecond; RayShoot(); yield WaitForSeconds(gunTypeSpecs.burstDelay); audio.PlayOneShot(ShootAudio); spread += spreadPerSecond; RayShoot(); } function ShotGun() { var hit : RaycastHit; var rayPosition : Vector3 = mainCamera.transform.position; var directionRay = mainCamera.transform.TransformDirection(Random.Range(-maxSpread, maxSpread) * spread, Random.Range(-maxSpread, maxSpread) * spread, 1); if(Physics.Raycast(rayPosition, directionRay, hit, range)) { if(hit.collider.tag == "EnemyBody" || hit.collider.tag == "EnemyHead") { hitmarker.guiTexture.color.a = 1; var dist = Vector3.Distance(transform.position,hit.point); var damage = (gunSpecs.gunDamage+(gunSpecs.gunRange*gunSpecs.gunRange/(dist+gunSpecs.gunRange)))/*+gunSpecs.gunRange*0.1*/; if(damage >= gunSpecs.gunRange) { damage = gunSpecs.gunRange; } if (hit.collider.tag == "EnemyHead") { damage = damage*1.5; } ApplyDamage(damage, hit); } if(hit.rigidbody) { hit.rigidbody.AddForceAtPosition(directionRay * force, hit.point); } Instantiate(hitparticles,hit.point,Quaternion.FromToRotation(Vector3.up, hit.normal)); } } function ProjectileShoot() { }
  12. Societatem is Singleplayer & Multiplayer tactical FPS. It features infantry combat with a class system, vehicle combat which currently includes jeeps, tanks and helicopters, and specialized game modes such as Takeover and TDM. The infantry features advanced movement such as parkour which includes flipping and climbing over obstacles, leaning around walls and rolling in and out of cover. There are bots in the game and many unlockables you can acquire by earning experience while playing. Current team members: William - Lead programmer, animator Chris (LuxuriousSociety) - Lead modeler, texturer, co-programmer Joltation - Orchestrator The open alpha for Societatem will start at the time of the IGoAUC 2014 competition, which is 25th of December, 2014. More information about the game can be found on our IndieDB page and YouTube channel. We post update videos on YouTube and news on IndieDB. Keep in mind that the latest information on both sites are most likely outdated and differ greatly from what is actually implemented in the game. To save myself the time of doing everything twice, once on here, once on IndieDB, please "watch" our game on IndieDB if interested! IndieDB YouTube Channel Thanks for reading, - William, RedCrusaderGames
  13. Hello there, I'm experiencing the following problem for years now and it keeps me annoying that I don't know how to solve this. Below I've made a video. http://www.mediafire.com/watch/?t6sgdtcbeduz6e3 Note: I will let you hear two different games, firing an assault rifle. My own game uses the Photon Cloud networking system. I still don't know how to fix this problem. Actually... The higher the ping, the more the gun-sync will decrease. Yes, as you can hear the gun-sync in my game is terribly bad even when playing over a LAN connection with only 2 players, and 2 ping! I'd like to solve this problem, so I need help. Another great example is that it is technically possible. Take OneManArmy's Modern FPS for example. It is based on Photon Cloud I think, or not? I'm not sure.
  14. How do I could I add a health bar above enemies? Could a script be provided?
  15. var ammo : int; var player : GameObject; enum status { idle,running,shooting,aiming,reloading,walking } var FireRate : float = 1; var NextFire : float = 1; var state = status.idle; function Update () { if(curammo > 0){ if (Input.GetMouseButton(0) && Time.time > NextFire) { state = state.shooting; NextFire = Time.time + FireRate; } else state = state.idle; } if(state == state.idle){ animation.Play("Idle"); } if(state == state.shooting){ animation.Play("Single_Shot"); } } so when i use this code, the state "shoot" never occurs... if i remove the "else state = state.idle;" .. the shoot state keeps on looping.. how could i stop the shooting state from looping?
  16. Here is a free model based on a USP .45 , it is my first blender project. Hope you enjoy. Download link: (http://www.blendswap.com/blends/view/72385) Alternative: (http://www.mediafire.com/download/h40it1z4wlvael1/USP+.45.zip)
  17. Another detailed model- M4A1 CQB. Model Detail: Faces: 11,858 Verts: 11,878 Tris: 23,658 have fun ! Download: http://www.mediafire.com/download/ucxw30jhz0tac2j/M4A1-CQB.blend
  18. Was not hard to put together! But i figured that i would put it up anyway, I'm gonna try stay more active on the forums and help out alot more so one day i can be support . What it does it make it when you walk left or right your gun will tilt in that direction much like BF4: #pragma strict var smoothGun : float = 2; var tiltAngle : float = 30; function Update () { var TiltGun = Input.GetAxis("Horizontal") * tiltAngle; var target : Quaternion = Quaternion.Euler(0, 0, TiltGun); transform.localRotation = Quaternion.Slerp(transform.localRotation, target, Time.deltaTime * smoothGun); } To make it work just put it on your gun holder
  19. hai everyone i'm working on a fps right now and have trouble finding a tut on how to do this. Can any of you help me modify this java script that I found online so that it switches between muzzle flash and smoke like in bf3 but it has mostly smoke and can you make a semi and full auto version. THE SCRIPT : var muzzleFlash : Renderer; var muzzleLight : Light; function Start() { muzzleFlash.enabled = false; muzzleLight.enabled = false; } function Update() { if(Input.GetButtonDown ("Fire1")) { Shoot(); } } function Shoot() { muzzleFlash.renderer.enabled = true; muzzleLight.enabled = true; yield WaitForSeconds (0.00); muzzleFlash.renderer.enabled = false; muzzleLight.enabled = false; }
  20. hai everyone i'm working on a fps right now and have trouble finding a tut on how to do this. Can any of you help me modify this java script that I found online so that it switches between muzzle flash and smoke like in bf3 but it has mostly smoke and can you make a semi and full auto version. THE SCRIPT : var muzzleFlash : Renderer; var muzzleLight : Light; function Start() { muzzleFlash.enabled = false; muzzleLight.enabled = false; } function Update() { if(Input.GetButtonDown ("Fire1")) { Shoot(); } } function Shoot() { muzzleFlash.renderer.enabled = true; muzzleLight.enabled = true; yield WaitForSeconds (0.00); muzzleFlash.renderer.enabled = false; muzzleLight.enabled = false; }
  21. hai guys im working on a online fps and i've been playing with the lighting because my gun is really dark. right now i'm using a point light attachted to the main camera to make the surface brighter so you can see the details but you can see a big light all around the controler and i definitely don't want that if anyone can give me ideas on what to do it would help alot
  22. My team was going to use the shotgun that seb made but decided that we need a different type of shotgun because it didnt really suit what we wanted :/ though it was an amazing model and we have decided to release it to you guys on NG3Ds forums and also armedunity.com Here it is: Link: 870 Shotgun Credits: Please give credit to Sebastian or Sebacod3 or i will remove link forever if you do credit you can release ur game even if it costs, with this model
  23. Vengeance Game Studio is a new game development studio that is focused mainly on fps games. We might make other genre games later. The game has the structure of bf3 but with improvements. Currently we are in preproduction so I am trying to assemble a team so as soon as we are ready, we can start. Since we are new we only have 3 members and they are all just the game designers. We need the following: 3d Character Modeler and Texturer: Network Programmer: Audio: Map Making (needs Unity Pro 4) If you can do more than one of these jobs it would be great. Preferably if you can be a modeler you can texture that model. I will need to see a sample of your work. Plot:What if being a terrorist was the right thing? What if no alliance could get the concept of truth and integrity right? You are an orphaned child in Azerbaijjan, now a satellite state of the tyrannical Eurasian Union. You join a local terror cell and fight your way to the top, but once there you need to make the difficult choice to do what is right, or what you want. You will find out the decision if you join the team or if you buy the game.
  24. G36C + Audio: Download AUG + Audio: Download M4A1 + Sight + Arms + Audio: Download AK74M + Audio: Download FN SCAR + Audio: Download
  25. If you cannot see the picture, browse it here http://img703.imageshack.us/img703/8990/ffefpng.png http://imageshack.us/photo/my-images/546/capturesss.png/ Need feedback!!! Thx