From NEAT Portal Wiki
Jump to: navigation, search
(Buildcity)
(Levy)
 
(25 intermediate revisions by 2 users not shown)
Line 34: Line 34:
 
! style="text-align:left;" | Example:
 
! style="text-align:left;" | Example:
 
|  
 
|  
levy 1
+
levy 1<br>
 
levy food<br>
 
levy food<br>
 
levy 3<br>
 
levy 3<br>
Line 78: Line 78:
 
|}
 
|}
  
Sets city production of resources.  You must use a number between 0 and 100 and there must be ONE space between the command and each value changed.
+
Sets city production of resources.  You must use a number between 0 and 100. This script will also adjust the corresponding [[Resource_Goals#Production|goal of the same name]].
  
 +
==SetFocus==
 +
 +
{| class="wikitable"
 +
! style="text-align:left;" | Usage:
 +
| setfocus
 +
|-
 +
! style="text-align:left;" | Example:
 +
| setfocus
 +
|}
 +
 +
The bot functions in a linear manner, moving from one city to the next after a given amount of time.  The ''setfocus'' command will  cause the bot to immediately focus on the city from which the command is issued for one task cycle. Enabling the Task Flow debug option will allow you to see what one task cycle is, and how long it lasts.
 +
 +
==RenameCity==
 +
 +
{| class="wikitable"
 +
! style="text-align:left;" | Usage:
 +
| renamecity newname [picture ID 1-4]
 +
|-
 +
! style="text-align:left;" | Example:
 +
|
 +
renamecity BottingRulz<br>
 +
renamecity BottingRulz 3
 +
|}
 +
 +
Change a city's name and (optionally) picture. The picture IDs are as follows:
 +
 +
1 - [[File:Citylogo_01.png]]<br>
 +
2 - [[File:Citylogo_02.png]]<br>
 +
3 - [[File:Citylogo_03.png]]<br>
 +
4 - [[File:Citylogo_04.png]]
 +
 +
<br>
  
 
==Evacuatetown==
 
==Evacuatetown==
Line 94: Line 126:
  
 
To cancel the evacuation use '''EndEvacuate'''.
 
To cancel the evacuation use '''EndEvacuate'''.
 +
  
 
==Teleport==
 
==Teleport==
Line 99: Line 132:
 
{| class="wikitable"
 
{| class="wikitable"
 
! style="text-align:left;" | Usage:
 
! style="text-align:left;" | Usage:
| teleport [state]
+
| teleport [state or coords]
 
|-
 
|-
 
! style="text-align:left;" | Example:
 
! style="text-align:left;" | Example:
| teleport saxony
+
|  
 +
teleport saxony<br>
 +
teleport 111,222
 
|-
 
|-
 
! style="text-align:left;" | States:
 
! style="text-align:left;" | States:
 
|  
 
|  
freisland, saxony, north march, bohemia,<br>
+
friesland, saxony, north march, bohemia,<br>
 
lower lorraine, franconia, thuringia, moravia,<br>
 
lower lorraine, franconia, thuringia, moravia,<br>
 
upper lorraine, swabia, bavaria, carinthia,<br>
 
upper lorraine, swabia, bavaria, carinthia,<br>
Line 112: Line 147:
 
|}
 
|}
  
Random teleports your city to the state specified.
+
Random teleports your city to the state specified, or if using coordinates instead will advanced teleport your city to the coordinates specified. When trying to advance teleport, the bot will first use the Pioneer teleports available after server merge if you have them.
  
 
==Abandon==
 
==Abandon==
Line 121: Line 156:
 
|-
 
|-
 
! style="text-align:left;" | Example:
 
! style="text-align:left;" | Example:
| abandon 111,222
+
|  
 +
abandon 111,222<br>
 
|}
 
|}
  
 
Abandon the valley at 111,222
 
Abandon the valley at 111,222
 
  
 
==AbandonTown==
 
==AbandonTown==
Line 131: Line 166:
 
{| class="wikitable"
 
{| class="wikitable"
 
! style="text-align:left;" | Usage:
 
! style="text-align:left;" | Usage:
| AbandonTown
+
| AbandonTown [city]
 
|-
 
|-
 
! style="text-align:left;" | Example:
 
! style="text-align:left;" | Example:
| abandontown
+
|
 +
abandontown 111,222<br>
 +
abandontown OtherCity
 
|}
 
|}
  
Abandontown should be used with care. It is used in the SCRIPTS TAB of the Town to be abandoned.  It is best to allow the bot to BUILD NPCs, but for whatever purpose you must use this command DOUBLE CHECK that it is in the City to be Abandoned.  Be sure to run 'evacuatetown' script command previous to using this command.
+
*You can only run ''abandontown'' from a different city than the one you want to abandon.
 +
*The city being abandoned can be referred to by name or coordinates.
 +
*The bot '''does not check''' for troops or heroes. Any heroes or troops in the town '''or travelling''' from the town will be irreplacably deleted.
 +
*Be sure your escaping troops have arrived at their destination before abandoning any city.
 +
 
 +
Abandontown should be used with care. It is best to allow the bot to BUILD NPCs, but for whatever purpose you must use this command DOUBLE CHECK that you have entered the correct coordinates or city name to be abandoned.  Be sure to run 'evacuatetown' script command previous to using this command if you have troops or resources in the city to be moved.
  
 
<span style="color:red">There are No 2nd Chances using this command!</span>
 
<span style="color:red">There are No 2nd Chances using this command!</span>
  
 
+
There is no crying in baseball.  If you accidentaly delete your level 850 training hero, we feel really bad for you, but don't come crying to usWe cannot get it back for you.
==SetGate==
 
 
 
{| class="wikitable"
 
! style="text-align:left;" | Usage:
 
| setgate boolean
 
|-
 
! style="text-align:left;" | Example:
 
|
 
setgate true<br>
 
setgate false
 
|}
 
 
 
True to open gate, false to close gate.
 
 
 
* NOTE : The Gate Config must be disabled with [[Combat_Goals#gate|"config gate:0"]] to enable this script command.
 
  
 
==Buildcity==
 
==Buildcity==
Line 172: Line 199:
  
 
To cancel a city building, use '''CancelBuildcity'''.
 
To cancel a city building, use '''CancelBuildcity'''.
 +
 +
<br>
 +
 +
<br>
 +
 +
<br>
 +
 +
<br>
 +
 +
<br>
 +
 +
 +
<br>
 +
 +
<br>
 +
 +
<br>
 +
 +
<br>

Latest revision as of 12:28, 13 September 2012

Comfort

Usage: comfort comforttype
Example:

comfort pray
comfort 1
comfort bless
comfort 4

Performs one of the comfort commands in the city that it is run from.

comforttype

1 relief
2 pray
3 bless
4 popraise

Levy

Usage: levy levytype
Example:

levy 1
levy food
levy 3
levy stone
levy 5

Performs one of the levy actions in the city run from.

levytype

1 gold
2 food
3 wood
4 stone
5 iron

SetTaxRate

Usage: settaxrate rate%
Example: settaxrate 20

Sets Tax Rate to 20%

Production

Usage: production food% wood% stone% iron%
Example: production 100 100 100 100

Sets city production of resources. You must use a number between 0 and 100. This script will also adjust the corresponding goal of the same name.

SetFocus

Usage: setfocus
Example: setfocus

The bot functions in a linear manner, moving from one city to the next after a given amount of time. The setfocus command will cause the bot to immediately focus on the city from which the command is issued for one task cycle. Enabling the Task Flow debug option will allow you to see what one task cycle is, and how long it lasts.

RenameCity

Usage: renamecity newname [picture ID 1-4]
Example:

renamecity BottingRulz
renamecity BottingRulz 3

Change a city's name and (optionally) picture. The picture IDs are as follows:

1 - Citylogo 01.png
2 - Citylogo 02.png
3 - Citylogo 03.png
4 - Citylogo 04.png


Evacuatetown

Usage: evacuatetown coords
Example: evacuatetown 111,222

This script command will tell the bot to send all troops and resources that it can carry to the specified coordinates from this city, in order for the town to be abandoned later. The bot will leave all of the heroes in the city. You must move them manually. This script should be run before config abandon:1 is used in goals.

To cancel the evacuation use EndEvacuate.


Teleport

Usage: teleport [state or coords]
Example:

teleport saxony
teleport 111,222

States:

friesland, saxony, north march, bohemia,
lower lorraine, franconia, thuringia, moravia,
upper lorraine, swabia, bavaria, carinthia,
burgundy, lombardy, tuscany, romagna

Random teleports your city to the state specified, or if using coordinates instead will advanced teleport your city to the coordinates specified. When trying to advance teleport, the bot will first use the Pioneer teleports available after server merge if you have them.

Abandon

Usage: abandon XXX,YYY
Example:

abandon 111,222

Abandon the valley at 111,222

AbandonTown

Usage: AbandonTown [city]
Example:

abandontown 111,222
abandontown OtherCity

  • You can only run abandontown from a different city than the one you want to abandon.
  • The city being abandoned can be referred to by name or coordinates.
  • The bot does not check for troops or heroes. Any heroes or troops in the town or travelling from the town will be irreplacably deleted.
  • Be sure your escaping troops have arrived at their destination before abandoning any city.

Abandontown should be used with care. It is best to allow the bot to BUILD NPCs, but for whatever purpose you must use this command DOUBLE CHECK that you have entered the correct coordinates or city name to be abandoned. Be sure to run 'evacuatetown' script command previous to using this command if you have troops or resources in the city to be moved.

There are No 2nd Chances using this command!

There is no crying in baseball. If you accidentaly delete your level 850 training hero, we feel really bad for you, but don't come crying to us. We cannot get it back for you.

Buildcity

Usage: buildcity xxx,yyy
Example: buildcity 111,222

Used to build a city on at 111,222. It will capture the flat for you.


To cancel a city building, use CancelBuildcity.