Changeset 8883 in orxonox.OLD for branches/single_player_map/src/world_entities/door.cc
- Timestamp:
- Jun 28, 2006, 6:19:01 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/single_player_map/src/world_entities/door.cc
r8881 r8883 54 54 { 55 55 this->init(); 56 if (root != NULL) 56 57 if( root != NULL) 57 58 this->loadParams(root); 58 59 } … … 70 71 71 72 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); 72 78 } 73 79 … … 82 88 LoadParam(root, "", this, Door, setActionRadius) 83 89 .describe("sets the action radius of the door") 84 .defaultValues( 1);90 .defaultValues(3.0); 85 91 } 86 92 … … 97 103 animationList[animNum].bStoppable, 98 104 playbackMode); 99 100 101 105 } 102 106
Note: See TracChangeset
for help on using the changeset viewer.