Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3c56f1c
commit e38eaf4
Showing
30 changed files
with
947 additions
and
301 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
71 changes: 71 additions & 0 deletions
71
LuaRules/Gadgets/scavengers/Blueprints/EvoRTS/Constructor/placeholder.lua
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
|
||
-- table.insert(ScavengerBlueprintsT0,FunctionName) | ||
-- table.insert(ScavengerBlueprintsT1,FunctionName) | ||
-- table.insert(ScavengerBlueprintsT2,FunctionName) | ||
-- table.insert(ScavengerBlueprintsT3,FunctionName) | ||
|
||
-- example blueprint: | ||
-- local function a(posx, posy, posz, GaiaTeamID, radiusCheck) | ||
-- local posradius = 120 | ||
-- if radiusCheck then | ||
-- return posradius | ||
-- else | ||
-- Spring.CreateUnit("unitname", posx, posy, posz, math.random(0,3),GaiaTeamID) | ||
-- Spring.CreateUnit("unitname", posx-100, posy, posz, math.random(0,3),GaiaTeamID) | ||
-- Spring.CreateUnit("unitname", posx+100, posy, posz, math.random(0,3),GaiaTeamID) | ||
-- Spring.CreateUnit("unitname", posx, posy, posz-100, math.random(0,3),GaiaTeamID) | ||
-- Spring.CreateUnit("unitname", posx, posy, posz+100, math.random(0,3),GaiaTeamID) | ||
-- end | ||
-- end | ||
-- table.insert(ScavengerBlueprintsT1,a) | ||
|
||
local UDN = UnitDefNames | ||
|
||
local function placeholderradar1(scav, posx, posy, posz, GaiaTeamID, radiusCheck) | ||
local posradius = 150 | ||
if radiusCheck then | ||
return posradius | ||
else | ||
Spring.GiveOrderToUnit(scav, -(UDN.eradar2.id), {posx, posy, posz, 0}, {"shift"}) | ||
Spring.GiveOrderToUnit(scav, -(UDN.elightturret2.id), {posx-200, posy, posz, 0}, {"shift"}) | ||
Spring.GiveOrderToUnit(scav, -(UDN.elightturret2.id), {posx+200, posy, posz, 0}, {"shift"}) | ||
Spring.GiveOrderToUnit(scav, -(UDN.elightturret2.id), {posx, posy, posz-200, 0}, {"shift"}) | ||
Spring.GiveOrderToUnit(scav, -(UDN.elightturret2.id), {posx, posy, posz+200, 0}, {"shift"}) | ||
end | ||
end | ||
table.insert(ScavengerConstructorBlueprintsT0,placeholderradar1) | ||
table.insert(ScavengerConstructorBlueprintsT1,placeholderradar1) | ||
table.insert(ScavengerConstructorBlueprintsT2,placeholderradar1) | ||
table.insert(ScavengerConstructorBlueprintsT3,placeholderradar1) | ||
|
||
local function placeholderradar2(scav, posx, posy, posz, GaiaTeamID, radiusCheck) | ||
local posradius = 150 | ||
if radiusCheck then | ||
return posradius | ||
else | ||
Spring.GiveOrderToUnit(scav, -(UDN.eradar2.id), {posx, posy, posz, 0}, {"shift"}) | ||
Spring.GiveOrderToUnit(scav, -(UDN.eheavyturret2.id), {posx-200, posy, posz, 0}, {"shift"}) | ||
Spring.GiveOrderToUnit(scav, -(UDN.eheavyturret2.id), {posx+200, posy, posz, 0}, {"shift"}) | ||
Spring.GiveOrderToUnit(scav, -(UDN.eheavyturret2.id), {posx, posy, posz-200, 0}, {"shift"}) | ||
Spring.GiveOrderToUnit(scav, -(UDN.eheavyturret2.id), {posx, posy, posz+200, 0}, {"shift"}) | ||
end | ||
end | ||
table.insert(ScavengerConstructorBlueprintsT2,placeholderradar2) | ||
table.insert(ScavengerConstructorBlueprintsT3,placeholderradar2) | ||
|
||
local function placeholderradar1(scav, posx, posy, posz, GaiaTeamID, radiusCheck) | ||
local posradius = 150 | ||
if radiusCheck then | ||
return posradius | ||
else | ||
Spring.GiveOrderToUnit(scav, -(UDN.emine.id), {posx, posy, posz, 0}, {"shift"}) | ||
Spring.GiveOrderToUnit(scav, -(UDN.emine.id), {posx-100, posy, posz, 0}, {"shift"}) | ||
Spring.GiveOrderToUnit(scav, -(UDN.emine.id), {posx+100, posy, posz, 0}, {"shift"}) | ||
Spring.GiveOrderToUnit(scav, -(UDN.emine.id), {posx, posy, posz-100, 0}, {"shift"}) | ||
Spring.GiveOrderToUnit(scav, -(UDN.emine.id), {posx, posy, posz+100, 0}, {"shift"}) | ||
end | ||
end | ||
table.insert(ScavengerConstructorBlueprintsT0,placeholderradar1) | ||
table.insert(ScavengerConstructorBlueprintsT1,placeholderradar1) | ||
table.insert(ScavengerConstructorBlueprintsT2,placeholderradar1) | ||
table.insert(ScavengerConstructorBlueprintsT3,placeholderradar1) |
File renamed without changes.
File renamed without changes.
27 changes: 27 additions & 0 deletions
27
LuaRules/Gadgets/scavengers/Configs/EvoRTS/UnitLists/air.lua
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
T0AirUnits = { | ||
"escoutdrone", | ||
"zairscout", | ||
} | ||
|
||
T1AirUnits = { | ||
"efighter", | ||
"zairtoairfighter", | ||
} | ||
|
||
T2AirUnits = { | ||
"egunship2", | ||
"ebomber", | ||
"zairtogroundfighter", | ||
"zairbomber", | ||
} | ||
|
||
T3AirUnits = { | ||
"egunship2", | ||
"ebomber", | ||
"zairbomber", | ||
} | ||
|
||
T4AirUnits = { | ||
"ekrow", | ||
"ekrow", | ||
} |
40 changes: 40 additions & 0 deletions
40
LuaRules/Gadgets/scavengers/Configs/EvoRTS/UnitLists/constructors.lua
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
ConstructorsList = { | ||
"ecommander", | ||
"ecommanderbuild", | ||
"ecommandercloak", | ||
"ecommandershield", | ||
"ehbotengineer", | ||
} | ||
|
||
-- put ALL commander units from your game here | ||
CommandersList = { | ||
"ecommander", | ||
"ecommanderbattle", | ||
"ecommanderbuild", | ||
"ecommandercloak", | ||
"ecommanderfactory", | ||
"ecommandermeteor", | ||
"ecommandershield", | ||
} | ||
|
||
ConstructorsCounter = { | ||
UDN.ecommander.id, | ||
UDN.ecommanderbuild.id, | ||
UDN.ecommandercloak.id, | ||
UDN.ecommandershield.id, | ||
UDN.ehbotengineer.id, | ||
} | ||
|
||
AssistUnits = { | ||
"eorb", | ||
"zconstructor", | ||
} | ||
|
||
Resurrectors = { | ||
} | ||
|
||
ResurrectorsSea = { | ||
} | ||
|
||
Collectors = { | ||
} |
11 changes: 11 additions & 0 deletions
11
LuaRules/Gadgets/scavengers/Configs/EvoRTS/UnitLists/factories.lua
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
Factories = { | ||
"ebasefactory", | ||
"eminifac", | ||
"eamphibfac", | ||
"ehbotfac", | ||
"eairplant", | ||
"zhatch", | ||
} | ||
|
||
FactoriesExcludedUnits = { | ||
} |
64 changes: 64 additions & 0 deletions
64
LuaRules/Gadgets/scavengers/Configs/EvoRTS/UnitLists/land.lua
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
T0LandUnits = { | ||
"eallterrlight", | ||
"eamphibbuggy", | ||
"ehbotpeewee", | ||
"elighttank3", | ||
"zlightswarm", | ||
} | ||
|
||
T1LandUnits = { | ||
"eallterrlight", | ||
"eamphibbuggy", | ||
"ehbotpeewee", | ||
"elighttank3", | ||
"zlightswarm", | ||
"eallterrriot", | ||
"eallterrriot_shotgun", | ||
"eallterrmed", | ||
"eamphibneedle", | ||
"eamphibriot", | ||
"eamphibriot_shotgun", | ||
"ehbotthud", | ||
"eriottank2", | ||
"eriottank2_shotgun", | ||
"eallterrassault", | ||
"eamphibarty", | ||
"eartytank", | ||
"eartytank_saturation", | ||
"zmedswarm", | ||
"zpyro", | ||
} | ||
|
||
T2LandUnits = { | ||
"eallterrheavy", | ||
"eallterrshield", | ||
"eamphibmedtank", | ||
"eamphibrock", | ||
"ehbotrocko", | ||
"ehbotsniper", | ||
"eheavytank3", | ||
"emissiletank", | ||
"zskirmisher", | ||
"zassault", | ||
} | ||
|
||
T3LandUnits = { | ||
"eallterrheavy", | ||
"eallterrshield", | ||
"eamphibmedtank", | ||
"eamphibrock", | ||
"ehbotrocko", | ||
"ehbotsniper", | ||
"eheavytank3", | ||
"emissiletank", | ||
"zskirmisher", | ||
"zassault", | ||
} | ||
|
||
T4LandUnits = { | ||
"eallterranarchid", | ||
"eamphibleveler", | ||
"ehbotkarganneth", | ||
"elacerator", | ||
"zqueen", | ||
} |
136 changes: 136 additions & 0 deletions
136
LuaRules/Gadgets/scavengers/Configs/EvoRTS/UnitLists/reinforcements.lua
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,136 @@ | ||
T1ReinforcementLandUnits = { | ||
"eallterrlight", | ||
"eamphibbuggy", | ||
"ehbotpeewee", | ||
"elighttank3", | ||
"zlightswarm", | ||
"eallterrriot", | ||
"eallterrriot_shotgun", | ||
"eallterrmed", | ||
"eamphibneedle", | ||
"eamphibriot", | ||
"eamphibriot_shotgun", | ||
"ehbotthud", | ||
"eriottank2", | ||
"eriottank2_shotgun", | ||
"eallterrassault", | ||
"eamphibarty", | ||
"eartytank", | ||
"eartytank_saturation", | ||
"zmedswarm", | ||
"zpyro", | ||
} | ||
|
||
T2ReinforcementLandUnits = { | ||
"eallterrheavy", | ||
"eallterrshield", | ||
"eamphibmedtank", | ||
"eamphibrock", | ||
"ehbotrocko", | ||
"ehbotsniper", | ||
"eheavytank3", | ||
"emissiletank", | ||
"zskirmisher", | ||
"zassault", | ||
} | ||
|
||
T3ReinforcementLandUnits = { | ||
"eallterrheavy", | ||
"eallterrshield", | ||
"eamphibmedtank", | ||
"eamphibrock", | ||
"ehbotrocko", | ||
"ehbotsniper", | ||
"eheavytank3", | ||
"emissiletank", | ||
"zskirmisher", | ||
"zassault", | ||
} | ||
|
||
T4ReinforcementLandUnits = { | ||
"eallterranarchid", | ||
"eamphibleveler", | ||
"ehbotkarganneth", | ||
"elacerator", | ||
"zqueen", | ||
} | ||
|
||
T1ReinforcementAirUnits = { | ||
"efighter", | ||
"zairtoairfighter", | ||
} | ||
|
||
T2ReinforcementAirUnits = { | ||
"egunship2", | ||
"ebomber", | ||
"zairtogroundfighter", | ||
"zairbomber", | ||
} | ||
|
||
T3ReinforcementAirUnits = { | ||
"egunship2", | ||
"ebomber", | ||
"zairbomber", | ||
} | ||
|
||
T4ReinforcementAirUnits = { | ||
"ekrow", | ||
"ekrow", | ||
} | ||
|
||
T1ReinforcementSeaUnits = { | ||
"eallterrlight", | ||
"eamphibbuggy", | ||
"ehbotpeewee", | ||
"elighttank3", | ||
"zlightswarm", | ||
"eallterrriot", | ||
"eallterrriot_shotgun", | ||
"eallterrmed", | ||
"eamphibneedle", | ||
"eamphibriot", | ||
"eamphibriot_shotgun", | ||
"ehbotthud", | ||
"eriottank2", | ||
"eriottank2_shotgun", | ||
"eallterrassault", | ||
"eamphibarty", | ||
"eartytank", | ||
"eartytank_saturation", | ||
"zmedswarm", | ||
"zpyro", | ||
} | ||
|
||
T2ReinforcementSeaUnits = { | ||
"eallterrheavy", | ||
"eallterrshield", | ||
"eamphibmedtank", | ||
"eamphibrock", | ||
"ehbotrocko", | ||
"ehbotsniper", | ||
"eheavytank3", | ||
"emissiletank", | ||
"zskirmisher", | ||
"zassault", | ||
} | ||
|
||
T3ReinforcementSeaUnits = { | ||
"eallterrheavy", | ||
"eallterrshield", | ||
"eamphibmedtank", | ||
"eamphibrock", | ||
"ehbotrocko", | ||
"ehbotsniper", | ||
"eheavytank3", | ||
"emissiletank", | ||
"zskirmisher", | ||
"zassault", | ||
} | ||
|
||
T4ReinforcementSeaUnits = { | ||
"eallterranarchid", | ||
"eamphibleveler", | ||
"ehbotkarganneth", | ||
"elacerator", | ||
"zqueen", | ||
} |
14 changes: 14 additions & 0 deletions
14
LuaRules/Gadgets/scavengers/Configs/EvoRTS/UnitLists/sea.lua
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
T0SeaUnits = { | ||
} | ||
|
||
T1SeaUnits = { | ||
} | ||
|
||
T2SeaUnits = { | ||
} | ||
|
||
T3SeaUnits = { | ||
} | ||
|
||
T4SeaUnits = { | ||
} |
Oops, something went wrong.