Pages: [1]
  Print  
Author Topic: Importing Quake Arena Models/Bots  (Read 9176 times)
dbrunton
Nub


Cakes 0
Posts: 3


« on: September 11, 2008, 07:50:12 PM »

I can import Quake Arena models/bots into OpenArena by using OpenArena bot files _i.c and _w.c instead of the equivalent Quake Arena bot files.

It looks like for the _i.c files and _w.c files that the only difference is the defines.  Is this correct?  Or do the variables themselves have different ranges?  If they have different ranges what is the conversion factor?


For one bot package I get this error

Error: characteristic 6 is not initialized

This occurs whenever the bot sees someone and it shoots.  If there is no one around and it shoots there are no error messages.

Any idea of what is causing this?  I'm guessing it could be the _c.c file but that seems OK.
Logged
dbrunton
Nub


Cakes 0
Posts: 3


« Reply #1 on: September 12, 2008, 03:19:20 AM »

For this error

Error: characteristic 6 is not initialized

the answer seems to lie in this variable

//reaction time in seconds--the lower the number the better
#define CHARACTERISTIC_REACTIONTIME                 6   //float [0, 5]

I've cut it down from a value from 3.5 to under 1 and to values of 1.1 and the problem goes away.
Logged
dbrunton
Nub


Cakes 0
Posts: 3


« Reply #2 on: September 12, 2008, 03:36:43 AM »

In the _c.c file if you have

CHARACTERISTIC_REACTIONTIME            2

it should be

CHARACTERISTIC_REACTIONTIME            2.0

2 is not a float; 2.0 is a float

And that's the error.


Logged
epicgoo
Member


Cakes 5
Posts: 203


« Reply #3 on: September 12, 2008, 04:09:23 AM »

...
« Last Edit: September 13, 2008, 04:47:12 AM by f0rqu3 » Logged
zuma
Lesser Nub


Cakes 5
Posts: 126


« Reply #4 on: September 15, 2008, 12:52:20 PM »

thanks. but any real use of this? not like oa will ever support officially q3 bots/models. altho good ol tankjr would be nice.
Logged
fromhell
Administrator
GET A LIFE!
**********

Cakes 35
Posts: 14520



WWW
« Reply #5 on: September 16, 2008, 05:42:15 AM »

this forum won't help you break the q3 eula.
Logged

asking when OA3 will be done won't get OA3 done.
Progress of OA3 currently occurs behind closed doors alone

I do not provide technical support either.

new code development on github
Pages: [1]
  Print  
 
Jump to: