How can I add gameXL in a map? & how can add more units and reinforcements in GameConquest?
I've created a world called ZEBES, I've modified the LUA archive and I've put 300 units and 1500 reinforcements but when I'm playing there are a few units (32 more or less), why does it happen? HELP ME PLEASE
Is there a tutorial about this? >>My english is very poor<<
Thay are both in the ( ) Everything You Need to Know/FAQ 2.0, Which is a sticky at the top. Favorite it and keep It forever!
Re: Game XL & Conquest in MOD
Posted: Sun Nov 23, 2008 7:40 pm
by Leonhart_501
Thanks! MASTER_BEN
Re: Game XL & Conquest in MOD
Posted: Sun Nov 23, 2008 7:44 pm
by Master_Ben
No prob!
Re: Game XL & Conquest in MOD
Posted: Sun Nov 23, 2008 7:56 pm
by Leonhart_501
MASTER_BEN the first link speak about HUNT MODE, I want about XL MODE...
Re: Game XL & Conquest in MOD
Posted: Sun Nov 23, 2008 8:14 pm
by Maveritchell
The process is the same for adding a new layer, no matter what you call it. And while you can make a completely new layer for XL (this may be the easiest thing for you), you can also just use the conquest layer and disable the capture regions on those command posts.
And make sure you don't double-post; if you have to make an addition to something you just posted, use the "Edit" button to edit your previous post.
Re: Game XL & Conquest in MOD
Posted: Sun Nov 23, 2008 8:26 pm
by Leonhart_501
Sorry
I am ''new'' in GT and It is my first post, my intention did't is double-post, sorry, also I don't speak perfectly english and for me is very complicated understand this. HELP ME PLEASE
Re: Game XL & Conquest in MOD
Posted: Sun Nov 23, 2008 8:30 pm
by Maveritchell
Post your conquest .lua and let us know what the names of your capture regions are, and I'll show you how to set up an _xl.lua.
Re: Game XL & Conquest in MOD
Posted: Sun Nov 23, 2008 9:09 pm
by Leonhart_501
I take conquest.lua of the kashyyyk map (MODTOOLDS/ASSETS/SCRIPTS/KAS>>kas2c_con.lua), I only modified the name of units and I add one unit( commander cody) and also I modified the number units & reinforcements, I put cloakedanakin here and I used a side from other MOD
ZEBc_con.lua
Hidden/Spoiler:
--
-- Copyright (c) 2005 Pandemic Studios, LLC. All rights reserved.
--
-- load the gametype script
ScriptCB_DoFile("setup_teams")
ScriptCB_DoFile("ObjectiveConquest")
-- Empire Attacking (attacker is always #1)
REP = 1
CIS = 2
-- These variables do not change
ATT = 1
DEF = 2
WookieTeam= 3
---------------------------------------------------------------------------
-- FUNCTION: ScriptInit
-- PURPOSE: This function is only run once
-- INPUT:
-- OUTPUT:
-- NOTES: The name, 'ScriptInit' is a chosen convention, and each
-- mission script must contain a version of this function, as
-- it is called from C to start the mission.
---------------------------------------------------------------------------
function ScriptPostLoad()
-- Allowing AI to run under gate
UnblockPlanningGraphArcs("seawall1");
DisableBarriers("seawalldoor1");
DisableBarriers("vehicleblocker");
end
function PlayAnimUp()
PauseAnimation("thegatedown");
RewindAnimation("thegateup");
PlayAnimation("thegateup");
-- Allowing AI to run under gate
BlockPlanningGraphArcs("seawall1");
EnableBarriers("seawalldoor1");
EnableBarriers("vehicleblocker");
SetProperty("gatepanel", "MaxHealth", 1000)
SetProperty("gatepanel", "CurHealth", 1000)
end
function woodl()
UnblockPlanningGraphArcs("woodl");
DisableBarriers("woodl");
SetProperty("woodl", "MaxHealth", 1800)
-- SetProperty("woodl", "CurHealth", 15)
end
function woodc()
UnblockPlanningGraphArcs("woodc");
DisableBarriers("woodc");
SetProperty("woodc", "MaxHealth", 1800)
-- SetProperty("woodc", "CurHealth", 15)
end
function woodr()
UnblockPlanningGraphArcs("woodr");
DisableBarriers("woodr");
SetProperty("woodr", "MaxHealth", 1800)
-- SetProperty("woodr", "CurHealth", 15)
end
function woodlr()
BlockPlanningGraphArcs("woodl")
EnableBarriers("woodl")
SetProperty("woodl", "MaxHealth", 15000)
SetProperty("woodl", "CurHealth", 15000)
end
function woodcr()
BlockPlanningGraphArcs("woodc")
EnableBarriers("woodc")
SetProperty("woodc", "MaxHealth", 15000)
SetProperty("woodc", "CurHealth", 15000)
end
function woodrr()
BlockPlanningGraphArcs("woodr")
EnableBarriers("woodr")
SetProperty("woodr", "MaxHealth", 15000)
SetProperty("woodr", "CurHealth", 15000)
end
function ScriptInit()
-- Designers, these two lines *MUST* be first!
StealArtistHeap(800 * 1024)
SetPS2ModelMemory(3535000)
ReadDataFile("ingame.lvl")