- Timestamp:
- Nov 12, 2014, 4:04:44 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/keckslevelHS14/data/levels/kecks.oxw
r10089 r10119 4 4 tags = "test" 5 5 screenshot = "pirateattack.png" 6 gametype=Mission 6 7 /> 7 8 8 9 <?lua 10 include("HUDTemplates3.oxo") 9 11 include("stats.oxo") 10 12 include("HUDTemplates3.oxo") … … 13 15 14 16 <?lua 17 dofile("includes/asteroidField.lua") 18 ?> 19 20 <?lua 15 21 include("templates/spaceshipAssff2.oxt") 16 22 include("templates/spaceshipPirate.oxt") 17 include("templates/spaceship Escort.oxt")23 include("templates/spaceshipHXY.oxt") 18 24 ?> 19 25 … … 22 28 <Template link=lodtemplate_default /> 23 29 </templates> 30 31 32 24 33 <?lua include("includes/notifications.oxi") ?> 25 34 … … 30 39 31 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"/> 32 <SpawnPoint team=0 position="-200,0,0" lookat="0,0,0" spawnclass=SpaceShip pawndesign=spaceshipescort /> 41 <SpawnPoint team=0 position="0,0,2000" lookat="0, 100, 0" spawnclass=SpaceShip pawndesign=spaceshipHXY /> 42 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 33 155 34 156 </Scene>
Note: See TracChangeset
for help on using the changeset viewer.