Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
73 changes: 67 additions & 6 deletions campaign/sample/planets/planet55.lua
Original file line number Diff line number Diff line change
Expand Up @@ -550,7 +550,30 @@ local function GetPlanet(planetUtilities, planetID)
"spideraa",
},
commander = false,
midgameUnits = {
{
name = "striderdante",
x = 200,
z = 7000,
facing = 2,
spawnRadius = 50,
delay = 8*30*60,
orbitalDrop = true,
},
},
startUnits = {
{
name = "pw_metal",
x = 700,
z = 8000,
facing = 2,
},
{
name = "striderdante",
x = 200,
z = 7000,
facing = 2,
},
{
name = "staticmex",
x = 2456,
Expand Down Expand Up @@ -1301,7 +1324,51 @@ local function GetPlanet(planetUtilities, planetID)
"gunshipkrow",
},
commander = false,
midgameUnits = {
{
name = "gunshipkrow",
x = 6300,
z = 8000,
facing = 2,
spawnRadius = 50,
delay = 2*30*60,
orbitalDrop = true,
},
{
name = "striderdante",
x = 8000,
z = 7000,
facing = 2,
spawnRadius = 50,
delay = 8*30*60,
orbitalDrop = true,
},
},
startUnits = {
{
name = "pw_metal",
x = 7300,
z = 8000,
facing = 2,
},
{
name = "striderdante",
x = 8000,
z = 7000,
facing = 2,
},
{
name = "energypylon",
x = 7650,
z = 6100,
facing = 2,
},
{
name = "turretheavy",
x = 7620,
z = 5730,
facing = 2,
},
{
name = "turretaaflak",
x = 6440,
Expand Down Expand Up @@ -2057,12 +2124,6 @@ local function GetPlanet(planetUtilities, planetID)
z = 700,
facing = 0,
},
{
name = "striderfunnelweb",
x = 5400,
z = 700,
facing = 0,
},
{
name = "striderfunnelweb",
x = 5400,
Expand Down
115 changes: 84 additions & 31 deletions campaign/sample/planets/planet62.lua
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ local function GetPlanet(planetUtilities, planetID)
},
{
image = "unitpics/staticnuke.png",
text = [[Your ally is building a Trinity nuclear silo but the enemy is well protected by Antinukes. Destroy the Antinukes to give your team the upper hand.]]
text = [[Your ally has constructed a Trinity nuclear silo but the enemy is well protected by Antinukes. Destroy the Antinukes to give your team the upper hand.]]
},
},
gameConfig = {
Expand All @@ -57,6 +57,36 @@ local function GetPlanet(planetUtilities, planetID)

},
startUnits = {
{
name = "striderscorpion",
x = 1300,
z = 3800,
facing = 1,
},
{
name = "striderscorpion",
x = 1300,
z = 4000,
facing = 1,
},
{
name = "striderscorpion",
x = 1500,
z = 3900,
facing = 1,
},
{
name = "energyfusion",
x = 630,
z = 4260,
facing = 0,
},
{
name = "energyfusion",
x = 800,
z = 4420,
facing = 0,
},
{
name = "staticmex",
x = 920,
Expand Down Expand Up @@ -172,18 +202,6 @@ local function GetPlanet(planetUtilities, planetID)
{cmdID = planetUtilities.COMMAND.PATROL, pos = {1209, 3879}, options = {"shift"}},
},
},
{
name = "striderscorpion",
x = 1300,
z = 3800,
facing = 1,
},
{
name = "striderscorpion",
x = 1300,
z = 4000,
facing = 1,
},
{
name = "staticstorage",
x = 1048,
Expand Down Expand Up @@ -298,7 +316,6 @@ local function GetPlanet(planetUtilities, planetID)
x = 496,
z = 1776,
facing = 1,
buildProgress = 0.5,
},
{
name = "staticstorage",
Expand Down Expand Up @@ -1561,7 +1578,7 @@ local function GetPlanet(planetUtilities, planetID)
"energygeo",
"energypylon",
"staticstorage",
"turretmissile",
--"turretmissile",
"staticradar",
"staticcon",
"staticrearm",
Expand Down Expand Up @@ -1589,9 +1606,12 @@ local function GetPlanet(planetUtilities, planetID)
"planefighter",
"planeheavyfighter",
"bomberprec",
"bomberheavy",
--"bomberheavy",
"bomberdisarm",
},
difficultyDependantUnlocks = {
[4] = {"bomberheavy"},
},
commander = false,
startUnits = {
{
Expand Down Expand Up @@ -2828,7 +2848,7 @@ local function GetPlanet(planetUtilities, planetID)
}
},
{
humanName = "Enemy #2",
humanName = "Chevalier",
aiLib = "Circuit_difficulty_autofill",
bitDependant = true,
--aiLib = "Null AI",
Expand All @@ -2841,8 +2861,38 @@ local function GetPlanet(planetUtilities, planetID)
z = 1500,
facing = 2,
spawnRadius = 50,
delay = 7.5*30*60,
delay = 6*30*60,
orbitalDrop = true,
difficultyAtLeast = 3,
},
{
name = "striderbantha",
x = 8700,
z = 1500,
facing = 2,
spawnRadius = 50,
delay = 13*30*60,
orbitalDrop = true,
difficultyAtLeast = 2,
},
{
name = "striderbantha",
x = 8700,
z = 1500,
facing = 2,
spawnRadius = 50,
delay = 19*30*60,
orbitalDrop = true,
},
{
name = "striderbantha",
x = 8700,
z = 1500,
facing = 2,
spawnRadius = 50,
delay = 19*30*60,
orbitalDrop = true,
difficultyAtLeast = 4,
},
{
name = "striderarty",
Expand All @@ -2859,7 +2909,7 @@ local function GetPlanet(planetUtilities, planetID)
z = 1500,
facing = 2,
spawnRadius = 50,
delay = 2*30*60,
delay = 4*30*60,
orbitalDrop = true,
difficultyAtLeast = 3,
},
Expand All @@ -2869,7 +2919,7 @@ local function GetPlanet(planetUtilities, planetID)
z = 1500,
facing = 2,
spawnRadius = 50,
delay = 3.5*30*60,
delay = 8*30*60,
orbitalDrop = true,
},
{
Expand All @@ -2878,7 +2928,7 @@ local function GetPlanet(planetUtilities, planetID)
z = 1500,
facing = 2,
spawnRadius = 50,
delay = 9*30*60,
delay = 12*30*60,
orbitalDrop = true,
},
},
Expand All @@ -2890,7 +2940,7 @@ local function GetPlanet(planetUtilities, planetID)
"energygeo",
"energypylon",
"staticstorage",
"turretmissile",
--"turretmissile",
"staticradar",
"staticcon",
"staticrearm",
Expand All @@ -2917,10 +2967,13 @@ local function GetPlanet(planetUtilities, planetID)
"tankheavyarty",
"tankaa",
"tankriot",
"striderhub",
--"striderhub",
"striderdante",
"striderarty",
"striderbantha",
--"striderarty",
--"striderbantha",
},
difficultyDependantUnlocks = {
[4] = {"striderhub",}
},
commander = false,
startUnits = {
Expand Down Expand Up @@ -2959,7 +3012,7 @@ local function GetPlanet(planetUtilities, planetID)
x = 8340,
z = 6024,
facing = 3,
buildProgress = 0.2,
buildProgress = 0.1,
difficultyAtLeast = 1,
difficultyAtMost = 1,
},
Expand All @@ -2968,7 +3021,7 @@ local function GetPlanet(planetUtilities, planetID)
x = 8340,
z = 6024,
facing = 3,
buildProgress = 0.4,
buildProgress = 0.2,
difficultyAtLeast = 2,
difficultyAtMost = 2,
},
Expand All @@ -2977,7 +3030,7 @@ local function GetPlanet(planetUtilities, planetID)
x = 8340,
z = 6024,
facing = 3,
buildProgress = 0.6,
buildProgress = 0.3,
difficultyAtLeast = 3,
difficultyAtMost = 3,
},
Expand All @@ -2986,7 +3039,7 @@ local function GetPlanet(planetUtilities, planetID)
x = 8340,
z = 6024,
facing = 3,
buildProgress = 0.8,
buildProgress = 0.4,
difficultyAtLeast = 4,
difficultyAtMost = 4,
},
Expand Down Expand Up @@ -3901,13 +3954,13 @@ local function GetPlanet(planetUtilities, planetID)
[1] = {
satisfyOnce = true,
comparisionType = planetUtilities.COMPARE.AT_LEAST,
targetNumber = 5,
targetNumber = 6,
unitTypes = {
"striderscorpion",
},
image = planetUtilities.ICON_DIR .. "striderscorpion.png",
imageOverlay = planetUtilities.ICON_OVERLAY.REPAIR,
description = "Have 5 Scorpions",
description = "Have 6 Scorpions",
experience = planetUtilities.BONUS_EXP,
},
[2] = {
Expand Down