How To Increase Item Quantity?

A refuge for those migrating from the fallen DXEditing.com and a place for general discussion relating to Deus Ex editing (coding, mapping, etc).
Post Reply
Demon86RJC
Mole Person
Posts: 2
Joined: Wed Jun 02, 2010 10:34 am

How To Increase Item Quantity?

Post by Demon86RJC »

How do increase the max # of items you can carry? like instead of 20 lockpicks hold 100?

Thanks!
DDL
Traditional Evil Scientist
Traditional Evil Scientist
Posts: 3791
Joined: Mon Oct 17, 2005 10:03 am

Re: How To Increase Item Quantity?

Post by DDL »

you could try entering this at the talk prompt (delete the 'say' first, of course)

set lockpick maxcopies 999

..might work, though I suspect you'd have to enter in manually for each type of item, since they all have different default properties.
Demon86RJC
Mole Person
Posts: 2
Joined: Wed Jun 02, 2010 10:34 am

Re: How To Increase Item Quantity?

Post by Demon86RJC »

DDL wrote:you could try entering this at the talk prompt (delete the 'say' first, of course)

set lockpick maxcopies 999

..might work, though I suspect you'd have to enter in manually for each type of item, since they all have different default properties.
hmm, theirs gotta be away to do it though the sdk but there is only a few things i want increased so it could work.

Thanks!
User avatar
CorinthMaxwell
NSF
Posts: 79
Joined: Sat Oct 04, 2008 1:28 am

Re: How To Increase Item Quantity?

Post by CorinthMaxwell »

Do you know how to edit *.uc files? You can change the maximum amount of items available to you within the files themselves.

Code: Select all

//=============================================================================
// Lockpick.
//=============================================================================
class Lockpick expands SkilledTool;


simulated function PreBeginPlay()
{
	Super.PreBeginPlay();

	// If this is a netgame, then override defaults
	if ( Level.NetMode != NM_StandAlone )
		MaxCopies = 5;
}

// ----------------------------------------------------------------------
// TestMPBeltSpot()
// Returns true if the suggested belt location is ok for the object in mp.
// ----------------------------------------------------------------------

simulated function bool TestMPBeltSpot(int BeltSpot)
{
   return (BeltSpot == 7);
}

defaultproperties
{
     UseSound=Sound'DeusExSounds.Generic.LockpickRattling'


     maxCopies=20
     (Change this to whatever number you want)


     bCanHaveMultipleCopies=True
     ItemName="Lockpick"
     PlayerViewOffset=(X=16.000000,Y=8.000000,Z=-16.000000)
     PlayerViewMesh=LodMesh'DeusExItems.LockpickPOV'
     PickupViewMesh=LodMesh'DeusExItems.Lockpick'
     ThirdPersonMesh=LodMesh'DeusExItems.Lockpick3rd'
     LandSound=Sound'DeusExSounds.Generic.PlasticHit2'
     Icon=Texture'DeusExUI.Icons.BeltIconLockPick'
     largeIcon=Texture'DeusExUI.Icons.LargeIconLockPick'
     largeIconWidth=45
     largeIconHeight=44
     Description="A disposable lockpick. The tension wrench is steel, but appropriate needles are formed from fast congealing polymers.|n|n<UNATCO OPS FILE NOTE AJ006-BLACK> Here's what they don't tell you: despite the product literature, you can use a standard lockpick to bypass all but the most high-class nanolocks. -- Alex Jacobson <END NOTE>"
     beltDescription="LOCKPICK"
     Mesh=LodMesh'DeusExItems.Lockpick'
     CollisionRadius=11.750000
     CollisionHeight=1.900000
     Mass=20.000000
     Buoyancy=10.000000
}
Robin: "Holy flying snotburgers, Batman!"
Batman: o_0 O_0 o.0 O.0
Post Reply