[b]Author: StS73[/b]
Description:
Quickly build a matrix of power grid masts over a wide area. This script sets building sites beyond your power grid, even into the fog of war. You can build arbitrary grid sizes, even 100x100 masts if you want. [i]*Note that the script won't build, it just places construction sites. Once you have Shuttle Bots, you're no longer bound to your power network, so additional buildings will be built even faster.[/i] [b]*It only works when you place the behavior controller in a bot - you can't put it into a building [/b] [b]Usage:[/b]- Install Behavior Controller on any bot
- Load Behavior Script ‘Power Grid Matrix Builder 1.1’
- Click LMB on an existing building
- Open Library (L) -> Blueprints
- The selected building will appear in the list. Save it and give it a name so it doesn't get lost.
[b]After that:[/b]
- right-click on the Behavior Controller -> Program Behavior
- find Check & Build Subroutine -> Edit
- Add the building Blueprint to ‘Place Construction’
[b]Setting up the Behavior:[/b]
P1 - your reference building (or coordinates). The place on the map from which all others will be built.
P2 - Number of rows
P3 - Number of columns
P4 - The grid width (7 for small, 15 for medium power fields)
P7: X direction (1/0)
P8: Y direction (0/1)
[i]Use negative values in P7/P8 to have other build directions[/i]
Now you can press [b]Play[/b], and if everything is set up correctly, the bot will lay out a grid of buildings from the Blueprint you specified, so that other bots from the Logistic Network can start construction!
