451 table.insert(dialog01, {func = AnimSay, args = {hero.gear, loc("No, I am afraid I had to travel light."), SAY_SAY, 2500}}) |
451 table.insert(dialog01, {func = AnimSay, args = {hero.gear, loc("No, I am afraid I had to travel light."), SAY_SAY, 2500}}) |
452 table.insert(dialog01, {func = AnimWait, args = {paoth1.gear, 3200}}) |
452 table.insert(dialog01, {func = AnimWait, args = {paoth1.gear, 3200}}) |
453 table.insert(dialog01, {func = AnimSay, args = {paoth1.gear, loc("Okay, then you have to go and take some of the weapons we have hidden in case of an emergency!"), SAY_SAY, 7000}}) |
453 table.insert(dialog01, {func = AnimSay, args = {paoth1.gear, loc("Okay, then you have to go and take some of the weapons we have hidden in case of an emergency!"), SAY_SAY, 7000}}) |
454 table.insert(dialog01, {func = AnimSay, args = {paoth1.gear, loc("They are up there! Take this rope and hurry!"), SAY_SAY, 7000}}) |
454 table.insert(dialog01, {func = AnimSay, args = {paoth1.gear, loc("They are up there! Take this rope and hurry!"), SAY_SAY, 7000}}) |
455 table.insert(dialog01, {func = AnimSay, args = {hero.gear, loc("Ehm, okay ..."), SAY_SAY, 2500}}) |
455 table.insert(dialog01, {func = AnimSay, args = {hero.gear, loc("Ehm, okay ..."), SAY_SAY, 2500}}) |
|
456 table.insert(dialog01, {func = ShowMission, args = goals[dialog01]}) |
456 table.insert(dialog01, {func = AnimSwitchHog, args = {hero.gear}}) |
457 table.insert(dialog01, {func = AnimSwitchHog, args = {hero.gear}}) |
457 -- DIALOG 02 - To the weapons platform |
458 -- DIALOG 02 - To the weapons platform |
458 AddSkipFunction(dialog02, Skipanim, {dialog02}) |
459 AddSkipFunction(dialog02, Skipanim, {dialog02}) |
459 table.insert(dialog02, {func = AnimCaption, args = {hero.gear, loc("Checkpoint reached!"), 4000}}) |
460 table.insert(dialog02, {func = AnimCaption, args = {hero.gear, loc("Checkpoint reached!"), 4000}}) |
460 table.insert(dialog02, {func = AnimSay, args = {hero.gear, loc("I've made it! Yeah!"), SAY_SHOUT, 4000}}) |
461 table.insert(dialog02, {func = AnimSay, args = {hero.gear, loc("I've made it! Yeah!"), SAY_SHOUT, 4000}}) |
461 table.insert(dialog02, {func = AnimSay, args = {paoth1.gear, loc("Nice! Now hurry and get down! You have to rescue my friends!"), SAY_SHOUT, 7000}}) |
462 table.insert(dialog02, {func = AnimSay, args = {paoth1.gear, loc("Nice! Now hurry and get down! You have to rescue my friends!"), SAY_SHOUT, 7000}}) |
462 table.insert(dialog02, {func = setAfterDialog02, args = {}}) |
463 table.insert(dialog02, {func = setAfterDialog02, args = {}}) |
|
464 table.insert(dialog02, {func = ShowMission, args = goals[dialog02]}) |
463 table.insert(dialog02, {func = AnimSwitchHog, args = {hero.gear}}) |
465 table.insert(dialog02, {func = AnimSwitchHog, args = {hero.gear}}) |
464 -- DIALOG 03 - Hero spotted and has no weapons |
466 -- DIALOG 03 - Hero spotted and has no weapons |
465 AddSkipFunction(dialog03, Skipanim, {dialog03}) |
467 AddSkipFunction(dialog03, Skipanim, {dialog03}) |
466 table.insert(dialog03, {func = AnimCaption, args = {hero.gear, loc("Get ready to fight!"), 4000}}) |
468 table.insert(dialog03, {func = AnimCaption, args = {hero.gear, loc("Get ready to fight!"), 4000}}) |
467 table.insert(dialog03, {func = AnimSay, args = {minion1.gear, loc("Look, boss! There is the target!"), SAY_SHOUT, 4000}}) |
469 table.insert(dialog03, {func = AnimSay, args = {minion1.gear, loc("Look, boss! There is the target!"), SAY_SHOUT, 4000}}) |
468 table.insert(dialog03, {func = AnimSay, args = {professor.gear, loc("Prepare for battle!"), SAY_SHOUT, 4000}}) |
470 table.insert(dialog03, {func = AnimSay, args = {professor.gear, loc("Prepare for battle!"), SAY_SHOUT, 4000}}) |
469 table.insert(dialog03, {func = AnimSay, args = {hero.gear, loc("Oops, I've been spotted and I have no weapons! I am doomed!"), SAY_THINK, 4000}}) |
471 table.insert(dialog03, {func = AnimSay, args = {hero.gear, loc("Oops, I've been spotted and I have no weapons! I am doomed!"), SAY_THINK, 4000}}) |
|
472 table.insert(dialog03, {func = ShowMission, args = goals[dialog03]}) |
470 table.insert(dialog03, {func = startCombat, args = {hero.gear}}) |
473 table.insert(dialog03, {func = startCombat, args = {hero.gear}}) |
471 -- DIALOG 04 - Hero spotted and *HAS* weapons |
474 -- DIALOG 04 - Hero spotted and *HAS* weapons |
472 AddSkipFunction(dialog04, Skipanim, {dialog04}) |
475 AddSkipFunction(dialog04, Skipanim, {dialog04}) |
473 table.insert(dialog04, {func = AnimCaption, args = {hero.gear, loc("Get ready to fight!"), 4000}}) |
476 table.insert(dialog04, {func = AnimCaption, args = {hero.gear, loc("Get ready to fight!"), 4000}}) |
474 table.insert(dialog04, {func = AnimSay, args = {minion1.gear, loc("Look, boss! There is the target!"), SAY_SHOUT, 4000}}) |
477 table.insert(dialog04, {func = AnimSay, args = {minion1.gear, loc("Look, boss! There is the target!"), SAY_SHOUT, 4000}}) |
475 table.insert(dialog04, {func = AnimSay, args = {professor.gear, loc("Prepare for battle!"), SAY_SHOUT, 4000}}) |
478 table.insert(dialog04, {func = AnimSay, args = {professor.gear, loc("Prepare for battle!"), SAY_SHOUT, 4000}}) |
476 table.insert(dialog04, {func = AnimSay, args = {hero.gear, loc("Here we go!"), SAY_THINK, 4000}}) |
479 table.insert(dialog04, {func = AnimSay, args = {hero.gear, loc("Here we go!"), SAY_THINK, 4000}}) |
|
480 table.insert(dialog04, {func = ShowMission, args = goals[dialog04]}) |
477 table.insert(dialog04, {func = startCombat, args = {hero.gear}}) |
481 table.insert(dialog04, {func = startCombat, args = {hero.gear}}) |
478 end |
482 end |
479 |
483 |
480 ------------------- custom "animation" functions -------------------------- |
484 ------------------- custom "animation" functions -------------------------- |
481 |
485 |