1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Two Factor Authentication is now available on BeyondUnreal Forums. To configure it, visit your Profile and look for the "Two Step Verification" option on the left side. We can send codes via email (may be slower) or you can set up any TOTP Authenticator app on your phone (Authy, Google Authenticator, etc) to deliver codes. It is highly recommended that you configure this to keep your account safe.

Spawning my own Bots in Runtime

Discussion in 'Programming' started by AV_ACE, Jan 31, 2004.

  1. AV_ACE

    AV_ACE New Member

    Jan 30, 2002
    Likes Received:
    OK, I have been playing with the runtime uscript code, and I now can get runtime to always run using my custom gametype.

    However, I don't know how to create a bot (a pawn and a subclass of AIController to possess the pawn). I am aware this is could need a fairly large amount of code as there are no bot spawning functions in 'Gameinfo' (e.g. the addbots() function in UT2003 - and I can't just copy and paste this as it uses rosterentry classes, which I do not need but addbots() does).

    I'm thinking this problem has a lot to do with the restartplayer(Controller aPlayer) function, as this function seems to spawn bots or human players...but can anyone point me in the right direction for what to do with this? Some code snippets would be a great help if you have got this working yourself.


Share This Page