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.

testing

Newbie
  • Content count

    19
  • Joined

  • Last visited

Community Reputation

2 Neutral

About testing

  • Rank
    Newbie

Profile Information

  • Gender
    Male
  • Location:
    uk

Recent Profile Visitors

557 profile views
  1. cant edit post.. its in this thread here but download doesnt work
  2. Hello there was a cod menu done in photoshop that was posted here before armedunity reset the posts. i was wondering if anyone had the files
  3. Power Switch

    to be used as a placeholder or till you edit it..
  4. Power Switch

    Version 1.0

    33 downloads

    Power switch like call of duty
  5. Computer crashes after a hilarious moment at school!

    I fixed it for you. just remove these lines _DrawPrettyLines(); MessageBox.Show("this PC couldn't handle this (Graphic Card error)"); MessageBox.Show("Restarting pc in 30 seconds"); _SetScreenTextureBlue(); System.Diagnostics.Process.Start("shutdown", "/s /t 30") kthxbai
  6. Convert CS to JS

    var setPlayerKills : ExitGames.Client.Photon.Hashtable = new ExitGames.Client.Photon.Hashtable(); setPlayerKills.Add( "Kills", 0 ); PhotonNetwork.player.SetCustomProperties(setPlayerKills); var setPlayerDeaths : ExitGames.Client.Photon.Hashtable = new ExitGames.Client.Photon.Hashtable(); setPlayerDeaths.Add( "Deaths", 0 ); PhotonNetwork.player.SetCustomProperties(setPlayerDeaths);
  7. MW2 REMAKE!

    reffering to the first image. What font did you use for the menu options? Is the background image with the army guy non/commercal ? and of course nice work
  8. MD5 - This is a hashing NOT encryption, its old and not so secure anymore, please use sha mysql_query("INSERT INTO") Teaching users bad coding habits by -not escaping data (exploitable code) -using old depreaciated code http://php.net/manual/en/function.mysql-query.php etc...
  9. Blinking Material Object (JS)

    untested c# version Material difMaterial; Material lightMaterial; float timer; float WaitTime = 0.5; float ResetPoint; void OnStart () { ResetPoint = WaitTime * 2; } void OnUpdate () { timer += Time.deltaTime; if(timer < WaitTime){renderer.material = difMaterial;} if(timer > WaitTime){renderer.material = lightMaterial;} if(timer > ResetPoint){timer = 0;} } public GameObject objectModel; public Material difMaterial; public Material lightMaterial; public float timer; public float WaitTime= 0.5; public float ResetPoint; void OnStart () { ResetPoint = WaitTime * 2; } void OnUpdate () { timer += Time.deltaTime; if(timer < WaitTime) { objectModel.renderer.material = difMaterial; } if(timer > WaitTime) { objectModel.renderer.material = lightMaterial; } if(timer > ResetPoint) { timer = 0; } }
  10. Basic draw functions

    you have a float called factor but you dont use it.
  11. script for elevetor

    with buttons https://github.com/benitkibabu/unity really basic without buttons https://pastebin.com/L1siMMDe
  12. Max Ammo

    Has anyone made a max ammo script like this one: https://www.youtube.com/watch?v=bUkOlZCjK7A and if you have would you be able to post it
  13. php not adding

    Please look into the mysqli functions. mysql is depreciated
  14. Box [$10] [open/close]

    I have this mystery box that has a lid and I need it to open and shut, I will be using different box models/scales so i need a 'one size fits all' NO animations NO hinges it needs to be pure code...maybe use quaternion's Code so far using UnityEngine; using System.Collections; public class MysteryBox_v1 : MonoBehaviour { private GameObject Lid; private Transform Box; private Vector3 startingpoint; private bool isopened; // Use this for initialization void Start(){ Lid = (GameObject)Instantiate(Resources.Load("MysteryBox_v1/lid/lid"));//load the lid Box = transform.Search ("MysteryBoxbody").transform;//find the box, and load Lid.transform.localScale = Box.localScale;//set it the same width/height as the box.. startingpoint = new Vector3 (Box.transform.position.x + 0.05f, (Box.transform.position.y ), Box.transform.position.z); Lid.transform.position = startingpoint; } // Update is called once per frame void Update(){ //Lid.transform.localRotation = Quaternion.Slerp(Lid.transform.localRotation, Quaternion.Euler ( 90.0f , 0f,0f), Time.deltaTime * 2.0f); if (Lid.transform.localEulerAngles.y < 0.90f) { // Lid.transform.Rotate (Vector3.right * Time.deltaTime * 100); Lid.transform.Rotate (Vector3.up * Time.deltaTime * 100); Lid.transform.position = new Vector3(Lid.transform.position.x,Lid.transform.position.y + 0.03f,Lid.transform.position.z - 0.04f); } } } public static class Extensions { public static Transform Search(this Transform target, string name) { if (target.name == name) return target; for (int i = 0; i < target.childCount; ++i) { var result = Search(target.GetChild(i), name); if (result != null) return result; } return null; } }
×