Forum

crack frikbot modification based on quake c?

Discuss anything not covered by any of the other categories.

Moderator: InsideQC Admins

crack frikbot modification based on quake c?

Postby lukeyuan » Sat Oct 30, 2004 5:50 am

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?
lukeyuan
 
Posts: 10
Joined: Sat Oct 30, 2004 5:48 am

Re: crack frikbot modification based on quake c?

Postby Tei » Sat Oct 30, 2004 9:05 am

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!!
User avatar
Tei
 
Posts: 193
Joined: Mon Oct 25, 2004 12:22 pm


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 2 guests