Skip to content

Commit

Permalink
RATS RATS RATS RATS RATS RATS (fixes #494)
Browse files Browse the repository at this point in the history
  • Loading branch information
theastropath committed Aug 1, 2023
1 parent e9d2d5d commit e280773
Show file tree
Hide file tree
Showing 5 changed files with 30 additions and 0 deletions.
5 changes: 5 additions & 0 deletions DXRMapFixups/DeusEx/Classes/DXRFixupM05.uc
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ function PreFirstEntryMapFixes()
local #var(prefix)AlexJacobson alex;
local #var(prefix)JaimeReyes j;
local #var(prefix)MJ12Troop mj12;
local #var(prefix)RatGenerator rg;
local DXREnemies dxre;
local int i;

Expand Down Expand Up @@ -137,6 +138,10 @@ function PreFirstEntryMapFixes()
SetPawnHealth(lloyd, 200);
}
}

rg=Spawn(class'#var(prefix)RatGenerator',,, vectm(-6348,1261,-134));//Near SATCOM
rg.MaxCount=1;

break;
}
}
Expand Down
3 changes: 3 additions & 0 deletions DXRMapFixups/DeusEx/Classes/DXRFixupM06.uc
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ function PreFirstEntryMapFixes()
local #var(prefix)Keypad pad;
local ProjectileGenerator pg;
local #var(prefix)WeaponNanoSword dts;
local #var(prefix)RatGenerator rg;

switch(dxr.localURL)
{
Expand Down Expand Up @@ -279,6 +280,8 @@ function PreFirstEntryMapFixes()
Spawn(class'PlaceholderContainer',,, vectm(2305.5,-512.4,-415)); //On top of cargo ship
Spawn(class'PlaceholderContainer',,, vectm(2362.5,-333.4,-383.9)); //On top of cargo ship
Spawn(class'PlaceholderContainer',,, vectm(2403,-777,-359)); //On top of cargo ship
rg=Spawn(class'#var(prefix)RatGenerator',,, vectm(3237,3217,-506));//Lower garage storage area
rg.MaxCount=3;
break;
default:
break;
Expand Down
4 changes: 4 additions & 0 deletions DXRMapFixups/DeusEx/Classes/DXRFixupM09.uc
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ function PreFirstEntryMapFixes()
local #var(prefix)LAM lam;
local Switch1 s;
local #var(prefix)Barrel1 barrel;
local #var(prefix)RatGenerator rg;

switch(dxr.localURL)
{
Expand All @@ -52,6 +53,9 @@ function PreFirstEntryMapFixes()
}
}

rg=Spawn(class'#var(prefix)RatGenerator',,, vectm(-738,-1412,-474));//Near sewer grate
rg.MaxCount=1;

//Add some new locations for containers and items
Spawn(class'PlaceholderContainer',,, vectm(-3143,274,305)); //Front of ship
Spawn(class'PlaceholderContainer',,, vectm(-3109,-73,305)); //Front of ship
Expand Down
6 changes: 6 additions & 0 deletions DXRMapFixups/DeusEx/Classes/DXRFixupM15.uc
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ function PreFirstEntryMapFixes_Bunker()
local Switch2 s2;
local SequenceTrigger st;
local DataLinkTrigger dlt;
local #var(prefix)RatGenerator rg;

// doors_lower is for backtracking
AddSwitch( vect(4309.076660, -1230.640503, -7522.298340), rot(0, 16384, 0), 'doors_lower');
Expand Down Expand Up @@ -126,6 +127,11 @@ function PreFirstEntryMapFixes_Bunker()
class'PlaceholderEnemy'.static.Create(self,vectm(-2237,3225,-192));
class'PlaceholderEnemy'.static.Create(self,vectm(4234,3569,-736));
class'PlaceholderEnemy'.static.Create(self,vectm(3744,-1030,-7481));

rg=Spawn(class'#var(prefix)RatGenerator',,, vectm(1658,2544,-522));//Behind Command 24
rg.MaxCount=1;
rg=Spawn(class'#var(prefix)RatGenerator',,, vectm(4512,3747,-954));//Near generators inside bunker
rg.MaxCount=1;
}

function PreFirstEntryMapFixes_Final()
Expand Down
12 changes: 12 additions & 0 deletions DXRMapFixups/DeusEx/Classes/DXRFixupVandenberg.uc
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ function PreFirstEntryMapFixes()
local #var(prefix)TracerTong tt;
local SequenceTrigger st;
local #var(prefix)ShopLight sl;
local #var(prefix)RatGenerator rg;

switch(dxr.localURL)
{
Expand All @@ -35,6 +36,11 @@ function PreFirstEntryMapFixes()
sl = #var(prefix)ShopLight(AddActor(class'#var(prefix)ShopLight', vect(1.125000, 938.399963, -1025), rot(0, 16384, 0)));
sl.bInvincible = true;
sl.bCanBeBase = true;

rg=Spawn(class'#var(prefix)RatGenerator',,, vectm(-1975,227,-2191));//Near generator
rg.MaxCount=1;
rg=Spawn(class'#var(prefix)RatGenerator',,, vectm(6578,8227,-3101));//Near guardhouse
rg.MaxCount=1;
break;

#ifdef vanillamaps
Expand All @@ -60,6 +66,8 @@ function PreFirstEntryMapFixes()
kb.BindName = "TankKharkian";
}
}
rg=Spawn(class'#var(prefix)RatGenerator',,, vectm(737,4193,-426));//In shoreside shed
rg.MaxCount=1;
break;

case "14_OCEANLAB_LAB":
Expand Down Expand Up @@ -161,6 +169,10 @@ function PreFirstEntryMapFixes()

case "12_VANDENBERG_GAS":
class'PlaceholderEnemy'.static.Create(self,vectm(635,488,-930));
rg=Spawn(class'#var(prefix)RatGenerator',,, vectm(1000,745,-972));//Gas Station back room
rg.MaxCount=1;
rg=Spawn(class'#var(prefix)RatGenerator',,, vectm(-2375,-644,-993));//Under trailer near Jock
rg.MaxCount=1;

break;
#endif
Expand Down

0 comments on commit e280773

Please sign in to comment.