Announcement

Collapse
No announcement yet.

setting the number of bots

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    setting the number of bots

    hi

    I was wondering if someone might be good enough to enlighten me on how to set the number of bots that will spawn in a level created in unrealEd3?

    Also, to expand a bit on this, i've been working a little with unrealscript and derived my own gametype (child of xDeathMatch) and bots (child of xBot) ... but i'm not sure how to get my gametype running as the default when starting a map within unrealEd. I tried changing the level properties - DefaultGameType from xGame.xDeathMatch to xGame.xDeathMatch.xMyGame (and just xGame.xMyGame) but neither resulted in my bots being spawned, just the default xBots. Running the my game within UT2004, however, works fine, spawning my bots?

    thanks for any help

    fassbinder

    #2
    Do you want a special number of bots? You could just change this in the level properties:

    Comment


      #3
      cheers, that'll probably help concerning the number of bots, and i'd forgotten i can limit the number spawning within UT2004 itself using the game menu.

      so i guess i can sidestep my second problem although would still be interested to know how i can get unrealEd to start a level using my derived gametype or at least spawning my own bots instead of the defaults.

      cheers again

      Comment


        #4
        addbots 10

        addnamedbot gorge

        Those console commands control which bots spawn, or how many you want, but you have to type them everytime you play the level.

        You can make new bots via JaFo's Botmanager.

        Comment


          #5
          cheers for the tips ... the addnamedbot botname ... is the botname string the name of my new controller class i.e. 'mygame.mybot'? i tried that and just 'myBot' but it's just spawning xBots?

          cheers

          Comment


            #6
            Start a game with 32 bots, then type 'addbots 32' into the console before the game starts.

            Yay!

            Comment

            Working...
            X