[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4787: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3922)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4789: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3922)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4790: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3922)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4791: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3922)
InsideQC Forums • View topic - NQ Colored Dead Bodies

NQ Colored Dead Bodies

Discuss programming topics for the various GPL'd game engine sources.

Moderator: InsideQC Admins

NQ Colored Dead Bodies

Postby Baker » Fri Jul 13, 2012 9:51 am

The night is young. How else can I annoy the world before sunsrise? 8) Inquisitive minds want to know ! And if they don't -- well like that ever has stopped me before ..
User avatar
Baker
 
Posts: 3666
Joined: Tue Mar 14, 2006 5:15 am

Re: NQ Colored Dead Bodies

Postby taniwha » Fri Jul 13, 2012 11:13 am

If I remember correctly, the original GL skin code sucked donkey's balls. It was incorrect (as you've stated), and, I believe, uploading every frame. The custom skin code in QW was a train-wreck of potential buffer overflows. Dead bodies did not work reliably. I put a lot of effort into getting it "right" in QF back in 2000, with a few rewrites since.

I can say that, while "ugly" (tastes will vary), using color maps sure was nice for QF's current GLSL implementation :)
Leave others their otherness.
http://quakeforge.net/
taniwha
 
Posts: 399
Joined: Thu Jan 14, 2010 7:11 am

Re: NQ Colored Dead Bodies

Postby r00k » Sat Jul 14, 2012 6:58 pm

Hmm, been a while but, i thought that deadbodies having no color was just a .qc bug. I know you can fix this via quakec... but its been awhile ill have to backtrack this comment ;)
Other than that I thought .colormap was just the player number (like in the output of the status command), which always confused me. :|
r00k
 
Posts: 1111
Joined: Sat Nov 13, 2004 10:39 pm

Re: NQ Colored Dead Bodies

Postby Baker » Sat Jul 14, 2012 7:23 pm

The night is young. How else can I annoy the world before sunsrise? 8) Inquisitive minds want to know ! And if they don't -- well like that ever has stopped me before ..
User avatar
Baker
 
Posts: 3666
Joined: Tue Mar 14, 2006 5:15 am

Re: NQ Colored Dead Bodies

Postby Spike » Sat Jul 14, 2012 8:25 pm

its purely an engine issue.
if mods are in any way buggy its that they leave it active even on eyes, and heads.
quakeworld detects the player model specifically and colourmaps the player's skin image as a replacement texture for all player.mdls, breaking .skin etc.

TF uses colourmaps on lots of things, including with skingroups, software quakeworld supports colourmaps AND player skins.
.
Spike
 
Posts: 2914
Joined: Fri Nov 05, 2004 3:12 am
Location: UK

Re: NQ Colored Dead Bodies

Postby Baker » Sat Jul 14, 2012 8:42 pm

The night is young. How else can I annoy the world before sunsrise? 8) Inquisitive minds want to know ! And if they don't -- well like that ever has stopped me before ..
User avatar
Baker
 
Posts: 3666
Joined: Tue Mar 14, 2006 5:15 am

Re: NQ Colored Dead Bodies

Postby Spike » Sat Jul 14, 2012 9:23 pm

server sends stuffcmds to change player colours. spies mess up the scoreboard too, but then quakeworld also has a 'team' userinfo key for damage stuff.
.
Spike
 
Posts: 2914
Joined: Fri Nov 05, 2004 3:12 am
Location: UK

Re: NQ Colored Dead Bodies

Postby r00k » Sun Jul 15, 2012 3:55 am

Oddly I modified a player mOdel once that had the player carrying a back pack, though i swear that when that player droPped a pack it was colored the same as the Player(I used that pants cOlor in the objects skin) I'm not home ATM so I can't check this... But this might lead to a cheat on some mods :/
r00k
 
Posts: 1111
Joined: Sat Nov 13, 2004 10:39 pm

Re: NQ Colored Dead Bodies

Postby Spike » Sun Jul 15, 2012 4:56 am

if the mod sets .colormap on the dropped backpack then yes. but that's the same whether its vanilla winquake or a 'bugfixed' glquake port.
it might be a cheat, but its a bug when you consider that there's no way to disable it when using a winquake engine (other than fixing the bug), thus doesn't really factor in to any motivation to not fix it.
.
Spike
 
Posts: 2914
Joined: Fri Nov 05, 2004 3:12 am
Location: UK

Re: NQ Colored Dead Bodies

Postby r00k » Sun Jul 15, 2012 5:28 am

Nah maybe im mistaken i cant find the model;its possible i was mistaken that the actual dropped pack was colored...


Sorry Baker not to derail this thread...
Last edited by r00k on Thu Jul 19, 2012 4:16 pm, edited 1 time in total.
r00k
 
Posts: 1111
Joined: Sat Nov 13, 2004 10:39 pm

Re: NQ Colored Dead Bodies

Postby Baker » Thu Jul 19, 2012 11:37 am

Last edited by Baker on Thu Jul 19, 2012 7:46 pm, edited 1 time in total.
The night is young. How else can I annoy the world before sunsrise? 8) Inquisitive minds want to know ! And if they don't -- well like that ever has stopped me before ..
User avatar
Baker
 
Posts: 3666
Joined: Tue Mar 14, 2006 5:15 am

Re: NQ Colored Dead Bodies

Postby r00k » Thu Jul 19, 2012 6:05 pm

I'm looking at the code from the svc_updatecolors point of view then tracking it backwards. Since i use custom skins that are colored, any translations are just for the old pallete method.
If the mod sets a corpse's .colormap to the player's colormap why cant CL_NewTranslation be called when we relink the entites? I have to unravel this idea its been a few years since i looked at the player color code.
r00k
 
Posts: 1111
Joined: Sat Nov 13, 2004 10:39 pm

Re: NQ Colored Dead Bodies

Postby Baker » Thu Jul 19, 2012 10:25 pm

The night is young. How else can I annoy the world before sunsrise? 8) Inquisitive minds want to know ! And if they don't -- well like that ever has stopped me before ..
User avatar
Baker
 
Posts: 3666
Joined: Tue Mar 14, 2006 5:15 am

Re: NQ Colored Dead Bodies

Postby Spike » Thu Jul 19, 2012 10:46 pm

what's with the do{}while(0); blocks without any breaks/continues? just use {} without the extra stuff if you just want the extra scope for declaring locals mid function.

what happens if I join a server and run some sort of script that changes my skin colours through each one of the 196 combinations? then change skin/model and do it all over again...

also, I see no handling for skingroups. :P
.
Spike
 
Posts: 2914
Joined: Fri Nov 05, 2004 3:12 am
Location: UK

Re: NQ Colored Dead Bodies

Postby Baker » Thu Jul 19, 2012 11:39 pm

The night is young. How else can I annoy the world before sunsrise? 8) Inquisitive minds want to know ! And if they don't -- well like that ever has stopped me before ..
User avatar
Baker
 
Posts: 3666
Joined: Tue Mar 14, 2006 5:15 am

Next

Return to Engine Programming

Who is online

Users browsing this forum: No registered users and 2 guests