[Orxonox-commit 391] r2143 - media/levels
mockm at orxonox.net
mockm at orxonox.net
Mon May 18 15:05:07 CEST 2009
Author: mockm
Date: 2009-05-18 15:05:07 +0200 (Mon, 18 May 2009)
New Revision: 2143
Modified:
media/levels/gametype_underattack.oxw
Log:
new revisision of level file for gametype UnderAttack
Modified: media/levels/gametype_underattack.oxw
===================================================================
--- media/levels/gametype_underattack.oxw 2009-05-18 12:06:37 UTC (rev 2142)
+++ media/levels/gametype_underattack.oxw 2009-05-18 13:05:07 UTC (rev 2143)
@@ -15,53 +15,133 @@
>
<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" />
-
- <Destroyer
- position = "100,150,0"
- collisionType = dynamic
- mass = 1000
- velocity = "-35,0,0"
- angularDamping = 0.9999999
- health = 10000
- maxhealth = 10000
- initialhealth = 10000
+ <?lua for i = 1, 30, 1 do ?>
+ <MovableEntity
+ position="<?lua print(math.random() * 10000 - 5000) ?>, <?lua print(math.random() * 10000 - 5000) ?>, <?lua print(math.random() * 10000 - 5000) ?>"
+ velocity="<?lua print(math.random() * 500 - 250) ?>, <?lua print(math.random() * 500 - 250) ?>, <?lua print(math.random() * 500 - 250) ?>"
>
+ <attached>
+ <Model
+ <?lua x = math.random() * 150 + 30 ?>
+ scale="<?lua print(x) ?>"
+ mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh"
+ position="0,0,0"
+ />
+ </attached>
+ <collisionShapes>
+ <SphereCollisionShape radius=<?lua print(x) ?> position="0,0,0" />
+ </collisionShapes>
+ </MovableEntity>
+ <?lua end ?>
+
+ <Destroyer
+ position = "100,150,0"
+ collisionType = dynamic
+ mass = 1000
+ velocity = "-35,0,0"
+ angularDamping = 0.9999999
+ health = 10000
+ maxhealth = 10000
+ initialhealth = 10000
+ >
- <attached>
+ <attached>
<TeamSpawnPoint team=1 position="150,0,7" direction="-1,0,0" roll=90 yaw=0 spawnclass=SpaceShip pawndesign=spaceshipassff />
<TeamSpawnPoint team=1 position="0,0,7" lookat="-1,0,0" roll="90" yaw=0 spawnclass=SpaceShip pawndesign=spaceshipassff />
<TeamSpawnPoint team=1 position="-50,0,7" lookat="-1,0,0" roll="90" yaw=0 spawnclass=SpaceShip pawndesign=spaceshipassff />
<TeamSpawnPoint team=1 position="100,0,7" lookat="-1,0,0" roll="90" yaw=0 spawnclass=SpaceShip pawndesign=spaceshipassff />
<TeamSpawnPoint team=1 position="50,0,7" lookat="-1,0,0" roll="90" yaw=0 spawnclass=SpaceShip pawndesign=spaceshipassff />
- <?lua
- for i = 1, 100, 1
- do ?>
- <TeamSpawnPoint team=0 position="<?lua print((math.random() * 500 + 500) * (math.floor(math.random() + 0.5) * 2 - 1)) ?>,<?lua print((math.random() * 500 + 500) * (math.floor(math.random() + 0.5) * 2 - 1)) ?>,<?lua print((math.random() * 500 + 500) * (math.floor(math.random() + 0.5) * 2 - 1)) ?>" lookat="0,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff />
- <!--more spawnpoints for team1-->
- <!--<TeamSpawnPoint team=1 position="<?lua print((math.random() * 500 + 500)) ?>,<?lua print((math.random() * 500 + 500) ) ?>,<?lua print((math.random() * 500 + 500)) ?>" lookat="0,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff />
- <?lua end ?>-->
-
-
+ <?lua for i = 1, 100, 1 do ?>
+ <TeamSpawnPoint
+ team=0
+ position="<?lua print((math.random() * 500 + 500) * (math.floor(math.random() + 0.5) * 2 - 1)) ?>,<?lua print((math.random() * 500 + 500) * (math.floor(math.random() + 0.5) * 2 - 1)) ?>,<?lua print((math.random() * 500 + 500) * (math.floor(math.random() + 0.5) * 2 - 1)) ?>"
+ lookat="0,0,0"
+ spawnclass=SpaceShip
+ pawndesign=spaceshipassff
+ />
+
+ <!--more spawnpoints for team1-->
+ <!--
+ <TeamSpawnPoint
+ team=1 position="<?lua print((math.random() * 500 + 500)) ?>,<?lua print((math.random() * 500 + 500) ) ?>,<?lua print((math.random() * 500 + 500)) ?>"
+ lookat="0,0,0"
+ spawnclass=SpaceShip
+ pawndesign=spaceshipassff
+ />-->
+ <?lua end ?>
+
<Model mesh="Carrier.mesh" scale="5" />
- <Backlight mainstate=activity active=false scale=0.4 name=bltest position=" 7.6, 0, 6" colour="0.2, 0.65, 1.0, 1.0" width=15 length=1500 lifetime=2 elements=50 trailmaterial="Trail/backlighttrail" turnontime=1 turnofftime=1 material="Flares/ThrusterFlare1" />
+ <Backlight
+ mainstate=activity
+ active=false
+ scale=0.4
+ name=bltest
+ position=" 7.6, 0, 6"
+ colour="0.2, 0.65, 1.0, 1.0"
+ width=15
+ length=1500
+ lifetime=2
+ elements=50
+ trailmaterial="Trail/backlighttrail"
+ turnontime=1
+ turnofftime=1
+ material="Flares/ThrusterFlare1"
+ />
<?lua for i=0,8,1 do ?>
- <BlinkingBillboard position="<?lua print(200-270/8*i)?> ,15,2" material="Examples/Flare" colour="1.0, 0.5, 0.3" phase=<?lua print(-360/8*i)?> amplitude=0.1 frequency=0.5 quadratic=1 />
- <BlinkingBillboard position="<?lua print(200-270/8*i)?>,-15,2" material="Examples/Flare" colour="1.0, 0.5, 0.3" phase=<?lua print(-360/8*i)?> amplitude=0.1 frequency=0.5 quadratic=1 />
+ <BlinkingBillboard
+ position="<?lua print(200-270/8*i)?> ,15,2"
+ material="Examples/Flare"
+ colour="1.0, 0.5, 0.3"
+ phase=<?lua print(-360/8*i)?>
+ amplitude=0.1
+ frequency=0.5
+ quadratic=1
+ />
+
+ <BlinkingBillboard
+ position="<?lua print(200-270/8*i)?>,-15,2"
+ material="Examples/Flare"
+ colour="1.0, 0.5, 0.3"
+ phase=<?lua print(-360/8*i)?>
+ amplitude=0.1
+ frequency=0.5
+ quadratic=1
+ />
<?lua end ?>
- <Backlight scale=1 position=" 169, 75, -15" colour="1, 0.85, 0.5, 0.5" width=40 length=1000 lifetime=5 elements=15 trailmaterial="Trail/backlighttrail" material="Examples/Flare" />
- <Backlight scale=1 position=" 169, -75, -15" colour="1, 0.85, 0.5, 0.5" width=40 length=1000 lifetime=5 elements=15 trailmaterial="Trail/backlighttrail" material="Examples/Flare" />
- </attached>
- <collisionShapes>
- <BoxCollisionShape position="70,0,-25" halfExtents="150, 50, 25" />
- <BoxCollisionShape position="95,75,-16" halfExtents="70, 10, 12" />
- <BoxCollisionShape position="95,-75,-16" halfExtents="70, 10, 12" />
- <BoxCollisionShape position="77,47,30" halfExtents="110, 2, 30" />
- <BoxCollisionShape position="77,-47,30" halfExtents="110, 2, 30" />
- <BoxCollisionShape position="77,0,50" halfExtents="110, 45, 6" />
- <BoxCollisionShape position="167,0,70" halfExtents="17, 20, 20" />
- </collisionShapes>
- </Destroyer>
+ <Backlight
+ scale=1
+ position=" 169, 75, -15"
+ colour="1, 0.85, 0.5, 0.5"
+ width=40
+ length=1000
+ lifetime=5
+ elements=15
+ trailmaterial="Trail/backlighttrail"
+ material="Examples/Flare"
+ />
+ <Backlight
+ scale=1
+ position=" 169, -75, -15"
+ colour="1, 0.85, 0.5, 0.5"
+ width=40
+ length=1000
+ lifetime=5
+ elements=15
+ trailmaterial="Trail/backlighttrail"
+ material="Examples/Flare" />
+ </attached>
+ <collisionShapes>
+ <BoxCollisionShape position="70,0,-25" halfExtents="150, 50, 25" />
+ <BoxCollisionShape position="95,75,-16" halfExtents="70, 10, 12" />
+ <BoxCollisionShape position="95,-75,-16" halfExtents="70, 10, 12" />
+ <BoxCollisionShape position="77,47,30" halfExtents="110, 2, 30" />
+ <BoxCollisionShape position="77,-47,30" halfExtents="110, 2, 30" />
+ <BoxCollisionShape position="77,0,50" halfExtents="110, 45, 6" />
+ <BoxCollisionShape position="167,0,70" halfExtents="17, 20, 20" />
+ </collisionShapes>
+ </Destroyer>
+
<GlobalShader compositor="Bloom" visible=false>
<events>
<visibility>
More information about the Orxonox-commit
mailing list