Skip to content

Commit

Permalink
AI testcase
Browse files Browse the repository at this point in the history
  • Loading branch information
dnqbob committed Dec 12, 2022
1 parent b45342b commit 75b39fd
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 6 deletions.
7 changes: 7 additions & 0 deletions mods/d2k/rules/ai.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@ Player:
GrantConditionOnBotOwner@gladius:
Condition: enable-gladius-ai
Bots: gladius
CashTrickler@CashCheat: ## enough cash to build early game infantry, always on for megawealth
Interval: 500
Amount: 400
ShowTicks: false
RequiresCondition: enable-omnius-ai || enable-vidious-ai || enable-gladius-ai
SupportPowerBotModule:
RequiresCondition: enable-omnius-ai || enable-vidious-ai || enable-gladius-ai
Decisions:
Expand Down Expand Up @@ -222,6 +227,7 @@ Player:
RequiresCondition: enable-omnius-ai
SquadSize: 8
MaxBaseRadius: 40
MinimumAttackForceDelay: 2500
ExcludeFromSquadsTypes: harvester, mcv, carryall, carryall.reinforce, ornithopter
ConstructionYardTypes: construction_yard
IgnoredEnemyTargetTypes: Creep
Expand Down Expand Up @@ -263,6 +269,7 @@ Player:
McvTypes: mcv
ConstructionYardTypes: construction_yard
McvFactoryTypes: heavy_factory, starport
MinimumConstructionYardCount: 5
SquadManagerBotModule@vidious:
RequiresCondition: enable-vidious-ai
SquadSize: 6
Expand Down
13 changes: 7 additions & 6 deletions mods/d2k/rules/world.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -175,53 +175,54 @@ World:
Class: none
ClassName: mcv-only
BaseActor: mcv
SupportActors: carryall,carryall, carryall, carryall
Factions: atreides, ordos, harkonnen
StartingUnits@lightatreides:
Class: light
ClassName: light-support
Factions: atreides
BaseActor: mcv
SupportActors: light_inf, light_inf, light_inf, trooper, grenadier, trike, quad
SupportActors: light_inf, light_inf, light_inf, trooper, grenadier, trike, quad, carryall,carryall, carryall, carryall
InnerSupportRadius: 3
OuterSupportRadius: 5
StartingUnits@lightharkonnen:
Class: light
ClassName: light-support
Factions: harkonnen
BaseActor: mcv
SupportActors: light_inf, light_inf, light_inf, trooper, trooper, trike, quad
SupportActors: light_inf, light_inf, light_inf, trooper, trooper, trike, quad, carryall,carryall, carryall, carryall
InnerSupportRadius: 3
OuterSupportRadius: 5
StartingUnits@lightordos:
Class: light
ClassName: light-support
Factions: ordos
BaseActor: mcv
SupportActors: light_inf, light_inf, light_inf, trooper, engineer, raider, quad
SupportActors: light_inf, light_inf, light_inf, trooper, engineer, raider, quad, carryall,carryall, carryall, carryall
InnerSupportRadius: 3
OuterSupportRadius: 5
StartingUnits@heavyatreides:
Class: heavy
ClassName: heavy-support
Factions: atreides
BaseActor: mcv
SupportActors: light_inf, light_inf, light_inf, trooper, grenadier, trike, combat_tank_a, missile_tank
SupportActors: light_inf, light_inf, light_inf, trooper, grenadier, trike, combat_tank_a, missile_tank, carryall,carryall, carryall, carryall
InnerSupportRadius: 3
OuterSupportRadius: 5
StartingUnits@heavyharkonnen:
Class: heavy
ClassName: heavy-support
Factions: harkonnen
BaseActor: mcv
SupportActors: light_inf, light_inf, light_inf, trooper, engineer, quad, combat_tank_h, siege_tank
SupportActors: light_inf, light_inf, light_inf, trooper, engineer, quad, combat_tank_h, siege_tank, carryall,carryall, carryall, carryall
InnerSupportRadius: 3
OuterSupportRadius: 5
StartingUnits@heavyordos:
Class: heavy
ClassName: heavy-support
Factions: ordos
BaseActor: mcv
SupportActors: light_inf, light_inf, light_inf, trooper, engineer, raider, combat_tank_o, missile_tank
SupportActors: light_inf, light_inf, light_inf, trooper, engineer, raider, combat_tank_o, missile_tank, carryall,carryall, carryall, carryall
InnerSupportRadius: 3
OuterSupportRadius: 5
SpawnStartingUnits:
Expand Down

0 comments on commit 75b39fd

Please sign in to comment.