Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 8883 in orxonox.OLD


Ignore:
Timestamp:
Jun 28, 2006, 6:19:01 PM (18 years ago)
Author:
patrick
Message:

door model and texture

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/single_player_map/src/world_entities/door.cc

    r8881 r8883  
    5454{
    5555  this->init();
    56   if (root != NULL)
     56
     57  if( root != NULL)
    5758    this->loadParams(root);
    5859}
     
    7071
    7172  this->bLocked = false;
     73
     74
     75  this->loadMD2Texture("maps/doormtl_cmbo.jpg");
     76  this->loadModel("models/creatures/doors.md2", 1.0);
     77  this->setAnimation(DOOR_CLOSE, MD2_ANIM_ONCE);
    7278}
    7379
     
    8288  LoadParam(root, "", this, Door, setActionRadius)
    8389      .describe("sets the action radius of the door")
    84       .defaultValues(1);
     90      .defaultValues(3.0);
    8591}
    8692
     
    97103                                                         animationList[animNum].bStoppable,
    98104                                                         playbackMode);
    99 
    100 
    101105}
    102106
Note: See TracChangeset for help on using the changeset viewer.