Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Feb 7, 2006, 2:25:35 PM (18 years ago)
Author:
bensch
Message:

fix targettingturret

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/world_entities/weapons/aiming_turret.cc

    r6760 r7070  
    4141{
    4242  this->init();
    43 
    4443  this->loadModel("models/guns/turret2.obj");
    45 
    46 
    47   this->setActionSound(WA_SHOOT, "sound/shot1.wav");
    48   this->setActionSound(WA_ACTIVATE, "sound/voices/rockets.wav");
    49   this->setActionSound(WA_RELOAD, "sound/vocals/reload.wav");
    5044}
    5145
     
    9084
    9185  this->setCapability(WTYPE_ALLDIRS | WTYPE_TURRET);
    92   this->setProjectileType(CL_ROCKET);
     86  this->setProjectileType(CL_GUIDED_MISSILE);
    9387
    9488
     
    10094  this->target->setRange(400);
    10195  this->target->setAngle(M_PI_2);
     96
     97  this->setActionSound(WA_SHOOT, "sound/explosions/explosion_3.wav");
     98  this->setActionSound(WA_ACTIVATE, "sound/voices/rockets.wav");
     99  this->setActionSound(WA_RELOAD, "sound/vocals/reload.wav");
     100
    102101}
    103102
Note: See TracChangeset for help on using the changeset viewer.