Changeset 9849 for code/branches/levelMichael
- Timestamp:
- Dec 2, 2013, 3:30:55 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/levelMichael/data/levels/Spacefight.oxw
r9843 r9849 4 4 To Do: 5 5 - Different Colors of the light! 6 - visibility of light only for a little time7 6 - If possible, do the spion with DistanceTriggerBeacon 8 7 - More health for spacestations 9 8 --> 9 10 10 <LevelInfo 11 11 name = "Spacefight" … … 65 65 <!-- SPAWNTRIGGER --> 66 66 67 <!-- Spawntrigger --> 67 <!-- Spawntrigger --> 68 <!-- StartPoint --> 68 69 <SpawnPoint team=0 position="0, 0, 0" lookat="100,0,0" spawnclass=SpaceShip pawndesign=spaceshipswallow > <!-- pawndesign=spaceshipcollateraldamage --> 69 70 <events> … … 82 83 </EventTrigger> 83 84 84 85 <!-- Second Spawnpoint (after first guard) --> 85 86 <SpawnPoint team=0 position="13500, 2500, 10500" lookat="18000,5000,18000" spawnclass=SpaceShip pawndesign=spaceshipswallow delay=0.1><!-- pawndesign=spaceshipcollateraldamage --> 86 87 <events> 87 88 <activity> 88 89 <EventListener event="flying1" /> 90 </activity> 91 </events> --> 92 </SpawnPoint> 93 94 <!-- Thirth Spawnpoint (when reached Captain Hood) --> 95 <SpawnPoint team=0 position="-4000, -18000, 19000" lookat="-12000, -22000, 25000" spawnclass=SpaceShip pawndesign=spaceshipswallow delay=0.1><!-- pawndesign=spaceshipcollateraldamage --> 96 <events> 97 <activity> 98 <EventListener event="reached" /> 89 99 </activity> 90 100 </events> --> … … 243 253 </SimpleNotification> 244 254 255 <EventTrigger name="flying1delay" activations="1" stayactive="true" delay=0.1 > 256 <events> 257 <trigger> 258 <EventListener event="flying1" /> 259 </trigger> 260 </events> 261 </EventTrigger> 262 245 263 <SimpleNotification message="The blinking light shows you the way!" broadcast="true" > 246 264 <events> 247 265 <trigger> 248 <EventListener event="flying1 " />266 <EventListener event="flying1delay" /> 249 267 </trigger> 250 268 </events> … … 316 334 </SimpleNotification> 317 335 318 <SimpleNotification message="before he reachs the light!" broadcast="true" delay=5.0 > 336 <EventTrigger name="flying2delay" activations="1" stayactive="true" delay=0.1 > 337 <events> 338 <trigger> 339 <EventListener event="flying2" /> 340 </trigger> 341 </events> 342 </EventTrigger> 343 344 <SimpleNotification message="Before he reachs the light!" broadcast="true" > 319 345 <events> 320 346 <trigger> 321 <EventListener event="flying2 " />347 <EventListener event="flying2delay" /> 322 348 </trigger> 323 349 </events> … … 483 509 </EventTrigger> 484 510 </DistanceTrigger> 485 486 <!-- Helper-Trigger for the Escape-Quest -->487 <DistanceTrigger name="escape10" position="18000,5000,21000" target="SpaceShip" distance=10000 stayActive="true" delay=0.1 >488 <EventTrigger>489 <events>490 <trigger>491 <EventListener event="guard2trigger1" />492 </trigger>493 </events>494 </EventTrigger>495 </DistanceTrigger>496 511 497 512 <!-- DistanceTrigger for spion --> 498 <DistanceTrigger name="spionTrigger" position=" 15000,4000,19000" target="SpaceShip" distance=50 stayActive="true" delay=0.1 />499 <SimpleNotification message=" spionis arrived!" broadcast="true">513 <DistanceTrigger name="spionTrigger" position="0,-10000,42000" target="SpaceShip" distance=50 stayActive="true" delay=0.1 /> 514 <SimpleNotification message="Scout is arrived!" broadcast="true"> 500 515 <events> 501 516 <trigger> … … 515 530 </SimpleNotification> 516 531 517 <!-- Helper-Trigger for mainship -->518 <DistanceTrigger name="flying3" position="11000, 3000, 21000" target="SpaceShip" distance=1000 stayActive="true" delay=0.1 />519 <SimpleNotification message="Mainship sighted!" broadcast="true">520 <events>521 <trigger>522 <EventListener event="flying3" />523 </trigger>524 </events>525 </SimpleNotification>526 527 532 <!-- If spion destroyed --> 528 <DistanceTrigger name="destroyed" position="8500,-3000,32000" target="SpaceShip" distance=100000 stayActive="true" delay=0.1 >529 <EventTrigger>530 <events>531 <trigger>532 <EventListener event="spion" />533 </trigger>534 </events>535 </EventTrigger>536 </DistanceTrigger>537 538 533 <SimpleNotification message="Scout destroyed!" broadcast="true"> 539 534 <events> … … 572 567 <trigger> 573 568 <EventListener event="spion5delay2" /> 569 </trigger> 570 </events> 571 </SimpleNotification> 572 573 <!-- Trigger for Monologue from Captain Hood --> 574 <DistanceTrigger name="discuss" position="-4000, -18000, 19000" target="SpaceShip" distance=50 stayActive="true" delay=0.1 /> 575 <SimpleNotification message="Look, there is the mainship!" broadcast="true"> 576 <events> 577 <trigger> 578 <EventListener event="discuss" /> 574 579 </trigger> 575 580 </events> … … 644 649 </EventTrigger> 645 650 </EventTrigger> 646 647 648 651 649 652 <!-- For Escape --> … … 927 930 <WaypointController team=1> 928 931 <waypoints> 929 <Model mesh="cube.mesh" scale=100 position=" -7000,-10000,42000" /> <!-- "-7000,-10000,42000" -->932 <Model mesh="cube.mesh" scale=100 position="0,-10000,42000" /> 930 933 <Model mesh="cube.mesh" scale=0 position="-12000, -22000, 25000" /> 931 934 </waypoints> … … 937 940 </WaypointController> 938 941 </controller> 939 <!-- 942 <!-- Should be realized, if possible... 940 943 <attached> 941 944 <DistanceTriggerBeacon name="spionBeacon" /> … … 948 951 <events> 949 952 <visibility> 950 <EventListener event="guard2trigger4" /> <!-- "guard2trigger4" -->953 <EventListener event="guard2trigger4" /> 951 954 </visibility> 952 955 </events> … … 968 971 <events> 969 972 <activity> 970 <EventListener event="guard2trigger4" /> <!-- "guard2trigger4" -->973 <EventListener event="guard2trigger4" /> 971 974 </activity> 972 975 </events> … … 978 981 <events> 979 982 <visibility> 980 <EventListener event="guard2trigger4" /> <!-- "guard2trigger4" -->983 <EventListener event="guard2trigger4" /> 981 984 </visibility> 982 985 </events> … … 998 1001 <events> 999 1002 <activity> 1000 <EventListener event="guard2trigger4" /> <!-- "guard2trigger4" -->1003 <EventListener event="guard2trigger4" /> 1001 1004 </activity> 1002 1005 </events> … … 1008 1011 <events> 1009 1012 <visibility> 1010 <EventListener event="guard2trigger4" /> <!-- "guard2trigger4" -->1013 <EventListener event="guard2trigger4" /> 1011 1014 </visibility> 1012 1015 </events> … … 1028 1031 <events> 1029 1032 <activity> 1030 <EventListener event="guard2trigger4" /> <!-- "guard2trigger4" -->1033 <EventListener event="guard2trigger4" /> 1031 1034 </activity> 1032 1035 </events> … … 1038 1041 <events> 1039 1042 <visibility> 1040 <EventListener event="guard2trigger4" /> <!-- "guard2trigger4" -->1043 <EventListener event="guard2trigger4" /> 1041 1044 </visibility> 1042 1045 </events> … … 1058 1061 <events> 1059 1062 <activity> 1060 <EventListener event="guard2trigger4" /> <!-- "guard2trigger4" -->1063 <EventListener event="guard2trigger4" /> 1061 1064 </activity> 1062 1065 </events> … … 1069 1072 <events> 1070 1073 <visibility> 1071 <EventListener event=" escaped" /> <!-- escaped -->1074 <EventListener event="spionTrigger" /> 1072 1075 </visibility> 1073 1076 </events> … … 1089 1092 <events> 1090 1093 <activity> 1091 <EventListener event=" escaped" /> <!-- escaped -->1094 <EventListener event="spionTrigger" /> 1092 1095 </activity> 1093 1096 </events> … … 1099 1102 <events> 1100 1103 <visibility> 1101 <EventListener event=" escaped" /> <!-- escaped -->1104 <EventListener event="spionTrigger" /> 1102 1105 </visibility> 1103 1106 </events> … … 1119 1122 <events> 1120 1123 <activity> 1121 <EventListener event=" escaped" /> <!-- escaped -->1124 <EventListener event="spionTrigger" /> 1122 1125 </activity> 1123 1126 </events> … … 1127 1130 1128 1131 <!-- FRIEND-SHIPS --> 1129 <SpaceShip position="8500, 2000, 17000" lookat="0, 0, 18000" name="friend" visible="true" radarname="Hood" >1132 <SpaceShip position="8500, 2000, 17000" lookat="0, -1000, 18000" name="friend" visible="true" radarname="Hood" > 1130 1133 <events> 1131 1134 <visibility> … … 1139 1142 <WaypointPatrolController alertnessradius=2000 team=0 active=false> 1140 1143 <waypoints> 1141 <Model mesh="cube.mesh" scale=100 position="0, -5000, 18000" /> 1144 <Model mesh="cube.mesh" scale=100 position="0, -1000, 18000" /> 1145 <Model mesh="cube.mesh" scale=100 position="-4000, -18000, 19000" /> 1142 1146 <Model mesh="cube.mesh" scale=100 position="-11500, -22000, 25000" /> 1143 1147 </waypoints> … … 1172 1176 </BlinkingBillboard> 1173 1177 1178 <SimpleNotification message="Your friend, Captain Hood, is dead..." broadcast="true"> 1179 <events> 1180 <trigger> 1181 <EventListener event="friend" /> 1182 </trigger> 1183 </events> 1184 </SimpleNotification> 1185 1186 <EventTrigger name="frienddelay" activations="1" stayactive="true" delay=5.0 > 1187 <events> 1188 <trigger> 1189 <EventListener event="friend" /> 1190 </trigger> 1191 </events> 1192 </EventTrigger> 1193 1194 <SimpleNotification message="He died in a fight, like he wished it!" broadcast="true"> 1195 <events> 1196 <trigger> 1197 <EventListener event="frienddelay" /> 1198 </trigger> 1199 </events> 1200 </SimpleNotification> 1174 1201 1175 1202 <!-- ----------------------------------------------------- --> 1176 1203 1177 1204 <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"/> 1178 1205 1179 1206 1180 1207 <!-- ASTEROIDS & ASTEROID-FIELDS --> 1181 1182 1208 <!-- Asteroids --> 1183 1184 1209 <Model position="9800, -5000, 5700" 1185 1210 yaw="90" … … 1207 1232 <!-- other asteroid fileds --> 1208 1233 1209 <!-- left before guard 1 --> 1234 <!-- left before guard 1 --> 1235 <?lua 1236 dofile("includes/asteroidField.lua") 1237 asteroidField(-5000, -5000, -20000, 20, 50, 10000, 200, 0) 1238 ?> 1239 1240 <!-- left behind guard 1 --> 1241 <?lua 1242 dofile("includes/asteroidField.lua") 1243 asteroidField(20000, -10000, -12000, 30, 100, 10000, 200, 0) 1244 ?> 1245 1246 <!-- between guard 2 & mainship --> 1247 <!-- Core --> 1210 1248 <?lua 1211 1249 dofile("includes/asteroidField.lua") 1212 asteroidField(-5000, - 5000, -20000, 20, 50, 10000, 200, 0)1250 asteroidField(-5000, -10000, 30000, 10, 700, 8000, 80, 0) 1213 1251 ?> 1214 1215 <!-- left behind guard 1-->1252 1253 <!-- Peripherie --> 1216 1254 <?lua 1217 1255 dofile("includes/asteroidField.lua") 1218 asteroidField( 20000, -10000, -12000, 30, 100, 10000, 200, 0)1256 asteroidField(-5000, -10000, 30000, 10, 50, 10000, 100, 0) 1219 1257 ?> 1220 1258 1221 <!-- between guard 2 & mainship --> 1222 <!-- Core --> 1223 <?lua 1224 dofile("includes/asteroidField.lua") 1225 asteroidField(-5000, -10000, 30000, 10, 700, 8000, 80, 0) 1226 ?> 1227 1228 <!-- Peripherie --> 1229 <?lua 1230 dofile("includes/asteroidField.lua") 1231 asteroidField(-5000, -10000, 30000, 10, 50, 10000, 100, 0) 1232 ?> 1233 1234 <?lua 1235 dofile("includes/asteroidField.lua") 1236 asteroidBelt(-10000, -12500, 0, 0, 0, 30, 30, 500, 0, 7850, 150, 0) 1237 ?> 1238 1239 <!-- PLANETS --> 1240 1259 <?lua 1260 dofile("includes/asteroidField.lua") 1261 asteroidBelt(-10000, -12500, 0, 0, 0, 30, 30, 500, 0, 7850, 150, 0) 1262 ?> 1263 1264 <!-- PLANETS --> 1241 1265 <Planet position="2000,-250,9000" 1242 1266 scale=5000 … … 1256 1280 1257 1281 <!-- ----------------Rotating SpaceStation--------------- --> 1258 1259 1282 <!-- first guard --> 1260 1283 <StaticEntity position="9000,0,0" collisionType=static yaw=112 pitch=67 > … … 1276 1299 1277 1300 <!-- ------------------------- Mainship ------------------ --> 1278 <Pawn team=1 health=50000 position="-12000, -22000, 25000" direction="0,-1,0" collisionType=dynamic mass=100000 name=box radarname = "Mainship" yaw=112 pitch=67> 1279 <events> 1280 <visibility> 1281 <EventListener event=spawntrigger2 /> 1282 </visibility> 1283 </events> 1284 <attached> 1285 <?lua 1286 createSpaceStationPar(0,2,1,2,1,4,1,50) 1287 ?> 1288 </attached> 1289 <collisionShapes> 1290 <BoxCollisionShape position="0,0,0" halfExtents="15,15,15" /> 1291 </collisionShapes> 1292 </Pawn> 1301 <StaticEntity position="-12000, -22000, 25000" collisionType=static yaw=112 pitch=67 > 1302 <attached> 1303 <?lua 1304 createSpaceStationPar(0,2,1,2,1,4,1,50) 1305 ?> 1306 </attached> 1307 </StaticEntity> 1293 1308 1294 1309 </Scene>
Note: See TracChangeset
for help on using the changeset viewer.