1 | <LevelInfo |
---|
2 | name = "00 Team Multiplayer Level" |
---|
3 | description = "Team Deathmatch." |
---|
4 | tags = "test" |
---|
5 | screenshot = "teamdeathmatch.png" |
---|
6 | /> |
---|
7 | <?lua |
---|
8 | include("stats.oxo") |
---|
9 | include("HUDTemplates3.oxo") |
---|
10 | include("templates/lodInformation.oxt") |
---|
11 | include("lastTeamStandingHUD.oxo") |
---|
12 | include("templates/spaceshipAssff.oxt") |
---|
13 | include("templates/spaceshipPirate.oxt") |
---|
14 | include("templates/pickupRepresentationTemplates.oxt") |
---|
15 | ?> |
---|
16 | |
---|
17 | <Level |
---|
18 | name = "00 Team Multiplayer Level" |
---|
19 | description = "testmap for gametype teamdeathmatch" |
---|
20 | gametype = "TeamDeathmatch" |
---|
21 | > |
---|
22 | <templates> |
---|
23 | <Template link=lodtemplate_default /> |
---|
24 | </templates> |
---|
25 | <?lua include("includes/notifications.oxi") ?> |
---|
26 | |
---|
27 | <Scene |
---|
28 | ambientlight = "0.8, 0.8, 0.8" |
---|
29 | skybox = "Orxonox/skyBoxBasic" |
---|
30 | > |
---|
31 | |
---|
32 | <?lua |
---|
33 | include("includes/pickups.oxi") |
---|
34 | ?> |
---|
35 | |
---|
36 | <WorldAmbientSound source="Nebula_metal.ogg" looping="true" playOnLoad="true" /> |
---|
37 | |
---|
38 | <Bot /> |
---|
39 | |
---|
40 | <!-- ------------ middle asteroid -------------- --> |
---|
41 | <StaticEntity position="0,20,0" collisionType=static> |
---|
42 | <attached> |
---|
43 | <Model position="0,0,0" scale=140 mesh="asteroid_UV.mesh" shadow=true /> |
---|
44 | <!-- ParticleEmitter position="0,0,0" source="Orxonox/Steam" / --> |
---|
45 | </attached> |
---|
46 | <collisionShapes> |
---|
47 | <SphereCollisionShape radius="145" /> |
---|
48 | </collisionShapes> |
---|
49 | </StaticEntity> |
---|
50 | |
---|
51 | <PickupSpawner pickup=hugeinvisiblepickup position="-160,60,17" triggerDistance="20" respawnTime="5" maxSpawnedItems="10" /><!--EasterEgg--> |
---|
52 | <StaticEntity position="-160,60,28.4"><!--EasterEgg-Indicator--> |
---|
53 | <attached> |
---|
54 | <Model position="0,0,0" scale=1 mesh="sphere.mesh" /> |
---|
55 | </attached> |
---|
56 | </StaticEntity> |
---|
57 | |
---|
58 | <!-- ---------------asteroid dome----------------- --> |
---|
59 | <?lua |
---|
60 | max = 16 |
---|
61 | for i = 0, max, 1 |
---|
62 | do |
---|
63 | y = math.sin(i/max*6)*750 |
---|
64 | z = math.cos(i/max*6)*750 |
---|
65 | j = 1 |
---|
66 | ?> |
---|
67 | |
---|
68 | <TeamSpawnPoint team=0 position="<?lua print(y*1.4+z*0.2) ?>,0,<?lua print(z*1.4-y*0.2) ?>" direction="0,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff /> |
---|
69 | <TeamSpawnPoint team=1 position="<?lua print(y*1.4+z*0.2) ?>,0,<?lua print(z*1.4-y*0.2) ?>" direction="0,0,0" spawnclass=SpaceShip pawndesign=spaceshippirate /> |
---|
70 | |
---|
71 | <StaticEntity position="<?lua print(y) ?>,0,<?lua print(z) ?>" scale="<?lua print(j * 2) ?>" collisionType=static > |
---|
72 | <attached> |
---|
73 | <Model position="0,0,0" scale=15 mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh"> |
---|
74 | </Model> |
---|
75 | </attached> |
---|
76 | <collisionShapes> |
---|
77 | <BoxCollisionShape halfExtents="<?lua print(j * 2) ?>,100,<?lua print(j * 2) ?>" position = "0,0,0" /> |
---|
78 | </collisionShapes> |
---|
79 | </StaticEntity> |
---|
80 | |
---|
81 | <StaticEntity position="<?lua print(y) ?>,100,<?lua print(z) ?>" scale="<?lua print(j * 2) ?>" collisionType=static > |
---|
82 | <attached> |
---|
83 | <Model position="0,0,0" scale=15 mesh="ast<?lua print( math.mod(i+3,6) + 1) ?>.mesh"> |
---|
84 | </Model> |
---|
85 | </attached> |
---|
86 | <collisionShapes> |
---|
87 | <BoxCollisionShape halfExtents="45,100,45" position = "0,0,0" /> |
---|
88 | </collisionShapes> |
---|
89 | </StaticEntity> |
---|
90 | |
---|
91 | <StaticEntity position="<?lua print(y) ?>,200,<?lua print(z) ?>" scale="<?lua print(j * 2) ?>" collisionType=static > |
---|
92 | <attached> |
---|
93 | <Model position="0,0,0" scale=15 mesh="ast<?lua print( math.mod(i*5,6) + 1) ?>.mesh"> |
---|
94 | </Model> |
---|
95 | </attached> |
---|
96 | <collisionShapes> |
---|
97 | <BoxCollisionShape halfExtents="45,100,45" position = "0,0,0" /> |
---|
98 | </collisionShapes> |
---|
99 | </StaticEntity> |
---|
100 | |
---|
101 | <StaticEntity position="<?lua print(y) ?>,-100,<?lua print(z) ?>" scale="<?lua print(j * 2) ?>" collisionType=static > |
---|
102 | <attached> |
---|
103 | <Model position="0,0,0" scale=15 mesh="ast<?lua print( math.mod(i*13+1,6) + 1) ?>.mesh"> |
---|
104 | </Model> |
---|
105 | </attached> |
---|
106 | <collisionShapes> |
---|
107 | <BoxCollisionShape halfExtents="45,100,45" position = "0,0,0" /> |
---|
108 | </collisionShapes> |
---|
109 | </StaticEntity> |
---|
110 | |
---|
111 | <StaticEntity position="<?lua print(y) ?>,-200,<?lua print(z) ?>" scale="<?lua print(j * 2) ?>" collisionType=static > |
---|
112 | <attached> |
---|
113 | <Model position="0,0,0" scale=15 mesh="ast<?lua print( math.mod(i*17,6) + 1) ?>.mesh"> |
---|
114 | </Model> |
---|
115 | </attached> |
---|
116 | <collisionShapes> |
---|
117 | <BoxCollisionShape halfExtents="45,100,45" position = "0,0,0" /> |
---|
118 | </collisionShapes> |
---|
119 | </StaticEntity> |
---|
120 | |
---|
121 | <!-- ---------Top Asteroid----------- --> |
---|
122 | <StaticEntity position="<?lua print(y) ?>,300,<?lua print(z) ?>" scale="<?lua print(j * 2.1) ?>" pitch="90" roll="180" yaw="<?lua print(-90+i*360/max) ?>" collisionType=static > |
---|
123 | <attached> |
---|
124 | <Model position="0,0,0" scale=25 mesh="ast6.mesh"> |
---|
125 | </Model> |
---|
126 | </attached> |
---|
127 | <collisionShapes> |
---|
128 | <BoxCollisionShape halfExtents="50,140,30" position="0,0,0"/> |
---|
129 | </collisionShapes> |
---|
130 | </StaticEntity> |
---|
131 | |
---|
132 | |
---|
133 | <?lua end ?> |
---|
134 | |
---|
135 | </Scene> |
---|
136 | </Level> |
---|
137 | |
---|
138 | |
---|