Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 1463


Ignore:
Timestamp:
May 28, 2008, 10:29:58 PM (16 years ago)
Author:
FelixSchulthess
Message:

minor hud/radar adjustments

Location:
code/branches/network
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • code/branches/network/bin/levels/sample.oxw

    r1406 r1463  
    1515<Model position="0,2000,0" scale="10" mesh="tomato.mesh" yawpitchroll="-50,60,0" rotationAxis="1,0,0" rotationRate="-30"/>
    1616<Model position="0,0,2000" scale="10" mesh="tomato.mesh" yawpitchroll="-50,-30,0" rotationAxis="1,0,0" rotationRate="-30"/>
     17<Model position="10000,16000,0" scale="100" mesh="DuBall1.mesh"/>
     18<Model position="11400,16000,0" scale="60" mesh="DuBall2.mesh"/>
    1719<NPC position="0,100,400" scale="1" mesh="razor.mesh"/>
    1820<NPC position="0,100,400" scale="1" mesh="razor.mesh"/>
  • code/branches/network/src/orxonox/hud/HUD.cc

    r1461 r1463  
    129129        node = sm->getRootSceneNode()->createChildSceneNode("tomato3", Vector3(0.0, 0.0, 2000.0));
    130130        addRadarObject(node);
     131        node = sm->getRootSceneNode()->createChildSceneNode("station", Vector3(10000.0,16000.0,0.0));
     132        addRadarObject(node, 3);
    131133    }
    132134
  • code/branches/network/src/orxonox/hud/RadarOverlayElement.cc

    r1456 r1463  
    9090            // set size to fit distance...
    9191            float d = ((*it)->getPosition()-shipPos_).length();
    92             if(d<4000) (*it)->panel_->setDimensions(4,4);
    93             else if(d<8000) (*it)->panel_->setDimensions(3,3);
    94             else if(d<16000) (*it)->panel_->setDimensions(2,2);
    95             else (*it)->panel_->setDimensions(1,1);
     92            if(d<10000) (*it)->panel_->setDimensions(4,4);
     93            else if(d<20000) (*it)->panel_->setDimensions(3,3);
     94            else (*it)->panel_->setDimensions(2,2);
    9695
    9796            if (right){
Note: See TracChangeset for help on using the changeset viewer.