Page 1 of 1
XL mode help please
Posted: Sun Mar 05, 2006 12:37 pm
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
RE: XL mode help please
Posted: Sun Mar 05, 2006 3:23 pm
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.
RE: XL mode help please
Posted: Sun Mar 05, 2006 3:44 pm
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.
RE: XL mode help please
Posted: Sun Mar 05, 2006 3:53 pm
by Jawa_Killer
nope.........darth derkie sent me his lua and NOW it works!!
RE: XL mode help please
Posted: Sun Mar 05, 2006 4:03 pm
by Teancum
Well, I stand corrected.
RE: XL mode help please
Posted: Sun Mar 05, 2006 4:27 pm
by [RDH]Zerted
So for others who get this problem, whats the difference between your lua and the lua Darth Derkie sent you?
RE: XL mode help please
Posted: Sun Mar 05, 2006 4:55 pm
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
RE: XL mode help please
Posted: Sun Mar 05, 2006 4:57 pm
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!
RE: XL mode help please
Posted: Sun Mar 05, 2006 5:04 pm
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.
Re: RE: XL mode help please
Posted: Sun Mar 05, 2006 6:06 pm
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