|
i got this script from the unity documentation and i dont know where to put it im working on a fps game.
}
(comments are locked)
|
|
http://docwiki.unity3d.com/uploads/Main/Scripting%20Tutorial.pdf http://unity3d.com/support/documentation/ScriptReference/ http://www.scottpetrovic.com/blog/2009/07/unity-3d-part-3-basic-scripting-wexample-and-source/ Read, study, go over, and do all these about 5 more times. THEN, post on here. If you don't try at all and just copy and paste code like a script kiddie, then no one is going to help you. I repeat, NO ONE is going to help you, and if they do, than that sucks for them, because it's a waste. If you want people to give you the time of day, then you have to, at the least, try for your self first. So, I say, go through the first link. Then go through the third link. Now, go through the second link on all the major things, and learn a little bit before you just post random things for us to fix for you... The problem with the script you posted is something so minor, that you should be able to point out in a second. But to hell if I'm going to tell you, because if you took but 2 minutes of your own time to actually go through a script, you'd see it, you'd know how to create a script, and how to add it to a scene... I think the biggest problem was that he wasn't able to figure out when to run it. When the game starts? When a rocket explodes? When Chuck Norris descend from the heavens? Beats me. Start looks like a place good as any :)
Mar 27 '11 at 08:49 PM
Statement ♦♦
Friendly reminder: Dont feed the trolls :)
Mar 27 '11 at 08:56 PM
OrangeLightning
Excuse my language, but that was FUCKING awesome :)
Mar 27 '11 at 08:59 PM
OrangeLightning
Looks awesome Statement. And yeah... I can imagine him crashing his computer when he finally realizes how to do it, then we'll get about 30 posts a day asking why it's crashing, zzz. And yea... but you still want to help people, but I don't know, asking the same 5 questions in a row makes me not want to help him... So, that's why I'm done with him at least.
Mar 27 '11 at 09:02 PM
Justin Warner
(comments are locked)
|
|
Look it's evident you want to create a game based on the mechanics of minecraft. Google a bit and you shall find existing solutions (minecraft starter package). Seems this is all you need. Now go and learn. Nice find, didn't think that someone's done that.
Mar 27 '11 at 09:16 PM
Justin Warner
I am not surprised. It seems every kid, granny and programmer want to create a minecraft clone. I enjoy it for the sheer replayability. It's a really nice foundation to build other gameplay upon.
Mar 27 '11 at 09:30 PM
Statement ♦♦
Rumors have it Chuck Norris even is struggling to create his epic meta-templatized voxel engine. Block Norris.
Mar 27 '11 at 09:31 PM
Statement ♦♦
I wish I knew what meta-templatized voxel meant, but I can't say I do... I find the game rather dull and boring... But to each is their own... The problem with clones, is they'll never be as good as the original... But oh well, people'll never learn.
Mar 27 '11 at 09:35 PM
Justin Warner
(comments are locked)
|
|
Drag it to one of your game objects.
(comments are locked)
|
Grow some hair and it'll become evident. :) Seriously though, neither do I. What is your intent?
It doesn't help a lot to guess where to put it. im making a minecraft game so wat im trying to do is placing blocks beside eachother and stacking
Mar 27 '11 at 08:49 PM
keith alexander 1
Sorry, don't know how to do that.
Mar 27 '11 at 08:52 PM
Statement ♦♦
(comments are locked)
|
