Overview | Package | Class | Source | Class tree | Glossary | Deus Ex UnrealScript Documentation |
previous class next class | frames no frames |
00001 00002 00003 00004 00005 00006 00007 00008 00009 00010 00011 00012 00013 00014 00015 00016 00017 00018 00019 00020 00021 00022 00023 00024 00025 00026 00027 00028 00029 00030 00031 00032 00033 00034 00035 00036 00037 00038 00039 00040 00041 00042 00043 00044 00045 00046 00047 00048 00049 00050 00051 00052 00053 00054 00055 |
//============================================================================= // AugMuscle. //============================================================================= class AugMuscle extends Augmentation; var float mpAugValue; var float mpEnergyDrain; state Active { Begin: } function Deactivate() { Super.Deactivate(); // check to see if the player is carrying something too heavy for him if (Player.CarriedDecoration != None) if (!Player.CanBeLifted(Player.CarriedDecoration)) Player.DropDecoration(); } simulated function PreBeginPlay() { Super.PreBeginPlay(); // If this is a netgame, then override defaults if ( Level.NetMode != NM_StandAlone ) { LevelValues[3] = mpAugValue; EnergyRate = mpEnergyDrain; //Lift with your legs, not with your back. AugmentationLocation = LOC_Leg; } } defaultproperties { mpAugValue=2.000000 mpEnergyDrain=20.000000 EnergyRate=20.000000 Icon=Texture'DeusExUI.UserInterface.AugIconMuscle' smallIcon=Texture'DeusExUI.UserInterface.AugIconMuscle_Small' AugmentationName="Microfibral Muscle" Description="Muscle strength is amplified with ionic polymeric gel myofibrils that allow the agent to push and lift extraordinarily heavy objects.|n|nTECH ONE: Strength is increased slightly.|n|nTECH TWO: Strength is increased moderately.|n|nTECH THREE: Strength is increased significantly.|n|nTECH FOUR: An agent is inhumanly strong." MPInfo="When active, you can pick up large crates. Energy Drain: Low" LevelValues(0)=1.250000 LevelValues(1)=1.500000 LevelValues(2)=1.750000 LevelValues(3)=2.000000 AugmentationLocation=LOC_Arm MPConflictSlot=8 } |
Overview | Package | Class | Source | Class tree | Glossary | Deus Ex UnrealScript Documentation |
previous class next class | frames no frames |