This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
Jowajon's profile picture

Windmill Placer

Started by Jowajon, 29 June 2013 - 06:20 PM
Jowajon #1
Posted 29 June 2013 - 08:20 PM
Program Moved to http://www.computerc...dustrial-craft/

Overview:
Wind mills are fairly easy to make and make a decent amount of power in large numbers. The hardest part is placing them. This program places wind mills in a diamond or squared shaped pattern. The amount of wind mills is determined by the length which is set by you.

Uses:
Slot 1-13: Ultra-Low Voltage Cables or Glass Fiber Cables (6-7 per windmill)
Slot 14-15: Wind Mills
Slot 16: Fuel

Code:
V1.0: http://pastebin.com/5EcxD28Q
V1.1: http://pastebin.com/umVYFK5E
V1.7: http://pastebin.com/4C9N0j9b

Updates:
v1.1: Added a command line argument telling the program how many sections to put up. There are 4 sections with each section containing 15 wind mills. Without the command line argument, the program defaults to all 4 sections.
Ex: Say we call the program windmillPlacer. If i put in ( windmillPlacer 2 ) to run the program, it will put up 30 wind mills instead of 60.
v1.7: Changes the slots from cables being 1-14 to 1-13 and gives wind mills another slot. Also adds a length and another style.


Video (Old):
[media]http://youtu.be/WTr7p1hMAt8[/media]
David3148 #2
Posted 02 July 2013 - 03:24 AM
Cool thanks it really helped me get power at an early stage instead of Solars It may take a lot to build 60 of them but cheaper than solar panels :D/>
Jowajon #3
Posted 05 July 2013 - 11:06 PM
Your right David. I changed it so you can put up 15 windmills at a time instead of the full 60.