#Mission Info $Version: 0.10 $Name: XSTR("Hits-left test", -1) $Author: ARSPR $Created: 01/15/09 at 15:36:46 $Modified: 01/15/09 at 16:16:26 $Notes: This is a FRED2_OPEN created mission. $End Notes: $Mission Desc: XSTR("Put mission description here ", -1) $end_multi_text +Game Type Flags: 1 +Flags: 1024 +Disallow Support: 0 +Hull Repair Ceiling: 0.000000 +Subsystem Repair Ceiling: 100.000000 +Viewer pos: 0.000000, 1041.649414, -1744.381470 +Viewer orient: 1.000000, 0.000000, -0.000000, 0.000000, 0.866025, 0.500000, 0.000000, -0.500000, 0.866025 $AI Profile: FS2 RETAIL #Command Briefing #Briefing $start_briefing $num_stages: 0 $end_briefing #Debriefing_info $Num stages: 0 #Players ;! 1 total $Starting Shipname: Alpha 1 $Ship Choices: ( "GTF Ulysses" 5 "GTF Hercules" 5 "GTF Hercules Mark II" 5 "GTF Ares" 5 "GTF Erinyes" 5 "GTF Loki" 5 "GTF Pegasus" 5 "GTF Perseus" 5 "GTF Myrmidon" 5 "SF Mara (terrans)" 5 "GTB Artemis" 5 "GTB Artemis D.H." 5 "GTB Medusa" 5 "GTB Ursa" 5 "GTB Zeus" 5 "GTB Boanerges" 5 "GVF Ptah" 5 ) +Weaponry Pool: ( "Subach HL-7" 16 "Subach HL-D" 16 "Mekhu HL-7" 16 "Mekhu HL-7D" 16 "Akheton SDG" 16 "Morning Star" 16 "MorningStar D" 16 "Prometheus R" 16 "Prometheus S" 16 "Prometheus D" 16 "Maxim" 17 "Maxim D" 16 "UD-8 Kayser" 16 "UD-D Kayser" 16 "Circe" 16 "Lamprey" 16 "Rockeye" 500 "Rockeye D" 500 "Tempest" 500 "Tempest D" 500 "Hornet" 500 "Hornet D" 500 "Tornado" 500 "Tornado D" 500 "Harpoon" 500 "Harpoon D" 500 "Harpoon#Weak" 500 "Trebuchet" 500 "TAG-A" 500 "TAG-B" 500 "Piranha" 500 "Stiletto II" 500 "Infyrno" 500 "Infyrno D" 500 "Cyclops" 500 "Cyclops#short" 500 "Helios" 510 "EMP Adv." 500 ) #Objects ;! 3 total $Name: Alpha 1 ;! Object #0 $Class: GTB Boanerges $Team: Friendly $Location: 0.000000, 0.000000, 0.000000 $Orientation: 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000 $AI Behavior: None $Cargo 1: XSTR("Nothing", -1) +Initial Hull: 100 +Subsystem: Pilot +Primary Banks: ( "Maxim" ) +Secondary Banks: ( "Helios" "Helios" "Helios" ) $Arrival Location: Hyperspace $Arrival Cue: ( false ) $Departure Location: Hyperspace $Departure Cue: ( false ) $Determination: 10 +Flags: ( "cargo-known" "player-start" ) +Flags2: ( ) +Respawn priority: 0 +Group: 0 +Score: 8 $Name: Bomb me ;! Object #1 $Class: SC Cain $Team: Hostile $Location: -666.875488, 0.000000, 1885.565063 $Orientation: 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000 $AI Behavior: None $AI Goals: ( goals ( ai-play-dead 50 ) ) $Cargo 1: XSTR("Nothing", -1) +Initial Hull: 20 +Initial Shields: 100 +Subsystem: Pilot +Subsystem: turret01 +Subsystem: turret02 +Subsystem: turret03 +Subsystem: turret04 +Subsystem: turret05 +Subsystem: turret06 +Subsystem: turret07 +Subsystem: turret08 +Subsystem: turret09 $Arrival Location: Hyperspace $Arrival Cue: ( true ) $Departure Location: Hyperspace $Departure Cue: ( false ) $Determination: 10 +Flags: ( "no-shields" ) +Flags2: ( ) +Respawn priority: 0 +Orders Accepted: 0 ;! note that this is a bitfield!!! +Group: 0 +Use Table Score: +Score: 150 $Name: Laser me ;! Object #2 $Class: SC Cain $Team: Hostile $Location: 865.456299, 0.000000, 1885.565430 $Orientation: 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000 $AI Behavior: None $AI Goals: ( goals ( ai-play-dead 50 ) ) $Cargo 1: XSTR("Nothing", -1) +Initial Hull: 20 +Initial Shields: 100 +Subsystem: Pilot +Subsystem: turret01 +Subsystem: turret02 +Subsystem: turret03 +Subsystem: turret04 +Subsystem: turret05 +Subsystem: turret06 +Subsystem: turret07 +Subsystem: turret08 +Subsystem: turret09 $Arrival Location: Hyperspace $Arrival Cue: ( true ) $Departure Location: Hyperspace $Departure Cue: ( false ) $Determination: 10 +Flags: ( "no-shields" ) +Flags2: ( ) +Respawn priority: 0 +Orders Accepted: 0 ;! note that this is a bitfield!!! +Group: 0 +Use Table Score: +Score: 150 #Wings ;! 1 total $Name: Alpha $Waves: 1 $Wave Threshold: 0 $Special Ship: 0 ;! Alpha 1 $Arrival Location: Hyperspace $Arrival Cue: ( true ) $Departure Location: Hyperspace $Departure Cue: ( false ) $Ships: ( ;! 1 total "Alpha 1" ) +Hotkey: 0 +Flags: ( ) #Events ;! 6 total $Formula: ( when ( < ( hits-left "Bomb me" ) 5 ) ( training-msg "Hits-left triggered" ) ) +Name: Bomb me hits-left +Repeat Count: 1 +Interval: 1 +Team: 0 $Formula: ( when ( < ( hits-left "Laser me" ) 5 ) ( training-msg "Hits-left triggered" ) ) +Name: Laser me hits-left +Repeat Count: 1 +Interval: 1 +Team: 0 $Formula: ( when ( true ) ( key-reset "1" ) ) +Name: Reset 1 +Repeat Count: 1 +Interval: 1 +Team: 0 $Formula: ( when ( key-pressed "1" ) ( set-subsystem-strength "Laser me" "Hull" 1 ) ) +Name: Laser me hull down +Repeat Count: 1 +Interval: 1 +Chained: 0 +Team: 0 $Formula: ( when ( < ( hits-left-subsystem "Bomb me" "engine" ) 80 ) ( do-nothing ) ) +Name: Bomb me engine hits-left +Repeat Count: 1 +Interval: 1 +Team: 0 $Formula: ( when ( true ) ( training-msg "Hits-left-subsystem triggered" ) ) +Name: Chained delay +Repeat Count: 1 +Interval: 1 +Chained: 5 +Team: 0 #Goals ;! 0 total #Waypoints ;! 0 lists total #Messages ;! 2 total $Name: Hits-left triggered $Team: -1 $MessageNew: XSTR("Hits-left has been triggered", -1) $end_multi_text $Name: Hits-left-subsystem triggered $Team: -1 $MessageNew: XSTR("Hits-left-subsystem on Bomb me engine has been triggered (in fact 5 seconds before)", -1) $end_multi_text #Reinforcements ;! 0 total #Background bitmaps ;! 0 total $Num stars: 500 $Ambient light level: 7895160 +Nebula: Nebula01 +Color: Blue +Pitch: 344 +Bank: 92 +Heading: 211 #Asteroid Fields #Music $Event Music: None $Briefing Music: None #End