Changeset 469 for code/branches
- Timestamp:
- Dec 12, 2007, 2:15:24 PM (17 years ago)
- Location:
- code/branches/FICN
- Files:
-
- 3 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
code/branches/FICN/bin/levels/sample.oxw
r467 r469 1 < WorldDataFile>2 < name>Moon Station</name>3 <description>The central moonstation, where the player will 'land'.</description>4 < image>textures/menu/moonstation_512x512.jpg</image>1 <orxonoxworld name="Orxonox sample level" image="textures/menu/moonstation_512x512.jpg"> 2 <description> 3 This is an orxonox sample level. 4 </description> 5 5 6 <LoadScreen> 7 <BackgroundImage>textures/load_screens/ambush.png</BackgroundImage> 8 <ElementCount>16</ElementCount> 9 <BackgroundPS>0,0,1.0,1</BackgroundPS> 10 <BarPS>.65,.87,.3,.05</BarPS> 11 <BarImage>textures/load_screens/ambush-loadbar.png</BarImage> 12 </LoadScreen> 6 <loading> 7 <background color="000000" image="textures/load_screens/ambush.png" /> 8 <bar top="200" left="50" width="300" height="20" image="textures/load_screens/ambush-loadbar.png" /> 9 </loading> 13 10 14 <clip-region>1, 100000</clip-region> 11 <audio> 12 13 </audio> 15 14 16 < WorldEntities>15 <world> 17 16 18 17 18 </world> 19 19 20 <ModelEntity> 21 <name>surface</name> 22 <abs-coor>-250, 100, -100</abs-coor> 23 <abs-dir>1.57, 0, 1, 0</abs-dir> 24 <model>models/decoration/moonsurface_1730.obj, 3000</model> 25 </ModelEntity> 26 27 <Planet> 28 <name>Earth</name> 29 <texture>textures/planets/earth_no_clouds.jpg</texture> 30 <size>250</size> 31 <abs-coor>-1685.414917, 1228.985352, 1216.223511</abs-coor> 32 <abs-dir>3.1412, 0,0,1</abs-dir> 33 </Planet> 34 35 <BspEntity> 36 <Name>levels/maps/moonstation/moonstation.bsp</Name> 37 </BspEntity> 38 39 <SkyBox> 40 <name>Sky</name> 41 <Materialset>textures/sky/simple_space</Materialset> 42 <Size>7520</Size> 43 </SkyBox> 44 45 <FPSPlayer> 46 <name>Player</name> 47 <damageable>true</damageable> 48 <model>models/creatures/doom_male/male.md2, 9</model> 49 <loadShield>10,10,0,0</loadShield> 50 <abs-coor>630,21,-20</abs-coor> 51 <list>group01</list> 52 <!-- <abs-coor>208.740707, -781.369263, -268.533173</abs-coor> underground --> 53 </FPSPlayer> 54 55 <!-- Bridge ------------------------------------------------------------------------ --> 56 57 <AdmTurret> 58 <model>models/guns/turret/turret_body.obj,10</model> 59 <list>group00</list> 60 <type>ceil</type> 61 <damageable>true</damageable> 62 <target>Player</target> 63 <abs-coor>356, 588, -160</abs-coor> 64 <Cannons> 65 <model>models/guns/turret/turret_riffle.obj,10</model> 66 <rel-coor>0, 47, 0</rel-coor> 67 </Cannons> 68 69 <Sensor> 70 <model>models/guns/turret/turret_radar.obj,10</model> 71 <rel-coor>0, 32.5, 0</rel-coor> 72 </Sensor> 73 <Weapon> 74 <Range>400</Range> 75 <SetDamage>10</SetDamage> 76 <FireRate>1</FireRate> 77 <AlwaysHits>false</AlwaysHits> 78 <addPoint>-30,1,11</addPoint> 79 <addPoint>-30,1,-11</addPoint> 80 </Weapon> 81 </AdmTurret> 82 83 <Planet> 84 <name>Earth</name> 85 <texture>textures/planets/earth_no_clouds.jpg</texture> 86 <size>50</size> 87 <abs-coor>458.725555, 505.465271, -164.975540</abs-coor> 88 <abs-dir>3.1412, 0,0,1</abs-dir> 89 <planet-rotation-speed>-0.3</planet-rotation-speed> 90 <planet-rotation-axis>0,1,0</planet-rotation-axis> 91 </Planet> 92 93 <Planet> 94 <name>Moon</name> 95 <texture>textures/planets/pluto.png</texture> 96 <size>10</size> 97 <abs-coor>543.408203, 505.465271, -158.724747</abs-coor> 98 <abs-dir>3.1412, 0,0,0</abs-dir> 99 </Planet> 100 101 <Building> 102 <name>zhara</name> 103 <model>models/space_stations/ZHARA_Space_Station.obj, 1</model> 104 <mountpoints>models/space_stations/ZHARA_Space_Station.oif</mountpoints> 105 <abs-coor>500.981537, 507.057343, -179.489685</abs-coor> 106 <abs-dir>3.1412, 0,1,0</abs-dir> 107 </Building> 108 109 <!-- Air cleaning/lager room ------------------------------------------------ --> 110 111 <AdmTurret> 112 <model>models/guns/turret/turret_body.obj,10</model> 113 <list>group00</list> 114 <target>Player</target> 115 <abs-coor>-119, 123, 25</abs-coor> 116 <damageable>true</damageable> 117 <Cannons> 118 <model>models/guns/turret/turret_riffle.obj,10</model> 119 <rel-coor>0, 47, 0</rel-coor> 120 </Cannons> 121 122 <Sensor> 123 <model>models/guns/turret/turret_radar.obj,10</model> 124 <rel-coor>0, 32.5, 0</rel-coor> 125 </Sensor> 126 <Weapon> 127 <Range>40000</Range> 128 <SetDamage>10</SetDamage> 129 <FireRate>1</FireRate> 130 <AlwaysHits>false</AlwaysHits> 131 <addPoint>-30,1,11</addPoint> 132 <addPoint>-30,1,-11</addPoint> 133 </Weapon> 134 </AdmTurret> 135 136 <Mover> 137 <name>door_aircleaning</name> 138 <bReopen>1</bReopen> 139 <bReclose>1</bReclose> 140 <model>models/doors/door_small_b.obj, 6.7</model><!-- modelpath, size --> 141 <abs-dir>3.141, 0, 1, 0</abs-dir><!-- Pi,,Y-Axis-Rotation, --> 142 <abs-coor>120, 160, 320</abs-coor> 143 <triggers> 144 <ApproachTrigger> 145 <radius>50</radius> 146 </ApproachTrigger> 147 </triggers> 148 <stations> 149 <MoverStation> 150 <moving-time>0.6</moving-time> 151 <rel-target-coor>0, 0, -45</rel-target-coor> 152 <opening-sound>sounds/doors/door_opening2.wav</opening-sound> 153 <closing-sound>sounds/doors/door_opening2.wav</closing-sound> 154 </MoverStation> 155 </stations> 156 </Mover> 157 158 <Mover> 159 <name>door_lager</name> 160 <bReopen>1</bReopen> 161 <bReclose>1</bReclose> 162 <model>models/doors/door_blue_big.obj, 19</model><!-- modelpath, size --> 163 <abs-dir>1.57, 0, 1, 0</abs-dir><!-- Pi,,Y-Axis-Rotation, --> 164 <abs-coor>-65, 128, -161.1</abs-coor> 165 <triggers> 166 <ApproachTrigger> 167 <radius>130</radius> 168 </ApproachTrigger> 169 </triggers> 170 <stations> 171 <MoverStation> 172 <moving-time>1.2</moving-time> 173 <rel-target-coor>0, 92.5, 0</rel-target-coor> 174 <opening-sound>sounds/doors/door_opening2.wav</opening-sound> 175 <closing-sound>sounds/doors/door_opening2.wav</closing-sound> 176 <closed-sound>sounds/doors/door_closed2.wav</closed-sound> 177 </MoverStation> 178 </stations> 179 </Mover> 180 181 <Rotor> 182 <name>rotor_aircleaning</name> 183 <model>models/decoration/rotor1_hack.obj, 5</model> 184 <abs-coor>52,167,241</abs-coor> 185 <abs-dir>0, 0, 0, 0</abs-dir> 186 <rotation>8,0,0</rotation> 187 </Rotor> 188 <Rotor> 189 <name>rotor_aircleaning</name> 190 <model>models/decoration/rotor1_hack.obj, 5</model> 191 <abs-coor>28,167,241</abs-coor> 192 <abs-dir>0, 0, 0, 0</abs-dir> 193 <rotation>8,0,0</rotation> 194 </Rotor> 195 <Rotor> 196 <name>rotor_aircleaning</name> 197 <model>models/decoration/rotor1_hack.obj, 5</model> 198 <abs-coor>4,167,241</abs-coor> 199 <abs-dir>0, 0, 0, 0</abs-dir> 200 <rotation>8,0,0</rotation> 201 </Rotor> 202 <Rotor> 203 <name>rotor_aircleaning</name> 204 <model>models/decoration/rotor1_hack.obj, 5</model> 205 <abs-coor>-20,167,241</abs-coor> 206 <abs-dir>0, 0, 0, 0</abs-dir> 207 <rotation>8,0,0</rotation> 208 </Rotor> 209 210 <!-- Main hall ------------------------------------------------------------ --> 211 <AdmTurret> 212 <model>models/guns/turret/turret_body.obj,10</model> 213 <list>group00</list> 214 <type>ceil</type> 215 <damageable>true</damageable> 216 <target>Player</target> 217 <abs-coor>191, 115, 70</abs-coor> 218 <Cannons> 219 <model>models/guns/turret/turret_riffle.obj,10</model> 220 <rel-coor>0, 47, 0</rel-coor> 221 </Cannons> 222 223 <Sensor> 224 <model>models/guns/turret/turret_radar.obj,10</model> 225 <rel-coor>0, 32.5, 0</rel-coor> 226 </Sensor> 227 <Weapon> 228 <Range>400</Range> 229 <SetDamage>10</SetDamage> 230 <FireRate>1</FireRate> 231 <AlwaysHits>false</AlwaysHits> 232 <addPoint>-30,1,11</addPoint> 233 <addPoint>-30,1,-11</addPoint> 234 </Weapon> 235 </AdmTurret> 236 237 <SpriteParticles> 238 <name>str3</name> 239 <type>sprite</type> 240 <texture>steam01.png</texture> 241 <max-count>50</max-count> 242 <life-span>4, 6</life-span> 243 <radius>0.0, 15.0, 20.0</radius> 244 <radius>0.2, 20.0, 25.0</radius> 245 <radius>1.0, 25.0, 30.0</radius> 246 <mass>1.0, 0.3, .2</mass> 247 <color>0,1, 1, 1,.5</color> 248 <color>.5, .6, .6, .6, .2</color> 249 <color>1, .0, .0, .0, .0</color> 250 <precache>5</precache> 251 <emitters> 252 <PlaneEmitter> 253 <name>SteamEmitter</name> 254 <rel-coor>-4.005549, 251.321747, -11.710030</rel-coor> 255 <rel-dir>0.927172, -0.003523, -0.374517, 0.008722</rel-dir> 256 <spread>0.0, 1</spread> 257 <emission-velocity>20, 30</emission-velocity> 258 <size>8, 15</size> 259 <rate>7</rate> 260 </PlaneEmitter> 261 </emitters> 262 </SpriteParticles> 263 264 <SpriteParticles> 265 <name>Big one hall</name> 266 <type>sprite</type> 267 <texture>steam01.png</texture> 268 <max-count>50</max-count> 269 <life-span>10, 2</life-span> 270 <radius>0.0, 100, 100</radius> 271 <radius>0.2, 100, 100</radius> 272 <radius>1.0, 100, 100</radius> 273 <mass>1.0, 0.5, .3</mass> 274 <color>0,1, 1, 1,.5</color> 275 <color>.5, .6, .6, .6, .2</color> 276 <color>1, .0, .0, .0, .0</color> 277 <precache>5</precache> 278 <emitters> 279 <PlaneEmitter> 280 <name>SteamEmitter</name> 281 <rel-coor>93.780792, -35.366524, 18.198116</rel-coor> 282 <rel-dir>3.1412, 0, 0, 1</rel-dir> 283 <spread>0, 1.0</spread> 284 <emission-velocity>-50,50</emission-velocity> 285 <size>100, 110</size> 286 <rate>2</rate> 287 </PlaneEmitter> 288 </emitters> 289 </SpriteParticles> 290 291 <!-- Destroyed room ------------------------------------------------------- --> 292 <ModelEntity> 293 <name>destroyed fighter</name> 294 <abs-coor>540, 30, -100</abs-coor><!--Orx: koo Y,Z,X --> 295 <abs-dir>2.3, 0.9, -2.5, -0.5</abs-dir> 296 <model>models/spaceships/human_spaceship_fighter.obj, 8.5</model> 297 </ModelEntity> 298 299 <SpriteParticles> 300 <name>str1</name> 301 <type>sprite</type> 302 <texture>steam01.png</texture> 303 <max-count>50</max-count> 304 <life-span>4, 6</life-span> 305 <radius>0.0, 15.0, 20.0</radius> 306 <radius>0.2, 20.0, 25.0</radius> 307 <radius>1.0, 25.0, 30.0</radius> 308 <mass>1.0, 0.3, .2</mass> 309 <color>0,1, 1, 1,.5</color> 310 <color>.5, .6, .6, .6, .2</color> 311 <color>1, .0, .0, .0, .0</color> 312 <precache>5</precache> 313 <emitters> 314 <PlaneEmitter> 315 <name>SteamEmitter</name> 316 <rel-coor>727, 93, -111</rel-coor> 317 <rel-dir>3.1412, 0, 0, 1</rel-dir> 318 <spread>0.0, 1</spread> 319 <emission-velocity>10, 30</emission-velocity> 320 <size>8, 15</size> 321 <rate>7</rate> 322 </PlaneEmitter> 323 </emitters> 324 </SpriteParticles> 325 326 <SpriteParticles> 327 <name>str2</name> 328 <type>sprite</type> 329 <texture>steam01.png</texture> 330 <max-count>50</max-count> 331 <life-span>4, 6</life-span> 332 <radius>0.0, 15.0, 20.0</radius> 333 <radius>0.2, 20.0, 25.0</radius> 334 <radius>1.0, 25.0, 30.0</radius> 335 <mass>1.0, 0.3, .2</mass> 336 <color>0,1, 1, 1,.5</color> 337 <color>.5, .6, .6, .6, .2</color> 338 <color>1, .0, .0, .0, .0</color> 339 <precache>5</precache> 340 <emitters> 341 <PlaneEmitter> 342 <name>SteamEmitter</name> 343 <rel-coor>772, 160, -87.5</rel-coor> 344 <rel-dir>3.1412, 0, 0, 1</rel-dir> 345 <spread>0.0, 1</spread> 346 <emission-velocity>10, 30</emission-velocity> 347 <size>8, 15</size> 348 <rate>7</rate> 349 </PlaneEmitter> 350 </emitters> 351 </SpriteParticles> 352 353 <SpriteParticles> 354 <name>Big one</name> 355 <type>sprite</type> 356 <texture>steam01.png</texture> 357 <max-count>50</max-count> 358 <life-span>10, 2</life-span> 359 <radius>0.0, 100, 100</radius> 360 <radius>0.2, 100, 100</radius> 361 <radius>1.0, 100, 100</radius> 362 <mass>1.0, 0.5, .3</mass> 363 <color>0,1, 1, 1,.5</color> 364 <color>.5, .6, .6, .6, .2</color> 365 <color>1, .0, .0, .0, .0</color> 366 <precache>5</precache> 367 <emitters> 368 <PlaneEmitter> 369 <name>SteamEmitter</name> 370 <rel-coor>616, -50, -196</rel-coor> 371 <rel-dir>3.1412, 0, 0, 1</rel-dir> 372 <spread>0, 1.0</spread> 373 <emission-velocity>-50,50</emission-velocity> 374 <size>120, 150</size> 375 <rate>6</rate> 376 </PlaneEmitter> 377 </emitters> 378 </SpriteParticles> 379 380 <!-- sleeping room ------------------------------------------------------ --> 381 382 <Mover> 383 <name>door_sleepingroom_l</name> 384 <bReopen>1</bReopen> 385 <bReclose>1</bReclose> 386 <model>models/doors/door_small_b.obj, 6.2</model><!-- modelpath, size --> 387 <abs-dir>1.57, 0, 1, 0</abs-dir><!-- Pi,,Y-Axis-Rotation, --> 388 <abs-coor>405.5, 160, 175</abs-coor> 389 <triggers> 390 <ApproachTrigger> 391 <radius>50</radius> 392 </ApproachTrigger> 393 </triggers> 394 <stations> 395 <MoverStation> 396 <moving-time>0.6</moving-time> 397 <rel-target-coor>31, 0, 0</rel-target-coor> 398 <opening-sound>sounds/doors/door_opening2.wav</opening-sound> 399 <closing-sound>sounds/doors/door_opening2.wav</closing-sound> 400 <!--<closed-sound>sounds/doors/door_closed2.wav</closed-sound>--> 401 </MoverStation> 402 </stations> 403 </Mover> 404 <Mover> 405 <name>door_sleepingroom_r</name> 406 <bReopen>1</bReopen> 407 <bReclose>1</bReclose> 408 <model>models/doors/door_small_b.obj, 6.2</model><!-- modelpath, size --> 409 <abs-dir>1.57, 0, -1, 0</abs-dir><!-- Pi,,Y-Axis-Rotation, --> 410 <abs-coor>362, 160, 175</abs-coor> 411 <triggers> 412 <ApproachTrigger> 413 <radius>50</radius> 414 </ApproachTrigger> 415 </triggers> 416 <stations> 417 <MoverStation> 418 <moving-time>0.6</moving-time> 419 <rel-target-coor>-31, 0, 0</rel-target-coor> 420 </MoverStation> 421 </stations> 422 </Mover> 423 424 <SpriteParticles> 425 <name>Steam in sleeping room</name> 426 <type>sprite</type> 427 <texture>steam01.png</texture> 428 <max-count>50</max-count> 429 <life-span>2, 5</life-span> 430 <radius>0.0, 15.0, 20.0</radius> 431 <radius>0.2, 20.0, 25.0</radius> 432 <radius>1.0, 25.0, 30.0</radius> 433 <mass>1.0, 0.3, .2</mass> 434 <color>0,1, 1, 1,.5</color> 435 <color>.5, .6, .6, .6, .2</color> 436 <color>1, .0, .0, .0, .0</color> 437 <precache>5</precache> 438 <emitters> 439 <PlaneEmitter> 440 <name>SteamEmitter</name> 441 <rel-coor>382, 210, 255</rel-coor> 442 <rel-dir>3.1412, 0, 0, 1</rel-dir> 443 <spread>0.0, 1</spread> 444 <emission-velocity>10, 30</emission-velocity> 445 <size>8, 15</size> 446 <rate>7</rate> 447 </PlaneEmitter> 448 </emitters> 449 </SpriteParticles> 450 451 <SpriteParticles> 452 <name>Stream Air Cleaning</name> 453 <type>sprite</type> 454 <texture>steam01.png</texture> 455 <max-count>50</max-count> 456 <life-span>10, 0</life-span> 457 <radius>0.0, 15.0, 2</radius> 458 <radius>0.2, 20.0, 5</radius> 459 <radius>1.0, 25.0, 7</radius> 460 <mass>1.0, 0.3, .2</mass> 461 <color>0,0, 1, 0,.5</color> 462 <color>.5, 0, .6, 0, .2</color> 463 <color>1, .0, .0, .0, .0</color> 464 <precache>0</precache> 465 <emitters> 466 <PlaneEmitter> 467 <name>SteamEmitter</name> 468 <rel-coor>85, 168, 243</rel-coor> 469 <rel-dir>1.57, 0, 0, 1</rel-dir> 470 <spread>0.0, 0</spread> 471 <emission-velocity>20, 2</emission-velocity> 472 <size>10, 14</size> 473 <rate>7</rate> 474 </PlaneEmitter> 475 </emitters> 476 </SpriteParticles> 477 478 <!-- Underground ######################################################################## --> 479 <Mover> 480 <name>door_elevator</name> 481 <bReopen>1</bReopen> 482 <bReclose>1</bReclose> 483 <model>models/doors/door_small_b.obj, 10</model><!-- modelpath, size --> 484 <abs-dir>1.57, 0, 1, 0</abs-dir><!-- Pi,,Y-Axis-Rotation, --> 485 <abs-coor>210, -810, -454</abs-coor> 486 <triggers> 487 <ApproachTrigger> 488 <radius>50</radius> 489 </ApproachTrigger> 490 </triggers> 491 <stations> 492 <MoverStation> 493 <moving-time>0.6</moving-time> 494 <rel-target-coor>60, 0, 0</rel-target-coor> 495 <opening-sound>sounds/doors/door_opening2.wav</opening-sound> 496 <closing-sound>sounds/doors/door_opening2.wav</closing-sound> 497 <!--<closed-sound>sounds/doors/door_closed2.wav</closed-sound>--> 498 </MoverStation> 499 </stations> 500 </Mover> 501 502 <!-- Cutscenes/Quests ######################################################################## --> 503 504 <NPC> 505 <name>IntroSpaceship</name> 506 <model>models/spaceships/human_spaceship_fighter.obj,9</model> 507 <mountpoints>models/spaceships/human_spaceship_fighter.oif</mountpoints> 508 <Track> 509 <mode>1</mode> 510 <speed>600</speed> 511 <addPoint>4000, 866, -284</addPoint> 512 <addPoint>1840, 866, -284</addPoint> 513 <addPoint>1302, 524, -217</addPoint> 514 <addPoint>760, 127, -137</addPoint> 515 <addPoint>-25, -360, -99</addPoint> 516 <addPoint>-100, -400, -110</addPoint><!-- hide position --> 517 <addPoint>-120, -410, -113</addPoint> 518 </Track> 519 </NPC> 520 521 <NPC> <!-- triggerable door hack --> 522 <name>triggeredDoor</name> 523 <model>models/doors/door_blue_big.obj, 19</model><!-- modelpath, size --> 524 <abs-coor>222, 0, -472</abs-coor> 525 <abs-dir>0, 0, 1, 0</abs-dir> 526 </NPC> 527 528 <Building> <!-- Camera target hack --> 529 <name>MoonstationCenterHack</name> 530 <model>models/spaceships/human_spaceship_fighter.obj,0.1</model> 531 <abs-coor>300, 36, -170</abs-coor> 532 <abs-dir>3.1412, 0,1,0</abs-dir> 533 </Building> 534 535 <QuestGUI> 536 <name>energyQuest</name> 537 <quest-name>Hangar Door</quest-name> 538 <quest-description>QUEST: Open the door to the hangar.</quest-description> 539 <quest-picture>/textures/orxonox_logo.png</quest-picture> 540 <quest-difficulty>STORY: I have to leave this station. </quest-difficulty> 541 <quest-persons>Maybe I can find a ship in the hangar behind this door.</quest-persons> 542 <reward-picture>/textures/amiv_braeu.png</reward-picture> 543 <reward-description>HINT: Maybe it would be favourably to take a look at the bridge on top of the station.</reward-description> 544 </QuestGUI> 545 546 <BspEntity> 547 <Name>levels/maps/moonstation/moonstation_flares.bsp</Name> 548 <Transparency>1, 1</Transparency> 549 </BspEntity> 550 551 </WorldEntities> <!-- End WoldEntities ##################################################### --> 552 553 <ScriptManager> 554 <Scripts> 555 <Script file="moonstation/intro.lua" /> 556 <Script file="moonstation/quest.lua" /> 557 <Script file="moonstation/switchLevel.lua" /> 558 </Scripts> 559 </ScriptManager> 560 561 <CameraMan name="cameraManager"> 562 <Cameras> 563 <Camera name="CameraIntro"> 564 <Track> 565 <mode>1</mode> 566 <speed>80</speed> 567 <addPoint>-1295.883301, 621.807922, -969.386780</addPoint> 568 <addPoint>-1253.895386, 727.938721, -268.726807</addPoint><!-- cam2 station --> 569 <addPoint>-1092.265991, 743.441040, -15.836866</addPoint> 570 <addPoint>-438.112305, 661.747009, 566.756775</addPoint> 571 <addPoint>180.627167, 755.514709, 871.833801</addPoint><!-- cam2 ship 199.251480, 611.205872, 670.132324 --> 572 <addPoint>871.084534, 629.498901, 619.159058</addPoint> 573 <!-- <addPoint>1409.606201, 668.009155, 122.551933</addPoint> 574 <addPoint>1331.963867, 562.559082, -213.602997</addPoint> --> 575 <addPoint>1160.229858, 248.129639, -396.398438</addPoint> 576 <addPoint>1210.095825, 308.348694, -414.233826</addPoint> 577 <addPoint>881.456055, 184.982635, -176.643326</addPoint> 578 <addPoint>719.431091, 79.719810, -149.023880</addPoint><!-- intro end --> 579 </Track> 580 </Camera> 581 <Camera name="CameraDoor" abs-coor="346, 128, -110"> 582 </Camera> 583 </Cameras> 584 </CameraMan> 585 586 <LightManager> 587 <Lights> 588 <Light diffuse-color="0.5,0.5,0.6" abs-coor="205,565,-162" /> 589 <Light diffuse-color="0.5,0.5,0.6" abs-coor="-990.843811, 896.596130, -1569.420288" /> 590 <Light diffuse-color="0.8,0.8,0.8" abs-coor="203.364914, -807.093872, -228.443466" /> 591 </Lights> 592 <ambient color="1, 1, 1" /> 593 </LightManager> 594 595 </WorldDataFile> 596 20 <scripts> 21 <script file="intro.lua" /> 22 </scripts> 23 </orxonoxworld> -
code/branches/FICN/src/loader/LevelLoader.cc
r347 r469 15 15 dir.append("/"); 16 16 dir.append(file); 17 rootNode = XMLNode::openFileHelper(dir.c_str()," WorldDataFile");17 rootNode = XMLNode::openFileHelper(dir.c_str(),"orxonoxworld"); 18 18 // TODO: Error handling 19 19 20 20 // Assing general level infos to class variables 21 this->name_ = rootNode.getChildNode("name").getText();22 this->description_ = rootNode.getChildNode("description").getText();23 this->image_ = rootNode.getChildNode("image").getText();21 //this->name_ = (std::string)rootNode.getAttribute("name").getText(); 22 //this->image_ = (std::string)rootNode.getAttribute("image").getText(); 23 //this->description_ = (std::string)rootNode.getChildNode("description").getText(); 24 24 25 this->loadingScreen();25 //this->loadingScreen(); 26 26 27 27 // Assign sub-nodes -
code/branches/FICN/src/loader/LevelLoader.h
r379 r469 25 25 // XML Nodes 26 26 XMLNode rootNode; 27 XMLNode loadingScreenNode; 27 28 XMLNode worldNode; 28 XMLNode scriptNode; 29 XMLNode cameraNode; 30 XMLNode lightNode; 29 XMLNode audioNode; 30 XMLNode scriptsNode; 31 31 32 32 // Level information -
code/branches/FICN/src/orxonox/orxonox.cc
r462 r469 221 221 auMan_ = new audio::AudioManager(); 222 222 // load this file from config 223 string levelFile = "s p_level_moonstation.oxw";223 string levelFile = "sample.oxw"; 224 224 loader_ = new loader::LevelLoader(levelFile); 225 225 //TODO: run engine
Note: See TracChangeset
for help on using the changeset viewer.