News UnrealEd Files Mods FragBU Liandri Archives
BeyondUnreal Forums

Go Back   BeyondUnreal Forums > Unreal Development > UnrealEngine2 Runtime > Programming

Reply
 
Thread Tools Display Modes
Old 31st Jan 2004, 07:46 AM   #1
AV_ACE
Registered User
 
Join Date: Jan. 30th, 2002
Posts: 14
Question Spawning my own Bots in Runtime

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.

Thanks!
AV_ACE is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 11:09 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.

Copyright ©1998 - 2012, BeyondUnreal, Inc.
Privacy Policy | Terms of Use
Bandwidth provided by AtomicGamer