1 | <LevelInfo |
---|
2 | name = "Last Man Standing" |
---|
3 | description = "Be the sole survivor." |
---|
4 | tags = "gametype" |
---|
5 | screenshot = "lastmanstanding.png" |
---|
6 | /> |
---|
7 | |
---|
8 | <?lua |
---|
9 | include("stats.oxo") |
---|
10 | include("HUDTemplates3.oxo") |
---|
11 | include("templates/lodInformation.oxt") |
---|
12 | include("lastManStandingHUD.oxo") |
---|
13 | include("templates/spaceshipAssff.oxt") |
---|
14 | include("templates/spaceshipPirate.oxt") |
---|
15 | include("templates/pickupRepresentationTemplates.oxt") |
---|
16 | ?> |
---|
17 | |
---|
18 | <Level |
---|
19 | name = "Last Man Standing" |
---|
20 | description = "testmap for gametype last man standing" |
---|
21 | gametype = "LastManStanding" |
---|
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/skyBoxMoreNebula" |
---|
31 | > |
---|
32 | |
---|
33 | <?lua |
---|
34 | include("includes/pickups.oxi") |
---|
35 | ?> |
---|
36 | |
---|
37 | <!----- Spawnpoints |
---|
38 | <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"/> |
---|
39 | <SpawnPoint team=0 position="-1150,0,0" lookat="0,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff /> |
---|
40 | <SpawnPoint team=0 position="1150,0,0" lookat="0,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff /> |
---|
41 | <SpawnPoint team=0 position="-700,0,700" lookat="0,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff /> |
---|
42 | <SpawnPoint team=0 position="700,0,-700" lookat="0,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff /> |
---|
43 | <SpawnPoint team=0 position="0,0,-1150" lookat="0,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff /> |
---|
44 | <SpawnPoint team=0 position="0,0,1150" lookat="0,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff /> -----> |
---|
45 | <Bot /> |
---|
46 | |
---|
47 | <!-- ------------ middle asteroid -------------- --> |
---|
48 | <StaticEntity position="0,0,0" collisionType=static> |
---|
49 | <attached> |
---|
50 | <MovableEntity position="0,20,0" rotationrate="-4.5" rotationaxis="0,1,0" > |
---|
51 | <attached> |
---|
52 | <Model position="0,0,0" scale=140 mesh="asteroid_UV.mesh" shadow=true /> |
---|
53 | <Model position="-160,40,28.4" scale=1 mesh="sphere.mesh" /><!--EasterEgg indicator--> |
---|
54 | <PickupSpawner position="-160,40,17" triggerDistance="20" respawnTime="5" maxSpawnedItems="15"><!--EasterEgg--> |
---|
55 | <pickup> |
---|
56 | <InvisiblePickup template=hugeinvisiblepickup /> |
---|
57 | </pickup> |
---|
58 | </PickupSpawner> |
---|
59 | </attached> |
---|
60 | </MovableEntity> |
---|
61 | </attached> |
---|
62 | <collisionShapes> |
---|
63 | <SphereCollisionShape radius="145" /> |
---|
64 | </collisionShapes> |
---|
65 | </StaticEntity> |
---|
66 | |
---|
67 | |
---|
68 | <!-- ---------------asteroid dome----------------- --> |
---|
69 | <?lua |
---|
70 | max = 16 |
---|
71 | for i = 0, max, 1 |
---|
72 | do |
---|
73 | y = math.sin(i/max*6)*750 |
---|
74 | z = math.cos(i/max*6)*750 |
---|
75 | j = 1 |
---|
76 | ?> |
---|
77 | |
---|
78 | <SpawnPoint team=0 position="<?lua print(y*1.4+z*0.2) ?>,0,<?lua print(z*1.4-y*0.2) ?>" lookat="0,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff /> |
---|
79 | |
---|
80 | <StaticEntity position="<?lua print(y) ?>,0,<?lua print(z) ?>" scale="<?lua print(j * 2) ?>" collisionType=static > |
---|
81 | <attached> |
---|
82 | <Model position="0,0,0" scale=15 mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh"> |
---|
83 | </Model> |
---|
84 | </attached> |
---|
85 | <collisionShapes> |
---|
86 | <BoxCollisionShape halfExtents="<?lua print(j * 2) ?>,100,<?lua print(j * 2) ?>" position = "0,0,0" /> |
---|
87 | </collisionShapes> |
---|
88 | </StaticEntity> |
---|
89 | |
---|
90 | <StaticEntity position="<?lua print(y) ?>,100,<?lua print(z) ?>" scale="<?lua print(j * 2) ?>" collisionType=static > |
---|
91 | <attached> |
---|
92 | <Model position="0,0,0" scale=15 mesh="ast<?lua print( math.mod(i+3,6) + 1) ?>.mesh"> |
---|
93 | </Model> |
---|
94 | </attached> |
---|
95 | <collisionShapes> |
---|
96 | <BoxCollisionShape halfExtents="45,100,45" position = "0,0,0" /> |
---|
97 | </collisionShapes> |
---|
98 | </StaticEntity> |
---|
99 | |
---|
100 | <StaticEntity position="<?lua print(y) ?>,200,<?lua print(z) ?>" scale="<?lua print(j * 2) ?>" collisionType=static > |
---|
101 | <attached> |
---|
102 | <Model position="0,0,0" scale=15 mesh="ast<?lua print( math.mod(i*5,6) + 1) ?>.mesh"> |
---|
103 | </Model> |
---|
104 | </attached> |
---|
105 | <collisionShapes> |
---|
106 | <BoxCollisionShape halfExtents="45,100,45" position = "0,0,0" /> |
---|
107 | </collisionShapes> |
---|
108 | </StaticEntity> |
---|
109 | |
---|
110 | <StaticEntity position="<?lua print(y) ?>,-100,<?lua print(z) ?>" scale="<?lua print(j * 2) ?>" collisionType=static > |
---|
111 | <attached> |
---|
112 | <Model position="0,0,0" scale=15 mesh="ast<?lua print( math.mod(i*13+1,6) + 1) ?>.mesh"> |
---|
113 | </Model> |
---|
114 | </attached> |
---|
115 | <collisionShapes> |
---|
116 | <BoxCollisionShape halfExtents="45,100,45" position = "0,0,0" /> |
---|
117 | </collisionShapes> |
---|
118 | </StaticEntity> |
---|
119 | |
---|
120 | <StaticEntity position="<?lua print(y) ?>,-200,<?lua print(z) ?>" scale="<?lua print(j * 2) ?>" collisionType=static > |
---|
121 | <attached> |
---|
122 | <Model position="0,0,0" scale=15 mesh="ast<?lua print( math.mod(i*17,6) + 1) ?>.mesh"> |
---|
123 | </Model> |
---|
124 | </attached> |
---|
125 | <collisionShapes> |
---|
126 | <BoxCollisionShape halfExtents="45,100,45" position = "0,0,0" /> |
---|
127 | </collisionShapes> |
---|
128 | </StaticEntity> |
---|
129 | |
---|
130 | <!-- ---------Top Asteroid----------- --> |
---|
131 | <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 > |
---|
132 | <attached> |
---|
133 | <Model position="0,0,0" scale=25 mesh="ast6.mesh"> |
---|
134 | </Model> |
---|
135 | </attached> |
---|
136 | <collisionShapes> |
---|
137 | <BoxCollisionShape halfExtents="50,140,30" position="0,0,0"/> |
---|
138 | </collisionShapes> |
---|
139 | </StaticEntity> |
---|
140 | |
---|
141 | |
---|
142 | <?lua end ?><!-- ---------------asteroid dome END-------------------> |
---|
143 | |
---|
144 | </Scene> |
---|
145 | </Level> |
---|
146 | |
---|
147 | |
---|