drew8732
|
  |
| Joined: 01 Apr 2010 |
| Total Posts: 1965 |
|
|
| 17 Oct 2011 08:13 PM |
Welcome to my CFrame guide!
Intro ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬ So... Build mode basically sucks now for you tool users well.. Time to learn how to CFrame in Studio. The command bar people say is slow, inefficient, and useless. Well that is mostly because (assuming here) A) they never tried it or B) saw the wiki version first. Now I must admit the wiki version is a very slow process but still teaches you some stuff.
Lets start!
I heavily encourage the use of command bar. People may say that plugins, tools, and CmdUtl is faster and more efficient but honestly you gotta CFrame like a pro and use command bar.
First things first open Studio mode or Studio. Next View>Toolbars>Command. That is the command bar. Pretty small object but is powerful if you use it right. This is where you put the code.
Also the brick you are CFrame MUST BE ANCHORED!!!! I learned this the hard way and I do not want anyone to be discouraged from command bar by this one problem. Another thing is that with the command that will soon be shown all you have to do is select the brick. Also bricks cannot be welded when you CFrame them. Weld them afterwards.
After rotating a brick if you drag it the brick will flatten which is bad. I suggest using the Move On Axis tool when moving CFramed parts.
Tutorial ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
The command looks very complex but I will break it down into the chunks you need to know. Here is the command:
for i = 1,#game.Selection:Get() do game.Selection:Get()[i].CFrame = game.Selection:Get()[i].CFrame * CFrame.new
(0,0,0)* CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) end
To use the command like I said looks complex but give it a chance! There are two things we need to pay attention to here. The first one is CFrame.new(0,0,0). CFrame.new is CFraming the brick. This doesn't rotate it just translates on the axis. The unit of measurement is studs. With the command bar you can go into the hundred thousandths of a stud.
Might not ever need to go down that far but you never know. So the first 0 is the X axis. If you have learned about grids in school then you should know what it is but I will explain it anyways. The X axis is side to side or think of it as left to right. The next 0 is the Y axis. Y is very easy to keep track of because it only controls the up and down position. Next we have Z. The Z axis controls depth. Depth you can think of as forwards or backwards. You can also think of the Z axis as distance. Please note that these axises are not the adjusted to the brick but to the world grid. People are discouraged by this part sometimes because they get confused but you gotta try this. Real quick to achieve!
Next we have rotation! Rotation is very very useful. The line for rotation is: CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)) This looks a little confusing but when I explain it you will understand it more. Now rotation is a little different for rotation so you have to experiment a little. The wiki teaches you to use radians and most people are better with angles. Lets break this down a little. CFrame.Angles is identifying the type of CFrame. math.rad() is converting the number to a radian for CFrame to use. Kinda quick to explain. Studio does have a built-in rotate tool. You might say
"YAY!!!" but it is ever so inaccurate you can't rotate anything with it.
Wiki tutorial explanation ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
The wiki tutorial for CFrame is pretty terrible but that is why I provided the easier code at the top. The wiki does teach a basic understanding so if you seem lost use the wiki version first until you understand it. Then you can go onto the more complex versions. CFraming does take practice too so don't seem discouraged at first! Also for these commands forward will require some simple scripting knowledge of how to locate bricks.
Now the wiki teaches you two things that you cannot do with the command provided so it is a little lengthy. You need to locate the brick then put in in some other stuff and is easier to explain through an example.
workspace.brick.CFrame=workspace.brick2.CFrame
That right there will position brick inside brick2. Can be handy in many cases but once again can be lengthy.
The other thing that the wiki shows you that you cannot do with the code provided is CFrame.new(). CFrame.new moves the part to the exact coordinates provided.
workspace.brick.CFrame=CFrame.new(12,6,54)
That will position the brick at the exact grid coordinates specified.
Here is the what the wiki version teaches you for CFraming like the code above. This code doesn't really need any breaking down for it is fairly simple but I will explain it anyways for the benefit of others.
workspace.Brick.CFrame=workspace.Brick.CFrame+Vector3.new(1,1,1)
That command moves the brick 1 stud to the right, 1 stud up, and 1 stud forward. Now we are locating the brick with this part: "workspace.Brick". Next we are changing the CFrame property. We take the current CFrame value then add the Vector3 value of 1,1,1 to the brick that moves it.
Some more stuff ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
Some people really like to make vehicles but to make some nice ones CFrame really helps. Well CFrame must be Anchored so this can create problems. Well lucky you this guide explains how! To have unAnchored CFrame you must have an Instance Weld script. The Weld script puts in Instance Welds. An Instance Weld keeps the welded brick at the same distance so they move together. This is very useful! Some people also have the problem of planes or vehicles lag moving and this might also solve it.
Thanks for reading and I hope you will enjoy using command bar!!!
P.S. Having formatting issues when pasting from Notepad because I am saving the guide to my computer so sorry if it is annoying.
"Death to lazy builders. Remove the CFrame tools. Command bar all the way"~pauljkl "If it tastes bad, it's probably healthy" -RadioactiveWafflez |
|
|
| Report Abuse |
|
|
theopfor
|
  |
| Joined: 08 Feb 2011 |
| Total Posts: 11003 |
|
|
| 17 Oct 2011 08:16 PM |
So nawt fair! Dis is conzdered wah!
http://www.roblox.com/Forum/ShowPost.aspx?PostID=55153830
"Death to lazy builders. Remove the CFrame tools. Command bar all the way"~pauljkl "If it tastes bad, it's probably healthy" -RadioactiveWafflez |
|
|
| Report Abuse |
|
|
smurf279
|
  |
| Joined: 15 Mar 2010 |
| Total Posts: 6871 |
|
|
| 17 Oct 2011 08:20 PM |
| You even copied his signature lol |
|
|
| Report Abuse |
|
|
|
| 17 Oct 2011 08:30 PM |
It's official. You've now stolen guides from TWO regulars of BH.
Regards, ~Scarfacial |
|
|
| Report Abuse |
|
|
theopfor
|
  |
| Joined: 08 Feb 2011 |
| Total Posts: 11003 |
|
|
| 17 Oct 2011 08:49 PM |
HAHA THIS THREAD IS NOW ONE VERSION OUTDATED! MWAHAHAHA!
"Death to lazy builders. Remove the CFrame tools. Command bar all the way"~pauljkl "If it tastes bad, it's probably healthy" -RadioactiveWafflez |
|
|
| Report Abuse |
|
|
|
| 18 Oct 2011 06:06 AM |
MUAHAHAHAHAHAHAHAHA!!! HAHAHAHAHA!!! I haven't even bothered to look through the new one...
-NEVAR, EVAR EVAR EVAR, FEED TEH TROLL. !run game.Parent.RobloxCatalog.CFrameDirectory:remove:force() xD DIE CFRAME TEWLZ!!! |
|
|
| Report Abuse |
|
|
drew8732
|
  |
| Joined: 01 Apr 2010 |
| Total Posts: 1965 |
|
|
| 18 Oct 2011 07:43 PM |
| TWO? I copied THIS to get back at op, and the gun guide I MADE. If you're jealous, just say so. I can already tell. |
|
|
| Report Abuse |
|
|
theopfor
|
  |
| Joined: 08 Feb 2011 |
| Total Posts: 11003 |
|
|
| 18 Oct 2011 07:44 PM |
This will be fun. :3
"Death to lazy builders. Remove the CFrame tools. Command bar all the way"~pauljkl "If it tastes bad, it's probably healthy" -RadioactiveWafflez |
|
|
| Report Abuse |
|
|
Pearjack
|
  |
| Joined: 14 Oct 2011 |
| Total Posts: 692 |
|
|
| 18 Oct 2011 07:46 PM |
The signature was copied too. lol. |
|
|
| Report Abuse |
|
|
Nagaris
|
  |
| Joined: 18 Sep 2011 |
| Total Posts: 422 |
|
|
| 18 Oct 2011 07:47 PM |
HAHA who would be jealous of a person copying guides? xDDD You are at the bottom of the bottom. You fail!
Sincerely, DeHata ~Nuclear Chickens!!!~ ~Radioactive Waffles!!!~ |
|
|
| Report Abuse |
|
|
Nagaris
|
  |
| Joined: 18 Sep 2011 |
| Total Posts: 422 |
|
|
| 18 Oct 2011 07:50 PM |
HEY GUYS!!!!!!!!!!!!!!!!!!!!! (audience says: "what?") DREW FAILS!!!!!!!!!!!!!!! (everyone murmurs: "who didn't know that already?")
Sincerely, DeHata ~Nuclear Chickens!!!~ ~Radioactive Waffles!!!~ |
|
|
| Report Abuse |
|
|
Nagaris
|
  |
| Joined: 18 Sep 2011 |
| Total Posts: 422 |
|
|
| 18 Oct 2011 07:51 PM |
Hmm that wasn't really sincere...
Not so Sincerely, DeHata ~Nuclear Chickens!!!~ ~Radioactive Waffles!!!~ |
|
|
| Report Abuse |
|
|
drew8732
|
  |
| Joined: 01 Apr 2010 |
| Total Posts: 1965 |
|
|
| 18 Oct 2011 07:52 PM |
| This is Qeenofpie's fault. You guys don't know a reasonable guide when you see one. Op snd scar are simply jealous. |
|
|
| Report Abuse |
|
|
Nagaris
|
  |
| Joined: 18 Sep 2011 |
| Total Posts: 422 |
|
|
| 18 Oct 2011 07:53 PM |
Why would they (some of the best, and most well known BH forumers) be Jealous of You? Somebody who copies guides? HAHAHA! Nice comeback! AAAAAAAAAAARRRRRRRRRROOOOOOOOOOOGANNNNTTTTT. You fail.
Sincerely, DeHata ~Nuclear Chickens!!!~ ~Radioactive Waffles!!!~ |
|
|
| Report Abuse |
|
|
Pearjack
|
  |
| Joined: 14 Oct 2011 |
| Total Posts: 692 |
|
|
| 18 Oct 2011 07:54 PM |
How can the original creator be jealous when you even copied his signature? lol. |
|
|
| Report Abuse |
|
|
drew8732
|
  |
| Joined: 01 Apr 2010 |
| Total Posts: 1965 |
|
|
| 18 Oct 2011 07:54 PM |
| I MADE THE WEAPON GUIDE. I see another jealousy forming... |
|
|
| Report Abuse |
|
|
Nagaris
|
  |
| Joined: 18 Sep 2011 |
| Total Posts: 422 |
|
|
| 18 Oct 2011 07:55 PM |
HAHA The weapon guide that says you should steal the scripts! Howboutthis: LRN2SCRIPT! xDD
Sincerely, DeHata ~Nuclear Chickens!!!~ ~Radioactive Waffles!!!~ |
|
|
| Report Abuse |
|
|
Pearjack
|
  |
| Joined: 14 Oct 2011 |
| Total Posts: 692 |
|
|
| 18 Oct 2011 07:55 PM |
But this isn't the weapon guide. This is the c-framing guide that theop made. |
|
|
| Report Abuse |
|
|
drew8732
|
  |
| Joined: 01 Apr 2010 |
| Total Posts: 1965 |
|
|
| 18 Oct 2011 07:57 PM |
"Making Weapons - The Complete Guide!"
^^^This is the original made by ME, then you idiots copied it. Then op started to annoy me so I copied HIS guide >:3 |
|
|
| Report Abuse |
|
|
Pearjack
|
  |
| Joined: 14 Oct 2011 |
| Total Posts: 692 |
|
|
| 18 Oct 2011 08:00 PM |
Urr. Ok.
But he probably gave credit. |
|
|
| Report Abuse |
|
|
theopfor
|
  |
| Joined: 08 Feb 2011 |
| Total Posts: 11003 |
|
|
| 18 Oct 2011 08:00 PM |
Drew I was trolololing you... Oh well I hope you will enjoy the present I am making! I gotta steal some scripts though...
"Death to lazy builders. Remove the CFrame tools. Command bar all the way"~pauljkl "If it tastes bad, it's probably healthy" -RadioactiveWafflez |
|
|
| Report Abuse |
|
|
Nagaris
|
  |
| Joined: 18 Sep 2011 |
| Total Posts: 422 |
|
|
| 18 Oct 2011 08:01 PM |
HAHA, I have made only one guide, in my place, which is going to be unbanned this morning at like 1:58, of which describes how to access studio, and you made one aswell. I made mine first. I even added graphics, not the best, but still! Anyways, Point is, WHO THE HELL STEALS GUIDES TO GET BACK AT THEM?!?!?! HAHAHAHAHAHAHAHHAHAHA "OMEHGOD Dis narb stole mah guide I - IM SO UPSET im ganna cry!!!" Yeahhhh thats how you make someone regret making you mad. HAHA. You fail.
Sincerely, DeHata ~Nuclear Chickens!!!~ ~Radioactive Waffles!!!~ |
|
|
| Report Abuse |
|
|
drew8732
|
  |
| Joined: 01 Apr 2010 |
| Total Posts: 1965 |
|
|
| 18 Oct 2011 08:01 PM |
| One of my guns? I've only made 3 public ones so far. You don't even have the templates. |
|
|
| Report Abuse |
|
|
Nagaris
|
  |
| Joined: 18 Sep 2011 |
| Total Posts: 422 |
|
|
| 18 Oct 2011 08:02 PM |
Okai, Im going to stop trolololing now.
Sincerely, DeHata ~Nuclear Chickens!!!~ ~Radioactive Waffles!!!~ |
|
|
| Report Abuse |
|
|
|
| 18 Oct 2011 08:05 PM |
Yes, the well known BH forumer, scripter, wiki writer, and editor of the popular game Survival 303 is jealous of you, somebody who's raging cause he got publicly trolled (and still doesn't understand the fact).
Yeah, that makes sense.
Regards, ~Scarfacial |
|
|
| Report Abuse |
|
|