Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/WorldMap_HS18/data/levels/StoryModeMapDev.oxw @ 12072

Last change on this file since 12072 was 12060, checked in by linggj, 6 years ago

Story Mode Controller added

File size: 3.5 KB
Line 
1
2
3<LevelInfo
4 name = "StoryModeMapDev"
5 description = "DEVDEVDEV"
6 screenshot = "emptylevel.png"
7/>
8
9<?lua
10  include("stats.oxo")
11  include("StoryModeHUD.oxo")
12  include("templates/lodInformation.oxt")
13  include("templates/spaceshipAssff.oxt")
14  include("templates/StoryMode.oxt")
15?>
16
17<Level
18gametype = StoryMode
19>
20
21  <templates>
22    <Template link=lodtemplate_default />
23  </templates>
24  <?lua include("includes/notifications.oxi") ?>
25<?lua
26  include("templates/spaceshipEscort.oxt")
27?>
28  <Scene
29    ambientlight = "0.2, 0.2, 0.2"
30    skybox       = "Orxonox/Starbox"
31  >
32
33
34    <StaticEntity position="0,0,0" direction="0,0,-1" >
35      <attached>
36
37        <Model name="a" position="600,370,0" mesh="planets/moon.mesh" scale=100 visible="false" />
38         
39       
40         <Model position="550,300,0" mesh="assff.mesh" scale=20  visible="true" orientation="-0.015,0.091,0.038,-0.995"/>
41               <Model position="600,370,0" mesh="Coordinates.mesh" scale=10 />
42        <Billboard colour="1,1,0.05" position="600,370,-80"  material="Flares/lensflare" scale=4.5 />
43       
44
45        <Model position="100,350,-250" mesh="planets/moon.mesh" scale=100  visible="false"/>
46         <Model position="50,300,-250" mesh="assff.mesh" scale=20  visible="true" orientation="-0.015,0.091,0.038,-0.995"/>
47        <Billboard colour="1,1,0.05" position="100,350,-330"  material="Flares/lensflare" scale=4.5 />
48
49        <Model position="-600,250,-500" mesh="planets/moon.mesh" scale=100 />
50        <Billboard colour="1,1,0.05" position="-600,250,-580"  material="Flares/lensflare" scale=5 />
51
52        <Model position="-1000,50,-750" mesh="planets/moon.mesh" scale=100 />
53        <Billboard colour="1,1,0.05" position="-1000,50,-830"  material="Flares/lensflare" scale=5 />
54
55        <Model position="-900,-400,-1000" mesh="planets/moon.mesh" scale=100 />
56        <Billboard colour="1,1,0.05" position="-900,-400,-1080"  material="Flares/lensflare" scale=5 />
57
58        <Model position="-500,-700,-1250" mesh="planets/moon.mesh" scale=100 />
59        <Billboard colour="1,1,0.05" position="-500,-700,-1330"  material="Flares/lensflare" scale=5 />
60
61        <Model position="0,-900,-1500" mesh="planets/moon.mesh" scale=100 />
62        <Billboard colour="1,1,0.05" position="0,-900,-1580" material="Flares/lensflare" scale=5 />
63
64        <Model position="700,-1100,-1750" mesh="planets/moon.mesh" scale=100 />
65        <Billboard colour="1,1,0.05" position="700,-1100,-1830"  material="Flares/lensflare" scale=5 />
66
67        <Model position="1500,-1300,-2000" mesh="planets/moon.mesh" scale=100 />
68        <Billboard colour="1,1,0.05" position="1500,-1300,-2080"  material="Flares/lensflare" scale=5 />
69
70      </attached>
71    </StaticEntity>
72   
73
74<SpaceShip position="550,300,0" lookat="0,0,0" team=3 scale=10>
75    <templates>
76        <Template link=spaceshipescort />
77    </templates>
78    <controller>
79        <StoryModeController accuracy=10 team=3>
80            <waypoints>
81                <Model mesh="cube.mesh" scale=8 position="100,350,-250" />
82                <Model mesh="cube.mesh" scale=8 position="-900,-400,-1000" />
83                <Model mesh="cube.mesh" scale=8 position="0,500,0" />
84                <StaticEntity position="0,0,0" />
85            </waypoints>
86        </StoryModeController>
87    </controller>
88</SpaceShip>
89
90
91
92
93    <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"/>
94
95    <SpawnPoint position="000.000, 000.000, 1000.000" orientation="0, 0, 0, -1" pawndesign=StoryMode />
96   
97   
98  </Scene>
99</Level>
100
Note: See TracBrowser for help on using the repository browser.