What would the exact steps be to produce this?
1) Create a folder in your add-ons folder, call it something like "Script_MyFirstScript". The path to this folder should now look like:
C:\Program Files\Blockland\Add-Ons\Script_MyFirstScript.
2) In this Folder, create a description.txt file. The contents of this file look like this:
Title: Script
Author: Elvis Presley
A Script
3) Create a new file, called namecheck.txt. I've made the contents of this file to be:
Script_MyFirstScript
4) The last, and most important, are a file called script.cs -- create this file with notepad as well. The contents of this file are what you need to make a scripted pattern work:
for( %i = 0 ; %i < 1000 ; %i++ )
{
%a=0.5;
%posx = 2*%a*mCos(%i)+%a*mCos(2*%i);
%posz = 2*%a*mSin(%i)-%a*mSin(2*%i);
%posy = 1;
%temp = new fxDTSBrick()
{
datablock = "brick1x1Data";
position = 50*%posx SPC %posy SPC 50*%posz;
rotation = "0 0 0 0";
colorID = "16";
scale = "1 1 1";
angleID = "0";
colorfxID = "0";
shapefxID = "0";
isPlanted = 1;
};
}
5) Start up Blockland. Choose the "Construct" game. Select "Script_MyFirstScript" in the add-on list, otherwise it won't run.
That's it!