Changeset 11970 for code/branches/OrxyRoad_FS18
- Timestamp:
- May 17, 2018, 2:48:18 PM (7 years ago)
- Location:
- code/branches/OrxyRoad_FS18
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/OrxyRoad_FS18/data/levels/OrxyRoad.oxw
r11899 r11970 30 30 <Scene 31 31 ambientlight = "1.0, 1.0, 1.0" 32 skybox = "Orxonox/ skyBoxClouds"32 skybox = "Orxonox/Starbox" 33 33 negativeWorldRange = "-100000, -100000, -100000" 34 34 positiveWorldRange = " 100000, 100000, 100000" … … 50 50 <OrxyRoadCenterPoint name=invadercenter /> 51 51 52 <!-- 53 52 54 <StaticEntity position="0,-50,0" direction="0,0,0" scale="1" collisionType=static mass=1 friction=0.01 > 53 55 <attached> … … 61 63 </StaticEntity> 62 64 63 65 --> 64 66 65 67 -
code/branches/OrxyRoad_FS18/data/levels/templates/OrxyRoadPattern.oxt
r11934 r11970 90 90 91 91 </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 108 108 switch(type) 109 109 { 110 case 0 : cube->addTemplate(" SingleOrxyRoadCube");//default110 case 0 : cube->addTemplate("asteroid");//default 111 111 break; 112 112 case 1: 113 113 114 cube->addTemplate(" SingleOrxyRoadCube");//spaceship114 cube->addTemplate("spacecruiser");//spaceship 115 115 116 116 break; 117 case 2: cube->addTemplate(" SingleOrxyRoadCube");//satellite117 case 2: cube->addTemplate("spacecruiser");//satellite 118 118 break; 119 case 3: cube->addTemplate(" SingleOrxyRoadCube");//asteroid119 case 3: cube->addTemplate("asteroid");//asteroid 120 120 121 121 }
Note: See TracChangeset
for help on using the changeset viewer.