deus-ex-randomizer icon indicating copy to clipboard operation
deus-ex-randomizer copied to clipboard

Restore cut phone conversation

Open Die4Ever opened this issue 2 years ago • 1 comments

https://www.reddit.com/r/Deusex/comments/13bqyqh/just_discovered_something_new_had_to_share_it

OverhearLebedev, under JCDenton in mission 3

image

image

I think it requires 2 different actors for each BindName, since there's 2 speakers in the conversation, but BindName JuanLebedev triggers the dialog from the 747 when you approach the phone, probably best to change the names inside the conversation

also:

M_03_Mission03.con: AnsweringMachine: M03AnsweringMachineMessage (maybe meant for mission 2?)

image

image

Need to add a phone to the hotel

phone = Spawn(class'#var(prefix)Phone',,, vect(-613.023438, -3226.766113, 97.879288), rot(0,32768,0));

Die4Ever avatar May 08 '23 16:05 Die4Ever

was trying some stuff

diff --git a/DXRMapFixups/DeusEx/Classes/DXRFixupM02.uc b/DXRMapFixups/DeusEx/Classes/DXRFixupM02.uc
index 2e29bd0..a6a5bf1 100644
--- a/DXRMapFixups/DeusEx/Classes/DXRFixupM02.uc
+++ b/DXRMapFixups/DeusEx/Classes/DXRFixupM02.uc
@@ -9,6 +9,7 @@ function PreFirstEntryMapFixes()
     local #var(prefix)NanoKey k;
     local CrateExplosiveSmall c;
     local Terrorist nsf;
+    local #var(prefix)Phone phone;
 
     switch (dxr.localURL)
     {
@@ -56,6 +57,14 @@ function PreFirstEntryMapFixes()
         }
         break;
 #endif
+
+    case "02_NYC_HOTEL":
+        phone = Spawn(class'#var(prefix)Phone',,, vect(-613.023438, -3226.766113, 97.879288), rot(0,32768,0));
+        phone.BindName = "AnsweringMachine";
+        dxr.dxInfo.missionNumber = 3;// HACK: we could just create a new conversation object for this
+        phone.ConBindEvents();
+        dxr.dxInfo.missionNumber = 2;
+        break;
     }
 }
 
diff --git a/DXRMapFixups/DeusEx/Classes/DXRFixupM03.uc b/DXRMapFixups/DeusEx/Classes/DXRFixupM03.uc
index 5fd2117..ba4bceb 100644
--- a/DXRMapFixups/DeusEx/Classes/DXRFixupM03.uc
+++ b/DXRMapFixups/DeusEx/Classes/DXRFixupM03.uc
@@ -42,6 +42,8 @@ function PreFirstEntryMapFixes()
     local NanoKey k;
     local #var(prefix)InformationDevices i;
     local #var(prefix)UNATCOTroop unatco;
+    local #var(prefix)Phone phone;
+    local Conversation c;
 
     switch (dxr.localURL)
     {
@@ -82,6 +84,21 @@ function PreFirstEntryMapFixes()
 
 #ifdef vanillamaps
     case "03_NYC_AirfieldHeliBase":
+        foreach AllActors(class'#var(prefix)Phone', phone) {
+            if(phone.name != 'Phone1') continue;
+            c = GetConversation('OverhearLebedev');
+            //c.conOwnerName = "JuanLebedev";
+            phone.BindName = "JCDenton";
+            //c.BindActorEvents(phone);
+            phone.ConBindEvents();
+
+            /*phone = Spawn(class'#var(prefix)Phone',,, phone.location);
+            phone.BindName = "TracerTong";
+            phone.ConBindEvents();
+            c.BindActorEvents(phone);
+            phone.bHidden = true;*/
+            break;
+        }
         foreach AllActors(class'Mover',m) {
             // call the elevator at the end of the level when you open the appropriate door
             if (m.Tag == 'BasementDoorOpen')

Die4Ever avatar May 13 '23 01:05 Die4Ever