Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

Last change on this file since 11933 was 11933, checked in by dreherm, 7 years ago

Afraid Ghosts

File size: 3.5 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
62
63
64
65<PacmanGhost position="0,-20,0" >
66    <attached>
67        <Model position="0,0,0" mesh="PacmanGhostAfraid.mesh" scale="5" />
68    </attached>
69</PacmanGhost>
70
71<PacmanPointAfraid position="215,10,195">
72    <attached>
73        <Model position="0,0,0" mesh="PacmanPointAfraid.mesh" scale="5" />
74    </attached>
75</PacmanPointAfraid>
76
77
78
79
80<!-- POINTS -->
81<PacmanPointSphere position="0,10,0">
82    <attached>
83        <Model position="0,0,0" mesh="PacmanPointSphere.mesh" scale="5" />
84    </attached>
85</PacmanPointSphere>
86
87<PacmanPointSphere position="215,10,245">
88    <attached>
89        <Model position="0,0,0" mesh="PacmanPointSphere.mesh" scale="5" />
90    </attached>
91</PacmanPointSphere>
92
93<PacmanPointSphere position="215,10,195">
94    <attached>
95        <Model position="0,0,0" mesh="PacmanPointSphere.mesh" scale="5" />
96    </attached>
97</PacmanPointSphere>
98
99<PacmanPointAfraid position="215,10,195">
100    <attached>
101        <Model position="0,0,0" mesh="PacmanPointAfraid.mesh" scale="5" />
102    </attached>
103</PacmanPointAfraid>
104
105<!-- Map -->
106<StaticEntity position="0,0,25" direction="0,0,0" collisionType=static mass=100000 friction=0.01 >
107    <attached>
108        <Model position="0,0,0" mesh="PacmanMap.mesh" scale="50" />
109    </attached>
110    <collisionShapes>
111
112  <!-- Edge --> 
113  <BoxCollisionShape position="250,10,0" halfExtents="1,15,250" />
114  <BoxCollisionShape position="-250,10,0" halfExtents="1,15,250" />
115  <BoxCollisionShape position="0,10,250" halfExtents="250,15,1" />
116  <BoxCollisionShape position="0,10,-250" halfExtents="250,15,1" />
117
118   <!-- Shapes in order -->   
119  <BoxCollisionShape position="-200,10,-65" halfExtents="55,15,35" />
120  <BoxCollisionShape position="-200,10,30" halfExtents="55,15,35" />
121  <BoxCollisionShape position="200,10,-65" halfExtents="55,15,35" />
122  <BoxCollisionShape position="200,10,30" halfExtents="55,15,35" />
123
124    </collisionShapes>
125</StaticEntity>
126
127<PortalEndPoint position="-240,10,0" id="1" distance="40" target="Pawn"/>
128<PortalEndPoint position="240,10,0" id="2" distance="40" target="Pawn"/>
129<PortalLink fromID="1" toID="2" />
130<PortalLink fromID="2" toID="1" />
131  </Scene>
132</Level>
Note: See TracBrowser for help on using the repository browser.