How To Create A Windmill: Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
>Mindraker
>Mindraker
mNo edit summary
 
(38 intermediate revisions by 6 users not shown)
Line 1: Line 1:
==How to insert premade windmill models==
{{CatUp|Tutorials}}
__TOC__
==Constructing a Windmill==


1) Start the [[Roblox_Studio|Roblox Studio]] program.
1. Insert any color [[RBX.lua.Part (Object)|brick]]. This will be the base of the windmill.  Shape it to the length you want.


2) Click on "My Roblox"
2. Insert a second brick of a different color.  Size it the height of the windmill, and put it at the back of the base.


3) Click on "Edit".
3. Copy this brick, and paste it onto the left and right sides of the base.  Do not put it on the front.


4) Click on "Insert".
4. Next, make a brick for the door.  Size it to the height you want.  Go to [[Properties]], un-check [[CanCollide (Property)|CanCollide]], and set the [[Transparency (Property)|transparency]] however you like.


5) Click on "All Models".
5. Fill in the two spaces beside the door with the same color bricks as the rest of the mill walls.  Put in another and stretch it to the top of the mill.  Cap it off with a roof, group it, and [[anchor]] it.


6) Type "windmill" in the search bar.
6. Put in one more brick the same color as the walls.  Make it a 2x2 brick and center it near the top of the mill.  Set the visible front surface as motor.  [[Anchor]] it.


7) Click "search".
7. Make a square brick that is not the same color as the rest of the mill.  Give it a fair size, but still square, and set the side surfaces to weld.  Put bricks on these welds and size them how you like.
Group them, but do -not- [[anchor]] it.


8) Select a windmill by left-clicking it.
8. Line up the center of the newly grouped piece with the motor brick.  Select the motor brick and go to properties.  Somewhere a piece will say left or right tread.  Change that to constant.  Above that there should be a number different than the rest of the tread sets.  The higher it is, the faster the mill will spin.  I suggest a value of "5".


9) A windmill will appear on your map.
9. Do whatever you want with the rest.  For example, add stairs on the inside, a flag to the top, [[RBX.lua.Decal (Object)|decals]], [[Texture (Property)|textures]], etc.


10) Move the windmill by using the [[drag]] feature or the [[Move_on_Axis|move on axis]] feature.
== How to create a wind generator without a motor ==


11) Change the size of the windmill using the [[resize]] feature.
* Insert > object > part
* Resize this part to be tall, thin and narrow.  This will be your tower.
* Anchor your tower.
* Insert > object > part
* Resize this part to be 1x1x1.  This is more for aesthetics.
* Move this part near the top of your tower.
* Anchor this brick.
* Insert > object > part
* Resize this object to be an odd number (13x1x1).  This will be the wings of your wind generator.
* Click on the wings of your wind generator and:
* Insert > object BodyPosition and
* Insert > object BodyAngularVelocity


12) Change the color of the windmill using the [[properties]] menu.
BodyPosition is easy:  it's where the wings of your wind generator will be.  Drag your wing up into place, and note where the Properties menu tells you where the bar is.  Put those numbers into the Position entry of BodyPosition.


13) Last but not least, [[Save|save]] your work frequently.
You can now change how the wind generator rotates by changing the BodyAngularVelocity from a positive to a negative number.  Positive rotates one way, negative rotates the other way.  You will only need one number -- the other two can be "zero".  If you find that your wind generator is rotating on the wrong axis, simply fill in the number for another dimension (e.g., if "2,0,0" doesn't work, try "0,2,0" then "0,0,2").


==How to create your own windmill from scratch==
NOTE: If you copy or move one of these, you have to tell it where the new position of the wings are, otherwise they go flying off back to the original position.


The components to construct a windmill are:
== See also ==


The vertical base or tower extending from the ground,
[[Roblox_Studio|Roblox Studio]]


The motor at the top of the base,
[[Properties]]


The horizontal extension from the motor, and
[[Toolbar]]


The arm or arms which then rotate.
[[Category:Building Tutorials]]
 
 
1) Build the vertical base by extending a brick vertically.
 
2) Build a motor on top of the base by putting a brick on top of the base.
 
3) Group the motor and the base together by holding down SHIFT, selecting the motor and the base with the left mouse button, and then right clicking the selected parts and then selecting "group".  Rename the model as "tower" by clicking the name of the model and typing in a new name (such as "tower").
 
Troubleshooting:  Make sure the yellow point of the motor is pointed towards where you want the arms of the windmill to be, not away from it, otherwise the arms of the windmill will not rotate.
 
4) Build the horizontal extension and the arm(s) of the windmill.  This may require [[Weld|welding]] the appropriate sides of your arm(s) of the windmill to your extension, otherwise when you go to the map to test, the arms will simply fall off.

Latest revision as of 04:40, 1 November 2008

Constructing a Windmill

1. Insert any color brick. This will be the base of the windmill. Shape it to the length you want.

2. Insert a second brick of a different color. Size it the height of the windmill, and put it at the back of the base.

3. Copy this brick, and paste it onto the left and right sides of the base. Do not put it on the front.

4. Next, make a brick for the door. Size it to the height you want. Go to Properties, un-check CanCollide, and set the transparency however you like.

5. Fill in the two spaces beside the door with the same color bricks as the rest of the mill walls. Put in another and stretch it to the top of the mill. Cap it off with a roof, group it, and anchor it.

6. Put in one more brick the same color as the walls. Make it a 2x2 brick and center it near the top of the mill. Set the visible front surface as motor. Anchor it.

7. Make a square brick that is not the same color as the rest of the mill. Give it a fair size, but still square, and set the side surfaces to weld. Put bricks on these welds and size them how you like. Group them, but do -not- anchor it.

8. Line up the center of the newly grouped piece with the motor brick. Select the motor brick and go to properties. Somewhere a piece will say left or right tread. Change that to constant. Above that there should be a number different than the rest of the tread sets. The higher it is, the faster the mill will spin. I suggest a value of "5".

9. Do whatever you want with the rest. For example, add stairs on the inside, a flag to the top, decals, textures, etc.

How to create a wind generator without a motor

  • Insert > object > part
  • Resize this part to be tall, thin and narrow. This will be your tower.
  • Anchor your tower.
  • Insert > object > part
  • Resize this part to be 1x1x1. This is more for aesthetics.
  • Move this part near the top of your tower.
  • Anchor this brick.
  • Insert > object > part
  • Resize this object to be an odd number (13x1x1). This will be the wings of your wind generator.
  • Click on the wings of your wind generator and:
  • Insert > object BodyPosition and
  • Insert > object BodyAngularVelocity

BodyPosition is easy: it's where the wings of your wind generator will be. Drag your wing up into place, and note where the Properties menu tells you where the bar is. Put those numbers into the Position entry of BodyPosition.

You can now change how the wind generator rotates by changing the BodyAngularVelocity from a positive to a negative number. Positive rotates one way, negative rotates the other way. You will only need one number -- the other two can be "zero". If you find that your wind generator is rotating on the wrong axis, simply fill in the number for another dimension (e.g., if "2,0,0" doesn't work, try "0,2,0" then "0,0,2").

NOTE: If you copy or move one of these, you have to tell it where the new position of the wings are, otherwise they go flying off back to the original position.

See also

Roblox Studio

Properties

Toolbar