Help - Search - Members - Calendar
Full Version: help
Battlefield SinglePlayer Forum > BF2/2142 Mod Development > 16-32-64 SP minimod for BF2
lost_shadow
Is there a mod where we can play with 32 or 64 troops in normal BF2 singleplayer, without any expansion?
If not, then how can I make one?
red.murder1
Go to yourai/aidefault.ai,open it in wordpad and follow the instructions in it and add more bots
lost_shadow
This is what I get.....


echo ********************************************************************************
********
echo AIDefault.ai ****************************************************************************
echo ********************************************************************************
********

aiSettings.setNSides 2
aiSettings.setAutoSpawnBots 1

aiSettings.setMaxNBots 64
aiSettings.maxBotsIncludeHumans 1
aiSettings.setBotSkill 0.4

rem To spawn more than 15 bots in SP, use the following lines instead of the three lines above.
rem Note that this is totaly unsupported, it will affect your system's performance
rem and may even crash your game. That being said, you will most likely be able to run a lot
rem more bots than 15 on your system.

rem Example for 32 bot game with expert bots

rem aiSettings.overrideMenuSettings 1
rem aiSettings.setMaxNBots 32
rem aiSettings.maxBotsIncludeHumans 0
rem aiSettings.setBotSkill 1.0

run BotNames.ai

aiSettings.setInformationGridDimension 32


run AIPathFinding.ai

rem EOF




exactely what file do I need to mod?
red.murder1
...
Read what it says then ask
gomimin
search/look for "bot changer"
lost_shadow
I read it, but apparently I didn't get it.

I exchanged

aiSettings.setMaxNBots 64
aiSettings.maxBotsIncludeHumans 1
aiSettings.setBotSkill 0.4


with

aiSettings.overrideMenuSettings 1
aiSettings.setMaxNBots 32
aiSettings.maxBotsIncludeHumans 0
aiSettings.setBotSkill 1.0


to try it out, but nothing happened. So I need more details.
red.murder1
then you did something wrong
gomimin
"rem" means: don't use this...

so look at this modified one (i made extreme numbers to make sure you'll see the difference):

echo ********************************************************************************
********
echo AIDefault.ai ****************************************************************************
echo ********************************************************************************
********

aiSettings.setNSides 2
aiSettings.setAutoSpawnBots 1

rem aiSettings.setMaxNBots 64
rem aiSettings.maxBotsIncludeHumans 1
rem aiSettings.setBotSkill 0.4

rem To spawn more than 15 bots in SP, use the following lines instead of the three lines above.
rem Note that this is totaly unsupported, it will affect your system's performance
rem and may even crash your game. That being said, you will most likely be able to run a lot
rem more bots than 15 on your system.

rem Example for 32 bot game with expert bots

aiSettings.overrideMenuSettings 1 <- no "rem"
aiSettings.setMaxNBots 2500 <- no "rem"
aiSettings.maxBotsIncludeHumans 1 <- no "rem" - 2499 Bots and you01, 2500 Bots and you=0
aiSettings.setBotSkill 1.0 <- no "rem" - highest possible is 1.0, lowest 0.1

run BotNames.ai

aiSettings.setInformationGridDimension 32


run AIPathFinding.ai

rem EOF

hth
for future questions look here first http://battlefieldsingleplayer.planetbattl...?showtopic=3768
lost_shadow
Thanks, but I still only spawn with 15 bots instead of 59. Does map size has something to do with it?



here:

echo ********************************************************************************
********
echo AIDefault.ai ****************************************************************************
echo ********************************************************************************
********

aiSettings.setNSides 2
aiSettings.setAutoSpawnBots 1

rem aiSettings.setMaxNBots 64
rem aiSettings.maxBotsIncludeHumans 1
rem aiSettings.setBotSkill 0.4

rem To spawn more than 15 bots in SP, use the following lines instead of the three lines above.
rem Note that this is totaly unsupported, it will affect your system's performance
rem and may even crash your game. That being said, you will most likely be able to run a lot
rem more bots than 15 on your system.

rem Example for 32 bot game with expert bots

aiSettings.overrideMenuSettings 1
aiSettings.setMaxNBots 60
aiSettings.maxBotsIncludeHumans 1
aiSettings.setBotSkill 0.4

run BotNames.ai

aiSettings.setInformationGridDimension 32


run AIPathFinding.ai

rem EOF
red.murder1
Are you editting the aidefault.ai file in you bf2sp64 mod folder?
gomimin
hope he did ;-)

@lost shadow

you are shure that filename is still AIDefault.ai and not something like AIDefault.ai.text? Also have a look into botnames.ai
whether there are enough bot names there... (all infos for SP)

here's a fine "find a link to information" post by xstax981:
http://battlefieldsingleplayer.planetbattl...showtopic=11753

When you want to do it for SP it should work, if you want it for Coop go second link in xstax post above...
and tell us if you're going for SP or for Coop.
lost_shadow
I was using the vanilla bf2 folder actually.

I want to play with 59 bots on a 16 map size in single player.

Now I've tried that bf2sp64 mod, but it just crashes when loading up a map.
gomimin
you joined yesterday, 15 minutes later you posted your question. BFSP forums has 111175 posts. Most questions were already asked and answered. Looks like you don't even care about doing a little theoretical work by yourself in using the search function or read just through BFSP64 threads...

When asking questions you should be polite and give as much information so that the helpin' ppl don't have to peel everything out of your nose - we have some other things going on too... ;-)

Do you use XP or Vista, does your vanilla BF run without problems with default AI settings, do you have it patched to v1.41, did you try to run in windowed mode, did you search for "bot changer", what version of bf2sp64 are you running, what map did crash???

This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2013 Invision Power Services, Inc.