This download provides the ServerSettings.con file and a description of how to go about setting everything up to allow acceleration of bots in Battlefield 2 1.5 Forgotten Hope (and other mods).
This download provides the ServerSettings.con file and a description of how to go about setting everything up to allow acceleration of bots in Battlefield 2 1.5 Forgotten Hope (and other mods). This is only part of HABAI. HABAI will eventually have a front end GUI, possible in 3D using Blender Game Engine, to allow easy starting of an HABAI game and automatic setting of CPU affinity.
README
HABAI - Hardware Accelerated Battlefield Artificial Intelligencehttps://www.moddb.com/mods/habaiINTRO ===== This is a basic settings files release for testing and to show increased bot performance.HABAI will eventually have a front end (possibly a 3D one using Blender Game Engine) to allow easier starting of SP/Coop games with the server and client automatically set to correct CPU affinity.This set up should work OK with other mods like AIX2. Be aware that some mods appear to read "ServerSettings.con" from the client "settings" directory rather than the one in the server directory.WARNING=======Be aware that applying SP/Coop Patch C for Forgotten Hope will prevent you from joining online multiplayer servers. So backup your original. Have two FH directories, one for online play and they othe patched to C for Coop LAN or SP.This HABAI set up is only supported for Battlefield 2 version 1.5. Version 1.41 is NOT supported. Sadly, requesting artillery and supplies does not work with the AI commander in 1.5. However, now many mods have been developing levels for 1.5 for some time, memory usage levels have raised. Running anything on Battlfield 1.41 no longer makes sense as this will cause crashes with the majority of levels produced for Battlefield these days.Make sure your system is set up properly to run Battlfield 1.5 - Fhpubforum.warumdarum.de "ServerSettings.con" and "MapList.con" in "d:\Program Files\EA Games\Battlefield 2 Server\mods\fh2\settings\""sv.spawnTime" is deliberatly set low to 3 as FH sometimes has a "double countdown" bug. You might want to raise this if you don't have time to select kits or spawn points. Server FH2 mod directory needs to contain identical copy of what is in your client FH2 mod directory.The "ServerSettings.con" is set up to allow map voting from a single player in the BF2 interface (see website for example screenshot), using what is in "MapList.con". Triggering the next level load can take a few seconds to get going.Start the server and client using the shortcuts (you may need to edit them) ...SERVER: ""D:\Program Files\EA Games\Battlefield 2 Server\bf2_w32ded.exe" +dedicated +modPath mods/fh2"CLIENT: ""D:\Program Files\EA Games\Battlefield 2\FH2.exe""Open Task Manager (CTRL - ALT to swap to desktop, or CTRL - ALT - DEL on Vista for example) and set CPU affinity to *ONE CORE* for the server. Setting to use more than one core will eventually crash the server because it is only designed for a single physical CPU core (see server readme). Hyperthreading does not seem to effect it as long as it is set to a single core.Set "FH2.exe" affinity as well ... this can be 2 or more cores, obviously not the same core as the server and not Core0 (the first) which usually has system processes running on it.Logon using an online account in the Battlefield 2 client (the graphical interface). Select "Join Local" and then "Connect to IP" and enter "127.0.0.1". Double clicking on the server listing entry will NOT connect to it. This can only be done by entering the local "loopback" address manually.TESTING=======There is an issue. FH2 Patch C modifies SP/Coop play that is mostly directed at games started within the client. Play using the dedicated server is OK apart from multiple fire sounds from some tanks and guns on some maps (where there should be only one fire sound). I have only witnessed Forgotten Hope Patch C for COOP doing this. Other mods that I run with HABAI (dedicated server and client) DO NOT do this. If you can help track down this problem then please contact the HABAI mod or post in the Forgotten Hope forum in the Single Player section.Another issue is being unable to become squad leader in a squad with bots in it. In Battlefield 2 version 1.41 this was not a problem. Answering "yes" to the "do you want to become the squad leader" would actually make you the sqaud leader, but in patch 1.5 that no longer functions. To become the squad leader you have to reduce the bots (in Serversettings.con) right down to somewhere below 48 bots as the bots don't fill a squad before then start joining the next one; they spread themselves around. So this either means putting up with not being squad leader - still fun in my opinion - or reducing the bots right down, which kind defeats the point of the mod. I'm looking for a work around as there may be a way of forcing this using Python scripting or another method. Stay tuned !DJ Barney / HABAI, March 2014 ... and now a message from our sponsor, The Bot Protection League (BPL) ..."Look after your bots ! Sadly we've had reports that bots are regularly being abused and overworked in SP, Coop and even online with other human players watching. Thankyou". The BPL.
THANKS_USE THIS CONFIGURATION FOR ALL THE MODS IN SINGLEPLAYER BETTER: "My Documents / 2/Profiles/Default battlefield" and placed on the sever sentings.con and put more properties to read-only locked selacionar? Spanish(PARA USAR ESTA CONFIGURACION EN TODOS LO MODS EN SINGLEPLAYER NO ES MEJOR UBICARLO EN : "Mis Documentos/battlefield 2/Profiles/Default" y colocar en el sever sentings.con y propiedades mas ponerlo bloqueado selacionar a "solo lectura" ?
I can only get 47 bots to spawn on one side. Changing the settings in the .con file doesn't seem to do anything.
edit "sv.coopBotCount" / sv.coopBotRatio / sv.autoBalanceTeam?
"mod work well for me" , sorry this might be dumb questions , i still got folder ESAI in mod folder , its HABAI use Esai strategy.ai in map or otherwise? , thx in advance .
Вполне себе..) Играть стало веселее.