[8384] | 1 | <LevelInfo |
---|
| 2 | name = "Planet Demonstration" |
---|
| 3 | description = "Demonstration of Planets" |
---|
[8498] | 4 | tags = "showcase" |
---|
[8916] | 5 | screenshot = "planetdemonstration.png" |
---|
[8384] | 6 | /> |
---|
| 7 | |
---|
[8114] | 8 | <?lua |
---|
[8384] | 9 | include("stats.oxo") |
---|
[8134] | 10 | include("HUDTemplates3.oxo") |
---|
| 11 | include("templates/lodInformation.oxt") |
---|
[8392] | 12 | include("templates/spaceshipHXY.oxt") |
---|
[8114] | 13 | ?> |
---|
| 14 | |
---|
| 15 | <Level |
---|
[8384] | 16 | name = "Planet" |
---|
| 17 | description = "Demonstration of Planets" |
---|
[8114] | 18 | > |
---|
| 19 | <templates> |
---|
[8392] | 20 | <Template link="lodtemplate_default" /> |
---|
[8114] | 21 | </templates> |
---|
[8706] | 22 | <?lua include("includes/notifications.oxi") ?> |
---|
[8114] | 23 | |
---|
| 24 | <Scene |
---|
[8384] | 25 | ambientlight = "0.8, 0.8, 0.8" |
---|
| 26 | skybox = "Orxonox/skypanoramagen1" |
---|
[8114] | 27 | > |
---|
[8384] | 28 | |
---|
[8392] | 29 | <WorldAmbientSound |
---|
| 30 | ambientSource="AlphaCentauri.ogg" |
---|
| 31 | looping="true" |
---|
| 32 | playOnLoad="true" |
---|
| 33 | /> |
---|
| 34 | |
---|
| 35 | <Light |
---|
| 36 | type="directional" |
---|
| 37 | position="-10000,-10000,0" |
---|
| 38 | direction="0.253, 0.593, -0.765" |
---|
| 39 | diffuse="1.0, 0.9, 0.9, 1.0" |
---|
| 40 | specular="1.0, 0.9, 0.9, 1.0" |
---|
| 41 | /> |
---|
[8114] | 42 | |
---|
[8392] | 43 | <SpawnPoint |
---|
| 44 | position="1500,0,0" |
---|
| 45 | lookat="0,0,0" |
---|
| 46 | spawnclass="SpaceShip" |
---|
| 47 | pawndesign="spaceshipHXY" |
---|
| 48 | /> |
---|
[8114] | 49 | |
---|
[8392] | 50 | <Planet |
---|
| 51 | position="0,0,0" |
---|
| 52 | scale="1000" |
---|
| 53 | collisionType="dynamic" |
---|
| 54 | linearDamping="0.8" |
---|
| 55 | angularDamping="0" |
---|
| 56 | mass="10000000" |
---|
| 57 | pitch="0" |
---|
[8438] | 58 | mesh="planets/muunilinst.mesh" |
---|
[8392] | 59 | atmosphere="atmosphere1" |
---|
| 60 | rotationaxis="1,0,0" |
---|
| 61 | rotationrate="1.0" |
---|
[8496] | 62 | atmospheresize="80.0f" |
---|
[8392] | 63 | imagesize="1024.0f" |
---|
[8496] | 64 | collisiondamage = 2 |
---|
| 65 | enablecollisiondamage = true |
---|
[8392] | 66 | > |
---|
| 67 | <attached> |
---|
| 68 | <ForceField position="0,0,0" mode="sphere" diameter="10000" velocity="-50" /> |
---|
| 69 | </attached> |
---|
| 70 | <collisionShapes> |
---|
| 71 | <SphereCollisionShape radius="1000" position="0,0,0" /> |
---|
| 72 | </collisionShapes> |
---|
| 73 | </Planet> |
---|
[8114] | 74 | |
---|
[8392] | 75 | <Planet |
---|
| 76 | position="10000,0,0" |
---|
| 77 | scale="100" |
---|
| 78 | collisionType="dynamic" |
---|
| 79 | linearDamping="0.8" |
---|
| 80 | angularDamping="0" |
---|
| 81 | mass="5000000" |
---|
| 82 | pitch="0" |
---|
[8438] | 83 | mesh="planets/ganymede.mesh" |
---|
[8392] | 84 | atmosphere="atmosphere1" |
---|
| 85 | rotationaxis="1,0,0" |
---|
| 86 | rotationrate="1.0" |
---|
[8496] | 87 | atmospheresize="80.0f" |
---|
[8392] | 88 | imagesize="1024.0f" |
---|
[8496] | 89 | collisiondamage = 2 |
---|
| 90 | enablecollisiondamage = true |
---|
[8392] | 91 | > |
---|
| 92 | <attached> |
---|
| 93 | <ForceField position="0,0,0" mode="sphere" diameter="1000" velocity="-500" /> |
---|
| 94 | </attached> |
---|
| 95 | <collisionShapes> |
---|
| 96 | <SphereCollisionShape radius="100" position="0,0,0" /> |
---|
| 97 | </collisionShapes> |
---|
| 98 | </Planet> |
---|
[8114] | 99 | </Scene> |
---|
| 100 | </Level> |
---|