- Timestamp:
- Jun 29, 2006, 12:01:11 AM (18 years ago)
- Location:
- branches/single_player_map/src/world_entities
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/single_player_map/src/world_entities/creatures/fps_player.cc
r8890 r8891 117 117 118 118 // this->addWeapon(wpLeft, 1, 0); 119 this->addWeapon(wpRight,1 ,1);119 this->addWeapon(wpRight,1, 0); 120 120 this->getWeaponManager().changeWeaponConfig(1); 121 121 122 122 this->getWeaponManager().setSlotCount(2); 123 this->getWeaponManager().setSlotPosition(0, Vector(-0.5, .2, -1.9)); 123 this->getWeaponManager().setSlotPosition(0, Vector(0.0, 5.0, 0.0)); 124 this->getWeaponManager().setSlotDirection(1, Quaternion(M_PI_4*.5, Vector(0,1,0))); 124 125 this->getWeaponManager().setSlotCapability(0, WTYPE_ALLDIRS | WTYPE_DIRECTIONAL); 125 126 this->getWeaponManager().setSlotPosition(1, Vector(-0.5, .2, 1.9)); -
branches/single_player_map/src/world_entities/weapons/fps_sniper_rifle.cc
r8890 r8891 74 74 this->setClassID(CL_FPS_SNIPER_RIFLE, "FPSSniperRifle"); 75 75 76 // this->model = (Model*)ResourceManager::getInstance()->load("models/guns/test_gun.obj", OBJ, RP_CAMPAIGN); 77 78 this->loadModel("models/guns/fps_sniper_rifle.obj"); 76 this->loadModel("models/guns/fps_sniper_rifle.obj", 0.1); 79 77 80 78 this->setStateDuration(WS_SHOOTING, .1);
Note: See TracChangeset
for help on using the changeset viewer.