units on maps

Post everything from general questions, to modding questions, to map WIPs to releases. (SWBF1 only)

Moderator: Moderators

Post Reply
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

units on maps

Post by Dragonum »

how many units i can have on a map?
i tried 45 and it work.
i tried 50 and the game crashed, when the bots spawn!

is this:
SetUnitCount(ATT, 55)

and this:
AddUnitClass(CIS, "cis_inf_battledroid",29)
AddUnitClass(CIS, "cis_inf_assault",12)
AddUnitClass(CIS, "cis_inf_pilotdroid",14)
AddUnitClass(CIS, "cis_inf_assassindroid",0)
AddUnitClass(CIS, "cis_inf_droideka",0)
SetHeroClass(CIS, "cis_inf_countdooku")

the only one i must change or is there another one too.

i download a map, there must be more than 50 bots, and the map work.
thats why i ask.


thanks dragonum
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

Post by Dragonum »

the other team, has the same number.
but the game crashed, when the bots spawn.
and nothing is find in the BFront.log.

thats why i ask.

i try it step for step, with the number of units, so i can say, this is the problem, but nothing stand in the Bfront.log



edit: ok i think i know the problem,
how many units and how many vehicle i can put on the map.
when i delet the vehicles in the mission lua, it works with 55 bots and more i think, but when i have a lot of vehicles on the map, i can only put 45 bots on the map.

edit:
ok forget it, it works
Post Reply