Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jan 21, 2007, 6:23:04 PM (17 years ago)
Author:
nicolasc
Message:

Fixed Wooblegrid, transparancy problem (acid splashes) still exists

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/playability/src/world_entities/weapons/acid_launcher.cc

    r10179 r10298  
    7272{
    7373  this->registerObject(this, AcidLauncher::_objectList);
    74 
     74/*
    7575  Animation3D* animation1 = this->getAnimation(WS_ACTIVATING, this);
    7676  Animation3D* animation2 = this->getAnimation(WS_DEACTIVATING, this);
     
    8787  this->setStateDuration(WS_RELOADING, 1.0f);
    8888  this->setStateDuration(WS_ACTIVATING, .4);
    89   this->setStateDuration(WS_DEACTIVATING, .4);
     89  this->setStateDuration(WS_DEACTIVATING, .4);*/
    9090
    91   this->setEnergyMax(10);
    92   this->increaseEnergy(10);
     91  this->setEnergyMax(100);
     92  this->increaseEnergy(100);
    9393  //this->minCharge = 2;
    9494
     
    9898  this->loadModel("models/guns/turret1.obj", 1.0);
    9999
    100   this->setEmissionPoint(1.684, 0.472, 0);
     100  this->setEmissionPoint(1.0, 0, 0);
    101101  this->getProjectileFactory()->prepare(50);
    102102
     
    158158
    159159      pj->setParent(PNode::getNullParent());
    160       pj->setAbsCoor(this->getEmissionPoint());
     160      pj->setAbsCoor(this->getEmissionPoint() + VECTOR_RAND(.1));
    161161      pj->setAbsDir(this->getAbsDir()+Quaternion(0,VECTOR_RAND(5)));
    162162      pj->activate();
Note: See TracChangeset for help on using the changeset viewer.