QuantiCode games

Zero Ballistics, Full Metal Soccer

Skip to content

Bots

Moderators: Michael, Bernhard, Christian

Bots

Postby Michael on 02 Nov 2008, 16:20

The most important bot commands are:

addBot: adds a bot if an implementation for the current game mode is available

removeBot: removes one bot in play

The parameter server.settings.bot_limit can be used to initial load that number of bots at level load. This parameter is also set from Host Menu.

Bot parameters:

server.ai.names: Contains the bot names (has to be same size as ids)
server.ai.ids: Insert the ranking ids here (database id numbers) for bots. These numbers are also set as session keys (have to be inserted manually inside the db) to allow bots to be ranked properly
server.ai.attack_range_sqr: Sets the attack range (squared) of bots. Inside this radius enemies will be attacked


If no bots spawn there may be no bot implementation for this type of gameplay.
If bots only drive backwards and commit suicide after a certain time, the map may not be waypointed properly.
Michael
Developer
 
Posts: 204
Joined: 29 Mar 2008, 17:19

Return to Documentation

Who is online

Users browsing this forum: No registered users and 1 guest