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.
 

272 lines
11 KiB

-- {\v/} Domino auto-generated LUA script file
--
-- Script document: domino/user/windycity/dlc/mission_10/dlc_m10.domino.xml
-- User graph: DLC_M10_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/GetPlayerID.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_10/dlc_m10.globals.lua");
-- Load resources
cbox:LoadResource("sndres0x00150035", "CSoundResource");
cbox:LoadResource("sndres0x00149f84", "CSoundResource");
end;
function export:Init(cbox)
local l0;
self._name = "DLC_M10_Activation";
self._elementPathId = "DocumentContainer|windycity\\dlc\\mission_10\\dlc_m10.domino.xml|@DLC_M10_Activation";
self.DLC_m07_activationTrigger = "2084221173710725562";
self.DLC_M10_activation_trigger = "2084984438800175236";
self.M10_activation_phone_call_list = {
};
self.phone_call_recieved = 0;
self.Player_pwn = nil;
self.Fixer_cam_tbone = "2085880242519855126";
self.box_ListWriterSoundID_3 = cbox:CreateBox("Domino/System/Lists/ListWriter_SoundID.lua");
l0 = self.box_ListWriterSoundID_3;
l0._graph = self;
l0._name = "box_ListWriterSoundID_3";
l0._elementPathId = "DocumentContainer|windycity\\dlc\\mission_10\\dlc_m10.domino.xml|@DLC_M10_Activation|508353036";
l0._DynamicAnchors = {
SoundID = 2,
};
l0.Added = self.f_box_ListWriterSoundID_3_Added;
l0.Removed = self.f_box_ListWriterSoundID_3_Removed;
l0.Out = self.f_box_ListWriterSoundID_3_Out;
self.box_Timer_v2_12 = cbox:CreateBox("Domino/System/Timer_v2.lua");
l0 = self.box_Timer_v2_12;
l0._graph = self;
l0._name = "box_Timer_v2_12";
l0._elementPathId = "DocumentContainer|windycity\\dlc\\mission_10\\dlc_m10.domino.xml|@DLC_M10_Activation|570499885";
l0.Out = DummyFunction;
l0.Started = DummyFunction;
l0.Stopped = DummyFunction;
l0.Paused = DummyFunction;
l0.Resumed = DummyFunction;
l0.TimeElapsed = self.f_box_Timer_v2_12_TimeElapsed;
l0.LoopingEnded = DummyFunction;
l0.GotTime = DummyFunction;
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_10\\dlc_m10.domino.xml|@DLC_M10_Activation|1419780707";
l0.LayerLoaded = DummyFunction;
self.box_Activation_PhoneCall_5 = cbox:CreateBox("Domino/Library/common/Common_HUD.Activation_PhoneCall.debug.lua");
l0 = self.box_Activation_PhoneCall_5;
l0._graph = self;
l0._name = "box_Activation_PhoneCall_5";
l0._elementPathId = "DocumentContainer|windycity\\dlc\\mission_10\\dlc_m10.domino.xml|@DLC_M10_Activation|1885515644";
l0.Started = self.f_box_Activation_PhoneCall_5_Started;
l0.Stopped = self.f_box_Activation_PhoneCall_5_Stopped;
l0.Finished = self.f_box_Activation_PhoneCall_5_Finished;
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_M10.M10_IntroTobiasPhoneCall_Played;
l0.B = nil;
l0._graph = self;
l0._name = "box_Compare_Boolean_v2_8";
l0._elementPathId = "DocumentContainer|windycity\\dlc\\mission_10\\dlc_m10.domino.xml|@DLC_M10_Activation|1239716403";
l0.Out = DummyFunction;
l0.A_is_True = self.f_box_Compare_Boolean_v2_8_A_is_True;
l0.A_is_False = self.f_box_Compare_Boolean_v2_8_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_10\\dlc_m10.domino.xml|@DLC_M10_Activation|1515995527", "1515995527", "DLC_M10_Activation", "In", "box_Compare_Boolean_v2_8.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_10\\dlc_m10.domino.xml|@DLC_M10_Activation|867255154", "867255154", "DLC_M10_Activation", "Stop", "box_Activation_Script_1.Stop", self, l0);
l0:Stop();
end;
function export:f_box_ListWriterSoundID_3_Added()
local l0, l1;
self = self._graph;
l0 = self.box_ListWriterSoundID_3;
self.M10_activation_phone_call_list = l0.Target;
l0 = Boxes[PathID("Domino/System/GetPlayerID.lua")];
l0._graph = self;
l0._name = "box_Get_Player_ID_10";
l0._elementPathId = "DocumentContainer|windycity\\dlc\\mission_10\\dlc_m10.domino.xml|@DLC_M10_Activation|940090069";
l0.Out = self.f_box_Get_Player_ID_10_Out;
l0 = self.box_ListWriterSoundID_3;
l1 = Boxes[PathID("Domino/System/GetPlayerID.lua")];
CDominoManager_GetInstance():TraceConnection("DocumentContainer|windycity\\dlc\\mission_10\\dlc_m10.domino.xml|@DLC_M10_Activation|541645931", "541645931", "DLC_M10_Activation", "box_ListWriterSoundID_3.Added", "box_Get_Player_ID_10.In", l0, l1);
l1:In();
end;
function export:f_box_ListWriterSoundID_3_Out()
local l0;
self = self._graph;
l0 = self.box_ListWriterSoundID_3;
self.M10_activation_phone_call_list = l0.Target;
end;
function export:f_box_ListWriterSoundID_3_Removed()
local l0;
self = self._graph;
l0 = self.box_ListWriterSoundID_3;
self.M10_activation_phone_call_list = l0.Target;
end;
function export:f_box_Timer_v2_12_TimeElapsed()
local l0, l1;
self = self._graph;
self:OnEnter_box_Activation_PhoneCall_5();
l0 = self.box_Timer_v2_12;
l1 = self.box_Activation_PhoneCall_5;
CDominoManager_GetInstance():TraceConnection("DocumentContainer|windycity\\dlc\\mission_10\\dlc_m10.domino.xml|@DLC_M10_Activation|959578663", "959578663", "DLC_M10_Activation", "box_Timer_v2_12.TimeElapsed", "box_Activation_PhoneCall_5.Start", l0, l1);
l1:Start();
end;
function export:f_box_Get_Player_ID_10_Out()
local l0;
self = self._graph;
l0 = Boxes[PathID("Domino/System/GetPlayerID.lua")];
self.Player_pwn = l0.PlayerID;
local clone = {}; for k,v in pairs(l0) do clone[k] = v end;
l0 = self.box_Timer_v2_12;
l0.Seconds = 25;
CDominoManager_GetInstance():TraceConnection("DocumentContainer|windycity\\dlc\\mission_10\\dlc_m10.domino.xml|@DLC_M10_Activation|1264988008", "1264988008", "DLC_M10_Activation", "box_Get_Player_ID_10.Out", "box_Timer_v2_12.Start", clone, l0);
l0:Start();
end;
function export:f_box_Compare_Boolean_v2_8_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_ListWriterSoundID_3;
l0.Input = self.M10_activation_phone_call_list;
l0.SoundID[0] = "0x00150035";
l0.SoundID[1] = "0x00149f84";
CDominoManager_GetInstance():TraceConnection("DocumentContainer|windycity\\dlc\\mission_10\\dlc_m10.domino.xml|@DLC_M10_Activation|2106124946", "2106124946", "DLC_M10_Activation", "box_Compare_Boolean_v2_8.A_is_False", "box_ListWriterSoundID_3.Add", clone, l0);
l0:Add();
end;
function export:f_box_Compare_Boolean_v2_8_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_Activation_Script_1();
l0 = self.box_Activation_Script_1;
CDominoManager_GetInstance():TraceConnection("DocumentContainer|windycity\\dlc\\mission_10\\dlc_m10.domino.xml|@DLC_M10_Activation|439499227", "439499227", "DLC_M10_Activation", "box_Compare_Boolean_v2_8.A_is_True", "box_Activation_Script_1.In", clone, l0);
l0:In();
end;
function export:f_box_Activation_PhoneCall_5_Finished()
local l0;
self = self._graph;
l0 = self.box_Activation_PhoneCall_5;
Globals.DLC_M10.M10_IntroTobiasPhoneCall_Played = l0.PhoneCallRecieved_Out;
self:OnEnter_box_Activation_PhoneCall_5();
CDominoManager_GetInstance():TraceConnection("DocumentContainer|windycity\\dlc\\mission_10\\dlc_m10.domino.xml|@DLC_M10_Activation|1592789172", "1592789172", "DLC_M10_Activation", "box_Activation_PhoneCall_5.Finished", "box_Activation_PhoneCall_5.Stop", l0, l0);
l0:Stop();
end;
function export:f_box_Activation_PhoneCall_5_Started()
local l0;
self = self._graph;
l0 = self.box_Activation_PhoneCall_5;
Globals.DLC_M10.M10_IntroTobiasPhoneCall_Played = l0.PhoneCallRecieved_Out;
end;
function export:f_box_Activation_PhoneCall_5_Stopped()
local l0, l1;
self = self._graph;
l0 = self.box_Activation_PhoneCall_5;
Globals.DLC_M10.M10_IntroTobiasPhoneCall_Played = l0.PhoneCallRecieved_Out;
self:OnEnter_box_Activation_Script_1();
l1 = self.box_Activation_Script_1;
CDominoManager_GetInstance():TraceConnection("DocumentContainer|windycity\\dlc\\mission_10\\dlc_m10.domino.xml|@DLC_M10_Activation|1631890417", "1631890417", "DLC_M10_Activation", "box_Activation_PhoneCall_5.Stopped", "box_Activation_Script_1.In", l0, l1);
l1:In();
end;
function export:OnEnter_box_Activation_Script_1()
local l0;
l0 = self.box_Activation_Script_1;
l0.Activation_Layer = "DLC_M10_Activation";
l0.Map_Point = "2084984447803248783";
l0.Objective_Trigger = self.DLC_M10_activation_trigger;
l0.MapMarkerTitle = {
section = "GPS",
item = "MainMission",
id = "13943",
};
l0.MapMarkerDesc = {
section = "MISSIONS.DLC.MAIN.OBJECTIVES.Mission_10",
item = "Description_DLC",
id = "229243",
};
l0.Mission = "MissionList.3027201572";
l0.KeepLayer = 1;
l0.EntityOnMissionLayer = 0;
l0.IsFixerFantasyCam = 0;
l0.DoFadeOut = 0;
end;
function export:OnEnter_box_Activation_PhoneCall_5()
local l0;
l0 = self.box_Activation_PhoneCall_5;
l0.DialogList = self.M10_activation_phone_call_list;
l0.PhoneCaller = "Tobias";
l0.HeaderText = {
section = "POPUPS.Phone Calls",
item = "TobiasFrewer",
id = "190997",
};
l0.LineText = {
section = "POPUPS.Phone Calls",
item = "UnlistedNumber",
id = "171988",
};
l0.PhoneCallRecieved_In = Globals.DLC_M10.M10_IntroTobiasPhoneCall_Played;
l0.RingToneType = "Incoming";
l0.Delay = 5;
end;
-- Empty out anchor definitions
_compilerVersion = 4;