Initial commit
This commit is contained in:
61
DATA/SCRIPTS/AI/BUILDGROUNDFORCESPLAN.LUA
Normal file
61
DATA/SCRIPTS/AI/BUILDGROUNDFORCESPLAN.LUA
Normal file
@@ -0,0 +1,61 @@
|
||||
--/////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
-- (c) Galyana's Ultimate Empire at War Modifications
|
||||
--
|
||||
-- ****** *** *** ************ *** ***
|
||||
-- * * * * * * * *
|
||||
-- * * * * * * *
|
||||
-- * * * * * * *
|
||||
-- * * * * * **** * * *
|
||||
-- * * * ****** * * * *
|
||||
-- * **** * * * * * * * *** *
|
||||
-- * * * * * * * * * *
|
||||
-- * * * * * * * * * *
|
||||
-- * * * * * * * ** * * *
|
||||
-- ****** ****** ************ **** ** *******
|
||||
--/////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
-- C O N F I D E N T I A L S O U R C E C O D E -- D O N O T D I S T R I B U T E
|
||||
--/////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
--
|
||||
-- File: GUEaW/Data/Scripts/AI/BuildGroundForcesPlan.lua
|
||||
--
|
||||
-- Original Editor: Giovanni Galyana
|
||||
--
|
||||
-- Final Edit By: Giovanni Galyana
|
||||
--
|
||||
-- Date: 25 October, 2017
|
||||
--
|
||||
-- Revisions: 0
|
||||
--
|
||||
--/////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
require("pgevents")
|
||||
|
||||
|
||||
function Definitions()
|
||||
Category = "Build_Ground_Forces"
|
||||
IgnoreTarget = true
|
||||
|
||||
TaskForce = {
|
||||
{
|
||||
"ReserveForce"
|
||||
,"Infantry = 0,2"
|
||||
,"Vehicle = 0,2"
|
||||
,"Air = 0,1"
|
||||
,"-F9TZ_Cloaking_Transport_Company"
|
||||
,"-HAV_Juggernaut_Company"
|
||||
,"-Gallofree_HTT_Company"
|
||||
,"-Hutt_SailBarge"
|
||||
,"-Field_Com_Hutts_Team"
|
||||
,"-Field_Com_Rebel_Team"
|
||||
,"-Field_Com_Empire_Team"
|
||||
}
|
||||
}
|
||||
RequiredCategories = { "Vehicle" }
|
||||
AllowFreeStoreUnits = false
|
||||
end
|
||||
|
||||
function ReserveForce_Thread()
|
||||
ReserveForce.Set_As_Goal_System_Removable(false)
|
||||
BlockOnCommand(ReserveForce.Produce_Force())
|
||||
ReserveForce.Set_Plan_Result(true)
|
||||
end
|
||||
Reference in New Issue
Block a user