XL mode help please

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
Jawa_Killer
Brigadier General
Brigadier General
Posts: 629
Joined: Thu Jun 23, 2005 6:06 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

XL mode help please

Post by Jawa_Killer »

Hey guys.........i saw some maps that have XL modus in it.....Teancum explained me everything but my last status is that xl modus loads and i can spawn.........the reinforcement count is 0/350 and bots are spawning......BUT only 16 not 80 how i set in the lua. Can someone please explain why this can be caused? or give a little tutorial? not a deep one only that i know what i made wrong......there is not much to change....in my addme.lua is no mistake because the XL is available in the select screen......it seems that the modidc_xl.lua is wrong but i used one which worked already on another map!

thanks! jawakiller
User avatar
[RDH]Zerted
Gametoast Staff
Gametoast Staff
Posts: 2982
Joined: Sun Feb 26, 2006 7:36 am
Projects :: Bos Wars AI - a RTS game
Games I'm Playing :: SWBF2 and Bos Wars
xbox live or psn: No gamertag set
Location: USA
Contact:

RE: XL mode help please

Post by [RDH]Zerted »

Remember, when you add units to a side in the lua, you also tell the AI how many min and max units to be that type.

Ex: officer = {"rep_inf_ep3_officer",1, 4},

1 is the min number of bots that will be officers.
4 is the max amount of bots that will be officers.
User avatar
Teancum
Jedi Admin
Jedi Admin
Posts: 11080
Joined: Wed Sep 07, 2005 11:42 pm
Projects :: No Mod project currently.
Games I'm Playing :: Destiny
xbox live or psn: No gamertag set
Location: Indiana

RE: XL mode help please

Post by Teancum »

Dude, like I said before. If XL mode loads at all then it's not the LUA, it's your XL layer in ZeroEdit, or a munge problem. There's probably a problem with [mapname].req or a .mrq problem.
Jawa_Killer
Brigadier General
Brigadier General
Posts: 629
Joined: Thu Jun 23, 2005 6:06 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

RE: XL mode help please

Post by Jawa_Killer »

nope.........darth derkie sent me his lua and NOW it works!!
User avatar
Teancum
Jedi Admin
Jedi Admin
Posts: 11080
Joined: Wed Sep 07, 2005 11:42 pm
Projects :: No Mod project currently.
Games I'm Playing :: Destiny
xbox live or psn: No gamertag set
Location: Indiana

RE: XL mode help please

Post by Teancum »

Well, I stand corrected. :D
User avatar
[RDH]Zerted
Gametoast Staff
Gametoast Staff
Posts: 2982
Joined: Sun Feb 26, 2006 7:36 am
Projects :: Bos Wars AI - a RTS game
Games I'm Playing :: SWBF2 and Bos Wars
xbox live or psn: No gamertag set
Location: USA
Contact:

RE: XL mode help please

Post by [RDH]Zerted »

So for others who get this problem, whats the difference between your lua and the lua Darth Derkie sent you?
User avatar
Teancum
Jedi Admin
Jedi Admin
Posts: 11080
Joined: Wed Sep 07, 2005 11:42 pm
Projects :: No Mod project currently.
Games I'm Playing :: Destiny
xbox live or psn: No gamertag set
Location: Indiana

RE: XL mode help please

Post by Teancum »

Typically the lua needs to be set up on a per-map basis. I probably had something set up for my maps that I forgot to fix for Jawa_killer. I'm not sure
Jawa_Killer
Brigadier General
Brigadier General
Posts: 629
Joined: Thu Jun 23, 2005 6:06 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

RE: XL mode help please

Post by Jawa_Killer »

NO different thats SO LOOL!!! i compared and i really compared every entry and there is no different LOL!!! maybe the order of the lines.......LOL!
User avatar
Teancum
Jedi Admin
Jedi Admin
Posts: 11080
Joined: Wed Sep 07, 2005 11:42 pm
Projects :: No Mod project currently.
Games I'm Playing :: Destiny
xbox live or psn: No gamertag set
Location: Indiana

RE: XL mode help please

Post by Teancum »

Ummm... yeah they are. Check again. There's map-specific entry lines. Specifically the ReadDataFile(dc:side\\"[projectname]"\"[mapname].lvl", "[gametype]");

So what was the difference between Derkie's an my XL luas? I'm curious because he got them from me.
User avatar
Dragonum
2nd Lieutenant
2nd Lieutenant
Posts: 405
Joined: Tue Nov 16, 2004 4:08 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

Re: RE: XL mode help please

Post by Dragonum »

Teancum wrote:Ummm... yeah they are. Check again. There's map-specific entry lines. Specifically the ReadDataFile(dc:side"[projectname]""[mapname].lvl", "[gametype]");

So what was the difference between Derkie's an my XL luas? I'm curious because he got them from me.
i found only the troopers
he have EP2 trooper and you EP3 trooper in the lua.

this is realy the only differents
Post Reply