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:
Anton Tarasenko 2020-04-17 23:06:41 +07:00
commit 12d95e387e
757 changed files with 10788 additions and 4046 deletions

View file

@ -0,0 +1,5 @@
class NiceDamTypeTrenchgun extends NiceDamTypeFire
abstract;
defaultproperties
{ heatPart=0.400000 MaxPenetrations=3 bIsPowerWeapon=True bCheckForHeadShots=True WeaponClass=Class'NicePack.NiceTrenchgun' DeathString="%k killed %o (Trenchgun)." FemaleSuicide="%o shot herself in the foot." MaleSuicide="%o shot himself in the foot." bRagdollBullet=True bBulletHit=True FlashFog=(X=600.000000) KDamageImpulse=10000.000000 KDeathVel=300.000000 KDeathUpKick=100.000000 VehicleDamageScaling=0.700000
}

View file

@ -0,0 +1,8 @@
class NiceTrenchgun extends NiceWeapon;
simulated function fillSubReloadStages(){
// Loading 6 shells during 143 frames tops, with first shell loaded at frame 14, with 18 frames between load moments
generateReloadStages(6, 143, 14, 18);
}
defaultproperties
{ reloadType=RTYPE_SINGLE ForceZoomOutOnFireTime=0.010000 MagCapacity=6 ReloadRate=0.700000 ReloadAnim="Reload" ReloadAnimRate=1.000000 bHoldToReload=True WeaponReloadAnim="Reload_Shotgun" Weight=8.000000 bHasAimingMode=True IdleAimAnim="Idle_Iron" StandardDisplayFOV=65.000000 TraderInfoTexture=Texture'KillingFloor2HUD.Trader_Weapon_Icons.Trader_TrenchGun' bIsTier2Weapon=True MeshRef="KF_Wep_TrenchGun.TrenchGun" SkinRefs(0)="KF_Weapons8_Trip_T.Weapons.Trenchgun_cmb" SelectSoundRef="KF_PumpSGSnd.SG_Select" HudImageRef="KillingFloor2HUD.WeaponSelect.TrenchGun_unselected" SelectedHudImageRef="KillingFloor2HUD.WeaponSelect.TrenchGun" PlayerIronSightFOV=70.000000 ZoomedDisplayFOV=50.000000 FireModeClass(0)=Class'NicePack.NiceTrenchgunFire' FireModeClass(1)=Class'KFMod.NoFire' PutDownAnim="PutDown" AIRating=0.600000 CurrentRating=0.600000 bShowChargingBar=True Description="A WWII-era trench shotgun in 12 gauge, loaded with Dragon's Breath flame rounds. Toasty." DisplayFOV=65.000000 Priority=142 InventoryGroup=3 GroupOffset=14 PickupClass=Class'NicePack.NiceTrenchgunPickup' PlayerViewOffset=(X=20.000000,Y=18.750000,Z=-8.000000) BobDamping=7.000000 AttachmentClass=Class'KFMod.TrenchgunAttachment' IconCoords=(X1=169,Y1=172,X2=245,Y2=208) ItemName="Dragon's Breath Trenchgun" TransientSoundVolume=1.000000
}

View file

@ -0,0 +1,5 @@
class NiceTrenchgunAmmo extends NiceAmmo;
#EXEC OBJ LOAD FILE=KillingFloorHUD.utx
defaultproperties
{ WeaponPickupClass=Class'NicePack.NiceTrenchgunPickup' AmmoPickupAmount=6 MaxAmmo=48 InitialAmount=24 IconMaterial=Texture'KillingFloorHUD.Generic.HUD' IconCoords=(X1=451,Y1=445,X2=510,Y2=500)
}

View file

@ -0,0 +1,4 @@
class NiceTrenchgunAmmoPickup extends NiceAmmoPickup;
defaultproperties
{ AmmoAmount=8 InventoryType=Class'NicePack.NiceTrenchgunAmmo' PickupMessage="Dragon's Breath Shells" StaticMesh=None
}

View file

@ -0,0 +1,4 @@
class NiceTrenchgunFire extends NiceShotgunFire;
defaultproperties
{ ProjPerFire=14 bRandomPitchFireSound=True FireSoundRef="KF_ShotgunDragonsBreathSnd.ShotgunDragon_Fire_Single_M" StereoFireSoundRef="KF_ShotgunDragonsBreathSnd.ShotgunDragon_Fire_Single_S" DamageType=Class'NicePack.NiceDamTypeTrenchgun' DamageMax=18 AmmoClass=Class'NicePack.NiceTrenchgunAmmo' FlashEmitterClass=Class'KFMod.TrenchgunMuzzFlash'
}

View file

@ -0,0 +1,4 @@
class NiceTrenchgunPickup extends NiceWeaponPickup;
defaultproperties
{ Weight=8.000000 cost=1250 BuyClipSize=6 PowerValue=75 SpeedValue=40 RangeValue=15 Description="A WWII-era trench shotgun in 12 gauge, loaded with Dragon's Breath flame rounds. Toasty." ItemName="Trenchgun" ItemShortName="Trenchgun" AmmoItemName="Dragon's breath shells" CorrespondingPerkIndex=5 EquipmentCategoryID=2 InventoryType=Class'NicePack.NiceTrenchgun' PickupMessage="You got the Trenchgun." PickupSound=Sound'KF_ShotgunDragonsBreathSnd.Handling.TrenchGun_Pump_Back' PickupForce="AssaultRiflePickup" StaticMesh=StaticMesh'KF_pickups5_Trip.Rifles.TrenchGun_Pickup' CollisionRadius=35.000000 CollisionHeight=5.000000
}