Plot 0 name % [[Ver1.6]] % This is a skeleton for a generic combat mission. % You can make it into a complete combat mission just % by filling in the blanks in the MESSAGE BLOCKs below. % If this mission is being offered by the enemy of the story's % controlling faction, do a search for and follow the % instructions each time this label is found. % ********************** % *** ELEMENTS BLOCK *** % ********************** % E1 is the faction behind the story Element1 % E2 is the NPC who will give the PC the mission. % Right now it will just be a member of E1. Element2 Element3 % ******************** % *** SCRIPT BLOCK *** % ******************** % V1 = Time Limit % V2 = Combat Indicator, if V2=1 combat has been entered % V3 = Email sent indicator. % If P3=-1, PC has been denied the job % V4 = Original home of E2 % S101 = Faction Victory Count % S102 = Enemy Victory Count (if appropriate) % S103 = How many times PC fought for faction % S104 = How many times PC fought against faction % On a cleanup request, delete this plot unless combat has been % entered. cleanup % Time limit. This plot will conclude in one day, or immediately % if NPC E2 is killed. start GoCheckTime GoDelete % Combat check. If combat has been entered, V2=1. % Combat ends in victory if the number of active masters on % team two drops to zero, or ends in defeat is the number of % active masters on team one drops to zero. After combat, V2=3 % if the player was victorious or V2=2 is the player lost. % Finally, if the player won, the calling story's faction victory % count (by default now story variable 101) will be increased. nu1 nu2 % Email check. If the PC belongs to the same faction as the NPC, % he may receive an email about the mission. Make a check every % 5 minutes. 5Min % ********************* % *** MESSAGE BLOCK *** % ********************* % 01 : Email Messages. % The NPC is offering the PC a mission via email. Msg1 <\PERSONA E2 @ \SCENE EScene 2 :// Hey \RANK , got a combat mission for you here in \NARRATIVE 3 .> Msg1_1 <\PERSONA E2 @ \SCENE EScene 2 :// Important message for \RANK \PC . \NARRATIVE 3 under attack by \NARRATIVE 2 ; come quick; bring guns.> Msg1_2 <\PERSONA E2 @ \SCENE EScene 2 :// Report to \NARRATIVE 3 for combat mission against \NARRATIVE 2 as soon as possible.> CMsg1_2 Msg1_3 <\PERSONA E2 @ \SCENE EScene 2 :// There's trouble in \NARRATIVE 3 ; \NARRATIVE 2 has some troops in the area.> Msg1_4 <\PERSONA E2 @ \SCENE EScene 2 :// Get yer skinny butt to \NARRATIVE 3 and help us kick out those \NARRATIVE 2 losers!> CMsg1_4 MSG1_5 <\PERSONA E2 @ \SCENE EScene 2 :// There's a party brewing in \SCENE EScene 2 with \NARRATIVE 2 asking for trouble!> CMsg1_5 MSG1_6 <\PERSONA E2 @ \SCENE EScene 2 :// \NARRATIVE 3 is under siege from \NARRATIVE 2 ; if we do not act quickly, all will be lost.> CMsg1_6 sub % This next bit is the conversation which will happen when the % PC speaks to E2. Persona 2 % Fill in something for the rumor string, so the PC will know who % has a job to offer. !2 will add the name of the NPC, while !1 % will add the name of the faction. rumor % ******************** % *** SCRIPT BLOCK *** % ******************** % If you're feeling faint of heart, just skip this % and jump straight to the messages block below. % Here are the variables used in this conversation: % V1 = Job offer counter, V1=1 is job offered, V1=-1 if job denied % V3 = Threat value of enemy mecha % V4 = Reward offered to PC for the mission % At startup, first check to see whether the PC has already % completed the mission or not. Greeting GoRealStart GoCheckLoss GoCheckJob % The first time the PC meets the NPC, the PC will be given the % mission automatically if he's part of the same faction, or if % he is a friend of the NPC, or if he's already been sent email. % The PC will be denied the mission if he's helped the enemy. GoCheckFirst % If this is an enemy mission, use the following line. % GoCheckFirst GoCheckFaction GoCheckEmail % If the reaction score is greater than 40, PC will automatically % be offered the job, but unlike above will not be automatically % expected to accept it, GoCheckFriend % If the PC is not automatically offered the job, there's still % a chance to get the job... as long as the NPC doesn't hate him. GoNoAutomatic GoDenied GoAddComOps % The PC will enter combat here. result1 GoStartCombat .edesc .nu1 .nu2 % The PC needs some time to get ready. result3 % The PC will be told the enemy's point value. result5 % The PC accepts the job offer. result7 % The PC refuses the job offer. result9 % The PC tries to get the job via "PLAN A"- volunteer. % Honestly, when a town is being invaded it's just that % simple. As long as the PC hasn't fought for the enemy, % and isn't villainous, he'll get the job. % The catch? Volunteering lowers the pay offered. result11 % PLAN "A", whatever it was, has failed... GoR11Lose % The PC tries to get the job via "PLAN B"- be badass. result14 GoR14Lose % The player doesn't want this stinkin' job. result17 % ********************* % *** MESSAGE BLOCK *** % ********************* % 01 : Player has won the battle and is being paid. Msg1_0 CMsg1_0 Msg1_1 CMsg1_1 Msg1_2 Msg1_3 CMsg1_3 Msg1_4 CMSg1_4 Msg1_5 CMsg1_5 Msg1_6 CMsg1_6 % 06 : Player has lost the battle. Msg6_1 CMsg6_1 Msg6_2 Msg6_3 Msg6_4 CMsg6_4 Msg6_5 CMsg6_5 Msg6_6 CMsg6_6 Msg6_7 CMsg6_7 % 11 : Description of mission. % use "$ \VAL V4 " to insert the pay for the mission, % and don't forget to mention that the PC also gets salvage. Msg11_2 Msg11_3 Msg11_4 CMsg11_4 Msg11_5 Msg11_6 CMsg11_6 Msg11_7 CMsg11_7 % 16 : Player is asked if he is looking for a job. Msg16_1 CMsg16_1 Msg16_2 CMsg16_2 Msg16_3 Msg16_4 Msg16_5 Msg16_6 CMsg16_6 Msg16_7 CMsg16_7 Msg16_8 CMsg16_8 % 21 : NPC implies job, PC might have chance to get it. Msg21_1 Msg21_2 Msg21_3 CMsg21_3 Msg21_4 CMsg21_4 Msg21_5 CMsg21_5 Msg21_6 CMsg21_6 % 26 : PC will be told exact enemy point value. % use "\VAL V3 " to insert the value. Msg26_0 CMsg26_0 Msg26_1 Msg26_2 CMsg26_2 Msg26_3 Msg26_4 Msg26_5 CMsg26_5 % 31 : "PLAN A" or "PLAN B" worked... the PC is offered % a job and may choose either prompt7/8 to accept or prompt9/10 % to reject it. Msg31_1 Msg31_2 CMSg31_2 Msg31_3 CMsg31_3 Msg31_4 Msg31_5 CMsg31_5 Msg31_6 CMsg31_6 Msg31_7 CMsg31_7 Msg31_8 CMsg31_8 % 36 : Combat is starting. Msg36_1 CMsg36_1 Msg36_2 Msg36_3 CMsg36_3 Msg36_4 Msg36_5 CMsg36_5 Msg36_6 CMsg36_6 Msg36_7 CMsg36_7 Msg36_8 CMsg36_8 % 101 : Player accepted job, then left to get ready. Msg101 % 102 : Player has refused to take job; answer to prompts 9-10. Msg102 % 103 : Player has asked for some time to get ready. Msg103 % 104 : "PLAN A" has failed, and the PC is not offered a job. Msg104 % 105 : "PLAN B" has failed, and the PC is not offered a job. Msg105 % 106 : Player doesn't want job; answer to prompts 17-19. msg106 % 107 : Memo msg107 <\ELEMENT 2 in \SCENE EScene 2 offered you a combat mission against \NARRATIVE 2 .> % 01 : Ready to start the mission Prompt1 Prompt1_1 % 03 : Need time to get ready first. Prompt3 Prompt3_1 % 05 : What is the enemy point value? Prompt5 Prompt5_1 % 07 : After being asked if he wants a job, PC says yes. Prompt7 Prompt7_1 % 09 : After being asked if he wants a job, PC says no. Prompt9 Prompt9_1 % 11 : Player tries to get job using PLAN "A". % By default, PLAN "A" is to sound tough and experienced. Prompt11 Prompt11_1 Prompt11_2 % 14 : Player tries to get job using PLAN "B". % By default, PLAN "B" is to be friendly and personable. Prompt14 Prompt14_1 Prompt14_2 % 17 : Player doesn't much care for the job. Prompt17 Prompt17_1 Prompt17_2 end