// Mono-space font required
{
"commander": {
	"prefix": "dyntrainer_",
	"suffix": "_base",
	"unit": {
		"support": {
			// Choice importance, 0 by default
			"importance": 0.25,

			// Starting units (order matters)
			"start": {
				"factory": {
					"factorycloak": [
						// [<weight>, [<role>, <role>, ...]]
						[0.9, ["raider", "raider", "builder", "raider", "raider", "builder", "raider", "raider", "raider", "raider"]],
						[0.1, ["raider", "builder", "riot", "builder", "raider", "raider", "raider", "raider", "builder", "raider", "raider"]]
					],
					"factorygunship": [
						[0.5, ["builder", "skirmish", "skirmish", "support", "skirmish", "skirmish"]],
						[0.5, ["scout", "support", "builder","support", "skirmish", "skirmish", "support", "skirmish", "skirmish"]]
					],
					"factoryamph": [
						[0.1, ["builder", "riot", "builder", "raider", "raider", "raider", "raider", "raider"]],
						[0.9, ["raider", "raider", "raider", "raider", "raider", "builder", "builder", "riot"]]
					],
					"factoryveh": [
						[0.1, ["scout", "builder", "scout", "skirmish", "builder", "raider", "raider", "raider", "raider", "raider", "raider"]],
						[0.9, ["scout", "builder", "scout", "riot", "builder", "raider", "builder", "raider", "raider", "raider"]]
					],
					"factoryhover": [
						[0.9, ["raider", "builder", "raider", "raider", "raider", "builder", "raider", "raider", "raider", "raider", "raider", "builder"]],
						[0.1, ["raider", "builder", "raider", "raider", "raider", "builder", "skirmish", "builder", "skirmish", "skirmish"]]
					],
					"factoryplane": [
						[0.5, ["anti_air", "builder", "anti_air", "anti_air"]],
						[0.5, ["anti_air", "builder", "anti_air", "builder"]]
					],
					"factorytank": [
						[0.5, ["builder", "scout", "scout", "builder", "raider", "raider",  "raider"]],
						[0.5, ["builder", "scout", "scout", "builder", "riot"]]
					],
					"factoryspider": [
						[0.5, ["scout", "builder", "scout", "scout", "scout", "scout", "scout", "riot", "scout", "builder", "scout", "riot", "scout", "builder"]],
						[0.5, ["scout", "builder", "scout", "scout", "scout", "scout", "riot", "scout", "builder", "support"]]
					],
					"factoryshield": [
						[0.5, ["builder", "scout", "raider", "scout", "scout", "raider", "raider", "builder", "builder"]],
						[0.5, ["builder", "scout", "scout", "raider", "raider", "builder", "raider", "raider", "raider"]]
					],
					"factoryjump": [
						[0.5, ["scout", "scout", "raider", "scout","builder", "scout", "raider"]],
						[0.5, ["scout", "scout", "scout", "scout", "builder", "raider", "scout", "raider"]]
					]
				},
				"default": ["riot", "raider", "builder"]
			},

			// Morph params
			"upgrade": {
				"time": 120,  // Force-morph delay, in seconds
				"module": [  // List of dynamic module IDs
					[13],  // shotgun
					[31, 42],  // Cloak, Nano
					[15, 41, 37],  // sniper, range, health
					[34, 34, 34],  // companion drones
					[35, 35, 35],  // battle drones
					[35, 35, 35],  // battle drones
					[35, 35, 34],  // battle drones, companion drones
					[34, 34, 34],  // companion drones
					[34, 40, 40],  // companion drones, speed
					[40, 40, 40],  // speed
					[40, 40, 40],  // speed
					[37, 37, 37],  // health
					[37, 37, 37],  // health
					[37, 36, 36],  // health, regen
					[36, 36, 36],  // regen
					[36, 36, 36],  // regen
					[42, 42, 42],  // nano
					[42, 42, 42],  // nano
					[42, 27, 29],  // nano, disruptor ammo, jammer
					[32, 33, 30],  // area cloak, lazarus, radar
					[41, 41, 41],  // range
					[41, 41, 41],  // range
					[41, 38, 38],  // range, high density
					[38, 38, 38],  // high density
					[38, 38, 38],  // high density
					[39, 39, 39],  // damage
					[39, 39, 39],  // damage
					[39, 39]  // damage
				]
			},

			// Commander hides if ("time" elapsed) and ("threat" exceeds value or enemy has "air")
			"hide": {
				"time": 480,  // seconds
				"threat": 30,
				"air": true
			}
		},
		"recon": {
			// Choice importance, 0 by default
			"importance": 0.65,

			// Starting units (order matters)
			"start": {
				"factory": {
					"factorycloak": [
						// [<weight>, [<role>, <role>, ...]]
						[0.9, ["raider", "raider", "builder", "raider", "raider", "raider", "raider", "builder", "raider", "raider", "raider", "raider"]],
						[0.1, ["raider", "builder", "riot", "builder", "raider", "raider", "raider", "raider"]]
						],
					"factorygunship": [
						[0.8, ["support", "support", "support", "support", "skirmish", "skirmish", "support", "skirmish", "skirmish"]],
						[0.2, ["scout", "support", "builder","support", "skirmish", "skirmish", "support", "skirmish", "skirmish"]]
					],
					"factoryamph": [
						[0.1, ["builder", "riot", "builder", "raider", "raider", "raider", "raider", "raider"]],
						[0.9, ["raider", "raider", "raider", "raider", "raider", "builder", "builder", "riot"]]
					],
					"factoryveh": [
						[0.2, ["scout", "scout", "builder", "raider", "raider", "raider", "raider", "builder", "scout"]],
						[0.8, ["scout",  "raider", "scout", "raider", "raider", "raider", "builder", "builder", "scout", "raider", "raider"]]
					],
					"factoryhover": [
						[0.5, ["raider", "builder", "raider", "raider", "raider", "raider", "builder", "raider", "raider", "raider", "raider", "raider", "builder"]],
						[0.5, ["raider", "builder", "raider", "raider", "raider", "raider", "builder", "skirmish", "builder", "skirmish", "skirmish"]]
					],
					"factoryplane": [
						[0.5, ["anti_air", "builder", "anti_air", "anti_air"]],
						[0.5, ["anti_air", "builder", "anti_air", "builder"]]
					],
					"factorytank": [
						[0.5, ["builder", "scout", "scout", "builder", "raider", "raider",  "raider"]],
						[0.5, ["builder", "scout", "scout", "builder", "assault"]]
					],
					"factoryspider": [
						[0.5, ["scout", "scout", "scout", "scout", "scout", "scout", "riot", "scout", "builder", "scout", "riot", "scout", "builder"]],
						[0.5, ["scout", "scout", "scout", "scout", "scout", "scout", "scout", "scout", "scout", "scout", "scout", "scout", "builder", "riot", "scout", "builder", "support"]]
					],
					"factoryshield": [
						[0.5, ["scout", "raider", "raider", "raider", "builder", "builder"]],
						[0.5, ["scout", "builder", "raider", "raider", "builder", "raider", "raider", "raider"]]
					],
					"factoryjump": [
						[0.5, ["scout", "scout", "raider", "builder", "scout", "raider"]],
						[0.5, ["scout", "scout", "scout", "builder", "scout", "raider", "scout", "raider"]]
					]
				},
				"default": ["raider", "raider", "builder"]
			},

			// Morph params
			"upgrade": {
				"time": 120,  // Force-morph delay, in seconds
				"module": [  // List of dynamic module IDs
					[7, 30],  // Machinegun
					[31, 36],  // Cloak, Regen
					[19, 38, 39],  // disruptor bomb, high density, damage boost
					[34, 34, 34],  // companion drones
					[34, 34, 34],  // companion drones
					[34, 34, 40],  // companion drones, speed
					[40, 40, 40],  // speed
					[40, 40, 40],  // speed
					[40, 37, 37],  // speed, health
					[37, 37, 37],  // health
					[37, 37, 37],  // health
					[36, 36, 36],  // regen
					[36, 36, 36],  // regen
					[36, 42, 42],  // regen, builder
					[42, 42, 42],  // builder
					[42, 42, 42],  // builder
					[30, 27, 29],  // radar, disruptor ammo, jammer
					[41, 41, 41],  // range
					[41, 41, 41],  // range
					[41, 41, 39],  // range, damage
					[39, 39, 39],  // damage
					[39, 39, 39],  // damage
					[38, 38, 38],  // high density
					[38, 38, 38],  // high density
					[38]  // high density
				]
			},

			// Commander hides if ("time" elapsed) and ("threat" exceeds value or enemy has "air")
			"hide": {
				"time": 480,  // seconds
				"threat": 20,
				"air": true
			}
		},
		"assault": {
			// Choice importance, 0 by default
			"importance": 0.25,

			// Starting units (order matters)
			"start": {
				"factory": {
					"factorycloak": [
						// [<weight>, [<role>, <role>, ...]]
						[0.8, ["raider", "raider", "builder", "raider", "raider", "builder", "raider", "raider", "raider", "raider"]],
						[0.2, ["raider", "builder", "riot", "builder", "raider", "raider", "raider", "raider"]]
					],
					"factorygunship": [
						[0.5, ["support", "support", "support", "support", "skirmish", "skirmish", "support", "skirmish", "skirmish"]],
						[0.5, ["anti_heavy"]]
					],
					"factoryamph": [
						[0.2, ["builder", "riot", "builder", "raider", "raider", "raider", "raider", "raider"]],
						[0.8, ["raider", "raider", "raider", "raider", "raider", "builder", "builder", "riot", "raider", "builder", "raider"]]
					],
					"factoryveh": [
						[0.10, ["scout", "builder", "skirmish", "builder", "riot", "builder", "scout", "scout", "scout", "skirmish", "skirmish", "skirmish"]],
						[0.15, ["scout", "scout", "builder", "riot", "builder", "skirmish", "builder", "skirmish", "skirmish", "skirmish", "skirmish", "builder", "riot"]],
						[0.75, ["scout", "scout", "raider", "raider", "builder", "builder", "raider", "raider", "raider", "raider", "raider", "builder", "scout"]]
					],
					"factoryhover": [
						[0.5, ["builder", "raider", "raider", "raider", "raider", "builder", "raider", "raider", "raider", "raider", "raider", "builder"]],
						[0.5, ["builder", "raider", "raider", "raider", "raider", "builder", "skirmish", "builder", "skirmish", "skirmish"]]
					],
					"factoryplane": [
						[0.5, ["anti_air", "builder", "anti_air", "anti_air"]],
						[0.5, ["anti_air", "builder", "anti_air", "builder"]]
					],
					"factorytank": [
						[0.5, ["riot", "builder", "assault", "builder", "assault", "builder", "builder", "heavy"]],
						[0.25, ["raider", "builder", "raider", "builder", "raider", "raider", "raider", "builder", "assault"]],
						[0.25, ["builder", "riot", "builder", "riot", "assault", "builder", "assault"]]
					],
					"factoryspider": [
						[0.5, ["scout", "scout", "scout", "builder", "scout", "scout", "scout", "riot", "scout", "builder", "scout", "riot", "scout", "builder"]],
						[0.5, ["scout", "scout", "scout", "scout", "scout", "scout", "scout", "scout", "scout", "scout", "scout", "scout", "builder", "riot", "scout", "builder", "support"]]
					],
					"factoryshield": [
						[0.5, ["scout", "scout", "scout", "builder", "scout", "raider", "raider", "raider", "builder", "builder"]],
						[0.5, ["scout", "builder", "raider", "raider", "scout", "scout", "scout", "builder", "raider", "raider", "raider"]]
					],
					"factoryjump": [
						[0.5, ["scout", "scout", "raider", "scout", "builder", "assault"]],
						[0.5, ["scout", "scout", "builder", "raider", "scout", "raider", "builder", "raider"]]
					]
				},
				"default": ["raider", "raider", "builder"]
			},

			// Morph params
			"upgrade": {
				"time": 120,  // Force-morph delay, in seconds
				"module": [  // List of dynamic module IDs
					[11, 30],  // shotgun
					[24, 37],  // shield, health
					[11, 41, 41],  // Double Riot, range
					[38, 41, 41],  // high density, range
					[36, 41, 36],  // regen, range, regen
					[41, 41, 41],  // range
					[39, 39, 39],  // damage
					[39, 39, 39],  // damage
					[39, 39, 25],  // damage, area shield
					[26, 29, 30],  // napalm, jammer, radar
					[34, 34, 34],  // companion drones
					[34, 34, 34],  // companion drones
					[34, 34, 40],  // companion drones, speed
					[40, 40, 40],  // speed
					[40, 40, 40],  // speed
					[40, 36, 36],  // speed, regen
					[36, 36, 36],  // regen
					[36, 42, 42],  // regen, nano
					[42, 42, 42],  // nano
					[42, 42, 42],  // nano
					[37, 37, 37],  // health
					[37, 37, 37],  // health
					[37, 38, 38],  // health, high density
					[38, 38, 38],  // high density
					[38, 38]  // high density
				]
			},

			// Commander hides if ("time" elapsed) and ("threat" exceeds value or enemy has "air")
			"hide": {
				"time": 480,  // seconds
				"threat": 60,
				"air": true
			}
		},
		"strike": {
		   // Choice importance, 0 by default
			"importance": 0.1,

			// Starting units (order matters)
			"start": {
				"factory": {
					"factorycloak": [
						// [<weight>, [<role>, <role>, ...]]
						[0.8, ["raider", "raider", "builder", "raider", "raider", "builder", "raider", "raider", "raider", "raider"]],
						[0.2, ["builder", "riot", "builder", "raider", "raider", "raider", "raider"]]
					],
					"factorygunship": [
						[0.5, ["support", "support", "support", "support", "skirmish", "skirmish", "support", "skirmish", "skirmish"]],
						[0.5, ["scout", "support", "builder","support", "skirmish", "skirmish", "support", "skirmish", "skirmish"]]
					],
					"factoryamph": [
						[0.2, ["builder", "riot", "builder", "raider", "raider", "raider", "raider", "raider"]],
						[0.8, ["raider", "raider", "raider", "raider", "raider", "builder", "builder", "riot", "raider", "builder", "raider"]]
					],
					"factoryveh": [
						[0.1, ["scout", "scout", "scout", "builder", "skirmish", "builder", "skirmish", "skirmish", "skirmish", "scout", "builder", "riot"]],
						[0.9, ["scout",  "scout",  "raider", "raider", "raider", "raider", "raider", "builder", "builder", "scout",  "raider", "raider", "raider", "raider", "raider", "builder"]]
					],
					"factoryhover": [
						[0.5, ["builder", "raider", "raider", "raider", "raider", "builder", "raider", "raider", "raider", "raider", "raider", "builder"]],
						[0.5, ["builder", "raider", "raider", "raider", "raider", "builder", "raider", "raider", "raider", "skirmish", "builder", "skirmish", "skirmish"]]
					],
					"factoryplane": [
						[0.5, ["anti_air", "builder", "anti_air", "anti_air"]],
						[0.5, ["anti_air", "builder", "anti_air", "builder"]]
					],
					"factorytank": [
						[0.25, ["riot", "builder", "assault", "builder", "assault", "builder", "builder", "assault"]],
						[0.5, ["raider", "builder", "raider", "builder", "raider", "raider", "raider", "builder", "assault"]],
						[0.25, ["builder", "riot", "builder", "riot", "assault", "builder", "assault"]]
					],
					"factoryspider": [
						[0.5, ["scout", "scout", "scout", "scout", "scout", "scout", "riot", "scout", "builder", "scout", "riot", "scout", "builder"]],
						[0.5, ["scout", "scout", "scout", "scout", "scout", "scout", "scout", "scout", "scout", "scout", "scout", "scout", "builder", "riot", "scout", "builder", "support"]]
					],
					"factoryshield": [
						[0.5, ["scout", "raider", "raider", "raider", "builder", "builder"]],
						[0.5, ["scout", "builder", "raider", "raider", "builder", "raider", "raider", "raider"]]
					],
					"factoryjump": [
						[0.5, ["scout", "scout", "scout", "scout", "raider", "raider"]],
						[0.5, ["scout", "scout", "scout", "scout", "builder", "raider", "raider"]]
					]
				},
				"default": ["raider", "raider", "builder"]
			},

			// Morph params
			"upgrade": {
				"time": 120,  // Force-morph delay, in seconds
				"module": [  // List of dynamic module IDs
					[4, 30],  // beam laser
					[31, 36],  // cloak, regen
					[8, 40, 36],  // lightning, speed, regen
					[37, 40, 36],  // health, speed, regen
					[37, 40, 36],  // health, speed, regen
					[37, 40, 36],  // health, speed, regen
					[37, 40, 36],  // health, speed, regen
					[40, 40, 40],  // speed
					[28, 29, 30],  // flux, jammer, radar
					[36, 36, 37],  // regen, health
					[37, 37, 37],  // health
					[32, 41, 41],  // area cloak, range
					[41, 41, 41],  // range
					[41, 41, 41],  // range
					[34, 34, 34],  // companion drones
					[34, 34, 34],  // companion drones
					[34, 34, 42],  // companion drones, nano
					[42, 42, 42],  // nano
					[42, 42, 42],  // nano
					[42, 39, 39],  // nano, damage
					[39, 39, 39],  // damage
					[39, 39, 39],  // damage
					[38, 38, 38],  // high density
					[38, 38, 38],  // high density
					[38, 38]  // high density
				]
			},

			// Commander hides if ("time" elapsed) and ("threat" exceeds value or enemy has "air")
			"hide": {
				"time": 480,  // seconds
				"threat": 50,
				"air": true
			}
		}
	}
}
} 
