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 00056 00057 00058 00059 00060 00061 00062 00063 00064 00065 00066 00067 00068 00069 00070 00071 00072 00073 00074 00075 00076 00077 00078 00079 00080 00081 00082 |
//============================================================================= // WeaponLAW. //============================================================================= class WeaponLAW extends DeusExWeapon; simulated function PreBeginPlay() { Super.PreBeginPlay(); // If this is a netgame, then override defaults if ( Level.NetMode != NM_StandAlone ) { HitDamage = mpHitDamage; BaseAccuracy = mpBaseAccuracy; ReloadTime = mpReloadTime; AccurateRange = mpAccurateRange; MaxRange = mpMaxRange; ReloadCount = mpReloadCount; } } function PostBeginPlay() { Super.PostBeginPlay(); bWeaponStay=False; } // Become a pickup // Weapons that carry their ammo with them don't vanish when dropped function BecomePickup() { Super.BecomePickup(); if (Level.NetMode != NM_Standalone) if (bTossedOut) Lifespan = 0.0; } defaultproperties { LowAmmoWaterMark=0 GoverningSkill=Class'DeusEx.SkillWeaponHeavy' NoiseLevel=2.000000 EnviroEffective=ENVEFF_Air ShotTime=0.300000 reloadTime=0.000000 HitDamage=100 maxRange=24000 AccurateRange=14400 BaseAccuracy=0.600000 bHasMuzzleFlash=False recoilStrength=1.000000 mpHitDamage=100 mpBaseAccuracy=0.600000 mpAccurateRange=14400 mpMaxRange=14400 AmmoName=Class'DeusEx.AmmoNone' ReloadCount=0 FireOffset=(X=28.000000,Y=12.000000,Z=4.000000) ProjectileClass=Class'DeusEx.RocketLAW' shakemag=500.000000 FireSound=Sound'DeusExSounds.Weapons.LAWFire' SelectSound=Sound'DeusExSounds.Weapons.LAWSelect' InventoryGroup=16 ItemName="Light Anti-Tank Weapon (LAW)" PlayerViewOffset=(X=18.000000,Y=-18.000000,Z=-7.000000) PlayerViewMesh=LodMesh'DeusExItems.LAW' PickupViewMesh=LodMesh'DeusExItems.LAWPickup' ThirdPersonMesh=LodMesh'DeusExItems.LAW3rd' LandSound=Sound'DeusExSounds.Generic.DropLargeWeapon' Icon=Texture'DeusExUI.Icons.BeltIconLAW' largeIcon=Texture'DeusExUI.Icons.LargeIconLAW' largeIconWidth=166 largeIconHeight=47 invSlotsX=4 Description="The LAW provides cheap, dependable anti-armor capability in the form of an integrated one-shot rocket and delivery system, though at the expense of any laser guidance. Like other heavy weapons, the LAW can slow agents who have not trained with it extensively." beltDescription="LAW" Mesh=LodMesh'DeusExItems.LAWPickup' CollisionRadius=25.000000 CollisionHeight=6.800000 Mass=50.000000 } |
Overview | Package | Class | Source | Class tree | Glossary | Deus Ex UnrealScript Documentation |
previous class next class | frames no frames |