More than 32 AI

Started by Led, October 17, 2011, 06:00:54 PM

Previous topic - Next topic
October 17, 2011, 06:00:54 PM Last Edit: October 17, 2011, 06:09:34 PM by Buckler
OK, here is one way (I can't count that fast, but I think there were more than 32  :P  )

mission mod for player and server, requires server side map with local team cps defined
( you can use this map for example:  http://www.swbfgamers.com/index.php?action=downloads;sa=view;down=363 )

here is a video
http://www.xfire.com/video/4f0ecd/



-- ++++++++++++++++++++++++++++++++++++++++++

--  Local Stats
    SetTeamName(3, "locals")
    AddUnitClass(3, "imp_inf_storm_trooper",11);
    AddUnitClass(3, "imp_inf_shock_trooper",3);
    AddUnitClass(3, "imp_inf_pilottie",4);
    AddUnitClass(3, "imp_inf_scout_trooper",4);
    AddUnitClass(3, "imp_inf_dark_trooper",3);
    SetUnitCount(3, 25)



--  Local Stats
   
   
    SetTeamName(4, "locals")
    AddUnitClass(4, "imp_inf_storm_trooper",11);
    AddUnitClass(4, "imp_inf_shock_trooper",3);
    AddUnitClass(4, "imp_inf_pilottie",4);
    AddUnitClass(4, "imp_inf_scout_trooper",4);
    AddUnitClass(4, "imp_inf_dark_trooper",3);
    SetUnitCount(4, 25)


-- ++++++++++++++++++++++++++++++++++++++++++




Note:  the teams will fight each other unless you have them allied.


Quote from: Abraham Lincoln. on November 04, 1971, 12:34:40 PM
Don't believe everything you read on the internet

it might just be for sp, what i'm talking about here but i've managed up to 150 ai in singplayer. might not work in mp, but then again, i don't have any knowledge of multiplayer modding.
Current Projects:
Battlefront One and a Half Era Mod, v2.0. Making great progress (SWBF)

And heres another, a simple LUA command to do it.


ScriptCB_SetNumBots(100);

That command will set the number of bots per team you would like but be warned going over board will cause a crash.

Ah, nice command sleepkiller! TY   :cheers:
Quote from: Abraham Lincoln. on November 04, 1971, 12:34:40 PM
Don't believe everything you read on the internet

Define "overboard", numerically please. Thanks for the code I will be testing it.

I dunno know I tested it with 100 the client crashed but the server side went on and its reinforcments were droping at an unbelivable rateso that tells me 100 AI had spawned but the connection could not handle it.

Quote from: Phobos Developer on October 17, 2011, 06:21:12 PM
Define "overboard", numerically please. Thanks for the code I will be testing it.

I think he means it depends on the map and memory usage.  It could vary by map.
Quote from: Abraham Lincoln. on November 04, 1971, 12:34:40 PM
Don't believe everything you read on the internet

Increasing memory caps is something else I was wondering. Model memory, visual effects memory, other types of memory that aren't controlled by memorypool settings.

 :slap: DUH! Stupid me. You'll need to increase the Aimer memory pool as wel. :slap: