"Man in Black" is a single-player modification for Deus Ex. The story picks up one month after the events of the original game; Majestic 12 is reeling from the loss of its leadership, and the Illuminati are poised to regain their position of control over world affairs. Players will choose between two lead characters, Agent Q (MJ12's first nanoaugmented MIB) or Agent Shadow (a Series P MIB with a dark past). "Man in Black" will feature two dynamically changing storylines and will offer a completely unique experience for each character. Other features include: *New mission locations including Moscow, Washington DC, Tokyo, Munich, and other familiar locales from the DX universe. *New and remixed music tracks for each mission. *Full voice acting. *Multiple game endings for both characters.

Forum Thread
  Posts  
Tech Goggles/Thermoptic Camo/Ballistic Armor (Games : Deus Ex : Mods : Deus Ex: Man in Black : Forum : 2D/3D Modelling : Tech Goggles/Thermoptic Camo/Ballistic Armor) Locked
Thread Options
Mar 31 2006 Anchor

Okay, I asked Smoke39 from TNM about how to change the one-use items (tech gogs, thermoptic camo, ballistic armor) to where they can be taken on and off. He sent me the code and a few instructions:

In your player class, you'll want this modified version of PutInHand():
Code:
exec function PutInHand(optional Inventory inv)
{
if (RestrictInput())
return;

// can't put anything in hand if you're using a spy drone
if ((inHand == None) && bSpyDroneActive)
return;

// can't do anything if you're carrying a corpse
if ((inHand != None) && inHand.IsA('POVCorpse'))
return;

if (inv != None)
{
// can't put ammo in hand
if (inv.IsA('Ammo'))
return;

// Can't put an active charged item in hand
// Smoke39 - only if it's bOneUseOnly; can't deactivate it if you can't reselect it
if ( (inv.IsA('ChargedPickup')) && (ChargedPickup(inv).IsActive()) && ChargedPickup(inv).bOneUseOnly )
return;
}

if (CarriedDecoration != None)
DropDecoration();

SetInHandPending(inv);
}

The coment that begins with "Smoke39" explains the change.

I think all you need to do, then, is set bOneUseOnly to false for your tech goggles and whatever else, which is true in DX by default.

Even if that does actually let you deactivate stuff, you may still run into some other problems, so le'me know if you do and I'll see if I can figure out how I got around 'em.

Reply to thread
click to sign in and post

Only registered members can share their thoughts. So come on! Join the community today (totally free - or sign in with your social account on the right) and join in the conversation.