[10089] | 1 | <LevelInfo |
---|
| 2 | name = "kecks" |
---|
| 3 | description = "A level with nothing in it." |
---|
| 4 | tags = "test" |
---|
| 5 | screenshot = "pirateattack.png" |
---|
[10119] | 6 | gametype=Mission |
---|
[10089] | 7 | /> |
---|
| 8 | |
---|
| 9 | <?lua |
---|
[10119] | 10 | include("HUDTemplates3.oxo") |
---|
[10089] | 11 | include("stats.oxo") |
---|
| 12 | include("HUDTemplates3.oxo") |
---|
| 13 | include("templates/lodInformation.oxt") |
---|
| 14 | ?> |
---|
| 15 | |
---|
| 16 | <?lua |
---|
[10119] | 17 | dofile("includes/asteroidField.lua") |
---|
| 18 | ?> |
---|
| 19 | |
---|
| 20 | <?lua |
---|
[10089] | 21 | include("templates/spaceshipAssff2.oxt") |
---|
| 22 | include("templates/spaceshipPirate.oxt") |
---|
[10119] | 23 | include("templates/spaceshipHXY.oxt") |
---|
[10089] | 24 | ?> |
---|
| 25 | |
---|
| 26 | <Level> |
---|
| 27 | <templates> |
---|
| 28 | <Template link=lodtemplate_default /> |
---|
| 29 | </templates> |
---|
[10119] | 30 | |
---|
| 31 | |
---|
| 32 | |
---|
[10089] | 33 | <?lua include("includes/notifications.oxi") ?> |
---|
| 34 | |
---|
| 35 | <Scene |
---|
| 36 | ambientlight = "0.8, 0.8, 0.8" |
---|
| 37 | skybox = "Orxonox/skyBoxMoreNebula" |
---|
| 38 | > |
---|
| 39 | |
---|
| 40 | <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"/> |
---|
[10119] | 41 | <SpawnPoint team=0 position="0,0,2000" lookat="0, 100, 0" spawnclass=SpaceShip pawndesign=spaceshipHXY /> |
---|
[10089] | 42 | |
---|
[10119] | 43 | |
---|
| 44 | <!--Asteroiden-Guertel- |
---|
| 45 | <?lua |
---|
| 46 | for i = 1, 3, 1 |
---|
| 47 | do |
---|
| 48 | ?> |
---|
| 49 | |
---|
| 50 | asteroidBelt(0, 0, 0, 0, 0, 100, 50+10*i, 100+10*i, 3000*i+500, 3000*i, 100+100*i , 0) |
---|
| 51 | |
---|
| 52 | <?lua |
---|
| 53 | end |
---|
| 54 | ?> |
---|
| 55 | ----> |
---|
| 56 | |
---|
| 57 | <?lua |
---|
| 58 | asteroidBelt(0, 0, 0, 0, 0, 100, 60, 110, 3300, 3000, 200 , 0) |
---|
| 59 | asteroidBelt(0, 0, 0, 0, 0, 100, 70, 120, 6400, 6000, 300 , 0) |
---|
| 60 | asteroidBelt(0, 0, 0, 0, 0, 100, 80, 130, 9500, 9000, 400 , 0) |
---|
| 61 | ?> |
---|
| 62 | |
---|
| 63 | |
---|
| 64 | <?lua |
---|
| 65 | for i = 0, (3*math.pi/2), (math.pi/2) |
---|
| 66 | do |
---|
| 67 | ?> |
---|
| 68 | |
---|
| 69 | |
---|
| 70 | |
---|
| 71 | <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"> |
---|
| 72 | <templates> |
---|
| 73 | <Template link=spaceshipHXY /> <!--spaceshipTransporter --> |
---|
| 74 | </templates> |
---|
| 75 | <controller> |
---|
| 76 | <WaypointPatrolController alertnessradius=1500 active=true team=0> |
---|
| 77 | <waypoints> |
---|
| 78 | <StaticEntity position="0,0,0"/> |
---|
| 79 | </waypoints> |
---|
| 80 | </WaypointPatrolController> |
---|
| 81 | </controller> |
---|
| 82 | |
---|
| 83 | </SpaceShip> |
---|
| 84 | |
---|
| 85 | <?lua |
---|
| 86 | end |
---|
| 87 | ?> |
---|
| 88 | |
---|
| 89 | |
---|
| 90 | <?lua |
---|
| 91 | for i = 0, (3*math.pi/2), (math.pi/2) |
---|
| 92 | do |
---|
| 93 | ?> |
---|
| 94 | |
---|
| 95 | |
---|
| 96 | <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"> |
---|
| 97 | |
---|
| 98 | <templates> |
---|
| 99 | <Template link=spaceshippirate /> |
---|
| 100 | </templates> |
---|
| 101 | <controller> |
---|
| 102 | <WaypointPatrolController alertnessradius=1500 active=true team=1> |
---|
| 103 | <waypoints> |
---|
| 104 | <StaticEntity position="0,0,0"/> |
---|
| 105 | </waypoints> |
---|
| 106 | </WaypointPatrolController> |
---|
| 107 | </controller> |
---|
| 108 | </SpaceShip> |
---|
| 109 | |
---|
| 110 | <?lua |
---|
| 111 | end |
---|
| 112 | ?> |
---|
| 113 | |
---|
| 114 | |
---|
| 115 | |
---|
| 116 | <?lua |
---|
| 117 | for i = 0, (3*math.pi/2), (math.pi/2) |
---|
| 118 | do |
---|
| 119 | ?> |
---|
| 120 | |
---|
| 121 | <?lua |
---|
| 122 | for j = 1, 3, 1 |
---|
| 123 | do |
---|
| 124 | ?> |
---|
| 125 | <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"> |
---|
| 126 | |
---|
| 127 | <templates> |
---|
| 128 | <Template link=spaceshippirate /> |
---|
| 129 | </templates> |
---|
| 130 | <controller> |
---|
| 131 | <WaypointPatrolController alertnessradius=1500 active=true team=1> |
---|
| 132 | <waypoints> |
---|
| 133 | <?lua |
---|
| 134 | for k = 0, (59*math.pi/60), (math.pi/60) |
---|
| 135 | do |
---|
| 136 | ?> |
---|
| 137 | |
---|
| 138 | <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" /> |
---|
| 139 | |
---|
| 140 | <?lua |
---|
| 141 | end |
---|
| 142 | ?> |
---|
| 143 | |
---|
| 144 | </waypoints> |
---|
| 145 | </WaypointPatrolController> |
---|
| 146 | </controller> |
---|
| 147 | </SpaceShip> |
---|
| 148 | <?lua |
---|
| 149 | end |
---|
| 150 | ?> |
---|
| 151 | <?lua |
---|
| 152 | end |
---|
| 153 | ?> |
---|
| 154 | |
---|
| 155 | |
---|
[10089] | 156 | </Scene> |
---|
| 157 | </Level> |
---|
| 158 | |
---|