Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/menue/data/levels/lastManStanding.oxw @ 8938

Last change on this file since 8938 was 8931, checked in by jo, 13 years ago

Adding new tags: 'gametype' and 'minigame'.

  • Property svn:eol-style set to native
File size: 5.5 KB
RevLine 
[8178]1<LevelInfo
2 name = "Last Man Standing"
3 description = "Be the sole survivor."
[8931]4 tags = "gametype"
[8916]5 screenshot = "lastmanstanding.png"
[8178]6/>
7
[7556]8<?lua
9  include("stats.oxo")
[7679]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")
[7556]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>
[8706]26  <?lua include("includes/notifications.oxi") ?>
[7556]27
28  <Scene
29    ambientlight = "0.8, 0.8, 0.8"
[7785]30    skybox       = "Orxonox/skyBoxMoreNebula"
[7556]31  >
[7605]32
33    <?lua
34      include("includes/pickups.oxi")
35    ?>
36
37<!----- Spawnpoints
[7556]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"/>
[7561]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 />
[7605]44    <SpawnPoint team=0 position="0,0,1150" lookat="0,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff /> ----->
[7561]45<Bot />
[7556]46
[7561]47<!-- ------------ middle asteroid -------------- -->
[8178]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>
[7561]65    </StaticEntity>
66
[7605]67
[7561]68<!-- ---------------asteroid dome----------------- -->
[7556]69<?lua
[7617]70max = 16
71for i = 0, max, 1
[7556]72do
[7561]73    y = math.sin(i/max*6)*750
74    z = math.cos(i/max*6)*750
[7617]75    j = 1
[7561]76    ?>
[7556]77
[7605]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 />
[7600]79
[8079]80    <StaticEntity position="<?lua print(y) ?>,0,<?lua print(z) ?>" scale="<?lua print(j * 2) ?>" collisionType=static >
[7556]81      <attached>
[7561]82        <Model position="0,0,0" scale=15 mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh">
83        </Model>
[7556]84      </attached>
[7585]85      <collisionShapes>
86        <BoxCollisionShape    halfExtents="<?lua print(j * 2) ?>,100,<?lua print(j * 2) ?>" position = "0,0,0" />
87      </collisionShapes>
[7556]88    </StaticEntity>
89
[8079]90    <StaticEntity position="<?lua print(y) ?>,100,<?lua print(z) ?>" scale="<?lua print(j * 2) ?>" collisionType=static >
[7556]91      <attached>
[7561]92        <Model position="0,0,0" scale=15 mesh="ast<?lua print( math.mod(i+3,6) + 1) ?>.mesh">
93        </Model>
[7556]94      </attached>
[7585]95      <collisionShapes>
96        <BoxCollisionShape    halfExtents="45,100,45" position = "0,0,0" />
97      </collisionShapes>
[7605]98    </StaticEntity>
[7556]99
[8079]100    <StaticEntity position="<?lua print(y) ?>,200,<?lua print(z) ?>" scale="<?lua print(j * 2) ?>" collisionType=static >
[7556]101      <attached>
[7561]102        <Model position="0,0,0" scale=15 mesh="ast<?lua print( math.mod(i*5,6) + 1) ?>.mesh">
103        </Model>
[7556]104      </attached>
[7585]105      <collisionShapes>
106        <BoxCollisionShape    halfExtents="45,100,45" position = "0,0,0" />
107      </collisionShapes>
[7561]108    </StaticEntity>
[7556]109
[8079]110    <StaticEntity position="<?lua print(y) ?>,-100,<?lua print(z) ?>" scale="<?lua print(j * 2) ?>" collisionType=static >
[7561]111      <attached>
[7573]112        <Model position="0,0,0" scale=15 mesh="ast<?lua print( math.mod(i*13+1,6) + 1) ?>.mesh">
[7561]113        </Model>
114      </attached>
[7585]115      <collisionShapes>
116        <BoxCollisionShape    halfExtents="45,100,45" position = "0,0,0" />
117      </collisionShapes>
[7561]118    </StaticEntity>
[7556]119
[8079]120    <StaticEntity position="<?lua print(y) ?>,-200,<?lua print(z) ?>" scale="<?lua print(j * 2) ?>" collisionType=static >
[7561]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>
[7585]125      <collisionShapes>
126        <BoxCollisionShape    halfExtents="45,100,45" position = "0,0,0" />
127      </collisionShapes>
[7561]128    </StaticEntity>
129
[7596]130<!-- ---------Top Asteroid----------- -->
[8079]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 >
[7596]132      <attached>
133        <Model position="0,0,0" scale=25 mesh="ast6.mesh">
134        </Model>
135      </attached>
136      <collisionShapes>
[7603]137        <BoxCollisionShape    halfExtents="50,140,30" position="0,0,0"/>
[7596]138      </collisionShapes>
139    </StaticEntity>
[7573]140
141
[8178]142<?lua end ?><!-- ---------------asteroid dome END------------------->
[7561]143
[7556]144  </Scene>
145</Level>
146
[7561]147
Note: See TracBrowser for help on using the repository browser.