Skip to content

Commit

Permalink
Gunther and Gilbert have ammo for the possible weapons you can give them
Browse files Browse the repository at this point in the history
in mission 1 and 4 #807
  • Loading branch information
theastropath committed Jun 23, 2024
1 parent c7c44d5 commit 29d79b3
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
9 changes: 9 additions & 0 deletions DXRMapFixups/DeusEx/Classes/DXRFixupM01.uc
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ function PreFirstEntryMapFixes()
local #var(prefix)MapExit exit;
local #var(prefix)NYPoliceBoat b;
local #var(prefix)HarleyFilben harley;
local #var(prefix)GuntherHermann gunther;
local #var(prefix)HumanCivilian hc;
#ifdef injections
local #var(prefix)Newspaper np;
Expand Down Expand Up @@ -60,6 +61,14 @@ function PreFirstEntryMapFixes()
}

class'GuntherWeaponMegaChoice'.static.Create(Player());
foreach AllActors(class'#var(prefix)GuntherHermann',gunther){
//Make sure he has ammo for Assault Rifle (7.62mm), Stealth Pistol(10mm), Pistol (10mm)
GiveItem(gunther, class'Ammo762mm');
GiveItem(gunther, class'Ammo762mm',300);
GiveItem(gunther, class'Ammo10mm');
GiveItem(gunther, class'Ammo10mm',150);
break;
}

Spawn(class'PlaceholderItem',,, vectm(2378.5,-10810.9,-857)); //Sunken Ship
Spawn(class'PlaceholderItem',,, vectm(2436,-10709.4,-857)); //Sunken Ship
Expand Down
12 changes: 12 additions & 0 deletions DXRMapFixups/DeusEx/Classes/DXRFixupM04.uc
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ function PreFirstEntryMapFixes()
local #var(prefix)NanoKey key;
local #var(prefix)PigeonGenerator pg;
local #var(prefix)GuntherHermann gunther;
local #var(prefix)GilbertRenton gilbert;
local #var(prefix)MapExit exit;
local #var(prefix)BlackHelicopter jock;
local OnceOnlyTrigger oot;
Expand Down Expand Up @@ -81,6 +82,17 @@ function PreFirstEntryMapFixes()
}
#endif
class'GilbertWeaponMegaChoice'.static.Create(Player());
foreach AllActors(class'#var(prefix)GilbertRenton',gilbert){
//Make sure he has ammo for Stealth Pistol(10mm), Pistol (10mm),
//Sawed-off (Buckshot shells), Mini Crossbow (Tranq Darts)
GiveItem(gilbert, class'AmmoShell');
GiveItem(gilbert, class'AmmoShell',20);
GiveItem(gilbert, class'Ammo10mm');
GiveItem(gilbert, class'Ammo10mm',20);
GiveItem(gilbert, class'AmmoDartPoison');
GiveItem(gilbert, class'AmmoDartPoison',20);
break;
}

if (VanillaMaps){
Spawn(class'#var(prefix)Binoculars',,, vectm(-610.374573,-3221.998779,94.160065)); //Paul's bedside table
Expand Down

0 comments on commit 29d79b3

Please sign in to comment.