crack frikbot modification based on quake c?

Discuss anything not covered by any of the other categories.
Post Reply
lukeyuan
Posts: 10
Joined: Sat Oct 30, 2004 5:48 am

crack frikbot modification based on quake c?

Post by lukeyuan »

I have several questions below about quake c, who can help me?

1. in qc files, i can't find definition of function named frik_****, why?
such as frik_stuffcmd, frik_WriteAngle ... just declaration in the
bot_qw.qc file.

2. #21, #57 means what?
Tei
Posts: 193
Joined: Mon Oct 25, 2004 12:22 pm

Re: crack frikbot modification based on quake c?

Post by Tei »

I have several questions below about quake c, who can help me?

1. in qc files, i can't find definition of function named frik_****, why?
such as frik_stuffcmd, frik_WriteAngle ... just declaration in the
bot_qw.qc file.

2. #21, #57 means what?

See question 1.

void () frik_**** = #57; its the definition of frik_***

#57 is the internal builting number, so Its like a pointer:

char * basevideo = 0xBF00;

Internally all builins has a no, from 1 (fixme) to ....whatever
#1, #2, #3,...

You certainly need to learn much more about QC before to start "brain surgery" on frikbots. Anyway... GOOD LUCK!!
Post Reply