XYZc_eli?

In this forum you will find and post information regarding the modding of Star Wars Battlefront 2. DO NOT POST MOD IDEAS/REQUESTS.

Moderator: Moderators

Post Reply
rcduggan

XYZc_eli?

Post by rcduggan »

Is it possible to make it so you can play Hero Assault in Clone Wars era?

EDIT: Also, how do you make it so there is no GCW era on your map?
Linus

RE: XYZc_eli?

Post by Linus »

Is it possible to make it so you can play Hero Assault in Clone Wars era?
That's fully possible, but I do not know how to do it...

- Linus
rcduggan

RE: XYZc_eli?

Post by rcduggan »

:( okay, anybody know how to do it?
Linus

RE: XYZc_eli?

Post by Linus »

I think that you should ask our beloved Jedi Administrator, Teancum, through a Private Message.

- Linus
User avatar
Maveritchell
Jedi Admin
Jedi Admin
Posts: 7366
Joined: Mon Aug 21, 2006 11:03 pm

Re: XYZc_eli?

Post by Maveritchell »

rcduggan wrote: EDIT: Also, how do you make it so there is no GCW era on your map?
http://www.gametoast.com/index.php?name ... oving+eras

Search is your friend.

And as for making a CW Hero Assault, why would you? Can you not just make an assault map - anywhere - and edit it whichever heroes you want?
Linus

RE: Re: XYZc_eli?

Post by Linus »

I think that rcduggan wants one Aussalt-map with both eras - One era with only Hereos / Villians from the Clone Wars and one with only Hereos / Villians from the Galactic Civil War...

- Linus
User avatar
Maveritchell
Jedi Admin
Jedi Admin
Posts: 7366
Joined: Mon Aug 21, 2006 11:03 pm

Re: RE: Re: XYZc_eli?

Post by Maveritchell »

Linus wrote:I think that rcduggan wants one Aussalt-map with both eras - One era with only Hereos / Villians from the Clone Wars and one with only Hereos / Villians from the Galactic Civil War...

- Linus
Well, I think the solution to that would be to make, instead of assault, a CGW conquest and a CW conquest, make command posts noncapturable, and set the number of reinforcements equal to the number of points you'd want for assault mode.
rcduggan

RE: Re: RE: Re: XYZc_eli?

Post by rcduggan »

Maveritchell wrote:
rcduggan wrote: EDIT: Also, how do you make it so there is no GCW era on your map?
http://www.gametoast.com/index.php?name ... oving+eras

Search is your friend.

And as for making a CW Hero Assault, why would you? Can you not just make an assault map - anywhere - and edit it whichever heroes you want?
I did search, but didn't find anything.

And what I was looking for in CW hero assault was because I don't want GCW on my map, but I do want Hero Assault. So I need to know how you make hero assault that is playable in CW (but has all the heroes from CW&GCW)
Linus

RE: Re: RE: Re: XYZc_eli?

Post by Linus »

Hmm, that's a really good idea, Maveritchell. Maybe I should try it sometime...

- Linus
User avatar
Maveritchell
Jedi Admin
Jedi Admin
Posts: 7366
Joined: Mon Aug 21, 2006 11:03 pm

Re: RE: Re: RE: Re: XYZc_eli?

Post by Maveritchell »

rcduggan wrote:
Maveritchell wrote:
rcduggan wrote: EDIT: Also, how do you make it so there is no GCW era on your map?
http://www.gametoast.com/index.php?name ... oving+eras

Search is your friend.

And as for making a CW Hero Assault, why would you? Can you not just make an assault map - anywhere - and edit it whichever heroes you want?
I did search, but didn't find anything.

And what I was looking for in CW hero assault was because I don't want GCW on my map, but I do want Hero Assault. So I need to know how you make hero assault that is playable in CW (but has all the heroes from CW&GCW)
If you're really snuffed with having GCW on your map, just use your localize tool to change the name from Galactic Civil War to Clone Wars. I don't know if you can edit the icon.
User avatar
General_Grievous_4
Rebel Sergeant
Rebel Sergeant
Posts: 214
Joined: Sun Mar 26, 2006 10:07 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

Post by General_Grievous_4 »

To do this you must follow these instrucions as follows:

Everything in red just delete. Then you find the XXXg_eli and replace the "g" with a "c". Make sure you do it in both places though.



--Search through the missionlist to find a map that matches mapName,
--then insert the new flags into said entry.
--Use this when you know the map already exists, but this content patch is just
--adding new gamemodes (otherwise you should just add whole new entries to the missionlist)
function AddNewGameModes(missionList, mapName, newFlags)
for i, mission in missionList do
if mission.mapluafile == mapName then
for flag, value in pairs(newFlags) do
mission[flag] = value
end
end
end
end




--insert totally new maps here:
local sp_n = 0
local mp_n = 0
sp_n = table.getn(sp_missionselect_listbox_contents)

sp_missionselect_listbox_contents[sp_n+1] = { isModLevel = 1, mapluafile = "KOR%s_%s", era_g = 1, era_c = 1, mode_con_g = 1, mode_con_c = 1, mode_eli_g = 1,}
mp_n = table.getn(mp_missionselect_listbox_contents)
mp_missionselect_listbox_contents[mp_n+1] = sp_missionselect_listbox_contents[sp_n+1]

-- associate this mission name with the current downloadable content directory
-- (this tells the engine which maps are downloaded, so you need to include all new mission lua's here)
-- first arg: mapluafile from above
-- second arg: mission script name
-- third arg: level memory modifier. the arg to LuaScript.cpp: DEFAULT_MODEL_MEMORY_PLUS(x)

AddDownloadableContent("KOR","KORg_con",4)
AddDownloadableContent("KOR","KORc_con",4)
AddDownloadableContent("KOR","KORg_eli",4)

-- all done
newEntry = nil
n = nil

-- Now load our core.lvl into the shell to add our localize keys
ReadDataFile("..\\..\\addon\\KOR\\data\\_LVL_PC\\core.lvl")
rcduggan

Post by rcduggan »

thanks I will try it and post if it works or not
Darth_Z13
Jedi High Council
Jedi High Council
Posts: 2275
Joined: Sat Jun 17, 2006 9:51 am
xbox live or psn: Xanthius Wylon
Location: Canada

Post by Darth_Z13 »

I just tryed it out and it worked for me.
rcduggan

Post by rcduggan »

.\Source\LoadUtil.cpp(1019)
Unable to find level chunk in MISSION.lvl


Message Severity: 3
.\Source\LuaHelper.cpp(112)
OpenScript(SNAc_eli): script (9d967c1b) not found

Message Severity: 5
.\Source\GameState.cpp(1283)
Could not open MISSION\SNAc_eli.lvl
I get these errors
Darth_Z13
Jedi High Council
Jedi High Council
Posts: 2275
Joined: Sat Jun 17, 2006 9:51 am
xbox live or psn: Xanthius Wylon
Location: Canada

Post by Darth_Z13 »

Well it seems that your script to open your SNAc_eli wasn't run so the game couldn't find it. Why thsi would be is unknown to me...
rcduggan

Post by rcduggan »

okay trying it again, with a few different things...

EDIT: Still doesn't work.
Post Reply