Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/trunk/data/levels/lastManStanding.oxw @ 8740

Last change on this file since 8740 was 8706, checked in by dafrick, 14 years ago

Merging presentation branch back into trunk.
There are many new features and also a lot of other changes and bugfixes, if you want to know, digg through the svn log.
Not everything is yet working as it should, but it should be fairly stable. If you habe any bug reports, just send me an email.

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