share/hedgewars/Data/Missions/Campaign/A_Classic_Fairytale/first_blood.lua
changeset 12794 bca911f8e804
parent 12624 705dde538519
child 12933 e65aa3c3d4e6
equal deleted inserted replaced
12793:575c0de98505 12794:bca911f8e804
       
     1 --[[
       
     2 A Classic Fairytale: First Blood
       
     3 
       
     4 = SUMMARY =
       
     5 Simple introduction to the most basic aspects of gameplay.
       
     6 Basically a story-driven mini-tutorial. Does not replace
       
     7 a real tutorial, however.
       
     8 
       
     9 = GOAL =
       
    10 To complete the various tasks the chief gives to the player.
       
    11 
       
    12 = FLOW CHART =
       
    13 This section explains how this mission is (roughly)
       
    14 *supposed* to work, with a step-to-step list.
       
    15 Use this to hunt down bugs or for testing.
       
    16 
       
    17 All other missions in ACF will have the same section.
       
    18 
       
    19 These symbols are used:
       
    20 - Event
       
    21 | Choice (only one of these can happen)
       
    22 > End of mission
       
    23 : Go to another event in the flow chart
       
    24 
       
    25 “TBS” stands for “Turn-Based Stragegy”. It is used when the game switches from
       
    26 heavily scripted events to the default turn-based stragegy gameplay. This
       
    27 is not used in the first mission, however.
       
    28 
       
    29 == Linear events ==
       
    30 This is the expected course of events in chronological order.
       
    31 
       
    32 - Introduction; movement (left/right/jump) instructions
       
    33 - Player moves to mushroom
       
    34 - Double jump instructions, move to flower
       
    35 - Collect first crate (rope)
       
    36 - Rope instructions
       
    37 - Parachute crate appears in the right pit
       
    38 - Player collects parachute
       
    39 - Instruct player to move to mole head
       
    40 | If player stopped on mole head:
       
    41     - Cut scene
       
    42     - Place girder to block off right pit
       
    43     - Spawn rope crate in left pit
       
    44     - Player must collect crate safely
       
    45     - If hurt: Reset player to mole head
       
    46 | If player skipped the mole (e.g. by roping) and instead went down the pit left from the mole:
       
    47     - Different cut scene
       
    48     - Place girder to block off right pit
       
    49     - Spawn rope crate in left pit
       
    50     - Player must collect this crate
       
    51 - Shoryuken crate spawns
       
    52 - Player destroys all targets
       
    53 - Rope challenge
       
    54     - Player chooses rope challenge difficulty
       
    55     - Crates spawn, one-by-one, while player collects them
       
    56     | If player collects all crates in time:
       
    57         - Proceed
       
    58     | If player fails to collect all crates in time:
       
    59         : Rope challenge restarts
       
    60 - Deagle crate spawns
       
    61 - Player collects deagle crate
       
    62 - Deagle targets spawn
       
    63 - Deagle targets destroyd
       
    64 - Cannibal and lots of ammo crates appear
       
    65 | Player kills cannibal
       
    66     > Victory
       
    67 | Player moves close to cannibal
       
    68     - Many weapon crates with melee weapons spawn
       
    69     - Cut scene
       
    70     - Player kills cannibal
       
    71     > Victory
       
    72 
       
    73 == Non-linear events ==
       
    74 These events can be triggered at (theoretically) any time and interrupt
       
    75 the normal flow. Obvious events like “all player hogs dead” are omitted here.
       
    76 
       
    77 - Player hog damages princess:
       
    78     - Princess complains
       
    79 - Player hog damages chief
       
    80     - Chief complains
       
    81 - Player hog, Princess or Chief dead:
       
    82     > Game over
       
    83 - Player hurt itself without dying:
       
    84     - Chief mocks player
       
    85 
       
    86 ]]
       
    87 
     1 HedgewarsScriptLoad("/Scripts/Locale.lua")
    88 HedgewarsScriptLoad("/Scripts/Locale.lua")
     2 HedgewarsScriptLoad("/Scripts/Animate.lua")
    89 HedgewarsScriptLoad("/Scripts/Animate.lua")
     3 
    90 
     4 -----------------------------Variables---------------------------------
    91 -----------------------------Variables---------------------------------
     5 startDialogue = {}
    92 startDialogue = {}