Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 17, 2018, 2:48:18 PM (7 years ago)
Author:
sehirsch
Message:

Updated traffic objects, changed scenery

Location:
code/branches/OrxyRoad_FS18
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • code/branches/OrxyRoad_FS18/data/levels/OrxyRoad.oxw

    r11899 r11970  
    3030  <Scene
    3131    ambientlight = "1.0, 1.0, 1.0"
    32     skybox       = "Orxonox/skyBoxClouds"
     32    skybox       = "Orxonox/Starbox"
    3333    negativeWorldRange = "-100000, -100000, -100000"
    3434    positiveWorldRange = " 100000,  100000,  100000"
     
    5050    <OrxyRoadCenterPoint name=invadercenter />
    5151 
     52  <!--
     53
    5254  <StaticEntity position="0,-50,0" direction="0,0,0"   scale="1" collisionType=static mass=1 friction=0.01 >
    5355      <attached>
     
    6163  </StaticEntity>
    6264   
    63    
     65  -->
    6466   
    6567   
  • code/branches/OrxyRoad_FS18/data/levels/templates/OrxyRoadPattern.oxt

    r11934 r11970  
    9090
    9191</Template>
     92
     93
     94
     95<Template name=spacecruiser>
     96
     97        <OrxyRoadCube position="0,0,0" direction="0,0,0"   scale="1" roll=90 pitch=-90  collisionType=dynamic mass=1 friction=0.01 >
     98      <attached>
     99        <Model position="0,0,0"                 mesh="spacecruiser.mesh"                scale="10"      />
     100               
     101      </attached>
     102      <collisionShapes>
     103      <BoxCollisionShape position="0,-5,2"     halfExtents="38,6,62" />
     104      <BoxCollisionShape position="0,5,2"      halfExtents="20,6,40" />
     105      <BoxCollisionShape position="-16,-10,-2" halfExtents="15,5,57" roll=-14 pitch=3.5 />
     106      <BoxCollisionShape position="16,-10,-2"  halfExtents="15,5,57" roll=14  pitch=3.5 />
     107      <BoxCollisionShape position="19,3.5,2"   halfExtents="18,5,52" roll=-21 />
     108      <BoxCollisionShape position="-19,4.5,2"  halfExtents="18,5,52" roll=21  />
     109      <BoxCollisionShape position="0,4,-59"    halfExtents="18,1,16" pitch=-30 />
     110
     111      scale="10"
     112
     113    </collisionShapes>
     114        </OrxyRoadCube>
     115
     116</Template>
     117
     118<Template name=asteroid>
     119       
     120        <OrxyRoadCube position="0,0,0" direction="0,0,0"   scale="1" collisionType=dynamic mass=1 friction=0.01 >
     121        <attached>
     122      <Model position="0,0,0"           mesh="ast1.mesh"                scale="50"      />
     123    </attached>
     124    <collisionShapes>
     125      <SphereCollisionShape radius="30" />
     126    </collisionShapes>
     127        </OrxyRoadCube>
     128
     129</Template>
     130
     131
     132
  • code/branches/OrxyRoad_FS18/src/modules/orxyroad/OrxyRoad.cc

    r11935 r11970  
    108108                        switch(type)
    109109                        {
    110                         case 0 : cube->addTemplate("SingleOrxyRoadCube");//default
     110                        case 0 : cube->addTemplate("asteroid");//default
    111111                        break;
    112112                        case 1:
    113113                       
    114                         cube->addTemplate("SingleOrxyRoadCube");//spaceship
     114                        cube->addTemplate("spacecruiser");//spaceship
    115115
    116116                        break;
    117                         case 2: cube->addTemplate("SingleOrxyRoadCube");//satellite
     117                        case 2: cube->addTemplate("spacecruiser");//satellite
    118118                        break;
    119                         case 3: cube->addTemplate("SingleOrxyRoadCube");//asteroid
     119                        case 3: cube->addTemplate("asteroid");//asteroid
    120120
    121121                        }
Note: See TracChangeset for help on using the changeset viewer.