Author Topic: X4 Bots... again  (Read 4140 times)

Offline Teh_Magician

  • Rank: Private
  • *
  • Posts: 8
X4 Bots... again
« on: January 07, 2010, 03:05:03 pm »
Hey, i had read the other post about test bots, but im still not under stand how to, so if someone can help me please reply me everything to spawn those bots :)  thank you

i already know i have to put the "set svr_allow_bots "1"

Offline PatmanSan

  • Administrator
  • Rank: Private
  • *****
  • Posts: 2527
Re: X4 Bots... again
« Reply #1 on: January 07, 2010, 03:35:25 pm »
server.cfg

set scr_testclients "10"

Offline Teh_Magician

  • Rank: Private
  • *
  • Posts: 8
Re: X4 Bots... again
« Reply #2 on: January 07, 2010, 03:36:14 pm »
That's all?

Offline PatmanSan

  • Administrator
  • Rank: Private
  • *****
  • Posts: 2527
Re: X4 Bots... again
« Reply #3 on: January 07, 2010, 03:38:30 pm »
Uuuhmm... no... you have to restart your server too

Offline Teh_Magician

  • Rank: Private
  • *
  • Posts: 8
Re: X4 Bots... again
« Reply #4 on: January 07, 2010, 03:39:58 pm »
i do not have public server i only tried to "start new server" that is under "join server" in game menu, is it possible to spawn bots there too?

Offline PatmanSan

  • Administrator
  • Rank: Private
  • *****
  • Posts: 2527
Re: X4 Bots... again
« Reply #5 on: January 07, 2010, 04:26:07 pm »
Nope -- I think you must run a dedicated server for the mod to function properly

Offline Joker{eXtreme}

  • Rank: Private
  • *
  • Posts: 6108
    • http://www.mycallofduty.com
Re: X4 Bots... again
« Reply #6 on: January 07, 2010, 04:55:59 pm »
Gotta run a Dedicated server -- in the commandline have +set sv_punkbuster 0 and in the server.cfg like Pat stated for the # of bots

Offline stufz

  • Rank: Private
  • *
  • Posts: 302
    • http://theblackduck.net
Re: X4 Bots... again
« Reply #7 on: January 07, 2010, 06:20:16 pm »
you can run a lan "dedi" server - right click on your CoD4 MP shortcut and drag it then let go of it - popup menu shows - click on copy here.

Now first make sure you have the x4v2 files - folders and cfgs - in a folder called my_x4 or something like that - inside of your mods folder in your CoD4 game.

So lets say you called that folder - my_x4

here's your commandline for the Target field of your new shortcut.  Easiest way to get it in there is to copy this commandline - edit it for the folder name if needed - and now right click on your new shortcut and hit and hold your Ctrl key and now hit your V key - it will automatically paste the commandline into the already highlighted Target field. Click Apply then OK.

Make sure you have edited all of those cfgs to your liking in your X4 folder. In your server.cfg put that line Patman gave to you, and your good.


"C:\Program Files\Activision\Call of Duty 4 - Modern Warfare\iw3mp.exe" +set dedicated 1 +set sv_maxclients 11 +set fs_game mods/my_x4 +set punkbuster 0 +exec server.cfg +map_rotate

The maxclients gives you 11 so the bots are 10 in number - the my_x4 is for your folder if you name it that way, if not change it here in the commandline before you copy n paste.

Also - know that the bots are only active for the first map - have fun !

Offline Sammy

  • Rank: Private
  • *
  • Posts: 105
Re: X4 Bots... again
« Reply #8 on: January 07, 2010, 07:48:59 pm »
I forget the command, but I think you can add the bots again on later maps via the ingame command line.

Offline Teh_Magician

  • Rank: Private
  • *
  • Posts: 8
Re: X4 Bots... again
« Reply #9 on: January 08, 2010, 07:51:19 am »
Okay, THANKS ALL, I'LL TRY IT OUT ;)

Offline Teh_Magician

  • Rank: Private
  • *
  • Posts: 8
Re: X4 Bots... again
« Reply #10 on: January 08, 2010, 05:21:17 pm »
well, i have downloaded server.cfg and edited it to my liking, and put into MAIN. I have copied iw3mp and copy n paste the commandline correctly, i have allowed the bots, and set testclients to 11 and i have started console then went to my server but nothin =(

Offline PatmanSan

  • Administrator
  • Rank: Private
  • *****
  • Posts: 2527
Re: X4 Bots... again
« Reply #11 on: January 08, 2010, 07:17:30 pm »
If you have X4 installed and enabled, the server.cfg should go into the fs_game folder... NOT main!

Offline Teh_Magician

  • Rank: Private
  • *
  • Posts: 8
Re: X4 Bots... again
« Reply #12 on: January 09, 2010, 07:50:56 am »
yea, i know, but i was watched a dedicated server tutorial, and it says we have to put the server.cfg(that we downloaded, not the mod) to the main, i also found the server.cfg in the x4 folder, and made everything to my liking + what you guys said, but still no bots =(

Offline Lothegard

  • Rank: Private
  • *
  • Posts: 960
    • http://www.clan-ssl.se
Re: X4 Bots... again
« Reply #13 on: January 09, 2010, 08:07:09 am »
please post your command line and your settings regarding the BOTS

Offline Teh_Magician

  • Rank: Private
  • *
  • Posts: 8
Re: X4 Bots... again
« Reply #14 on: January 09, 2010, 01:23:59 pm »
commandline: "C:\Program Files\Activision\Call of Duty 4 - Modern Warfare\iw3mp.exe" +set dedicated 1 +set sv_maxclients 11 +set fs_game mods/x4v2.0 +set punkbuster 0 +exec server.cfg +map_rotate

and here the server info, hope thats help :) and the mod version is 2.0

set sv_allowAnonymous "1"
set g_antilag "0"
set g_smoothClients "1"
set scr_drawfriend "1"
set scr_player_forcerespawn "1"
set scr_game_allowkillcam "1"
set scr_allow_bots "1"

// Add Server to Favorite option for players
// 0 = Off
// 1 = On (default)
//set ex_favorite "1"

// test bots (can crash the server on next map!)
//set scr_allow_bots "0"
//set scr_testclients "10"

// freeze the bots to the ground?, easier when testing!
//set scr_botfreeze "1"