Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 29, 2006, 12:51:43 AM (18 years ago)
Author:
patrick
Message:

sniper rifle is added, orientation still false

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

    r8894 r8897  
    121121
    122122  this->getWeaponManager().setSlotCount(2);
    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)));
     123  this->getWeaponManager().setSlotPosition(0, Vector(1.5, -0.7, 0.5));
     124  this->getWeaponManager().setSlotDirection(0, Quaternion(M_PI_2, Vector(0,1,0)));
    125125  this->getWeaponManager().setSlotCapability(0, WTYPE_ALLDIRS | WTYPE_DIRECTIONAL);
    126   this->getWeaponManager().setSlotPosition(1, Vector(-0.5, .2, 1.9));
     126  this->getWeaponManager().setSlotPosition(1, Vector(5.0, 0.0, 0.0));
    127127  this->getWeaponManager().setSlotDirection(1, Quaternion(M_PI_4*.5, Vector(1,0,0)));
    128128
  • branches/single_player_map/src/world_entities/weapons/fps_sniper_rifle.cc

    r8894 r8897  
    7474  this->setClassID(CL_FPS_SNIPER_RIFLE, "FPSSniperRifle");
    7575
    76   this->loadModel("models/guns/fps_sniper_rifle.obj", 0.1);
     76  this->loadModel("models/guns/fps_sniper_rifle.obj", 0.2);
    7777
    7878  this->setStateDuration(WS_SHOOTING, .1);
     
    149149
    150150
     151
Note: See TracChangeset for help on using the changeset viewer.