OpenArena Message Boards

OpenArena => General => Topic started by: dbrunton on September 11, 2008, 07:50:12 PM



Title: Importing Quake Arena Models/Bots
Post by: dbrunton 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.


Title: Re: Importing Quake Arena Models/Bots
Post by: dbrunton 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.


Title: Re: Importing Quake Arena Models/Bots
Post by: dbrunton 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.




Title: Re: Importing Quake Arena Models/Bots
Post by: epicgoo on September 12, 2008, 04:09:23 AM
...


Title: Re: Importing Quake Arena Models/Bots
Post by: zuma 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.


Title: Re: Importing Quake Arena Models/Bots
Post by: fromhell on September 16, 2008, 05:42:15 AM
this forum won't help you break the q3 eula.