Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 9141 in orxonox.OLD for branches/presentation/src/util


Ignore:
Timestamp:
Jul 4, 2006, 3:18:25 PM (18 years ago)
Author:
rennerc
Message:

new model for team 1

File:
1 edited

Legend:

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

    r9119 r9141  
    305305    return "models/creatures/doom_guy.md2";
    306306  else if ( team == 1 )
    307     return "models/creatures/doom_guy.md2";
     307    return "models/creatures/male.md2";
    308308  else
    309309    return "";
     310}
     311
     312std::string MultiplayerTeamDeathmatch::getPlayableModelTextureFileName( int userId, int team, ClassID classId )
     313{
     314  if ( classId == CL_FPS_PLAYER )
     315  {
     316    if ( team == 0 )
     317      return "maps/doom_guy.png";
     318    else
     319      return "maps/male_fiend.pcx";
     320  }
     321 
     322  return "";
     323}
     324
     325float MultiplayerTeamDeathmatch::getPlayableScale( int userId, int team, ClassID classId )
     326{
     327  if ( classId == CL_FPS_PLAYER )
     328  {
     329    return 10.0f;
     330  }
     331 
     332  return 1.0f;
    310333}
    311334
     
    781804}
    782805
    783 std::string MultiplayerTeamDeathmatch::getPlayableModelTextureFileName( int userId, int team, ClassID classId )
    784 {
    785   if ( classId == CL_FPS_PLAYER )
    786   {
    787     return "maps/doom_guy.png";
    788   }
    789  
    790   return "";
    791 }
    792 
    793 float MultiplayerTeamDeathmatch::getPlayableScale( int userId, int team, ClassID classId )
    794 {
    795   if ( classId == CL_FPS_PLAYER )
    796   {
    797     return 10.0f;
    798   }
    799  
    800   return 1.0f;
    801 }
     806
Note: See TracChangeset for help on using the changeset viewer.