SHARE
TWEET

Untitled

a guest Sep 18th, 2019 121 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ;/ Decompiled by Champollion V1.0.6
  2. PEX format v3.9 GameID: 2
  3. Source   : D:\Papyrus\current\Source\Scripts\FOC\Fragments\Quests\QF_CAS_FOCMQ101BG_0211D7C2.psc
  4. Modified : 2019-05-06 17:21:19
  5. Compiled : 2019-05-06 17:21:20
  6. User     : Leon
  7. Computer : Leon
  8. /;
  9. ScriptName FOC:Fragments:Quests:QF_CAS_FOCMQ101BG_0211D7C2 extends Quest Const hidden
  10.  
  11. ;-- Properties --------------------------------------
  12. Book Property CAS_FOCMQ101BGParentNote Auto Const
  13. ObjectReference Property CAS_FOCMQ101NoteRef Auto Const
  14. ReferenceAlias Property PackageBoxThing Auto Const
  15. Form Property CAS_FOCMQ101BrokenPip Auto Const
  16. ObjectReference Property CAS_FOCMQ101DresserActiv Auto Const
  17. ObjectReference Property CAS_FOCMQ101PHDoorOne Auto Const
  18. ObjectReference Property CAS_FOCMQ101PHDoorTwo Auto Const
  19. Sound Property QSTChargenDoorbellRing Auto Const
  20. { Temp audio }
  21. ReferenceAlias Property Mailman Auto Const
  22. ObjectReference Property CAS_FOCMQ101DoorIn Auto Const
  23. ReferenceAlias Property Lamp Auto Const
  24. ObjectReference Property CAS_FOCMQ101BGDeathMarker Auto Const
  25. ObjectReference Property cas_focmq101hideymarker Auto Const
  26. ReferenceAlias Property Natalie Auto Const
  27. ReferenceAlias Property Lifepreserver Auto Const
  28. ReferenceAlias Property OldHalliday Auto Const
  29. ReferenceAlias Property Victoria Auto Const
  30. ReferenceAlias Property Bryony Auto Const
  31. ReferenceAlias Property HunterHalliday Auto Const
  32. ReferenceAlias Property Meave Auto Const
  33. ReferenceAlias Property Jasper Auto Const
  34. ReferenceAlias Property Damon Auto Const
  35. ReferenceAlias Property Brandon Auto Const
  36. Scene Property CAS_FOCMQ101BGNatalieSecondScene Auto Const
  37. ObjectReference Property CAS_FOCMQ101BGDestructionMarker Auto Const
  38. ObjectReference Property NatalieRuntoOne Auto Const
  39. ObjectReference Property CAS_FOCMQ101InvisWall Auto Const
  40. ReferenceAlias Property Maddox Auto Const
  41. ObjectReference Property CAS_FOCMQ101BGInvisWallTwo Auto Const
  42. ObjectReference Property WarpToAfterBG Auto Const
  43. Armor Property Pipboy Auto Const
  44. Quest Property FCKentPontusDialogue Auto Const
  45. ReferenceAlias Property DamonCamera Auto Const
  46. Scene Property CAS_FOCMQ101BGBryonyJasperTerminalDialogue Auto Const
  47. Scene Property CAS_FOCMQ101BGBryonyCallJasper Auto Const
  48. Scene Property CAS_FOCMQ101BGBryonyTerminalDialogue Auto Const
  49. ReferenceAlias Property BryonyGPU Auto Const
  50. Scene Property CAS_FOCMQ101BGOldHallidayTravelGrave Auto Const
  51.  
  52. ;-- Variables ---------------------------------------
  53.  
  54. ;-- Functions ---------------------------------------
  55.  
  56. Function Fragment_Stage_0200_Item_00()
  57.     Self.SetObjectiveCompleted(20, True)
  58.     Self.SetObjectiveDisplayed(21, False, False)
  59.     Self.SetObjectiveDisplayed(25, True, False)
  60. EndFunction
  61.  
  62. Function Fragment_Stage_0800_Item_00()
  63.     Quest __temp = Self as Quest
  64.     foc:cas_focmq101bgscript kmyQuest = __temp as foc:cas_focmq101bgscript
  65.     Game.FadeOutGame(False, True, 3, 1, False)
  66.     Game.SetCharGenHUDMode(0)
  67.     kmyQuest.CAS_FOCMQ101EnableLayer.Delete()
  68.     Game.GetPlayer().AddItem(Pipboy as Form, 1, True)
  69.     Game.GetPlayer().EquipItem(Pipboy as Form, False, False)
  70.     Game.GetPlayer().MoveTo(WarpToAfterBG, 0, 0, 0, True)
  71.     FCKentPontusDialogue.Start()
  72. EndFunction
  73.  
  74. Function Fragment_Stage_0000_Item_00()
  75.     Quest __temp = Self as Quest
  76.     foc:cas_focmq101bgscript kmyQuest = __temp as foc:cas_focmq101bgscript
  77.     kmyQuest.CAS_FOCMQ101EnableLayer = inputenablelayer.Create()
  78.     kmyQuest.CAS_FOCMQ101EnableLayer.DisablePlayerControls(False, True, False, False, True, True, False, True, True, True, False)
  79.     Game.SetCharGenHUDMode(0)
  80.     Self.SetObjectiveDisplayed(15, True, False)
  81.     CAS_FOCMQ101PHDoorTwo.BlockActivation(True, True)
  82.     CAS_FOCMQ101DoorIn.BlockActivation(True, True)
  83.     Utility.Wait(2 as float)
  84.     QSTChargenDoorbellRing.Play(CAS_FOCMQ101PHDoorOne)
  85.     Self.SetObjectiveDisplayed(10, True, False)
  86. EndFunction
  87.  
  88. Function Fragment_Stage_0015_Item_00()
  89.     Quest __temp = Self as Quest
  90.     foc:cas_focmq101bgscript kmyQuest = __temp as foc:cas_focmq101bgscript
  91.     Self.SetObjectiveCompleted(10, True)
  92.     kmyQuest.CAS_FOCMQ101EnableLayer.EnableMovement(True)
  93.     CAS_FOCMQ101DoorIn.BlockActivation(False, False)
  94.     CAS_FOCMQ101PHDoorTwo.BlockActivation(False, False)
  95.     Self.SetObjectiveDisplayed(20, True, False)
  96.     Self.SetObjectiveDisplayed(21, True, False)
  97.     Utility.Wait(1 as float)
  98.     Mailman.GetActorRef().EvaluatePackage(False)
  99.     kmyQuest.RegisterMailguyLOS()
  100. EndFunction
  101.  
  102. Function Fragment_Stage_0750_Item_00()
  103.     CAS_FOCMQ101BGInvisWallTwo.DisableNoWait(False)
  104.     Self.SetObjectiveDisplayed(50, True, False)
  105. EndFunction
  106.  
  107. Function Fragment_Stage_0007_Item_00()
  108.     Quest __temp = Self as Quest
  109.     foc:cas_focmq101bgscript kmyQuest = __temp as foc:cas_focmq101bgscript
  110.     kmyQuest.bIsPlayerDressed = True
  111.     Self.SetObjectiveCompleted(15, True)
  112.     Self.SetObjectiveDisplayed(10, True, False)
  113.     If (!Self.getstagedone(15))
  114.         QSTChargenDoorbellRing.Play(CAS_FOCMQ101PHDoorOne)
  115.     EndIf
  116. EndFunction
  117.  
  118. Function Fragment_Stage_0220_Item_00()
  119.     Self.SetObjectiveDisplayed(20, False, False)
  120.     Self.SetObjectiveCompleted(21, True)
  121.     Self.SetObjectiveDisplayed(25, True, False)
  122. EndFunction
  123.  
  124. Function Fragment_Stage_0317_Item_00()
  125.     CAS_FOCMQ101BGOldHallidayTravelGrave.Start()
  126. EndFunction
  127.  
  128. Function Fragment_Stage_0205_Item_00()
  129.     Self.SetObjectiveFailed(20, True)
  130.     Self.SetStage(317)
  131.     If (Self.getstagedone(23))
  132.         Self.SetObjectiveDisplayed(23, True, False)
  133.     EndIf
  134. EndFunction
  135.  
  136. Function Fragment_Stage_0400_Item_00()
  137.     Self.SetObjectiveDisplayed(20, False, False)
  138.     Self.SetObjectiveDisplayed(21, False, False)
  139.     Self.SetObjectiveCompleted(25, True)
  140.     Self.SetObjectiveDisplayed(26, True, False)
  141.     If (!Self.getstagedone(250))
  142.         Self.SetStage(250)
  143.     EndIf
  144. EndFunction
  145.  
  146. Function Fragment_Stage_0315_Item_00()
  147.     Quest __temp = Self as Quest
  148.     foc:cas_focmq101bgscript kmyQuest = __temp as foc:cas_focmq101bgscript
  149.     kmyQuest.bBryonyDefaultDialogue = False
  150. EndFunction
  151.  
  152. Function Fragment_Stage_0314_Item_00()
  153.     CAS_FOCMQ101BGBryonyJasperTerminalDialogue.Start()
  154. EndFunction
  155.  
  156. Function Fragment_Stage_0250_Item_00()
  157.     CAS_FOCMQ101BGBryonyCallJasper.Start()
  158. EndFunction
  159.  
  160. Function Fragment_Stage_0005_Item_00()
  161.     ; Empty function
  162. EndFunction
  163.  
  164. Function Fragment_Stage_0407_Item_00()
  165.     Quest __temp = Self as Quest
  166.     foc:cas_focmq101bgscript kmyQuest = __temp as foc:cas_focmq101bgscript
  167.     Game.GetPlayer().AddItem(BryonyGPU.GetReference() as Form, 1, False)
  168.     kmyQuest.bBryonyDefaultDialogue = True
  169. EndFunction
  170.  
  171. Function Fragment_Stage_0405_Item_00()
  172.     Game.GetPlayer().AddItem(DamonCamera.GetReference() as Form, 1, False)
  173. EndFunction
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top