You can find the most recent published sources @ http://github.com/geckosoft/OpenRA/tree/gecko_ai
I'll use this topic to inform of changes.
If you think you got a great idea for a bot to have, do tell
To give you the idea of the bot layout (system not feature complete yet):
Code: Select all
RABot:
InternalName: Gecko AI | Cheats!
Brains:
RETURN_FIRE:
OnDamaged:
ReturnFire:
Triggers:
INIT_CHEATS: Called on start (gives fast building) - Dev mode must be enabled!
Enabled: true
Actions:
PlayerOrder: DevFastBuild
DisableTrigger:
DETECT_MCV_DEPLOYED:
Enabled: true
Actions:
Debug: MCV Deployed!
DisableTrigger:
Conditions:
Actors:
fact: Detect CY
<=Amount: 1
DETECT_CY_DESTROYED:
Enabled: false
Conditions:
Actors:
fact: Detect CY
Amount: 0
Actions:
Debug: Construction Yard destroyed!
DisableTrigger:
EnableTrigger: DETECT_MCV_DEPLOYED
Groups:
BASESETUP:
Priority: 2
Actors:
powr:
Id: PowerPlants
Priority: 1
proc:
Requirements:
Actors:
powr: 1
tent:
Requirements:
Actors:
powr: 1
proc: 1
barr:
Requirements:
Actors:
powr: 1
proc: 1
WARFACTORY:
Priority: 2
Actors:
weap: 1
Requirements:
Group: BASESETUP
BASEUNITS:
Priority: 3
Actors:
e1:
Chance: 50
Amount: 5
Brain: ONDAMAGEDTEST
e3:
Chance: 50
Amount: 5
Brain: ONDAMAGEDTEST
Requirements:
Group: BASESETUP
AUTOPOWR:
Priority: 3
Description: Automaticly builds Power Plants (POWR) when available energy is < 20% of total energy
Actors:
powr:
CountActors: false
Requirements:
Power:
Type: 1
<Available%: 20