- Timestamp:
- Jun 28, 2006, 7:01:42 PM (18 years ago)
- Location:
- branches/single_player_map/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/single_player_map/src/lib/collision_reaction/cr_physics_ground_walk.cc
r8876 r8886 90 90 91 91 height = collPos.y - box->halfLength[1]; 92 PRINTF(0)("height: %f , model height: %f\n", height, box->halfLength[1]);93 PRINTF(0)(" ground normal: %f, %f, %f\n", normal.x, normal.y, normal.z);92 // PRINTF(0)("height: %f , model height: %f\n", height, box->halfLength[1]); 93 // PRINTF(0)(" ground normal: %f, %f, %f\n", normal.x, normal.y, normal.z); 94 94 95 95 // object is beneath the plane (ground) -
branches/single_player_map/src/world_entities/door.cc
r8883 r8886 73 73 74 74 75 this->loadMD2Texture("maps/door mtl_cmbo.jpg");75 this->loadMD2Texture("maps/doors.jpg"); 76 76 this->loadModel("models/creatures/doors.md2", 1.0); 77 77 this->setAnimation(DOOR_CLOSE, MD2_ANIM_ONCE); -
branches/single_player_map/src/world_entities/script_trigger.cc
r8869 r8886 46 46 scriptCalled = false; 47 47 scriptIsOk = false; 48 triggerLasts = false;48 triggerLasts = true; 49 49 addToScript = false; 50 50 … … 54 54 loadParams(root); 55 55 56 if(addToScript )56 if(addToScript && scriptIsOk) 57 57 { 58 58 script->addObject( "ScriptTrigger", this->getName()); … … 104 104 LoadParam(root, "invert", this, ScriptTrigger, setInvert) 105 105 .describe("") 106 .defaultValues(" ");106 .defaultValues("false"); 107 107 LoadParam(root, "triggerlasts", this, ScriptTrigger, setTriggerLasts) 108 108 .describe("") 109 .defaultValues(" ");109 .defaultValues("true"); 110 110 LoadParam(root, "debugdraw", this, ScriptTrigger, setDebugDraw) 111 111 .describe("") 112 .defaultValues(" ");112 .defaultValues("false"); 113 113 LoadParam(root, "addtoscript", this, ScriptTrigger, setAddToScript) 114 114 .describe("True if this scripttrigger should be aviable in the script") 115 .defaultValues(" ");115 .defaultValues("false"); 116 116 } 117 117
Note: See TracChangeset
for help on using the changeset viewer.