Pages: [1]
  Print  
Author Topic: Problem with Bots.  (Read 11007 times)
Perle
Nub


Cakes 0
Posts: 13


« on: May 11, 2009, 01:12:52 PM »

Since i totally changed Q3Rally into a OpenArena mod the bots don´t work properly. They drive only around in circles and only use the Gauntlet. This is not what i expected.
Anyone got an idea whats wrong there?
Logged
Graion Dilach
Member


Cakes 12
Posts: 403



« Reply #1 on: May 11, 2009, 02:45:48 PM »

QRally was originally written for Quake 3, right? And you just putted it's pk3s into game.

I think (I don't know it, I have never tried it) the mod uses its own references for weapons or using the original Quake3 ones. Which means you have to rewrite all bot's _i.c and _w.c files under pak6-misc.pk3/botfiles. They are just plain texts (Notepad) and check what you find in the QRally pk3s. Use them as base, if you find one, then rezip the new ones to a different pk3.

This reminds me of the custom bot problem (custom bots use the Machinegun only), where I had to rewrite these two files to work under OA.
Logged

One shall remind what have he left behind... to actually realize that it's still cool.
Perle
Nub


Cakes 0
Posts: 13


« Reply #2 on: May 11, 2009, 03:09:29 PM »

Okay. Thanks first. Brings me one step ahead. But don´t they have to compiled with the engine or is changing them and adding them as pk3 enough?
Logged
Graion Dilach
Member


Cakes 12
Posts: 403



« Reply #3 on: May 11, 2009, 03:33:13 PM »

PK3s are renamed zips. That's why I said rezipping. Wink
Logged

One shall remind what have he left behind... to actually realize that it's still cool.
andrewj
Member


Cakes 24
Posts: 584



« Reply #4 on: May 11, 2009, 10:54:48 PM »

The .c files in botfiles/ don't need compiling (they are not actually valid C code).
Logged
Perle
Nub


Cakes 0
Posts: 13


« Reply #5 on: May 12, 2009, 07:08:46 AM »

Okay Guys. Thanks for the help. Will change all to fit for my mod today and keep you informed about success or not. :-)
Logged
Graion Dilach
Member


Cakes 12
Posts: 403



« Reply #6 on: May 12, 2009, 10:37:34 AM »

I checked Q3Rally's botfiles (which were missed, actually...)

Firstly you have to rewrite all the _i.c and _w.c files at pak6-misc's botfiles directory (below are Angelyss's rewritten one for example) then grab out bots.txt from pak6-misc.pk3's and q3r_v132.pk3 scripts folder to check them. So rewrite OA's bots.txt by setting the original models to heads and giving them various new models/cars...
Logged

One shall remind what have he left behind... to actually realize that it's still cool.
Perle
Nub


Cakes 0
Posts: 13


« Reply #7 on: May 12, 2009, 03:54:03 PM »

Works perfect. Almost. Now i have the ERROR:Weapon number out of range thing. Shit. Is there any solution now?
Logged
Graion Dilach
Member


Cakes 12
Posts: 403



« Reply #8 on: May 14, 2009, 03:47:24 AM »

I think I forgot to mention.... delete Team Arena weapon lines. Wink
Logged

One shall remind what have he left behind... to actually realize that it's still cool.
Perle
Nub


Cakes 0
Posts: 13


« Reply #9 on: May 14, 2009, 10:30:05 AM »

Oh, right. And i have to add my flamer.
Logged
Perle
Nub


Cakes 0
Posts: 13


« Reply #10 on: May 17, 2009, 01:47:54 PM »

Hmm. Not really solved. It is still there. But will could be that there are more missionpack lines. Can you watch at angelyss in my svn?
Logged
Graion Dilach
Member


Cakes 12
Posts: 403



« Reply #11 on: May 18, 2009, 02:50:48 PM »

OK. Where can I find that file?

Oh, a sidenote. Even Q3 bots doesn't use the backside weapons. They can only use the original weapons.
Logged

One shall remind what have he left behind... to actually realize that it's still cool.
Perle
Nub


Cakes 0
Posts: 13


« Reply #12 on: May 18, 2009, 03:15:31 PM »

Yes. They never used the backside ones. Think that this will be engine and botlib stuff. The svn is here.

http://q3rally.svn.sourceforge.net/viewvc/q3rally/

Thanks for your help. Changed only angelyss till now.
Logged
Pages: [1]
  Print  
 
Jump to: