[Orxonox-commit 5456] r10119 - code/branches/keckslevelHS14/data/levels
kecks at orxonox.net
kecks at orxonox.net
Wed Nov 12 16:04:44 CET 2014
Author: kecks
Date: 2014-11-12 16:04:44 +0100 (Wed, 12 Nov 2014)
New Revision: 10119
Modified:
code/branches/keckslevelHS14/data/levels/kecks.oxw
Log:
Level file changed.
Modified: code/branches/keckslevelHS14/data/levels/kecks.oxw
===================================================================
--- code/branches/keckslevelHS14/data/levels/kecks.oxw 2014-11-12 14:58:59 UTC (rev 10118)
+++ code/branches/keckslevelHS14/data/levels/kecks.oxw 2014-11-12 15:04:44 UTC (rev 10119)
@@ -3,24 +3,33 @@
description = "A level with nothing in it."
tags = "test"
screenshot = "pirateattack.png"
+ gametype=Mission
/>
<?lua
+ include("HUDTemplates3.oxo")
include("stats.oxo")
include("HUDTemplates3.oxo")
include("templates/lodInformation.oxt")
?>
<?lua
+ dofile("includes/asteroidField.lua")
+?>
+
+<?lua
include("templates/spaceshipAssff2.oxt")
include("templates/spaceshipPirate.oxt")
- include("templates/spaceshipEscort.oxt")
+ include("templates/spaceshipHXY.oxt")
?>
<Level>
<templates>
<Template link=lodtemplate_default />
</templates>
+
+
+
<?lua include("includes/notifications.oxi") ?>
<Scene
@@ -29,8 +38,121 @@
>
<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"/>
- <SpawnPoint team=0 position="-200,0,0" lookat="0,0,0" spawnclass=SpaceShip pawndesign=spaceshipescort />
+ <SpawnPoint team=0 position="0,0,2000" lookat="0, 100, 0" spawnclass=SpaceShip pawndesign=spaceshipHXY />
+
+ <!--Asteroiden-Guertel-
+ <?lua
+ for i = 1, 3, 1
+ do
+ ?>
+
+ asteroidBelt(0, 0, 0, 0, 0, 100, 50+10*i, 100+10*i, 3000*i+500, 3000*i, 100+100*i , 0)
+
+ <?lua
+ end
+ ?>
+ ---->
+
+ <?lua
+ asteroidBelt(0, 0, 0, 0, 0, 100, 60, 110, 3300, 3000, 200 , 0)
+ asteroidBelt(0, 0, 0, 0, 0, 100, 70, 120, 6400, 6000, 300 , 0)
+ asteroidBelt(0, 0, 0, 0, 0, 100, 80, 130, 9500, 9000, 400 , 0)
+ ?>
+
+
+<?lua
+ for i = 0, (3*math.pi/2), (math.pi/2)
+ do
+?>
+
+
+
+<SpaceShip position="<?lua print(150*math.sin(i)) ?>, <?lua print(150*math.cos(i)) ?>,0" lookat="<?lua print(1500*math.sin(i)) ?>, <?lua print(1500*math.cos(i)) ?>,0" roll="<?lua print(180-i*180/math.pi)?>" name="attacker">
+ <templates>
+ <Template link=spaceshipHXY /> <!--spaceshipTransporter -->
+ </templates>
+ <controller>
+ <WaypointPatrolController alertnessradius=1500 active=true team=0>
+ <waypoints>
+ <StaticEntity position="0,0,0"/>
+ </waypoints>
+ </WaypointPatrolController>
+ </controller>
+
+</SpaceShip>
+
+<?lua
+end
+?>
+
+
+ <?lua
+ for i = 0, (3*math.pi/2), (math.pi/2)
+ do
+?>
+
+
+<SpaceShip position="<?lua print(1500*math.sin(i)) ?>,<?lua print(1500*math.cos(i)) ?>,0" roll="<?lua print(180-i*180/math.pi)?>" lookat="0, 0, 0">
+
+ <templates>
+ <Template link=spaceshippirate />
+ </templates>
+ <controller>
+ <WaypointPatrolController alertnessradius=1500 active=true team=1>
+ <waypoints>
+ <StaticEntity position="0,0,0"/>
+ </waypoints>
+ </WaypointPatrolController>
+ </controller>
+</SpaceShip>
+
+<?lua
+end
+?>
+
+
+
+<?lua
+ for i = 0, (3*math.pi/2), (math.pi/2)
+ do
+?>
+
+ <?lua
+ for j = 1, 3, 1
+ do
+ ?>
+ <SpaceShip position="<?lua print(3000*j*math.sin(i)) ?>,<?lua print(3000*j*math.cos(i)) ?>,0" roll="<?lua print(180-i*180/math.pi)?>" lookat="0, 0, 0">
+
+ <templates>
+ <Template link=spaceshippirate />
+ </templates>
+ <controller>
+ <WaypointPatrolController alertnessradius=1500 active=true team=1>
+ <waypoints>
+ <?lua
+ for k = 0, (59*math.pi/60), (math.pi/60)
+ do
+ ?>
+
+ <Model mesh="cube.mesh" scale=8 position="<?lua print((600+3200*j)*math.sin(i+k)) ?>,<?lua print((600+3200*j)*math.cos(i+k)) ?>,0" />
+
+ <?lua
+ end
+ ?>
+
+ </waypoints>
+ </WaypointPatrolController>
+ </controller>
+ </SpaceShip>
+ <?lua
+ end
+ ?>
+<?lua
+end
+?>
+
+
</Scene>
</Level>
More information about the Orxonox-commit
mailing list