Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 976


Ignore:
Timestamp:
Apr 3, 2008, 1:59:46 PM (17 years ago)
Author:
FelixSchulthess
Message:

changed level file so → trunk runnable

Location:
code/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/bin/levels/sample.oxw

    r871 r976  
    1515
    1616<!--Fighter camera="true" position="0,0,0" scale="10" yawpitchroll="-90,-90,0" mesh="assf3.mesh"  forward="500" rotateupdown="200" rotaterightleft="200" looprightleft="200" /-->
    17 <SpaceShip camera="true" position="0,0,0" scale="10" yawpitchroll="-90,-90,0" mesh="assf5.mesh" maxSpeed="500" maxSideAndBackSpeed="50" maxRotation="1.0" transAcc="200" rotAcc="3.0" transDamp="75" rotDamp="1.0" />
     17<SpaceShip camera="true" position="0,0,0" scale="10" yawpitchroll="-90,-90,0" mesh="assf3.mesh" maxSpeed="500" maxSideAndBackSpeed="50" maxRotation="1.0" transAcc="200" rotAcc="3.0" transDamp="75" rotDamp="1.0" />
    1818
    1919<NPC position="0,100,400" scale="1" mesh="razor.mesh"/>
     
    2323<NPC position="100,0,400" scale="1" mesh="razor.mesh"/>
    2424
     25<!--
    2526<Model name="starship" position="200,0,500" scale="10" mesh="starship.mesh" yawpitchroll="-90,-90,0" />
    2627<Model name="drone" position="-200,0,500" scale="10" mesh="drone.mesh" yawpitchroll="-90,-90,0">
     
    3334  </attached>
    3435</Model>
     36-->
    3537
    3638<Model position="-200,1000,500" scale="10" mesh="hoover_body.mesh" yawpitchroll="-90,-90,0" />
  • code/trunk/src/orxonox/objects/SpaceShip.cc

    r871 r976  
    141141        this->tt_->getParticleSystem()->setParameter("local_space","true");
    142142        this->tt_->newEmitter();
     143        this->tt_->newEmitter();
     144
    143145/*
    144146        this->tt_->setDirection(Vector3(0,0,1));
     
    147149*/
    148150        this->tt_->setDirection(Vector3(-1,0,0));
    149         this->tt_->setPositionOfEmitter(0, Vector3(-15,20,-1));
    150         this->tt_->setPositionOfEmitter(1, Vector3(-15,-20,-1));
     151        this->tt_->setPositionOfEmitter(0, Vector3(-35,31,-3));
     152        this->tt_->setPositionOfEmitter(1, Vector3(-35,-31,-3));
     153        this->tt_->setPositionOfEmitter(2, Vector3(-48,0,20));
    151154        this->tt_->setVelocity(50);
    152155
     
    162165        this->greenBillboard_.setBillboardSet("Examples/Flare", ColourValue(0.0, 1.0, 0.0), 1);
    163166
    164         this->redNode_ = this->getNode()->createChildSceneNode(this->getName() + "red", Vector3(0.3, 4.7, -0.3));
     167        this->redNode_ = this->getNode()->createChildSceneNode(this->getName() + "red", Vector3(-0.9, 3.3, -0.4));
    165168        this->redNode_->setInheritScale(false);
    166         this->greenNode_ = this->getNode()->createChildSceneNode(this->getName() + "green", Vector3(0.3, -4.7, -0.3));
     169        this->greenNode_ = this->getNode()->createChildSceneNode(this->getName() + "green", Vector3(-0.9, -3.3, -0.4));
    167170        this->greenNode_->setInheritScale(false);
    168171
  • code/trunk/src/orxonox/objects/SpaceShip.h

    r871 r976  
    8484            float mouseY_;
    8585
    86             int emitterRate_;
     86            float emitterRate_;
    8787    };
    8888}
Note: See TracChangeset for help on using the changeset viewer.