Last change
on this file since 8313 was
8265,
checked in by youngk, 14 years ago
|
Updated Planets level. Works perfectly now.
|
-
Property svn:executable set to
*
|
File size:
2.4 KB
|
Rev | Line | |
---|
[8265] | 1 | <LevelInfo |
---|
| 2 | |
---|
| 3 | name = "Planets" |
---|
| 4 | |
---|
| 5 | description = "Planets Level" |
---|
| 6 | |
---|
| 7 | tags = "test" |
---|
[8253] | 8 | |
---|
[8265] | 9 | /> |
---|
| 10 | |
---|
| 11 | |
---|
| 12 | |
---|
[8253] | 13 | <?lua |
---|
[8265] | 14 | |
---|
| 15 | include("HUDTemplates3.oxo") |
---|
| 16 | |
---|
| 17 | include("stats.oxo") |
---|
| 18 | |
---|
| 19 | include("templates/spaceshipAssff.oxt") |
---|
| 20 | |
---|
| 21 | include("templates/lodInformation.oxt") |
---|
[8253] | 22 | |
---|
[8265] | 23 | ?> |
---|
| 24 | |
---|
| 25 | |
---|
| 26 | |
---|
[8253] | 27 | <Level |
---|
[8265] | 28 | |
---|
| 29 | name = "Planets" |
---|
| 30 | description = "Planets Level" |
---|
| 31 | |
---|
[8253] | 32 | > |
---|
[8265] | 33 | |
---|
| 34 | <templates> |
---|
| 35 | |
---|
| 36 | <Template link=lodtemplate_default /> |
---|
[8253] | 37 | |
---|
[8265] | 38 | </templates> |
---|
| 39 | |
---|
| 40 | |
---|
| 41 | |
---|
| 42 | <Scene |
---|
| 43 | |
---|
| 44 | ambientlight = "0.3, 0.3, 0.3" |
---|
| 45 | |
---|
| 46 | skybox = "Orxonox/skypanoramagen1" |
---|
| 47 | |
---|
| 48 | > |
---|
| 49 | |
---|
[8253] | 50 | |
---|
[8265] | 51 | <?lua |
---|
[8253] | 52 | |
---|
[8265] | 53 | planetsize=4000 |
---|
[8253] | 54 | |
---|
[8265] | 55 | ?> |
---|
| 56 | <Light |
---|
| 57 | type=directional |
---|
| 58 | position="-10000,-10000,0" |
---|
| 59 | direction="1, 1, 0" |
---|
| 60 | diffuse="1.0, 0.9, 0.9, 1.0" |
---|
| 61 | specular="1.0, 0.9, 0.9, 1.0" |
---|
| 62 | /> |
---|
| 63 | |
---|
[8253] | 64 | |
---|
[8265] | 65 | <SpawnPoint |
---|
| 66 | position="<?lua print(math.sin(1.5) *(2)*planetsize) ?>,<?lua print(math.cos(1.5) *3*planetsize) ?>,<?lua print(500) ?>" |
---|
| 67 | lookat="0,0,0" |
---|
| 68 | spawnclass=SpaceShip |
---|
| 69 | pawndesign=spaceshipassff |
---|
| 70 | /> |
---|
[8263] | 71 | |
---|
| 72 | |
---|
[8265] | 73 | |
---|
| 74 | <Planet |
---|
| 75 | position="0,0,0" |
---|
| 76 | scale="<?lua print(planetsize) ?>" |
---|
| 77 | pitch=-90 |
---|
| 78 | mesh="Muunilinst.mesh" |
---|
| 79 | atmosphere="atmosphere1" |
---|
| 80 | rotationaxis="0,1,0" |
---|
| 81 | rotationrate="1" |
---|
| 82 | atmospheresize=300.0f |
---|
| 83 | imagesize=1024.0f |
---|
| 84 | /> |
---|
[8263] | 85 | |
---|
[8265] | 86 | |
---|
| 87 | <Planet |
---|
| 88 | position="<?lua print(3*planetsize) ?>,0,0" |
---|
| 89 | scale="1000" |
---|
| 90 | pitch=0 |
---|
| 91 | mesh="ganymede.mesh" |
---|
| 92 | atmosphere="atmosphere1" |
---|
| 93 | rotationaxis="0,1,0" |
---|
| 94 | rotationrate="1" |
---|
| 95 | atmospheresize=300.0f |
---|
| 96 | imagesize=1024.0f |
---|
| 97 | /> |
---|
| 98 | <Planet |
---|
| 99 | position="0,<?lua print(3*planetsize) ?>,0" |
---|
| 100 | scale="1000" |
---|
| 101 | pitch=0 |
---|
| 102 | mesh="jupiter.mesh" |
---|
| 103 | atmosphere="atmosphere1" |
---|
| 104 | rotationaxis="0,1,0" |
---|
| 105 | rotationrate="1" |
---|
| 106 | atmospheresize=300.0f |
---|
| 107 | imagesize=1024.0f |
---|
| 108 | /> |
---|
| 109 | <Planet |
---|
| 110 | position="0,0,<?lua print(3*planetsize) ?>" |
---|
| 111 | scale="1000" |
---|
| 112 | pitch=0 |
---|
| 113 | mesh="Planet3.mesh" |
---|
| 114 | atmosphere="atmosphere1" |
---|
| 115 | rotationaxis="0,1,0" |
---|
| 116 | rotationrate="1" |
---|
| 117 | atmospheresize=300.0f |
---|
| 118 | imagesize=1024.0f |
---|
| 119 | /> |
---|
| 120 | </Scene> |
---|
[8263] | 121 | |
---|
[8253] | 122 | </Level> |
---|
Note: See
TracBrowser
for help on using the repository browser.