Jump to content
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 'fpsgame'.



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
    • Example Projects
    • Scripts
    • Shaders
    • Unity Tutorials
    • FPS Kit Tutorials
    • 3D models
    • Animated 3D Models
    • Graphic design
    • Textures
    • Sounds
    • Other
  • SELL | REQUEST
    • Sell
    • Request
  • Mars' Modular Multiplayer Photon FPS Kit's Topics
  • Mars' Modular Multiplayer Photon FPS Kit's Reviews
  • Mars' Modular Multiplayer Photon FPS Kit's Updates
  • Mars' Modular Multiplayer Photon FPS Kit's Tutorials
  • Busy People's Introductions
  • Photon's Tutorials
  • Photon's Photon General
  • Photon's Showcase

Categories

  • Free Projects
  • Free Assets
  • Game Demos
  • Photon's Files

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


YouTube URL


Facebook URL


Twitter URL


IndieGoGo URL


Kickstarter URL


IndieDB URL


GreenLight URL


Location:


Interests

Found 3 results

  1. I need a tutorial or script to make the move to "walk" the gun. And in that same Script, I want to make a transition from "walk" to "run" when the "Shift" button is selected and the "walk" will normally walk with the "W" key. (Is there any possibility of doing this in an "animation" without using "animator"?) ----------------- I have a script, but I need a new one. In what I have this giving incompatibilities and when I go to pushing the key to "run", it practically goes without any smoothing, it is as if the animation was totally cut and started from a different point. My script : using UnityEngine; using System.Collections; public class moveAnim : MonoBehaviour { public Rigidbody rb; public Animation anim; public AnimationClip walk; public AnimationClip idle; public AnimationClip reload; public AnimationClip walkingReload; public AnimationClip sprint; public AnimationClip crouch; public AnimationClip crouchWalk; float sprintMult = 1; public bool pauseWalkOnAim = true; void Awake() { if(rb.GetComponent<characterControls>() != null) { sprintMult = rb.GetComponent<characterControls>().sprintMultiplier; } } void FixedUpdate() { characterControls cc = rb.GetComponent<characterControls>(); if (crouch != null) { if (cc.body.height == cc.normalHeight) { if (reload != null) { if (!anim.IsPlaying(reload.name) && !anim.IsPlaying(walkingReload.name)) { if (rb.velocity.magnitude >= 0.1f) { float sprintSpeed = rb.GetComponent<characterControls>().speed * sprintMult; if (rb.GetComponent<characterControls>().curSpeed < sprintSpeed) { if (pauseWalkOnAim) { if (!Input.GetMouseButton(1)) {a anim.CrossFade(walk.name); } } else { anim.CrossFade(walk.name); } } else { if (sprint != null) { anim.CrossFade(sprint.name); } } } else { anim.CrossFade(idle.name); } } else { if (reload != null) { if (anim.IsPlaying(reload.name) && rb.velocity.magnitude > 0.1f) { anim.CrossFade(walkingReload.name); } if (anim.IsPlaying(walkingReload.name) && rb.velocity.magnitude == 0) { anim.CrossFade(reload.name); } } } } else { if (rb.velocity.magnitude > 0.1f) { if (Input.GetKey(KeyCode.LeftShift)) { anim.CrossFade(sprint.name); } else { if (pauseWalkOnAim) { if (!Input.GetMouseButton(1)) { anim.CrossFade(walk.name); } } else { anim.CrossFade(walk.name); } } } else { anim.CrossFade(idle.name); } } } else { if (rb.velocity.magnitude <= 0.1f) { anim.CrossFade(crouch.name); } else { anim.CrossFade(crouchWalk.name); } } } else { if (reload != null) { if (!anim.IsPlaying(reload.name) && !anim.IsPlaying(walkingReload.name)) { if (rb.velocity.magnitude >= 0.1f) { float sprintSpeed = rb.GetComponent<characterControls>().speed * sprintMult; if (rb.GetComponent<characterControls>().curSpeed < sprintSpeed) { if (pauseWalkOnAim) { if (!Input.GetMouseButton(1)) { anim.CrossFade(walk.name); } } else { anim.CrossFade(walk.name); } } else { if (sprint != null) { anim.CrossFade(sprint.name); } } } else { anim.CrossFade(idle.name); } } else { if (reload != null) { if (anim.IsPlaying(reload.name) && rb.velocity.magnitude > 0.1f) { anim.CrossFade(walkingReload.name); } if (anim.IsPlaying(walkingReload.name) && rb.velocity.magnitude == 0) { anim.CrossFade(reload.name); } } } } else { if (rb.velocity.magnitude > 0.1f) { if (Input.GetKey(KeyCode.LeftShift)) { anim.CrossFade(sprint.name); } else { if (pauseWalkOnAim) { if (!Input.GetMouseButton(1)) { anim.CrossFade(walk.name); } } else { anim.CrossFade(walk.name); } } } else { anim.CrossFade(idle.name); } } } if(pauseWalkOnAim) { if (Input.GetKeyUp(KeyCode.LeftShift)) { if (rb.velocity.magnitude > 0) { anim.CrossFade(walk.name); } else { anim.CrossFade(idle.name); } } } anim[walk.name].speed = rb.velocity.magnitude / rb.GetComponent<characterControls>().speed; } }
  2. Ai all personal beauty? I'm bringing my update 3 modifications in fps kit. I hope you enjoy, and to help me register the channel to help me. Video : WHAT was added added Binoculars Improved inventory system Improved and re-organized system of inventory Added m79 grenade launcher I'm sorry if I gave a bad impression, or if you guys think I'm taking all the credits for the game but the game is oma I'm just modifying ok guys? But thank you and I'll soon be posting new videos
×
×
  • Create New...