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.

geckoo

Moderators
  • Content Count

    2,801
  • Joined

  • Last visited

  • Days Won

    151

Everything posted by geckoo

  1. 3.14 billion years. I was banned by the Gods and I wander the earth as a tramp. I participated in the development of an alternative poker FPS. Суета сует и погоня за ветром. Всё суета - даже моё существование. Ухожу?
  2. Bioshock 1 BF3 CoD modern warfare TeamFortress Source Halo 3 Portal Portal 2 Counter-Strike 1.6 Counter-Strike Source DayOfDefeat Source
  3. it looks interesting. Your MG is very... impressive
  4. It's a great idea (generous), but it seems we can found it on the web ? I'm a beginner in JS and I learned many lessons just with web. See it : http://wiki.unity3d.com/index.php/Beginner%27s_Scripting_Guide (it's an example). I wait your book. I think it's really good thing. I wish not to waste my time and money (too) ++
  5. Really good, but you don't discover anything. This site is free and you can watch these videos on the web site of autor. You can buy it if you like. Why use adf? I don't understand your desire. Money is your motivation? http://www.gamertogamedeveloper.com/
  6. geckoo

    JS or C

    I understood his thinking. When you are accustomed to JS, the syle C seems a little confused. I'm really in doubt. I do not know where to focus my efforts. Thank you for your comments ++
  7. geckoo

    Multi tutorial

    Thanks you Connor Gibson for this large explanation. I will remember Photon for my project. Thanks you Legend for the link to GTGD. It's a usefully site ++
  8. geckoo

    Multi tutorial

    I found many tutorials to understand how instantiate a cube or a sphere in mutiplayer environnement. These tutorials aren't enough to explain the network feature in Unity and i wanna more. Sorry for this words but english isn't my natural language. I do simply. Do you know where i can found a really good tutorial to understand network with unity (or a source - style red vs blue) ? What do you prefer - personnal code for multiplayer or an asset like uLink ? Thank you for your support ++
  9. geckoo

    JS or C

    There are two distinct schools to develop with Unity - Java and C. I asked myself the following questions: what is the most efficient? I think JS is easier to write, but what is it about the final result? Why choose one or the other? I imagine that each of you has an opinion. Thank you for the explanation + +
  10. Really? So i am in a master class Даже глупый человек (как я) понял. Попробуй другой лабиринт... Thx for sharing ++
  11. Right! I forgot this case. I apologize for this trouble Vlad222, but i think you can understand my idea. themars2011 - ты таракан! Без обид
  12. I don't understand how you can ask this question if you wanna create a game. Score manager - it's just a counter. You can consider the problem like this : ApplyDamage script : var pointsToAdd = 100; function ApplyDamage (damage : float) { if (hitPoints > 0.0) return; scoreManager.addScore(pointsToAdd); (...) scoreManager script : function addScore(value : int){ currentScore += value; } See the managerScore script and EnnemyDamageRagDoll script in PremiumFPSkit 0.8 But perhaps you got another request. It's not clear for me. I recommend you read this next scrip "spawnerWithWaves" script : function RecountEnemiesInGame(){ if(allEnemiesInGame){ enemiesInGame--; }else{ tempKilledEnemies ++; } if(enemiesInGame == 0){ if( waveNr == enemiesToInstantiate.length){ Application.LoadLevel(Application.loadedLevel); print ("gameComplete"); //Here you can load Stats or anything else. return; } allEnemiesInGame = false; cTimer = 30.0; countdown = true; showRoundCompleted = true; } } It's a counter. When all zombies are dead, it launches another round... One week? Good luck ++
  13. geckoo

    Fps Maps

    This blue color for text is very ugly What it means? Construct a map for a game - the most easier part of work. With Unity and without problems, you can import assets, create a terrain or an island with trees, integrate some weather and interactives triggers, etc. Sure! this work is very long, but it's ours... Do you know Unity? This is not a criticism on my part - just an encouragement. You can found many tutorials on YT and web. Try friend ++
  14. geckoo

    inaccurancy

    Really? I thought you were making fun of me. I'm suspicious. If you learned something, I'm very happy ++
  15. geckoo

    inaccurancy

    You are sarcastic. I like it I think those who come here asking the same question. I know that you know... Ты коварный человек
  16. geckoo

    inaccurancy

    I found it. We must apply 3 values - X,Y and Z to create a randomized "vector3". Z is static. Now i understand... private var shotSpread = 0.03; // it's just an example function SprayDirection() { var vx = (1 - 2 * Random.value) * shotSpread; var vy = (1 - 2 * Random.value) * shotSpread; var vz = 1.0; return transform.TransformDirection(Vector3(vx,vy,vz)); } function Fire () { var direction = SprayDirection(); (...) It works fine. THX for the help ++
  17. geckoo

    inaccurancy

    function Fire () { var direction = transform.TransformDirection(Vector3.forward); var hit : RaycastHit; if (Physics.Raycast (transform.position, direction, hit, range)) { if (hit.rigidbody) hit.rigidbody.AddForceAtPosition(force * direction, hit.point); In this code, i got an absolute accurancy because i specify vector3.forward. I wanna a little inaccurancy. How can I add a random value on this vector ? I search this impossible result : var direction = transform.TransformDirection(Vector3.forward + random.value(-3.0,3.0)); Is it possible ? THX for support ++
  18. geckoo

    Recoil Script

    Я задал себе вопрос сегодня Спасибо ++
  19. Yeah ! it's works. Спаcибо большое тебе за помощь. Ты исправил мою ошибку ++
  20. Oops! I did it again. I corrected it. What do you think about my problem? Thx ++
  21. no weapon no salvation
  22. I got (again) a problem with some code JS. I'm trying to develop a script object retrieval. I created a table to differentiate objects, and although there are only two, everything is reversed. When I pick up a rocket, nothing happens and when I pick up a bonus of life, the number of rocket increases. Would you kindly help me? Thank you friends + enum PickupType { Health = 0, Rocket = 1}; var amountHealth = 20; var amountRocket = 1; function ApplyPickup (player : FPSPlayer) { if (PickupType.Health) { if (player.hitPoints >= player.maximumHitPoints) return false; player.hitPoints += amountHealth; player.hitPoints = Mathf.Min(player.hitPoints, player.maximumHitPoints); } else if (PickupType.Rocket) { var launcher : RocketLauncher = player.GetComponentInChildren(RocketLauncher); if (launcher) launcher.ammoCount += amountRocket; } return true; }
  23. I found a little bug in Unity 4. Audio clip length (audio.clip.length) not equal than wav or mp3 length. I don't know why. For example, this code didn't work properly. I heard an annoying echo : AudioSource.PlayClipAtPoint(sound, transform.position); yield WaitForSeconds(audio.clip.lenght); You must find the good length and declare it in a variable : var soundLength = 1.0 AudioSource.PlayClipAtPoint(sound, transform.position); yield WaitForSeconds(soundLength); Maybe you know an other method to automatize this sequence?
  24. Cамо собой разумеется. Спасибо за совет. Попробую очень скоро ++
  25. geckoo

    Code JV for dummies

    I did not presume to judge the work of others. I try to understand some methods, best among the others. What you tell me is very relevant, and I imagine the need to monitor the behavior of functions when debugging. It makes sense. Thank you for these explanations + +
×
×
  • Create New...