Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/3DPacman_FS18/data/levels/3DPacman.oxw @ 11931

Last change on this file since 11931 was 11931, checked in by dreherm, 6 years ago

HUD first commit

File size: 3.0 KB
Line 
1<LevelInfo
2 name = "3DPacman"
3 description = "A 3DVersion of Pacman."
4 tags = "test"
5 screenshot = "emptylevel.png"
6/>
7
8<?lua
9  include("stats.oxo")
10  include("HUDTemplates3.oxo")
11  include("templates/lodInformation.oxt")
12?>
13
14<?lua
15  include("templates/PacmanGelb.oxt")
16?>
17
18<Level
19  plugins = pacman
20  gametype = Pacman
21>
22
23  <templates>
24    <Template link=lodtemplate_default />
25  </templates>
26  <?lua include("includes/notifications.oxi") ?>
27
28  <Scene
29    ambientlight = "0.8, 0.8, 0.8"
30    skybox       = "Orxonox/Starbox"
31  >
32
33    <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"/>
34    <SpawnPoint team=0 position="0,10,245" lookat="0,0,0" spawnclass=PacmanGelb pawndesign=PacmanGelb />
35
36<!-- GHOSTS -->
37<PacmanGhost position="0,10,15" >
38    <attached>
39        <Model position="0,0,0" mesh="PacmanGhostRed.mesh" scale="5" />
40    </attached>
41</PacmanGhost>
42
43<PacmanGhost position="0,10,15" >
44    <attached>
45        <Model position="0,0,0" mesh="PacmanGhostBlue.mesh" scale="5" />
46    </attached>
47</PacmanGhost>
48
49<PacmanGhost position="0,10,15" >
50    <attached>
51        <Model position="0,0,0" mesh="PacmanGhostOrange.mesh" scale="5" />
52    </attached>
53</PacmanGhost>
54
55<PacmanGhost position="0,10,15" >
56    <attached>
57        <Model position="0,0,0" mesh="PacmanGhostPink.mesh" scale="5" />
58    </attached>
59</PacmanGhost>
60
61<!-- POINTS -->
62<PacmanPointSphere position="0,10,0">
63    <attached>
64        <Model position="0,0,0" mesh="PacmanPointSphere.mesh" scale="5" />
65    </attached>
66</PacmanPointSphere>
67
68<PacmanPointSphere position="215,10,245">
69    <attached>
70        <Model position="0,0,0" mesh="PacmanPointSphere.mesh" scale="5" />
71    </attached>
72</PacmanPointSphere>
73
74<PacmanPointSphere position="215,10,195">
75    <attached>
76        <Model position="0,0,0" mesh="PacmanPointSphere.mesh" scale="5" />
77    </attached>
78</PacmanPointSphere>
79
80
81<!-- Map -->
82<StaticEntity position="0,0,25" direction="0,0,0" collisionType=static mass=100000 friction=0.01 >
83    <attached>
84        <Model position="0,0,0" mesh="PacmanMap.mesh" scale="50" />
85    </attached>
86    <collisionShapes>
87
88  <!-- Edge --> 
89  <BoxCollisionShape position="250,10,0" halfExtents="1,15,250" />
90  <BoxCollisionShape position="-250,10,0" halfExtents="1,15,250" />
91  <BoxCollisionShape position="0,10,250" halfExtents="250,15,1" />
92  <BoxCollisionShape position="0,10,-250" halfExtents="250,15,1" />
93
94   <!-- Shapes in order -->   
95  <BoxCollisionShape position="-200,10,-65" halfExtents="55,15,35" />
96  <BoxCollisionShape position="-200,10,30" halfExtents="55,15,35" />
97  <BoxCollisionShape position="200,10,-65" halfExtents="55,15,35" />
98  <BoxCollisionShape position="200,10,30" halfExtents="55,15,35" />
99
100    </collisionShapes>
101</StaticEntity>
102
103<PortalEndPoint position="-240,10,0" id="1" distance="40" target="Pawn"/>
104<PortalEndPoint position="240,10,0" id="2" distance="40" target="Pawn"/>
105<PortalLink fromID="1" toID="2" />
106<PortalLink fromID="2" toID="1" />
107  </Scene>
108</Level>
Note: See TracBrowser for help on using the repository browser.