Revert weapon conversion
This patch reverts first step of global weapon conversion that would have halted the release of the next version for too long.
This commit is contained in:
parent
3c46801714
commit
12d95e387e
757 changed files with 10788 additions and 4046 deletions
|
|
@ -0,0 +1,5 @@
|
|||
class NiceDamTypeMAC10Z extends NiceDamTypeFire
|
||||
abstract;
|
||||
defaultproperties
|
||||
{
heatPart=0.150000
bSniperWeapon=True
bCheckForHeadShots=True
WeaponClass=Class'NicePack.NiceMAC10Z'
|
||||
}
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
class NiceMAC10Ammo extends NiceAmmo;
|
||||
#EXEC OBJ LOAD FILE=KillingFloorHUD.utx
|
||||
defaultproperties
|
||||
{
WeaponPickupClass=Class'NicePack.NiceMAC10Pickup'
AmmoPickupAmount=30
MaxAmmo=300
InitialAmount=75
PickupClass=Class'NicePack.NiceMAC10AmmoPickup'
IconMaterial=Texture'KillingFloorHUD.Generic.HUD'
IconCoords=(X1=336,Y1=82,X2=382,Y2=125)
ItemName="MAC-10 bullets"
|
||||
}
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
class NiceMAC10AmmoPickup extends NiceAmmoPickup;
|
||||
defaultproperties
|
||||
{
AmmoAmount=30
InventoryType=Class'NicePack.NiceMAC10Ammo'
PickupMessage="Rounds .45 cal"
StaticMesh=StaticMesh'KillingFloorStatics.L85Ammo'
|
||||
}
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
class NiceMAC10Fire extends NiceHighROFFire;
|
||||
defaultproperties
|
||||
{
FireEndSoundRef="KF_MAC10MPSnd.MAC10_Fire_Loop_End_M"
FireEndStereoSoundRef="KF_MAC10MPSnd.MAC10_Fire_Loop_End_S"
AmbientFireSoundRef="KF_MAC10MPSnd.MAC10_Fire_Loop"
ProjectileSpeed=18300.000000
RecoilRate=0.050000
maxVerticalRecoilAngle=150
maxHorizontalRecoilAngle=100
RecoilVelocityScale=1.500000
ShellEjectClass=Class'ROEffects.KFShellEjectMac'
ShellEjectBoneName="Mac11_Ejector"
bRandomPitchFireSound=False
FireSoundRef="KF_MAC10MPSnd.MAC10_Silenced_Fire"
StereoFireSoundRef="KF_MAC10MPSnd.MAC10_Silenced_FireST"
NoAmmoSoundRef="KF_AK47Snd.AK47_DryFire"
DamageType=Class'NicePack.NiceDamTypeMAC10Z'
DamageMin=36
DamageMax=36
Momentum=6500.000000
FireRate=0.052000
AmmoClass=Class'NicePack.NiceMAC10Ammo'
ShakeRotMag=(X=35.000000,Y=35.000000,Z=200.000000)
ShakeRotRate=(X=8000.000000,Y=8000.000000,Z=8000.000000)
ShakeRotTime=3.000000
ShakeOffsetMag=(X=4.500000,Y=2.800000,Z=5.500000)
ShakeOffsetRate=(X=1000.000000,Y=1000.000000,Z=1000.000000)
ShakeOffsetTime=1.250000
BotRefireRate=0.990000
FlashEmitterClass=Class'ROEffects.MuzzleFlash1stSTG'
aimerror=35.000000
|
||||
}
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
class NiceMAC10Pickup extends NiceWeaponPickup;
|
||||
defaultproperties
|
||||
{
bBackupWeapon=True
crossPerkIndecies(0)=2
Weight=3.000000
cost=200
AmmoCost=10
BuyClipSize=30
PowerValue=30
SpeedValue=98
RangeValue=40
Description="A highly compact machine pistol. Can be fired in semi or full auto."
ItemName="MAC-10"
ItemShortName="MAC-10"
AmmoItemName=".45 Cal"
AmmoMesh=StaticMesh'KillingFloorStatics.L85Ammo'
CorrespondingPerkIndex=5
EquipmentCategoryID=3
InventoryType=Class'NicePack.NiceMAC10Z'
PickupMessage="You got the MAC-10"
PickupSound=Sound'KF_MAC10MPSnd.MAC10_Pickup'
PickupForce="AssaultRiflePickup"
StaticMesh=StaticMesh'KF_pickups2_Trip.Supers.MAC10_Pickup'
CollisionRadius=25.000000
CollisionHeight=5.000000
|
||||
}
|
||||
9
sources/Weapons/Playable/Incendiary/MAC10/NiceMAC10Z.uc
Normal file
9
sources/Weapons/Playable/Incendiary/MAC10/NiceMAC10Z.uc
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
class NiceMAC10Z extends NiceWeapon;
|
||||
#exec OBJ LOAD FILE=KillingFloorHUD.utx
|
||||
#exec OBJ LOAD FILE=Inf_Weapons_Foley.uax
|
||||
simulated function AltFire(float F){
|
||||
DoToggle();
|
||||
}
|
||||
defaultproperties
|
||||
{
reloadPreEndFrame=0.115000
reloadEndFrame=0.538000
reloadChargeEndFrame=0.750000
reloadMagStartFrame=0.288000
reloadChargeStartFrame=0.644000
MagazineBone="Mac11_Mag"
MagCapacity=30
ReloadRate=3.000000
ReloadAnim="Reload"
ReloadAnimRate=1.000000
FlashBoneName="tipS"
WeaponReloadAnim="Reload_Mac10"
Weight=3.000000
bHasAimingMode=True
IdleAimAnim="Idle_Iron"
StandardDisplayFOV=60.000000
SleeveNum=2
TraderInfoTexture=Texture'KillingFloor2HUD.Trader_Weapon_Icons.Trader_Mac_10'
bIsTier2Weapon=True
MeshRef="KF_Weapons2_Trip.Mac10_Trip"
SkinRefs(0)="KF_Weapons2_Trip_T.Special.MAC10_cmb"
SkinRefs(1)="KF_Weapons2_Trip_T.Special.MAC10_SIL_cmb"
SelectSoundRef="KF_MAC10MPSnd.MAC10_Select"
HudImageRef="KillingFloor2HUD.WeaponSelect.Mac_10_Unselected"
SelectedHudImageRef="KillingFloor2HUD.WeaponSelect.Mac_10"
PlayerIronSightFOV=65.000000
ZoomedDisplayFOV=32.000000
FireModeClass(0)=Class'NicePack.NiceMAC10Fire'
FireModeClass(1)=Class'KFMod.NoFire'
PutDownAnim="PutDown"
SelectForce="SwitchToAssaultRifle"
AIRating=0.550000
CurrentRating=0.550000
bShowChargingBar=True
Description="A highly compact machine pistol. Can be fired in semi or full auto."
EffectOffset=(X=100.000000,Y=25.000000,Z=-10.000000)
DisplayFOV=55.000000
Priority=75
CustomCrosshair=11
CustomCrossHairTextureName="Crosshairs.HUD.Crosshair_Cross5"
InventoryGroup=3
GroupOffset=6
PickupClass=Class'NicePack.NiceMAC10Pickup'
PlayerViewOffset=(X=25.000000,Y=20.000000,Z=-6.000000)
BobDamping=6.000000
AttachmentClass=Class'KFMod.MAC10Attachment'
IconCoords=(X1=245,Y1=39,X2=329,Y2=79)
ItemName="MAC10"
TransientSoundVolume=1.250000
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue