Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 2, 2006, 4:34:52 PM (17 years ago)
Author:
rennerc
Message:

still not working

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/network/src/util/multiplayer_team_deathmatch.cc

    r9911 r9912  
    306306{
    307307  if (classId == CL_TURBINE_HOVER)
     308  {
     309    assert(false);
    308310    return "models/ships/hoverglider_mainbody.obj";
     311  }
    309312  if ( team == 0 )
    310313    return "models/creatures/doom_guy.md2";
     
    312315    return "models/creatures/male.md2";
    313316  else
     317  {
    314318    return "";
     319  }
    315320}
    316321
    317322std::string MultiplayerTeamDeathmatch::getPlayableModelTextureFileName( int userId, int team, const ClassID& classId )
    318323{
    319   if ( classId == CL_FPS_PLAYER )
     324  if ( team == 0 || team == 1 )
    320325  {
    321326    if ( team == 0 )
    322       return "maps/doom_guy.png";
     327      return "doom_guy.png";
    323328    else
    324       return "maps/male_fiend.pcx";
     329      return "male_fiend.pcx";
    325330  }
    326331
     
    493498  Playable & playable = *(dynamic_cast<Playable*>(bo));
    494499
     500  PRINTF(0)("%s %s %f\n", playableModel.c_str(), playableTexture.c_str(), playableScale );
     501 
    495502  playable.loadMD2Texture( playableTexture );
    496503  playable.loadModel( playableModel, playableScale );
Note: See TracChangeset for help on using the changeset viewer.