Reply...
Safn1949,
I will look at these tomorrow.
By the way, I had a little fun with a mission tonight...
The basic premise is a Panzer strike. I set mine up so that if you hit any one of the six, the minimum objectives are achieved. If you hit three, you reach the hidden goal for this scenario. If you fail to strike any of them, you fail the scenario.
Scenario II is a 50% chance that you will be called for a bomber escort mission for a formation of B-25 Mitchells striking Bonn-Hangelar aerodrome. Within this scenario, there is a 50% chance that you will be intercepted by a German fighter formation while the bombers are overflying Bonn, and the hidden goal is getting the Mitchells to the departure point after their bombing run with better than 80% health.
Now...here's the kicker. For each of the above scenarios, there is a 25% chance that you will begin the mission and be interrupted immediately by a low-level Luftwaffe strike on Asch. If this occurs, you are to release your bombs and engage the fighters. If you shoot down one, you achieve the minimum goal for that scenario. If you shoot down all four, you achieve the hidden goal for that scenario. In this scenario, if you fail to shoot down any fighters and exhaust your ammo, you fail the scenario.
# Microsoft Combat Flight Simulator dynamic mission elements.
# Copyright 2000, Microsoft Corporation
#
# TRIGGERS
#
trigger id 3
{
name "Waypoint 1"
unit 6000
waipoint_reached eq 1
}
trigger id 4
{
name "Waypoint 2"
unit 6000
waipoint_reached eq 2
}
trigger id 5
{
name "Waypoint 3"
unit 6000
waipoint_reached eq 3
}
trigger id 6
{
name "Waypoint 4"
unit 6000
waipoint_reached eq 4
}
trigger id 7
{
name "Waypoint 1 - AW"
unit 6000
waipoint_reached eq -1
}
trigger id 9
{
name "Waypoint 3 - AW"
unit 6000
waipoint_reached eq -3
}
trigger id 8
{
name "Waypoint 2 - AW"
unit 6000
waipoint_reached eq -2
}
trigger id 13
{
name "Bergmann success"
unit 9099
unit_health eq 0
}
trigger id 14
{
name "Bergmann failure"
unit 9099
unit_health ge 50
}
trigger id 15
{
name "Eichkatzchen success"
unit 9102
unit_health eq 0
}
trigger id 16
{
name "Eichkatzchen failure"
unit 9102
unit_health ge 50
}
trigger id 17
{
name "Feigenblatt success"
unit 9098
unit_health eq 0
}
trigger id 18
{
name "Feigenblatt failure"
unit 9098
unit_health ge 50
}
trigger id 19
{
name "Lautsprecher success"
unit 9101
unit_health eq 0
}
trigger id 20
{
name "Lautsprecher failure"
unit 9101
unit_health ge 50
}
trigger id 10
{
name "Waypoint 4 - AW"
unit 6000
waipoint_reached eq -4
}
trigger id 21
{
name "Regenbogen success"
unit 9100
unit_health eq 0
}
trigger id 22
{
name "Regenbogen failure"
unit 9100
unit_health ge 50
}
trigger id 23
{
name "Sauerbraten success"
unit 9103
unit_health eq 0
}
trigger id 24
{
name "Sauerbraten failure"
unit 9103
unit_health ge 50
}
trigger id 28
{
name "Landing safely - SC III"
unit 6000
speed lt 30
}
trigger id 27
{
name "Cricket MG - SC III"
unit 6000
aircraft_killed ge 1
}
trigger id 26
{
name "Cricket HG - SC III"
unit 6003
unit_health eq 0
}
trigger id 29
{
name "Out of ammo"
unit 6000
gun_rounds eq 0
}
trigger id 30
{
name "Out of bombs"
unit 6000
bombs eq 0
}
trigger id 31
{
name "Zero kills"
unit 6000
aircraft_killed eq 0
}
trigger id 32
{
name "Cricket success"
unit 6002
unit_health ge 80
}
trigger id 25
{
name "Random chance II"
random eq 50
}
trigger id 11
{
name "Random chance I"
random eq 50
}
trigger id 12
{
name "Random chance III"
random eq 25
}
#
# EVENTS
#
event id 42
{
name "Waypoint 1"
input id 3
action { id 209 id 210 id 211 id 212 id 213 id 214 id 215 }
desc "These are the tanks spawned at the start of the mission for scenario I."
}
event id 53
{
name "Waypoint 2"
input id 4
action { id 216 id 217 id 218 }
desc "This is the second waypoint for scenario I - The ground-attack mission."
}
event id 56
{
name "Waypoint 3"
input id 5
action { id 219 id 220 }
desc "This is the target waypoint for scenario I - The Panzer strike."
}
event id 61
{
name "Waypoint 3 - MG I"
input id 5 and id 13 or id 5 and id 15
action { id 221 id 222 id 223 id 224 id 225 id 226 }
flags goal
desc "This is for any one of the six Panzers destroyed."
}
event id 86
{
name "Waypoint 3 - MG II"
input id 5 and id 17 or id 5 and id 19
action { id 227 id 228 id 229 id 230 id 231 id 232 }
flags goal
desc "This is for any one of the six panzers destroyed."
}
event id 93
{
name "Waypoint 3 - MG III"
input id 5 and id 21 or id 5 and id 23
action { id 233 id 234 id 235 id 236 id 237 id 238 }
flags goal
desc "This is for any one of the six panzers destroyed."
}
event id 100
{
name "Waypoint 3 - HG"
input ((id 5 and id 61) and id 86) and id 93
action { id 239 id 240 id 241 id 242 id 243 id 244 }
flags goal hidden_goal
desc "This is a hidden goal if 3 of six Panzers are destroyed."
}
event id 105
{
name "Waypoint 4"
input id 6
action { id 245 id 246 id 247 id 248 }
desc "This is the return leg for scenario I - The Panzer strike."
}
event id 111
{
name "Cricket mission failure I"
input (((((((id 5 and id 29) and id 30) and id 14) and id 16) and id 18) and id 20) and id 22) and id 24
action { id 249 id 250 id 251 id 252 id 253 }
desc "This is a mission failure if ammo & bombs are exhausted and no tanks are destroyed."
}
event id 165
{
name "Waypoint 1 - RC I"
input id 3 and id 11
action { id 254 id 255 id 256 id 257 id 258 id 259 id 260 id 261 }
desc "This is the random chance for Scenario II - Bomber escort."
}
event id 178
{
name "Waypoint 1 - AW"
input id 7
action { id 262 id 263 id 264 id 265 }
desc "This is alternate waypoint I for the bomber escort."
}
event id 191
{
name "Waypoint 2 - AW"
input id 8
action { id 269 id 270 id 271 }
desc "This is alternate waypoint II for the bomber escort."
}
event id 205
{
name "Waypoint 2 - AW - RC"
input id 8 and id 25
action { id 272 id 273 id 274 }
desc "This is a 50% random chance element for enemy fighters on the bomber escort."
}
event id 279
{
name "Waypoint 3 - AW"
input id 9
action { id 284 id 285 id 286 id 287 }
desc "This is the waypoint where the B-25s turn for England. (Scenario II)"
}
event id 292
{
name "Waypoint 4 - AW"
input id 10
action { id 293 id 294 id 295 id 296 }
desc "This is the departure point for 'Cricket"" flight leaving the bombers in scenario II."
}
event id 299
{
name "Waypoint 4 - AW - HG"
input id 10 and id 32
action { id 302 id 303 }
flags goal hidden_goal
desc "This is an 'atta boy' message if Thunder reaches alternate waypoint IV in scenario II with better than 80% health."
}
event id 305
{
name "Waypoint 1 - SC I - RC III"
input id 42 and id 25
action { id 381 id 382 id 383 id 384 id 385 id 386 id 387 id 388 id 389 id 390 }
desc "This is a one-in-four scenario where your mission is cut short by a low-level Luftwaffe attack."
}
event id 327
{
name "Waypoint 1 - SC II - RC III"
input id 165 and id 12
action { id 391 id 392 id 393 id 394 id 395 id 396 id 397 id 398 id 399 id 400 }
desc "This is a one-in-four scenario where your mission is cut short by a low-level Luftwaffe attack."
}
event id 405
{
name "WP 1 - SC I - RC III - MG"
input id 305 and id 27
action { id 429 id 430 id 431 id 432 }
flags goal
desc "Mission goal for the low-level Luftwaffe strike, at least one enemy fighter shot down."
}
event id 411
{
name "WP 1 - SC II - RC III - MG"
input id 327 and id 27
action { id 420 id 421 id 422 id 423 }
flags goal
desc "Mission goal for the low-level Luftwaffe strike, at least one enemy fighter shot down."
}
event id 428
{
name "WP 1 - SC I - RC III - HG"
input id 305 and id 26
action { id 442 id 443 id 444 id 445 }
flags goal hidden_goal
desc "Hidden goal for for the low-level Luftwaffe strike if all the enemy fighters are shot down."
}
event id 441
{
name "WP 1 - SC II - RC III - HG"
input id 327 and id 26
action { id 453 id 454 id 455 id 456 }
flags goal hidden_goal
desc "Hidden goal for for the low-level Luftwaffe strike if all the enemy fighters are shot down."
}
event id 452
{
name "WP 1 - SC I / II - RC III - Landing safely MG / HG"
input id 405 and id 28 or id 428 and id 28
action { id 463 id 464 id 465 id 466 id 467 id 468 }
desc "This allows for an 'atta boy' message upon landing after the low-level strike with mission goals completed."
}
event id 474
{
name "WP 1 - SC I / II - RC III - Out of ammo / Zero kills"
input ((id 305 and id 29) and id 30) and id 31 or ((id 327 and id 29) and id 30) and id 31
action { id 469 id 470 id 471 id 472 id 473 }
desc "This allows for a mission failure for the low-level strike if an enemy fighter is not shot down."
}
#
# ACTIONS
#
action id 209
{
type spawn
unit 9099
}
action id 210
{
type spawn
unit 9102
}
action id 211
{
type spawn
unit 9098
}
action id 212
{
type spawn
unit 9101
}
action id 213
{
type spawn
unit 9100
}
action id 214
{
type spawn
unit 9103
}
action id 215
{
type none
}
action id 216
{
type delay
3
}
action id 217
{
type text
string "Maintain your current heading to intercept the Panzers, then attack at will!"
}
action id 218
{
type disable_warp
}
action id 219
{
type delay
3
}
action id 220
{
type text
string "You're directly over the Panzers, use your guns & bombs to strike them hard!"
}
action id 221
{
type delay
3
}
action id 222
{
type text
string "Good work destroying one of the enemy vehicles, chap! Can you get another?"
}
action id 223
{
type delay
3
}
action id 224
{
type text
string "If you're badly shot up or are out of ammo & ordnance, you may head home."
}
action id 225
{
type delay
3
}
action id 226
{
type enable_warp
}
action id 227
{
type delay
3
}
action id 228
{
type text
string "Good work destroying one of the enemy vehicles, chap! Can you get another?"
}
action id 229
{
type delay
3
}
action id 230
{
type text
string "If you're badly shot up or are out of ammo & ordnance, you may head home."
}
action id 231
{
type delay
3
}
action id 232
{
type enable_warp
}
action id 233
{
type delay
3
}
action id 234
{
type text
string "Good work destroying one of the enemy vehicles, chap! Can you get another?"
}
action id 235
{
type delay
3
}
action id 236
{
type text
string "If you're badly shot up or are out of ammo & ordnance, you may head home."
}
action id 237
{
type delay
3
}
action id 238
{
type enable_warp
}
action id 239
{
type delay
3
}
action id 240
{
type text
string "Excellent work! Your strike caused significant damage to the enemy Panzers!"
}
action id 241
{
type delay
3
}
action id 242
{
type text
string "If you're badly shot up or are out of ammo & ordnance, you may head home."
}
action id 243
{
type delay
3
}
action id 244
{
type enable_warp
}
action id 245
{
type delay
3
}
action id 246
{
type text
string "The aerodrome at Asch is just ahead, your flight is cleared to land at once."
}
action id 247
{
type delay
3
}
action id 248
{
type enable_warp
}
action id 249
{
type text
string "You used all your ammunition and bombs without destroying a single vehicle?"
}
action id 250
{
type delay
5
}
action id 251
{
type text
string "You have failed your mission to strike the enemy Panzers!"
}
action id 252
{
type delay
20
}
action id 253
{
type end_mission
}
action id 254
{
type spawn
unit 6001
}
action id 255
{
type delay
6
}
action id 256
{
type text
string "Thunder to Cricket: We're on our way to strike Bonn. Will you provide escort?"
}
action id 257
{
type delay
3
}
action id 258
{
type text
string "Cricket to Thunder: Roger, we'll drop our bombs and join up with you Yanks!"
}
action id 259
{
type alt_route
unit 6000
}
action id 260
{
type delay
6
}
action id 261
{
type enable_warp
}
action id 262
{
type delay
3
}
action id 263
{
type text
string "You've joined up with the B-25s, stay on their wing as they approach Bonn."
}
action id 264
{
type delay
3
}
action id 265
{
type enable_warp
}
action id 269
{
type delay
3
}
action id 270
{
type text
string "Thunder to Cricket: We're approaching Bonn-Hangelar, keep our tails clear!"
}
action id 271
{
type disable_warp
}
action id 272
{
type spawn
unit 6010
}
action id 273
{
type delay
3
}
action id 274
{
type text
string "Keep alert for any sign of Luftwaffe fighters while the bombers make their run."
}
action id 284
{
type delay
3
}
action id 285
{
type text
string "The B-25s are making their turn for home, let's stay with them and follow suit."
}
action id 286
{
type delay
3
}
action id 287
{
type enable_warp
}
action id 293
{
type delay
6
}
action id 294
{
type text
string "Cricket to Thunder: We're getting low on fuel and are turning for Asch airfield."
}
action id 295
{
type delay
6
}
action id 296
{
type enable_warp
}
action id 302
{
type delay
3
}
action id 303
{
type text
string "Thunder to Cricket: Thanks for such effective fighter escort on short notice!"
}
action id 381
{
type spawn
unit 6003
}
action id 382
{
type delay
3
}
action id 383
{
type text
string "Enemy fighters are attacking the base! Do not get caught on the ground!"
}
action id 384
{
type delay
3
}
action id 385
{
type text
string "After getting airborne, release your bombs and engage the Luftwaffe fighters!"
}
action id 386
{
type delay
54
}
action id 387
{
type spawn
unit 6001
}
action id 388
{
type delay
3
}
action id 389
{
type text
string "Banger to Cricket: We're coming to battle the enemy fighters. Hang in there!"
}
action id 390
{
type none
}
action id 391
{
type spawn
unit 6003
}
action id 392
{
type delay
3
}
action id 393
{
type text
string "Enemy fighters are attacking the base! Do not get caught on the ground!"
}
action id 394
{
type delay
3
}
action id 395
{
type text
string "After getting airborne, release your bombs and engage the Luftwaffe fighters!"
}
action id 396
{
type delay
54
}
action id 397
{
type spawn
unit 6001
}
action id 398
{
type delay
3
}
action id 399
{
type text
string "Banger to Cricket: We're coming to battle the enemy fighters. Hang in there!"
}
action id 400
{
type none
}
action id 420
{
type delay
3
}
action id 421
{
type text
string "Good work! Despite being jumped, you managed to down one of the Germans."
}
action id 422
{
type delay
3
}
action id 423
{
type text
string "When it's safe, abort your mission and land for debrief & a change of drawers!"
}
action id 429
{
type delay
3
}
action id 430
{
type text
string "Good work! Despite being jumped, you managed to down one of the Germans."
}
action id 431
{
type delay
3
}
action id 432
{
type text
string "When it's safe, abort your mission and land for debrief & a change of drawers!"
}
action id 442
{
type delay
3
}
action id 443
{
type text
string "Outstanding! Despite being jumped, all enemy fighters have been shot down!"
}
action id 444
{
type delay
3
}
action id 445
{
type text
string "You may land immediately for a debreifing, complete with a case of scotch!"
}
action id 453
{
type delay
3
}
action id 454
{
type text
string "Outstanding! Despite being jumped, all enemy fighters have been shot down!"
}
action id 455
{
type delay
3
}
action id 456
{
type text
string "You may land immediately for a debreifing, complete with a case of scotch!"
}
action id 463
{
type delay
3
}
action id 464
{
type text
string "Outstanding work! You survived one of the numerous low-level strikes today!"
}
action id 465
{
type delay
3
}
action id 466
{
type debrief_text
string "Well, you have to give Jerry credit for keeping us guessing! That attack was totally unexpected, and it appears from similar reports from other bases to be a coordinated attack on all our airfields in the area. Nice job tearing into them!"
}
action id 467
{
type delay
10
}
action id 468
{
type end_mission
}
action id 469
{
type text
string "You used up all of your ammunition without downing a single enemy fighter?"
}
action id 470
{
type delay
5
}
action id 471
{
type text
string "You have failed your mission to defend Asch aerodrome from enemy attack!"
}
action id 472
{
type delay
20
}
action id 473
{
type end_mission
}