Changeset 8979 for code/branches/spaceraceTwo/data/levels
- Timestamp:
- Dec 14, 2011, 2:16:45 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/spaceraceTwo/data/levels/Spacerace2.oxw
r8971 r8979 97 97 <WaypointPatrolController alertnessradius=1000 team=10> 98 98 <waypoints> 99 <Model mesh="cube.mesh" scale= 8position="0,-2000,1000" />100 <Model mesh="cube.mesh" scale= 8position="0,2100,2300" />101 <Model mesh="cube.mesh" scale= 8position="0,-400,300" />99 <Model mesh="cube.mesh" scale=0 position="0,-2000,1000" /> 100 <Model mesh="cube.mesh" scale=0 position="0,2100,2300" /> 101 <Model mesh="cube.mesh" scale=0 position="0,-400,300" /> 102 102 </waypoints> 103 103 </WaypointPatrolController> … … 108 108 109 109 110 110 <!-- ------------------Planet----------------- --> 111 <Planet position="0,0,0" scale=300 pitch=-90 mesh="iceplanet.mesh" atmosphere="atmosphere1" rotationaxis="8,1,0" rotationrate="1" atmospheresize=224.0f imagesize=1024.0f /> 112 <StaticEntity position="0,0,0" collisionType=static> 113 <collisionShapes> 114 <SphereCollisionShape radius="399" /> 115 </collisionShapes> 116 </StaticEntity> 117 118 <!-- ---------------asteroid ellipse----------------- --> 119 <?lua 120 max = 20 121 for i = 0, max, 1 122 do 123 y = math.sin(i/max*6)*2000 124 z = math.cos(i/max*6)*2500 125 x = 0 126 ?> 127 <?lua 128 for k = 1, 15, 1 129 do 130 j = math.random() 131 ?> 132 133 <MovableEntity 134 position = "<?lua print(x + math.random() * 500) ?>,<?lua print(y + math.random() * 500) ?>,<?lua print(z + math.random() * 1000) ?>" 135 collisionType = "dynamic" 136 linearDamping = "0.5" 137 angularDamping = "0.01" 138 collisiondamage = "0.01" 139 enablecollisiondamage = "true" 140 scale="<?lua print(j * 5) ?>" > 141 <attached> 142 <Model position="0,0,0" scale="<?lua print(j * 10) ?>" mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh"> 143 <?lua if k == 5 then ?><attached><!-- ---------asteroid fog----- --> 144 <ParticleEmitter position="0,0,0" source="Orxonox/Steam" /> 145 </attached> <?lua end ?> 146 </Model> 147 </attached> 148 <collisionShapes> 149 <SphereCollisionShape radius="<?lua print(j * 80) ?>" /> 150 </collisionShapes> 151 </MovableEntity> 152 <?lua 153 end 154 ?> 155 <?lua end ?> 156 157 <!-- ---------------ForceFields----------------- --> 158 <ForceField position="0,-700,2700" direction="0,1,0" diameter=500 velocity=2000 length=600 /> 159 <MovableEntity position="0,-400,2700"> 160 <attached> 161 <Billboard position="0,0,0" material="Flares/ringflare2" colour="0.5,0,0" scale=2/> 162 <?lua for i=0,15,1 do ?> 163 <Billboard position="-200,<?lua print(i*40) ?>,0" material="Examples/Flare" colour="0.5,0,0" scale=1/> 164 <Billboard position="200,<?lua print(i*40) ?>,0" material="Examples/Flare" colour="0.5,0,0" scale=1/> 165 <?lua end ?> 166 </attached> 167 </MovableEntity> 168 169 <ForceField position="0,2500,2000" direction="0,0,-1" diameter=250 velocity=2000 length=600 /> 170 <MovableEntity position="0,2500,2000"> 171 <attached> 172 <Billboard position="0,0,0" material="Flares/ringflare2" colour="0.5,0,0" scale=2/> 173 <?lua for i=0,15,1 do ?> 174 <Billboard position="-100,0,-<?lua print(i*40) ?>" material="Examples/Flare" colour="0.5,0,0" scale=1/> 175 <Billboard position="100,0,-<?lua print(i*40) ?>" material="Examples/Flare" colour="0.5,0,0" scale=1/> 176 <?lua end ?> 177 </attached> 178 </MovableEntity> 179 180 <ForceField position="0,1300,-800" direction="0,-1,-1" diameter=250 velocity=2000 length=800 /> 181 <MovableEntity position="0,1300,-800"> 182 <attached> 183 <Billboard position="0,0,0" material="Flares/ringflare2" colour="0.5,0,0" scale=2/> 184 <?lua for i=0,20,1 do ?> 185 <Billboard position="-100,<?lua print(-i*40*0.7071) ?>,<?lua print(-i*40*0.7071) ?>" material="Examples/Flare" colour="0.5,0,0" scale=1/> 186 <Billboard position="100,<?lua print(-i*40*0.7071) ?>,<?lua print(-i*40*0.7071) ?>" material="Examples/Flare" colour="0.5,0,0" scale=1/> 187 <?lua end ?> 188 </attached> 189 </MovableEntity> 190 191 <ForceField position="0,-1400,-700" direction="0,-1,1" diameter=250 velocity=2000 length=600 /> 192 <MovableEntity position="0,-1400,-700"> 193 <attached> 194 <Billboard position="0,0,0" material="Flares/ringflare2" colour="0.5,0,0" scale=2/> 195 <?lua for i=0,15,1 do ?> 196 <Billboard position="-100,<?lua print(-i*40*0.7071) ?>,<?lua print(i*40*0.7071) ?>" material="Examples/Flare" colour="0.5,0,0" scale=1/> 197 <Billboard position="100,<?lua print(-i*40*0.7071) ?>,<?lua print(i*40*0.7071) ?>" material="Examples/Flare" colour="0.5,0,0" scale=1/> 198 <?lua end ?> 199 </attached> 200 </MovableEntity> 201 111 202 112 203
Note: See TracChangeset
for help on using the changeset viewer.