Search found 11 matches

by zonide
Fri Sep 01, 2006 3:59 am
Forum: Programming Discussion
Topic: linking files across projects
Replies: 4
Views: 2696

as far as creating an event goes... im not sure what exactly you mean

the trap server thing worked though
by zonide
Fri Sep 01, 2006 2:35 am
Forum: Programming Discussion
Topic: WTF?!?! please help
Replies: 11
Views: 5564

thanks for the reply it sets it to 999 when i first start. if i take 809 damage that puts me down to 90, the game resets the health back to 999 without counting back up. if ( ent->health >> client->ps.stats[STAT_MAX_HEALTH] ) { //ent->health--; //ent->health = client->ps.stats[STAT_MAX_HEALTH]; //en...
by zonide
Wed Aug 30, 2006 10:37 pm
Forum: Programming Discussion
Topic: linking files across projects
Replies: 4
Views: 2696

void zLinkCG_CenterPrint( const char *str, int y, int charWidth ) {

CG_CenterPrint (str, y, charWidth);
}

didnt work

:icon32: :icon32: :icon32:

\code\game\q_shared.h(1436): warning C4013: 'CG_CenterPrint' undefined; assuming extern returning int
by zonide
Wed Aug 30, 2006 10:23 pm
Forum: Programming Discussion
Topic: linking files across projects
Replies: 4
Views: 2696

im new if you cant already tell

_____________

i just noticed that q_shared is used by both game and cgame

....

im going to try to write a function that calls CG_CenterPrint from ClentBegin using q_shared.h as a link
by zonide
Wed Aug 30, 2006 10:11 pm
Forum: Programming Discussion
Topic: linking files across projects
Replies: 4
Views: 2696

linking files across projects

short version: i just need to know how to access CG_CenterPrint which is located in cgame - cg_draw.c from ClientBegin which is located in game - g_client.c issue: cant find cg_centerprint and dont know how to properly link the 2 files guess: because the files containing cg_centerprint are located i...
by zonide
Tue Aug 29, 2006 11:02 pm
Forum: Programming Discussion
Topic: WTF?!?! please help
Replies: 11
Views: 5564

apparently i lied while the health vars are located where i said they were there was some redundancy (spelling) the max health was being set twice in the original source... mistake? or is it like that for a reason i dont understand... why that would have be set twice? i tested it and set the max hea...
by zonide
Mon Aug 28, 2006 3:13 pm
Forum: Programming Discussion
Topic: WTF?!?! please help
Replies: 11
Views: 5564

found it....

it was in multiple spots

g_client.c -- void ClientUserinfoChanged( int clientNum )

g_client.c -- void ClientSpawn(gentity_t *ent)

...

thanks anyways

peace
by zonide
Mon Aug 28, 2006 2:46 pm
Forum: Programming Discussion
Topic: WTF?!?! please help
Replies: 11
Views: 5564

thank you thank you health? ive searched just about everything that says health... only to find that none are simple.. like max_health = 100... ive been writing this message for about an hour now... (i paused to work on the code to see if i didnt have to make this post, but now im back) aright... ri...
by zonide
Sun Aug 27, 2006 5:43 am
Forum: Programming Discussion
Topic: WTF?!?! please help
Replies: 11
Views: 5564

thank you thank you dlls and running from debug mode have come together nicely because of the command line provided from torhu (thank you) as far as qvm files go, tkk bandit gave me a few lines for a bat file to make them work... i modified a compile bat that the original q3 source didnt include (wh...
by zonide
Sat Aug 26, 2006 4:20 pm
Forum: Programming Discussion
Topic: WTF?!?! please help
Replies: 11
Views: 5564

thank you thank you

thank you im guessing that the info for the mods is compiled in to the dll files so if i load q3 with the dlls that have changes in them, q3 will reflect those changes ex: i make a jump to the ceiling mod, compile it into dlls then load it with that command line you gave me, and bam i should be comp...
by zonide
Fri Aug 25, 2006 11:12 pm
Forum: Programming Discussion
Topic: WTF?!?! please help
Replies: 11
Views: 5564

WTF?!?! please help

:icon23: :icon28: :dork: :confused: .... aright... how do i get the compiler to use the modifications ive made durring gameplay? from my understanding it seems easy load the source, make some changes, hit the play button and the mods should be implimented but heres what happens i load the source, ma...