Page 1 of 1

RE: Tutorial: SPACE CONQUEST!!!

Posted: Tue Feb 28, 2006 12:06 am
by stager00
I got space to work in conquest mode!! I won't release a map because I don't even want to try to make the AI go into the hangars, but here's how you do it:

Make a normal space map and choose Clone Wars Assault or Galactic Civil War Assault or both.

Make your map. REPLACE THE TWO EXISTING CPS. They are not the right type and can not be captured. Remember only to put capturable CPs. Make sure you put the capture, control, and spawn regions and name them right.

Now open up data_ABC\Common\scripts\ABC directory where your normal .lua files are.

Open the ABCc_Diet Dr. Pepper.lua and paste this for Clone Wars in it:
Hidden/Spoiler:
[code]--
-- Copyright (c) 2005 Pandemic Studios, LLC. All rights reserved.
-- SPAX - Clone Wars Template Assault File
--
ScriptCB_DoFile("setup_teams")
ScriptCB_DoFile("ABCc_cmn") --rename ABC to your modID


---- load the gametype script
ScriptCB_DoFile("ObjectiveConquest")


-- REP Attacking (attacker is always #1)
REP = 1;
CIS = 2;
-- These variables do not change
ATT = REP;
DEF = CIS;

myGameMode = "ABC_CW-Assault" --rename ABC to your modID

function myScriptInit()
SetMemoryPoolSize("CommandFlyer", 2)
end


function ScriptPostLoad()


--This defines the CPs. These need to happen first
cp1 = CommandPost:New{name = "cp1"}
cp2 = CommandPost:New{name = "cp2"}
cp3 = CommandPost:New{name = "cp3"}




--This sets up the actual objective. This needs to happen after cp's are defined
conquest = ObjectiveConquest:New{teamATT = ATT, teamDEF = DEF,
textATT = "game.modes.con",
textDEF = "game.modes.con2",
multiplayerRules = true}

--This adds the CPs to the objective. This needs to happen after the objective is set up
conquest:AddCommandPost(cp1)
conquest:AddCommandPost(cp2)
conquest:AddCommandPost(cp3)


conquest:Start()

end[/code]



OR for Galactic Civil War paste this in your ABCg_Diet Dr. Pepper.lua:
Hidden/Spoiler:
[code]--
-- Copyright (c) 2005 Pandemic Studios, LLC. All rights reserved.
-- SPAX - Clone Wars Template Assault File
--
ScriptCB_DoFile("setup_teams")
ScriptCB_DoFile("ABCg_cmn") --rename ABC to your modID


---- load the gametype script
ScriptCB_DoFile("ObjectiveConquest")


-- REP Attacking (attacker is always #1)
REP = 1;
CIS = 2;
-- These variables do not change
ATT = REP;
DEF = CIS;

myGameMode = "ABC_GCW-Assault" --rename ABC to your modID

function myScriptInit()
SetMemoryPoolSize("CommandFlyer", 2)
end


function ScriptPostLoad()


--This defines the CPs. These need to happen first
cp1 = CommandPost:New{name = "cp1"}
cp2 = CommandPost:New{name = "cp2"}
cp3 = CommandPost:New{name = "cp3"}




--This sets up the actual objective. This needs to happen after cp's are defined
conquest = ObjectiveConquest:New{teamATT = ATT, teamDEF = DEF,
textATT = "game.modes.con",
textDEF = "game.modes.con2",
multiplayerRules = true}

--This adds the CPs to the objective. This needs to happen after the objective is set up
conquest:AddCommandPost(cp1)
conquest:AddCommandPost(cp2)
conquest:AddCommandPost(cp3)


conquest:Start()

end [/code]


Now go into the ABCc_cmn.lua or ABCg_cmn.lua or both and search for 'reinforcements'. When you find the line replace the -1 with 100 or 150 or whatever you want.
And that's all! It should work now.

RE: Tutorial: SPACE CONQUEST!!!

Posted: Tue Feb 28, 2006 9:01 pm
by SBF_Dann_Boeing
could u use this to revive Space Coruscant and Space Mustafar

RE: Tutorial: SPACE CONQUEST!!!

Posted: Wed Aug 16, 2006 6:00 pm
by Droideka88
I don't mean to sound lazy but can you highlight which parts do you change specifically? ;)

RE: Tutorial: SPACE CONQUEST!!!

Posted: Wed Aug 16, 2006 6:43 pm
by darth-jedi
You don't need to replace the cps, just change the name, add a capture region, and replace the XXXc_cmn with a conquest lua.

Always works for me.

Darth-Jedi

RE: Tutorial: SPACE CONQUEST!!!

Posted: Sat Aug 26, 2006 2:58 pm
by Guest
Hey, um, do heroes work in this too?