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.

OneManArmy

Administrators
  • Content count

    3,866
  • Joined

  • Last visited

  • Days Won

    149

OneManArmy last won the day on May 18

OneManArmy had the most liked content!

Community Reputation

1,344 Excellent

About OneManArmy

Profile Information

  • Gender
    Male
  • Location:
    Latvia
  • Interests
    Game development

Recent Profile Visitors

14,984 profile views
  1. Need help with inventory system

    Hi, you are asking to make inventory system for you. Topic moved to Request.
  2. AU FPS KIT

    Please create topic in forum... this is not help section! https://armedunity.com/forum/27-need-help/
  3. Mouse Look

    automatically adjusts your sensitivity when you change camera FOV. remove and you will see difference when you aim with sniper rifle. Few small changes (copy paste code in Mouse Look script): using UnityEngine; using System.Collections; [AddComponentMenu("Camera-Control/Mouse Look")] public class MouseLook : MonoBehaviour { public enum RotationAxes { MouseXAndY = 0, MouseX = 1, MouseY = 2 } public RotationAxes axes = RotationAxes.MouseXAndY; public float sensitivityX = 15f; public float sensitivityY = 15f; public float minimumX = -60f; public float maximumX = 60f; public float minimumY = -60f; public float maximumY = 60f; float rotationX = 0f; float rotationY = 0f; public float multiplier = 60f; Quaternion originalRotation; Camera cmra; void Start () { cmra = Camera.main; if (GetComponent<Rigidbody>()) GetComponent<Rigidbody>().freezeRotation = true; originalRotation = transform.localRotation; } void Update (){ if(Cursor.lockState == CursorLockMode.None) return; if (axes == RotationAxes.MouseXAndY) { rotationX += (Input.GetAxis("Mouse X") * sensitivityX / multiplier * cmra.fieldOfView); rotationY += (Input.GetAxis("Mouse Y") * sensitivityY / multiplier * cmra.fieldOfView); rotationX = ClampAngle (rotationX, minimumX, maximumX); rotationY = ClampAngle (rotationY, minimumY, maximumY); Quaternion xQuaternion = Quaternion.AngleAxis (rotationX, Vector3.up); Quaternion yQuaternion = Quaternion.AngleAxis (rotationY, Vector3.left); transform.localRotation = originalRotation * xQuaternion * yQuaternion; } else if (axes == RotationAxes.MouseX) { rotationX += (Input.GetAxis("Mouse X") * sensitivityX / multiplier * cmra.fieldOfView); rotationX = ClampAngle (rotationX, minimumX, maximumX); Quaternion xQuaternion = Quaternion.AngleAxis (rotationX, Vector3.up); transform.localRotation = originalRotation * xQuaternion; } else { rotationY += (Input.GetAxis("Mouse Y") * sensitivityY / multiplier * cmra.fieldOfView); rotationY = ClampAngle (rotationY, minimumY, maximumY); Quaternion yQuaternion = Quaternion.AngleAxis (rotationY, Vector3.left); transform.localRotation = originalRotation * yQuaternion; } } public static float ClampAngle (float angle, float min, float max) { if (angle < -360f) angle += 360f; if (angle > 360f) angle -= 360f; return Mathf.Clamp (angle, min, max); } public void SetRotation(float r) { rotationX = r; } }
  4. DownFall - The Lost City

    are you serious? You have never downloaded kit (any kit)? you don't think that kits are great source to learn from? "humiliating trap for beginners" and how do you think, who usually get in this trap? beginners who want money/fame really quick. They will never be game developers anyway... They have motivation on 2 weeks - to download kit, replace terrain and publish "game" somewhere. "made only because it attracts people to this forum" not only, but it's one of reasons... am i doing something wrong/bad?
  5. Need to line on the same string in the inspector ..help

    In inspector "\n" will not work. Add TextAreaAttribute: https://docs.unity3d.com/ScriptReference/TextAreaAttribute.html [TextArea] public string AmmoInfo = "";
  6. AU FPS KIT

    Please create topic in forum... this is not help section! https://armedunity.com/forum/27-need-help/
  7. AU FPS KIT

    Now i understand what you did. You extracted project and then dropped Assets folder in open project... Watch tutorial: https://www.youtube.com/watch?v=pDxHNUS4VdA
  8. AU FPS KIT

    Did you saw video tutorial - how to open project?
  9. AU FPS KIT

    again - any errors in console? I just downloaded and tested project = everything works just fine. Can you record video?
  10. AU FPS KIT

    what version of unity engine? any errors in console?
  11. AU FPS KIT

    did you made any changes? anyway record video and create topic here: https://armedunity.com/forum/10-discussions-bug-reports/
  12. AU FPS KIT

    Just try to add enemy by yourself and when you will stuck somewhere, then create topic in "Need Help?" and ask specific questions. You can add score like this: ScoreManager.instance.AddScore((int)1000);
  13. DownFall - The Lost City

    yeah, domains in these days are soooooooooo expensive... seriously? you will start crowdfunding? just ask 10$ your mom
  14. DownFall - The Lost City

    I have the same experience with 000webhost. My account was removed without any notifications.
  15. Can you add a body to the au fps kit? Like if i network a game based on the au fps kit(aka multiplayer), other player would see me as a whole body, not just a floating arms with gun... I would appreciate it, thank you!

×