Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

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

Afraid Test 11

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