Changeset 11975 for code/branches/OrxyRoad_FS18
- Timestamp:
- May 17, 2018, 4:10:30 PM (7 years ago)
- Location:
- code/branches/OrxyRoad_FS18
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/OrxyRoad_FS18/data/levels/OrxyRoad.oxw
r11970 r11975 49 49 50 50 <OrxyRoadCenterPoint name=invadercenter /> 51 52 <!--53 54 <StaticEntity position="0,-50,0" direction="0,0,0" scale="1" collisionType=static mass=1 friction=0.01 >55 <attached>56 <Model position="0,0,0" mesh="plane.mesh" scale3D="100000,0,100000" />57 </attached>58 59 <collisionShapes>60 <BoxCollisionShape position="0,0,0" halfExtents="1,1,1" />61 </collisionShapes>62 63 </StaticEntity>64 65 -->66 67 68 69 51 70 52 </Scene> -
code/branches/OrxyRoad_FS18/data/levels/templates/OrxyRoadPattern.oxt
r11970 r11975 93 93 94 94 95 <Template name=space cruiser>95 <Template name=spaceshuttle> 96 96 97 <OrxyRoadCube position="0,0,0" direction="0,0,0" scale="1" roll= 90 pitch=-90collisionType=dynamic mass=1 friction=0.01 >97 <OrxyRoadCube position="0,0,0" direction="0,0,0" scale="1" roll=0 pitch=0 collisionType=dynamic mass=1 friction=0.01 > 98 98 <attached> 99 <Model position="0,0,0" mesh=" spacecruiser.mesh" scale="10" />99 <Model position="0,0,0" mesh="Transporterspaceship.mesh" scale="10" /> 100 100 101 101 </attached> 102 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> 103 <BoxCollisionShape position=" 0, 0, 20" halfExtents=" 37, 25, 80" /> 104 <BoxCollisionShape position=" 0, 21, 20" halfExtents=" 37, 21, 80" /> 105 <BoxCollisionShape position=" 0, 40, 110" halfExtents=" 20, 10, 40" /> 106 <BoxCollisionShape position=" 0, 45, 170" halfExtents=" 33, 25, 20" /> 107 <BoxCollisionShape position=" -60, 33, 0" halfExtents=" 24, 16, 120" /> 108 <BoxCollisionShape position=" 60, 33, 0" halfExtents=" 24, 16, 120" /> 109 <BoxCollisionShape position=" 0, 10, -90" halfExtents=" 30, 25, 30" /> 110 <BoxCollisionShape position=" 0, -3, -145" halfExtents=" 20, 20, 30" /> 111 </collisionShapes> 114 112 </OrxyRoadCube> 115 113 116 114 </Template> 117 115 118 <Template name=asteroid> 116 117 118 <Template name=asteroid1> 119 119 120 120 <OrxyRoadCube position="0,0,0" direction="0,0,0" scale="1" collisionType=dynamic mass=1 friction=0.01 > … … 131 131 132 132 133 <Template name=asteroid2> 134 135 <OrxyRoadCube position="0,0,0" direction="0,0,0" scale="1" collisionType=dynamic mass=1 friction=0.01 > 136 <attached> 137 <Model position="0,0,0" mesh="ast2.mesh" scale="50" /> 138 </attached> 139 <collisionShapes> 140 <SphereCollisionShape radius="30" /> 141 </collisionShapes> 142 </OrxyRoadCube> 143 144 </Template> 145 146 147 148 <Template name=satellite> 149 150 <OrxyRoadCube position="0,0,0" direction="0,0,0" scale="1" collisionType=dynamic mass=1 friction=0.01 > 151 <attached> 152 <Model position="0,0,0" yaw="90" pitch="-90" roll="0" scale="30" mesh="satellite.mesh" /> 153 </attached> 154 <collisionShapes> 155 <BoxCollisionShape position="0,0,0" halfExtents="30,30,30" /> 156 </collisionShapes> 157 </OrxyRoadCube> 158 159 </Template> 160 161 162 -
code/branches/OrxyRoad_FS18/src/modules/orxyroad/OrxyRoad.cc
r11972 r11975 117 117 case 0 : 118 118 if(templateType >=1){ 119 cube->addTemplate("asteroid ");//default119 cube->addTemplate("asteroid1");//default 120 120 }else { 121 cube->addTemplate(" asteroid");//default121 cube->addTemplate("satellite");//default 122 122 } 123 123 break; 124 124 case 1: 125 125 if(templateType >=1){ 126 cube->addTemplate(" asteroid");//spaceship1126 cube->addTemplate("spaceshuttle");//spaceship1 127 127 }else { 128 cube->addTemplate("space cruiser");//spaceship2128 cube->addTemplate("spaceshuttle");//spaceship2 129 129 } 130 130 … … 133 133 case 2: 134 134 if(templateType >=1){ 135 cube->addTemplate(" asteroid");//satellite135 cube->addTemplate("satellite");//satellite 136 136 }else { 137 cube->addTemplate("s pacecruiser");//satellite137 cube->addTemplate("satellite");//satellite 138 138 } 139 139 … … 142 142 case 3: 143 143 if(templateType >=1){ 144 cube->addTemplate("asteroid ");//asteroid144 cube->addTemplate("asteroid1");//asteroid 145 145 }else { 146 cube->addTemplate(" spacecruiser");//asteroid146 cube->addTemplate("asteroid2");//asteroid 147 147 } 148 148
Note: See TracChangeset
for help on using the changeset viewer.