Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/StoryModeMap_HS16/data/levels/StoryModeMap.oxw @ 11286

Last change on this file since 11286 was 11286, checked in by marvinh, 7 years ago

Der Button stellt sich als schwerer als gedacht heraus. Doch Marvin und Juu schaffen alles. Das naechste Mal muessen alle Layouts angepasst werden, dass ueberall ein unsichtbarer Button existiert. Dieser wird danach ueber die 3d gelegt, dass es aussieht als ob button und Planet verschmelzen.

File size: 2.9 KB
Line 
1
2
3<LevelInfo
4 name = "StoryModeMap"
5 description = "Level that should have planets with different missions in it"
6 tags = "test"
7 screenshot = "emptylevel.png"
8/>
9
10<?lua
11  include("stats.oxo")
12  include("StoryModeHUD.oxo")
13  include("templates/lodInformation.oxt")
14  include("templates/StoryMode.oxt")
15
16  include("templates/lodInformation.oxt")
17?>
18
19<Level
20gametype = StoryMode
21>
22
23  <templates>
24    <Template link=lodtemplate_default />
25  </templates>
26  <?lua include("includes/notifications.oxi") ?>
27
28  <Scene
29    ambientlight = "0.2, 0.2, 0.2"
30    skybox       = "Orxonox/Starbox"
31  >
32
33<StaticEntity position="0,0,0" direction="0,0,0" mass=10000 friction=0>
34<attached>
35
36    <Model position="0,0,0" mesh="Coordinates.mesh" scale=50 />
37   </attached>
38  </StaticEntity>
39
40
41
42<StaticEntity position="0,0,0" direction="0,0,0" mass=10000 friction=0>
43  <attached>
44
45      <Model position="-870,0,0" mesh="planets/earth.mesh" scale=30 />
46
47      <Model position="870,0,0" mesh="planets/earth.mesh" scale=30 />
48
49      <Model position="0,-560,0" mesh="planets/earth.mesh" scale=30 />
50
51      <Model position="0,520,0" mesh="planets/earth.mesh" scale=30 />
52
53
54
55
56
57
58      <Model position="0,0,0" mesh="planets/sol.mesh" scale=8 />
59 
60    <Model position="300,300,0" mesh="planets/moon.mesh" scale=60 />
61
62    <Model position="400,400,0" mesh="planets/muunilinst.mesh" scale=25 />
63
64    <Model position="500,500,0" mesh="planets/muunilinst.mesh" scale=18 />
65
66    <Model position="600,600,0" mesh="planets/muunilinst.mesh" scale=13 />
67
68    <Model position="-100,-100,0" mesh="planets/muunilinst.mesh" scale=8 />
69
70    <Model position="-200,-200,0" mesh="planets/muunilinst.mesh" scale=8 />
71
72    <Model position="-300,-300,0" mesh="planets/muunilinst.mesh" scale=8 />
73
74    <Model position="-400,-400,0" mesh="planets/muunilinst.mesh" scale=8 />
75
76    <Model position="-500,-500,0" mesh="planets/muunilinst.mesh" scale=8 />
77
78  </attached>
79</StaticEntity>
80
81
82
83
84
85<Planet
86      position="10000,0,0"
87      scale="100"
88      collisionType="dynamic"
89      linearDamping="0.8"
90      angularDamping="0"
91      mass="5000000"
92      pitch="0"
93      mesh="planets/muunilinst.mesh"
94      atmosphere="atmosphere1"
95      rotationaxis="1,0,0"
96      rotationrate="1.0"
97      atmospheresize="80.0f"
98      imagesize="1024.0f"
99      collisiondamage = 2
100      enablecollisiondamage = true
101    >
102    <attached>
103        <ForceField position="0,0,0" mode="sphere" diameter="1000" velocity="-500" />
104    </attached>
105    <collisionShapes>
106        <SphereCollisionShape radius="100" position="0,0,0" />
107    </collisionShapes>
108</Planet>
109
110
111
112<Template name=spaceshipassff>
113  <ControllableEntity
114   camerapositiontemplate = spaceshipassffcameras
115
116   
117  >
118
119  </ControllableEntity>
120
121
122</Template>
123
124
125
126    <Light type=directional position="0,0,0" direction="0.253, 0.593, -0.765" diffuse="1.0, 0.9, 0.9, 1.0" specular="1.0, 0.9, 0.9, 1.0"/>
127
128    <SpawnPoint position="000.000, 000.000, 1000.000" orientation="0, 0, 0, -1" pawndesign=StoryMode />
129   
130  </Scene>
131</Level>
132
Note: See TracBrowser for help on using the repository browser.