the Rainbow Networks
+++eXy FFA
Map: q3dm1
Players: 2 / 24
The golden pot › DEV › Maps, Models and Mods › How to: Compile with bot-support
How to: Compile with bot-support
There are worlds waiting to be explored and objects to be made. Enjoy.
Post new topic   Reply to topic   Printer Friendly Page     Forum IndexMaps, Models and Mods
View previous topic :: View next topic  
Author Message

Joined: Aug 15, 2007
Posts: 1108
Location: Finland

PostPosted: Sat Dec 08, 2007 12:09 am    Post subject: How to: Compile with bot-support Reply with quote

Here I'll write how to successfully compile a newly created map with bot support. It might not be 100% optimized but it sure does the trick. The follow is a guide for linux since I don't know how to do it in Windows. Thanks to hyp3rfocus for providing the bscp file.

For the purpose of this tutorial our compiled map will be called test.bsp.

First you need the addBot.bspc file which you can download from here as a .gz file. Then copy your test.bsp to the same directory where you now have placed addBot.bspc. Of course it is possible not to copy, but to use relative paths, but to avoid problems it's simply easier to copy.

Next you will open a terminal window and enter the following:
chmod +x addBot.bspc
This is to remove any permission restrictions the file might have.

Now it's time to start making the bot code, and that's the easy part, With your terminal session still open, navigate to the directory where you have the addBot.bspc and test.bsp files, next you enter:
./addBot.bspc -forcesidesvisible -bsp2aas test.bsp

This will now generate a .aas file if everything has worked. This is just what we need for our bots to navigate our map.

Next you take the test.bsp and the test.aas and place them in the same folder when you create your .pk3 file and bot-support should be added; rather painless process.

 Filename:  addbot.bspc.gz
 Filesize:  183.53 KB
 Downloaded:  180 Time(s)

- Carl Sandburg -

Nothing happens unless first we dream.
Back to top
View user's profile Send e-mail Visit poster's website

Joined: Nov 21, 2007
Posts: 10
Location: The Top Secret Underground Hideout of the Sinister-7 !

PostPosted: Sat Dec 08, 2007 2:25 am    Post subject: Re: How to: Compile with bot-support Reply with quote

Ho ! ho ! me ! I know for Windows ! Let's first copy the BSP file in BSPC.EXE directory (unless I'm wrong, it's in a directory created by GTKRadiant, called "Radiant" -- it's next to your base directory)
Then, open the command line and type in :
bspc -bsp2aas -forcesidesvisible <yourbspfile.bsp>

There's a neat trick if you're not into command line stuff. Open you're notepad and type in :
FOR %%i IN (*.bsp) DO CALL bspc -bsp2aas %%i -forcesidesvisible
Save that file as AutoAAS.BAT (DOS text file format). Double click on that batch to automaticly convert all BSP files in the current directory to AAS.

"I'll wear my badge, a vinyl sticker with big block letters adherent to my chest, tells to all your friends: I am a visitor here, I am not permanent"
(The postal service: "district sleeps alone tonight")
Back to top
View user's profile Send e-mail Visit poster's website MSN Messenger

Joined: Aug 28, 2007
Posts: 751
Location: uk

PostPosted: Sun Dec 09, 2007 5:57 pm    Post subject: Re: How to: Compile with bot-support Reply with quote

Hi, guys

I think the following link fits perfectly in here. It's a tutorial about how to deal with bots, so after doing what W1zrd and Anyone detailed above you may want to apply it to optimised bot behavior and such. It already helped me when compiling the bots' file for some apparently simple map, it turned out to be huge until I did some tricks to it.


PS. We could think in porting threads like this to the wiki to build it up...

"Fuelling off topic babble since day 1."
Back to top
View user's profile

Joined: Apr 16, 2008
Posts: 1037
Location: at tiled stove

PostPosted: Sat Oct 09, 2010 7:42 pm    Post subject: Re: How to: Compile with bot-support Reply with quote

upon ghosty's request i've made a batch file to help generating .aas files from compiled q3 maps.

copy it in your %programfiles%\quake iii arena\baseq3\maps and you can drag & drop a .bsp file onto it and it will generate the .aas file (requires gtk radiant to be installed)

or create a new text-file and copy & paste this and save it to your %programfiles%\quake iii arena\baseq3\maps folder:

rem *****************************************************************************************
rem * Put this in your c:\program files\quake iii arena\baseq3\maps folder                  *
rem *****************************************************************************************
@echo off
if [%1] == [] GOTO NOMAP
rem *********************************************************************************************
rem * ADJUST THE PATH TO YOUR bspc.exe, and your quake3 mapoutput dir in the following 2 lines: *
rem *********************************************************************************************
if NOT EXIST "%programfiles%\GtkRadiant 1.5.0\bspc.exe" goto nobspc
"%programfiles%\GtkRadiant 1.5.0\bspc.exe" -forcesidesvisible -optimize -bsp2aas %1 -output "%programfiles%\Quake III Arena\baseq3\maps"

color e4
echo Please open this file with a text editor and adjust the path to your bspc.exe
echo and the map output directory.

color e4
echo Please drag and drop a map onto this batch file to generate an .ass file.

echo on
@pause > NUL

generate .aas files from .bsp maps.
rename to makebots.bat
 Filename:  makebots.bat.txt
 Filesize:  1.12 KB
 Downloaded:  160 Time(s)

Back to top
View user's profile Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic   Printer Friendly Page     Forum Index -> Maps, Models and Mods All times are GMT + 1 Hour
Page 1 of 1

Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum

Welcome Anonymous

Latest: kontol
New Today: 0
New Yesterday: 0
Overall: 355

People Online:
Members: 0
Visitors: 81
Total: 81
Who Is Where:
01: My Account
02: The golden pot
03: The golden pot
04: My Account
05: The golden pot
06: Maps
07: The golden pot
08: The golden pot
09: The golden pot
10: My Account
11: The golden pot
12: The golden pot
13: The golden pot
14: The golden pot
15: The golden pot
16: The golden pot
17: The golden pot
18: The golden pot
19: The golden pot
20: The golden pot
21: The golden pot
22: Maps
23: Maps
24: Rainbow Media
25: The golden pot
26: The golden pot
27: The golden pot
28: The golden pot
29: The golden pot
30: The golden pot
31: Rainbow Media
32: The golden pot
33: The golden pot
34: The golden pot
35: The golden pot
36: The golden pot
37: The golden pot
38: The golden pot
39: The golden pot
40: The golden pot
41: The golden pot
42: The golden pot
43: The golden pot
44: Rainbow Media
45: The golden pot
46: Maps
47: The golden pot
48: The golden pot
49: Home
50: Maps
51: The golden pot
52: The golden pot
53: The golden pot
54: Home
55: Maps
56: The golden pot
57: The golden pot
58: The golden pot
59: The golden pot
60: Maps
61: My Account
62: Rainbow Media
63: The golden pot
64: The golden pot
65: The golden pot
66: The golden pot
67: The golden pot
68: The golden pot
69: The golden pot
70: The golden pot
71: The golden pot
72: The golden pot
73: Maps
74: The golden pot
75: Servers & High Scores
76: The golden pot
77: The golden pot
78: The golden pot
79: The golden pot
80: The golden pot
81: The golden pot

Staff Online:

No staff members are online!

The Rainbow Networks website is hosted by JockeTF and Soder on

The Rainbow Networks
Interactive software released under GNU GPL, Code Credits, Privacy Policy
Azul theme and related images designed by Jamin