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 |
//============================================================================= // WeaponSawedOffShotgun. //============================================================================= class WeaponSawedOffShotgun 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; PickupAmmoCount = 12; //to match assaultshotgun } } defaultproperties { LowAmmoWaterMark=4 GoverningSkill=Class'DeusEx.SkillWeaponRifle' EnviroEffective=ENVEFF_Air Concealability=CONC_Visual ShotTime=0.300000 reloadTime=3.000000 HitDamage=5 maxRange=2400 AccurateRange=1200 BaseAccuracy=0.600000 AmmoNames(0)=Class'DeusEx.AmmoShell' AmmoNames(1)=Class'DeusEx.AmmoSabot' AreaOfEffect=AOE_Cone recoilStrength=0.500000 mpReloadTime=0.500000 mpHitDamage=9 mpBaseAccuracy=0.200000 mpAccurateRange=1200 mpMaxRange=1200 mpReloadCount=6 mpPickupAmmoCount=12 bCanHaveModReloadCount=True bCanHaveModReloadTime=True bCanHaveModRecoilStrength=True AmmoName=Class'DeusEx.AmmoShell' ReloadCount=4 PickupAmmoCount=4 bInstantHit=True FireOffset=(X=-11.000000,Y=4.000000,Z=13.000000) shakemag=50.000000 FireSound=Sound'DeusExSounds.Weapons.SawedOffShotgunFire' AltFireSound=Sound'DeusExSounds.Weapons.SawedOffShotgunReloadEnd' CockingSound=Sound'DeusExSounds.Weapons.SawedOffShotgunReload' SelectSound=Sound'DeusExSounds.Weapons.SawedOffShotgunSelect' InventoryGroup=6 ItemName="Sawed-off Shotgun" PlayerViewOffset=(X=11.000000,Y=-4.000000,Z=-13.000000) PlayerViewMesh=LodMesh'DeusExItems.Shotgun' PickupViewMesh=LodMesh'DeusExItems.ShotgunPickup' ThirdPersonMesh=LodMesh'DeusExItems.Shotgun3rd' LandSound=Sound'DeusExSounds.Generic.DropMediumWeapon' Icon=Texture'DeusExUI.Icons.BeltIconShotgun' largeIcon=Texture'DeusExUI.Icons.LargeIconShotgun' largeIconWidth=131 largeIconHeight=45 invSlotsX=3 Description="The sawed-off, pump-action shotgun features a truncated barrel resulting in a wide spread at close range and will accept either buckshot or sabot shells." beltDescription="SAWED-OFF" Mesh=LodMesh'DeusExItems.ShotgunPickup' CollisionRadius=12.000000 CollisionHeight=0.900000 Mass=15.000000 } |
Overview | Package | Class | Source | Class tree | Glossary | Deus Ex UnrealScript Documentation |
previous class next class | frames no frames |