Sign in to follow this  
greu

players and bots

Recommended Posts

Hello, tell me how to make players always go to axis , and bots to allias. I use [Release] Bot Warfare, the bots at the beginning of the game go to alias, but after death they go to axis . auto balance is disabled

Share this post


Link to post
Share on other sites
Posted (edited)

Using the bot cfg file you can only make the bots go to one team:

set bots_manage_add "12" //amount of bots to add to the game, Change to however many bots you want

set bots_team "custom" //  indicates what team the bots should join: autoassign; allies; axis; custom

set bots_team_amount "0" //amount of bots to have on the axis team if bots_team is set to 'custom', the rest of the bots will be placed on the allies team.

Some bots on death with join the opposite side but within a few seconds they commit suicide and rejoin the team they should be on

You can disable the ability to choose a team in menu by editing the _menus.gsx file - Look to near the bottom of the file and edit as shown below

if( menu == game["menu_team"] )
        {
            switch(response)
            {
            case "allies":
                self [[level.allies]]();  REMOVE THIS LINE
                break;

            case "axis":
                self [[level.axis]]();
                break;

            case "autoassign":
                self [[level.autoassign]](); REMOVE THIS LINE
                break;

            case "spectator":
                self [[level.spectator]]();
                break;

 

Players can no longer choose autoassign or allies but because of the bots cfg file, the bots will join allies

Edited by MAD_DAD
extra info
  • Thanks 1

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this