coding: players become invisible

Discussion for Level editing, modeling, programming, or any of the other technical aspects of Quake
Post Reply
torhu
Posts: 76
Joined: Thu Jun 16, 2005 7:57 pm

coding: players become invisible

Post by torhu »

I'm working the old western q3 mod , fixing bugs.

Sometimes players, both bots and humans become invisible. If it's you who become invisible, you won't notice until someone tells you, because everything works as normal. You can still move and fire. It lasts maybe a few seconds, maybe just one second, then it's all normal again.

I don't know how to reproduce it. It's too rare to debug without knowing how to cause it, but it's too common too release a new version without fixing it.

I've only worked on the source for 5 weeks, so I don't know where to begin looking for this bug. Any ideas as to what might be causing it, or in which files or functions I should look?
[url=http://www.smokin-guns.org]Smokin' Guns[/url]
[url=https://sites.google.com/site/monsterbrowser//]Monster Browser[/url]
Timbo
Posts: 171
Joined: Sat Jun 10, 2000 7:00 am

Post by Timbo »

CG_Player in cg_players.c would be my first port of call. This is responsible for rendering each player model.

For debugging rare cases it helps to add cvars that turn on debugging information. That way, when it does occur, you can flip the variable and get some concrete information.
Post Reply