27 May 2017
altitude and amount parameters.7 October 2015
The terraform command allows you to terraform land.
| Command | Required Parameters | Required Corrade Permissions | Required Abilities | Example |
|---|---|---|---|---|
terraform | group, password | land | |
In order to better understand how the terraform command works, consider a rectangular parallelepiped projected onto the a plane that represents the region map:
+---------+
/. /|
/ . / |
/ . / |
/ . / |
+----------------+---------+ |
^ | . | |
| NW +---| . | |--------------+
| /////| . | |//////////////
amount | //////| +....|....+------------------+
| ///////| . | ////////////// /
| ////////| . x | ////////////// /
| /////////| . position////////// / height
v //////////|. |////////////// /
+---------------------------------------------+
////////////|/////////|////////////
///Region//////////////////////////
+---------------------------------+
| | SE
+<------->+
width
With the following observations:
position parameter represents the center of the rectangle at the base of rectangular parallelepiped projected onto the region plane.width and height represent the width, respectively height of the rectangle at the base of the rectangular parallelepiped projected onto the region plane.amount represents the height of the rectangular parallelepiped on the $z$ axis.| Parameter | Possible Value | Description |
|---|---|---|
action | Any member name of the TerraformAction enumeration. | Whether to raise, lower, flatten, etc… |
brush | Any member name of the TerraformBrushSize enumeration. | The brush size. |
| Optional Parameter | Possible Value | Description |
|---|---|---|
amount | Positive or negative integer. | The size in meters (negative to lower, positive to raise, default is $1m$). |
altitude | An altitude in meters. | The altitude at which to apply the brush (default is $0m$, ground level). |
[video: secondlife_scripted_agents_corrade_api_terraform_demonstration.mp4]