OpenArena Message Boards

OpenArena => Technical Snafus => Topic started by: RAZ3R on February 09, 2009, 11:30:34 AM



Title: ForceModel not selectable in team games
Post by: RAZ3R on February 09, 2009, 11:30:34 AM
So until now I've been using the default sarge combined with cg_forcemodel 1, although I was playing around with settings today and decided I wanted to force a different model instead of sarge, so I change 'model', 'headmodel', 'team_model' and 'team_headmodel' to "gargoyle/default". This works fine in 1v1 and ffa (everyone is gargoyle), however in team games everyone is still sarge. Does anyone know if this a bug in oa, or is there something else I'm missing?


Title: Re: ForceModel not selectable in team games
Post by: fromhell on February 09, 2009, 01:10:48 PM
well that's just too bad.


Title: Re: ForceModel not selectable in team games
Post by: Neon_Knight on February 09, 2009, 01:23:38 PM
I have the same problem too. :/


Title: Re: ForceModel not selectable in team games
Post by: fufinha on February 09, 2009, 01:31:53 PM
too bad too :P


Title: Re: ForceModel not selectable in team games
Post by: andrewj on February 09, 2009, 08:46:44 PM
It is hard-coded: cg_forcemodels + teamgame = Sarge


Title: Re: ForceModel not selectable in team games
Post by: dash9 on February 14, 2009, 02:46:43 PM
It is hard-coded: cg_forcemodels + teamgame = Sarge
Where is it hardcoded?


Title: Re: ForceModel not selectable in team games
Post by: andrewj on February 14, 2009, 06:56:16 PM
the code has no rationale, so your guess is as good as mine.

[perhaps because some models may lack red and blue skins]


Title: Re: ForceModel not selectable in team games
Post by: RudyRailer on February 15, 2009, 06:51:53 AM
Yes, lets all be sarge and get rid if the other models
There can be only one! -> XBATTLE ctf!!!!!! :D


Title: Re: ForceModel not selectable in team games
Post by: andrewj on February 15, 2009, 06:08:25 PM
Where is it hardcoded?
(Oops thought you asked Why, heh)

code/cgame/cg_players.c, line 948:
Code:
    941         v = Info_ValueForKey( configstring, "model" );
    942         if ( cg_forceModel.integer ) {
    943                 // forcemodel makes everyone use a single model
    944                 // to prevent load hitches
    945                 char modelStr[MAX_QPATH];
    946                 char *skin;
    947
    948                 if( cgs.gametype >= GT_TEAM && cgs.ffa_gt!=1) {
    949                         Q_strncpyz( newInfo.modelName, DEFAULT_TEAM_MODEL, sizeof( newInfo.modelName ) );
    950                         Q_strncpyz( newInfo.skinName, "default",  sizeof( newInfo.skinName ) );
    951                 } else {
    ..... etc ......



Title: Re: ForceModel not selectable in team games
Post by: epicgoo on February 15, 2009, 06:50:43 PM
this looks random


Title: Re: ForceModel not selectable in team games
Post by: RAZ3R on February 16, 2009, 12:48:44 AM
All models in q3 have both red and blue skins, and remember, if you have force models off every player will be displayed with the model they chose, just either in the red or blue variety.


Title: Re: ForceModel not selectable in team games
Post by: fufinha on February 16, 2009, 05:54:05 AM
Maybe there wasn't a variety of models at the time of this change, but since it hasn't been made clear we can only keep guessing :(

Most models have red/blue colors so hopefully this will be an option again in some later release. It's good to have variety of selectable models. After all, what's the point in introducing and modifying models when the majority of players do ctf.

Almost every OA video on youtube shows grism and no other model.  :/ 


Title: Re: ForceModel not selectable in team games
Post by: Neon_Knight on February 16, 2009, 05:57:18 AM
I thought all the actual OA models have both red & blue skins.


Title: Re: ForceModel not selectable in team games
Post by: dash9 on February 16, 2009, 06:08:50 AM
Where is it hardcoded?
code/cgame/cg_players.c, line 948:
So would it be of if I submit a patch to fix this, or should someone more familiar with the code do it, or should I get in touch with the ioquake3 team?


Title: Re: ForceModel not selectable in team games
Post by: andrewj on February 16, 2009, 06:13:56 AM
I think some girl models (Dark, Rai, Tanisha) cannot have red/blue skins because they are simply reskins of an existing model (Angelyss).

Quote
dash9 said:
So would it be of if I submit a patch to fix this, or should someone more familiar with the code do it, or should I get in touch with the ioquake3 team?
Dunno to tell you the truth.  This "issue" doesn't bother me personally.


Title: Re: ForceModel not selectable in team games
Post by: fromhell on February 16, 2009, 01:16:05 PM
"fix"? It's not broken. This is an intended feature.


Title: Re: ForceModel not selectable in team games
Post by: RAZ3R on February 16, 2009, 02:55:03 PM
dash9: get in touch with the ioquake3 team, and as a temp fix do it yourself and release please (along with deprecated version =).


Title: Re: ForceModel not selectable in team games
Post by: sago007 on February 16, 2009, 03:02:42 PM
or should I get in touch with the ioquake3 team?
ioquake3 does usually not touch game and cgame code except for bugs and security fixes.


Title: Re: ForceModel not selectable in team games
Post by: Graion Dilach on February 16, 2009, 04:53:32 PM
I think some girl models (Dark, Rai, Tanisha) cannot have red/blue skins because they are simply reskins of an existing model (Angelyss).

Actually, they have team-skins, just the teamskins cannot selectable in ingame menu because of the reskinning. The game chooses them in teamplays.
Always the blue Jenna was my favourite.