The decompiled versions of all \domino\ scripts found in Watch_Dogs.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 

269 lines
11 KiB

-- {\v/} Domino auto-generated LUA script file
--
-- Script document: domino/user/windycity/dlc/mission_09/dlc_m09.domino.xml
-- User graph: DLC_M09_Activation
--
--
-- DO NOT EDIT MANUALLY THIS FILE OR YOUR CHANGES WILL BE LOST!
-- Please modify the original Domino script instead. You have been warned.
-- *** SCRIPT INPUT REFLECTION ***
--[[
<InputReflection />
]]--
-- *** END OF SCRIPT INPUT REFLECTION ***
export = {
};
function export:LuaDependencies()
return {
};
end;
function export:Create(cbox)
-- External box dependencies
cbox:RegisterBox("Domino/Library/common/Common_HUD.Activation_PhoneCall.debug.lua");
cbox:RegisterBox("Domino/Library/common/Common_HUD.Activation_Script.debug.lua");
cbox:RegisterBox("Domino/System/CompareBoolean_v2.lua");
cbox:RegisterBox("Domino/System/Lists/ListWriter_SoundID.lua");
cbox:RegisterBox("Domino/System/Timer_v2.lua");
-- External globals dependencies
cbox:RegisterGlobals("domino/user/windycity/dlc/mission_09/dlc_m09.globals.lua");
-- Load resources
cbox:LoadResource("sndres0x0014a106", "CSoundResource");
cbox:LoadResource("sndres0x00151ac5", "CSoundResource");
cbox:LoadResource("sndres0x0014a563", "CSoundResource");
cbox:LoadResource("sndres0x00149efc", "CSoundResource");
cbox:LoadResource("sndres0x0014a06e", "CSoundResource");
cbox:LoadResource("sndres0x0014f575", "CSoundResource");
cbox:LoadResource("sndres0x00151ad4", "CSoundResource");
cbox:LoadResource("sndres0x00149ef0", "CSoundResource");
cbox:LoadResource("sndres0x00151ab6", "CSoundResource");
cbox:LoadResource("sndres0x00151a8c", "CSoundResource");
cbox:LoadResource("sndres0x00151ae4", "CSoundResource");
end;
function export:Init(cbox)
local l0;
self._name = "DLC_M09_Activation";
self._elementPathId = "DocumentContainer|windycity\\dlc\\mission_09\\dlc_m09.domino.xml|@DLC_M09_Activation";
self.List_Dial_FreeRoamTobias = {
};
self.box_ListWriterSoundID_2 = cbox:CreateBox("Domino/System/Lists/ListWriter_SoundID.lua");
l0 = self.box_ListWriterSoundID_2;
l0._graph = self;
l0._name = "box_ListWriterSoundID_2";
l0._elementPathId = "DocumentContainer|windycity\\dlc\\mission_09\\dlc_m09.domino.xml|@DLC_M09_Activation|27205026";
l0._DynamicAnchors = {
SoundID = 11,
};
l0.Added = self.f_box_ListWriterSoundID_2_Added;
l0.Removed = self.f_box_ListWriterSoundID_2_Removed;
l0.Out = self.f_box_ListWriterSoundID_2_Out;
self.box_Activation_PhoneCall_3 = cbox:CreateBox("Domino/Library/common/Common_HUD.Activation_PhoneCall.debug.lua");
l0 = self.box_Activation_PhoneCall_3;
l0._graph = self;
l0._name = "box_Activation_PhoneCall_3";
l0._elementPathId = "DocumentContainer|windycity\\dlc\\mission_09\\dlc_m09.domino.xml|@DLC_M09_Activation|584738611";
l0.Started = self.f_box_Activation_PhoneCall_3_Started;
l0.Stopped = self.f_box_Activation_PhoneCall_3_Stopped;
l0.Finished = self.f_box_Activation_PhoneCall_3_Finished;
self.box_Activation_Script_1 = cbox:CreateBox("Domino/Library/common/Common_HUD.Activation_Script.debug.lua");
l0 = self.box_Activation_Script_1;
l0._graph = self;
l0._name = "box_Activation_Script_1";
l0._elementPathId = "DocumentContainer|windycity\\dlc\\mission_09\\dlc_m09.domino.xml|@DLC_M09_Activation|925442286";
l0.LayerLoaded = DummyFunction;
self.box_Timer_v2_4 = cbox:CreateBox("Domino/System/Timer_v2.lua");
l0 = self.box_Timer_v2_4;
l0._graph = self;
l0._name = "box_Timer_v2_4";
l0._elementPathId = "DocumentContainer|windycity\\dlc\\mission_09\\dlc_m09.domino.xml|@DLC_M09_Activation|1694680247";
l0.Out = DummyFunction;
l0.Started = DummyFunction;
l0.Stopped = DummyFunction;
l0.Paused = DummyFunction;
l0.Resumed = DummyFunction;
l0.TimeElapsed = self.f_box_Timer_v2_4_TimeElapsed;
l0.LoopingEnded = DummyFunction;
l0.GotTime = DummyFunction;
end;
function export:ShutDown()
for k,v in pairs(self) do if type(v) == "table" and v.ShutDown ~= self.ShutDown and v ~= self._graph and v.ShutDown ~= nil then v:ShutDown() end end;
end;
function export:In()
local l0;
l0 = Boxes[PathID("Domino/System/CompareBoolean_v2.lua")];
l0.A = Globals.DLC_M09.M09_IntroTobiasPhoneCall_Played;
l0.B = nil;
l0._graph = self;
l0._name = "box_Compare_Boolean_v2_5";
l0._elementPathId = "DocumentContainer|windycity\\dlc\\mission_09\\dlc_m09.domino.xml|@DLC_M09_Activation|1513923686";
l0.Out = DummyFunction;
l0.A_is_True = self.f_box_Compare_Boolean_v2_5_A_is_True;
l0.A_is_False = self.f_box_Compare_Boolean_v2_5_A_is_False;
l0.A_and_B = DummyFunction;
l0.notA_and_notB = DummyFunction;
l0.A_or_B = DummyFunction;
l0.A_xor_B = DummyFunction;
CDominoManager_GetInstance():TraceConnection("DocumentContainer|windycity\\dlc\\mission_09\\dlc_m09.domino.xml|@DLC_M09_Activation|478123741", "478123741", "DLC_M09_Activation", "In", "box_Compare_Boolean_v2_5.In", self, l0);
l0:In();
end;
function export:Stop()
local l0;
self:OnEnter_box_Activation_Script_1();
l0 = self.box_Activation_Script_1;
CDominoManager_GetInstance():TraceConnection("DocumentContainer|windycity\\dlc\\mission_09\\dlc_m09.domino.xml|@DLC_M09_Activation|1933137256", "1933137256", "DLC_M09_Activation", "Stop", "box_Activation_Script_1.Stop", self, l0);
l0:Stop();
end;
function export:f_box_ListWriterSoundID_2_Added()
local l0, l1;
self = self._graph;
l0 = self.box_ListWriterSoundID_2;
self.List_Dial_FreeRoamTobias = l0.Target;
l0 = self.box_Activation_PhoneCall_3;
l0.DialogList = self.List_Dial_FreeRoamTobias;
l0.PhoneCaller = "Tobias";
l0.HeaderText = {
section = "POPUPS.Phone Calls",
item = "OutgoingTo",
id = "15199",
};
l0.LineText = {
section = "POPUPS.Phone Calls",
item = "TobiasFrewer",
id = "190997",
};
l0.PhoneCallRecieved_In = Globals.DLC_M09.M09_IntroTobiasPhoneCall_Played;
l0.Delay = 5;
l0 = self.box_ListWriterSoundID_2;
l1 = self.box_Activation_PhoneCall_3;
CDominoManager_GetInstance():TraceConnection("DocumentContainer|windycity\\dlc\\mission_09\\dlc_m09.domino.xml|@DLC_M09_Activation|882290534", "882290534", "DLC_M09_Activation", "box_ListWriterSoundID_2.Added", "box_Activation_PhoneCall_3.Start", l0, l1);
l1:Start();
end;
function export:f_box_ListWriterSoundID_2_Out()
local l0;
self = self._graph;
l0 = self.box_ListWriterSoundID_2;
self.List_Dial_FreeRoamTobias = l0.Target;
end;
function export:f_box_ListWriterSoundID_2_Removed()
local l0;
self = self._graph;
l0 = self.box_ListWriterSoundID_2;
self.List_Dial_FreeRoamTobias = l0.Target;
end;
function export:f_box_Activation_PhoneCall_3_Finished()
local l0;
self = self._graph;
l0 = self.box_Activation_PhoneCall_3;
Globals.DLC_M09.M09_IntroTobiasPhoneCall_Played = l0.PhoneCallRecieved_Out;
end;
function export:f_box_Activation_PhoneCall_3_Started()
local l0, l1;
self = self._graph;
l0 = self.box_Activation_PhoneCall_3;
Globals.DLC_M09.M09_IntroTobiasPhoneCall_Played = l0.PhoneCallRecieved_Out;
self:OnEnter_box_Activation_Script_1();
l1 = self.box_Activation_Script_1;
CDominoManager_GetInstance():TraceConnection("DocumentContainer|windycity\\dlc\\mission_09\\dlc_m09.domino.xml|@DLC_M09_Activation|1127043735", "1127043735", "DLC_M09_Activation", "box_Activation_PhoneCall_3.Started", "box_Activation_Script_1.In", l0, l1);
l1:In();
end;
function export:f_box_Activation_PhoneCall_3_Stopped()
local l0, l1;
self = self._graph;
l0 = self.box_Activation_PhoneCall_3;
Globals.DLC_M09.M09_IntroTobiasPhoneCall_Played = l0.PhoneCallRecieved_Out;
self:OnEnter_box_Activation_Script_1();
l1 = self.box_Activation_Script_1;
CDominoManager_GetInstance():TraceConnection("DocumentContainer|windycity\\dlc\\mission_09\\dlc_m09.domino.xml|@DLC_M09_Activation|593678787", "593678787", "DLC_M09_Activation", "box_Activation_PhoneCall_3.Stopped", "box_Activation_Script_1.Stop", l0, l1);
l1:Stop();
end;
function export:f_box_Compare_Boolean_v2_5_A_is_False()
local l0;
self = self._graph;
l0 = Boxes[PathID("Domino/System/CompareBoolean_v2.lua")];
local clone = {}; for k,v in pairs(l0) do clone[k] = v end;
l0 = self.box_Timer_v2_4;
l0.Seconds = 40;
CDominoManager_GetInstance():TraceConnection("DocumentContainer|windycity\\dlc\\mission_09\\dlc_m09.domino.xml|@DLC_M09_Activation|1342683041", "1342683041", "DLC_M09_Activation", "box_Compare_Boolean_v2_5.A_is_False", "box_Timer_v2_4.Start", clone, l0);
l0:Start();
end;
function export:f_box_Compare_Boolean_v2_5_A_is_True()
local l0;
self = self._graph;
l0 = Boxes[PathID("Domino/System/CompareBoolean_v2.lua")];
local clone = {}; for k,v in pairs(l0) do clone[k] = v end;
self:OnEnter_box_ListWriterSoundID_2();
l0 = self.box_ListWriterSoundID_2;
CDominoManager_GetInstance():TraceConnection("DocumentContainer|windycity\\dlc\\mission_09\\dlc_m09.domino.xml|@DLC_M09_Activation|1532021726", "1532021726", "DLC_M09_Activation", "box_Compare_Boolean_v2_5.A_is_True", "box_ListWriterSoundID_2.Add", clone, l0);
l0:Add();
end;
function export:f_box_Timer_v2_4_TimeElapsed()
local l0, l1;
self = self._graph;
self:OnEnter_box_ListWriterSoundID_2();
l0 = self.box_Timer_v2_4;
l1 = self.box_ListWriterSoundID_2;
CDominoManager_GetInstance():TraceConnection("DocumentContainer|windycity\\dlc\\mission_09\\dlc_m09.domino.xml|@DLC_M09_Activation|197634115", "197634115", "DLC_M09_Activation", "box_Timer_v2_4.TimeElapsed", "box_ListWriterSoundID_2.Add", l0, l1);
l1:Add();
end;
function export:OnEnter_box_ListWriterSoundID_2()
local l0;
l0 = self.box_ListWriterSoundID_2;
l0.Input = self.List_Dial_FreeRoamTobias;
l0.SoundID[0] = "0x00151ad4";
l0.SoundID[1] = "0x00151ab6";
l0.SoundID[2] = "0x00151ac5";
l0.SoundID[3] = "0x00151ae4";
l0.SoundID[4] = "0x00151a8c";
l0.SoundID[5] = "0x0014a106";
l0.SoundID[6] = "0x00149ef0";
l0.SoundID[7] = "0x0014a563";
l0.SoundID[8] = "0x0014a06e";
l0.SoundID[9] = "0x0014f575";
l0.SoundID[10] = "0x00149efc";
l0.Index = 1;
end;
function export:OnEnter_box_Activation_Script_1()
local l0;
l0 = self.box_Activation_Script_1;
l0.Activation_Layer = "DLC_M09_Activation";
l0.Map_Point = "2085881188039263147";
l0.Objective_Trigger = "2085881175347299241";
l0.MapMarkerTitle = {
section = "GPS",
item = "MainMission",
id = "13943",
};
l0.MapMarkerDesc = {
section = "MISSIONS.DLC.MAIN.OBJECTIVES.Mission_09",
item = "Description_DLC",
id = "233349",
};
l0.Mission = "MissionList.3567839169";
l0.EntityOnMissionLayer = 1;
l0.IsFixerFantasyCam = 0;
l0.DoFadeOut = 0;
end;
-- Empty out anchor definitions
_compilerVersion = 4;