----------------------------- -- HELP MESSAGES ----------- -- METROPOLIS --------------- ----------------------------- local time_in_volume_077 = 0 local misc007=false local misc008=false local misc017=false local obj106=false while true do --MODEL --[[ local time_in_volumeA = 0; if (is_in_volume( Ratchet1, VolumeA )) then time_in_volumeA = time_in_volumeA + step_time; end local has_visited_volb = false; if (is_in_volume( Ratchet1, VolumeB )) then has_visited_volb = true; end if (not has_visited_volb and time_in_volumeA > 3.0) then help(...) end --]] ----------------------------- --HELP----------------------- ----------------------------- -----TEMP DEMO HELP!!!!!!!!!!!!!!!!!!!! -----PULL AFTER DEMO!!!!!!!!!!!!!!!!!!! if is_in_volume( Ratchet1, Help_L01_MISC007_Trigger ) and misc007==false then misc007=true help( DialogueSpecs.HELP_L02_OBJ132, "The Groovitron creates an auditory stimulus that temporarily mesmerizes your opponents. To throw a Groovitron, select the device from your Quick Select Menu, then press the fire button to throw it.", 0, false, 1 ) end if is_in_volume( Ratchet1, Help_Gen_OBJ106_Trigger ) and obj106==false then obj106=true help( DialogueSpecs.HELP_Gen_OBJ106, "The Transmorpher temporarily turns menacing foes into harmless, loveable penguins. Once equipped, press [KEY_FIRE] to try out this marvelous invention!", 0, false, 1 ) end -- Overhead Strike Help Message -- -- HELP_L01_OBJ001 -- if is_in_volume( Ratchet1, Help_L01_OBJ001_Trigger ) and not check_flag( HERO_WRENCH_OVERHEAD ) then help( DialogueSpecs.HELP_L01_OBJ001, "You can deal more damage with your wrench by executing a Hyper Strike. Press the jump button, followed by the square button.", 0, false, 1 ) end -- Basic Shooting Help Message -- -- HELP_L01_OBJ003 -- --mjm note: only teaches shooting will need to script in HELP_L01_OBJ004 for quick select if is_in_volume( Ratchet1, Help_L01_OBJ003_Trigger ) and not check_flag( HERO_FIRED_WEAPON ) then help( DialogueSpecs.HELP_L01_OBJ003, "Press the fire button to use your currently selected weapon.", 20, false, 3 ) end -- Weapon Quick-Select Help Message -- -- HELP_L01_OBJ004 -- if is_in_volume( Ratchet1, Help_L01_OBJ004_Trigger ) and not check_flag( HERO_USED_QUICK_SELECT ) then wait(1.5) help( DialogueSpecs.HELP_L01_OBJ004, "Hold [Triangle] to select a weapon. Press [Circle] to fire your currently-selected weapon.", 20, false, 3 ) end -- Using Grindrail Help Message -- -- HELP_L01_OBJ077 if (is_in_volume( Ratchet1, Help_L01_OBJ077_Trigger )) and ( get_num_alive( B08_Troopers_ALL )<=0 ) then time_in_volume_077 = time_in_volume_077 + step_time; end if (time_in_volume_077 > 15.0) and not check_flag( LVL_METROPOLIS_GRINDRAIL_USED ) then help( DialogueSpecs.HELP_L01_OBJ077, "Jump on the grind rail to use your Grind Boots!", 0, false, 1 ) end if is_in_volume( Ratchet1, B09_Grindrail_Used_Trigger ) and ( not check_flag( LVL_METROPOLIS_GRINDRAIL_USED )) then set_flag( LVL_METROPOLIS_GRINDRAIL_USED ) end -- Jumping to another rail on Grindrail Help Message -- -- HELP_L01_OBJ075 if is_in_volume( Ratchet1, Help_L01_OBJ075_Trigger ) and check_flag( HERO_FAILED_GRIND_TRANSFER ) then help( DialogueSpecs.HELP_L01_OBJ075, "To rail jump, push the left analog stick in the direction of the desired rail and press the jump button.", 0, false, 1 ) end if is_in_volume( Ratchet1, B09_Grindrail_Failed_Trigger ) then set_flag( HERO_FAILED_GRIND_TRANSFER ) end -- Camera Control Help Message -- -- HELP_L01_OBJ005 -- if is_in_volume( Ratchet1, Help_L01_OBJ005_Trigger ) and not check_flag( HERO_CAMERA_ADJUST ) then help( DialogueSpecs.HELP_L01_OBJ005, "To look around, use the right analog stick.", 0, false, 1 ) end -- First-Person Help Message -- -- HELP_L01_OBJ006 -- if is_in_volume( Ratchet1, Help_L01_OBJ006_Trigger ) and not check_flag( HERO_FIRST_PERSON ) then help( DialogueSpecs.HELP_L01_OBJ006, "To enter Look Mode, press and hold the look button. You can then aim using the analog stick.", 0, false, 1 ) end -- Stylized Violence help message -- HELP_L01_MISC007 --[[ COMMENTED OUT FOR DEMO, REPLACED WITH GROOVITRON HELP FOR NOW if is_in_volume( Ratchet1, Help_L01_MISC007_Trigger ) and misc007==false then misc007=true help( DialogueSpecs.HELP_L01_MISC007, "The Gadgetron Legal Department would like to remind you that stylized violence should only be inflicted on hostile alien life forms and viral marketers.", 0, false, 1 ) end ]]-- -- Living customer help message -- HELP_L01_MISC007 --removed at request of BHA --[[ if is_in_volume( Ratchet1, Help_L01_MISC008_Trigger ) and misc008==false then misc008=true help( DialogueSpecs.HELP_L01_MISC008, "At Gadgetron, a living customer is a paying customer. Let's go over just a few more ways to ensure a longer life.", 0, false, 1 ) end ]]-- -- Intro help message -- HELP_L01_MISC017 if is_in_volume( Ratchet1, Help_L01_MISC017_Trigger ) and misc017==false then misc017=true wait(1) help( DialogueSpecs.HELP_L01_MISC017, "Welcome back, Customer 91802. If you are looking to combat a massive, deadly space armada, the Gadgetron Help Desk will be happy to assist!", 0, false, 1 ) --help( DialogueSpecs.HELP_L03_OBJ068, "To steer during freefall, simply tilt your controller in the desired direction.", 0, false, 1 ) end -- Freefall Help -- HELP_L03_OBJ068 -- in sidescroll.lua - part of complicated script wait() end