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
5
sources/Weapons/Playable/PKM/NiceDamTypePKM.uc
Normal file
5
sources/Weapons/Playable/PKM/NiceDamTypePKM.uc
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
class NiceDamTypePKM extends NiceDamageTypeVetEnforcerBullets
|
||||
abstract;
|
||||
defaultproperties
|
||||
{
WeaponClass=Class'NicePack.NicePKM'
DeathString="%k killed %o (PKM)."
FemaleSuicide="%o shot herself in the foot."
MaleSuicide="%o shot himself in the foot."
bRagdollBullet=True
bBulletHit=True
DeathOverlayMaterial=Combiner'Effects_Tex.GoreDecals.PlayerDeathOverlay'
DeathOverlayTime=999.000000
KDamageImpulse=8500.000000
KDeathVel=1000.000000
KDeathUpKick=100.000000
VehicleDamageScaling=0.700000
|
||||
}
|
||||
4
sources/Weapons/Playable/PKM/NicePKM.uc
Normal file
4
sources/Weapons/Playable/PKM/NicePKM.uc
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
class NicePKM extends NiceAssaultRifle;
|
||||
defaultproperties
|
||||
{
bSemiAutoFireEnabled=False
reloadPreEndFrame=0.079000
reloadEndFrame=0.758000
reloadChargeEndFrame=0.858000
reloadMagStartFrame=0.356000
reloadChargeStartFrame=0.805000
MagazineBone="cartridge01"
MagCapacity=80
ReloadRate=6.000000
ReloadAnim="Reload"
ReloadAnimRate=1.000000
FlashBoneName="tip_1"
WeaponReloadAnim="Reload_M14"
bHasAimingMode=True
IdleAimAnim="Iron_Idle"
QuickPutDownTime=0.300000
QuickBringUpTime=0.300000
StandardDisplayFOV=65.000000
SleeveNum=2
TraderInfoTexture=Texture'HMG_T.PKM.PKM_Trader'
bIsTier2Weapon=True
MeshRef="HMG_A.pkmmesh"
SkinRefs(0)="HMG_T.PKM.wpn_pkm"
SkinRefs(1)="HMG_T.PKM.wpn_pkm_lenta"
SkinRefs(2)="KF_Weapons_Trip_T.hands.hands_1stP_military_cmb"
SelectSoundRef="HMG_S.PKM.pkm_draw"
HudImageRef="HMG_T.PKM.PKM_Unselected"
SelectedHudImageRef="HMG_T.PKM.PKM_selected"
PlayerIronSightFOV=65.000000
ZoomedDisplayFOV=32.000000
FireModeClass(0)=Class'NicePack.NicePKMFire'
FireModeClass(1)=Class'KFMod.NoFire'
PutDownAnim="PutDown"
SelectForce="SwitchToAssaultRifle"
AIRating=0.550000
CurrentRating=0.550000
bShowChargingBar=True
Description="The PKM (Kalashnikov's Machine-gun Modernized) adopted to service in 1969. It is a modernized, product-improved version of the PK (Pulemyot Kalashnikova)."
EffectOffset=(X=100.000000,Y=25.000000,Z=-10.000000)
DisplayFOV=65.000000
Priority=190
CustomCrosshair=11
CustomCrossHairTextureName="Crosshairs.HUD.Crosshair_Cross5"
InventoryGroup=3
GroupOffset=7
PickupClass=Class'NicePack.NicePKMPickup'
PlayerViewOffset=(X=-10.000000,Y=18.000000,Z=-11.000000)
BobDamping=5.000000
AttachmentClass=Class'NicePack.NicePKMAttachment'
IconCoords=(X1=245,Y1=39,X2=329,Y2=79)
ItemName="PKM"
TransientSoundVolume=1.250000
|
||||
}
|
||||
5
sources/Weapons/Playable/PKM/NicePKMAmmo.uc
Normal file
5
sources/Weapons/Playable/PKM/NicePKMAmmo.uc
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
class NicePKMAmmo extends NiceAmmo;
|
||||
#EXEC OBJ LOAD FILE=KillingFloorHUD.utx
|
||||
defaultproperties
|
||||
{
WeaponPickupClass=Class'NicePack.NicePKMPickup'
AmmoPickupAmount=80
MaxAmmo=240
InitialAmount=120
PickupClass=Class'NicePack.NicePKMAmmoPickup'
IconMaterial=Texture'KillingFloorHUD.Generic.HUD'
IconCoords=(X1=336,Y1=82,X2=382,Y2=125)
ItemName="Rounds 7.62mm"
|
||||
}
|
||||
4
sources/Weapons/Playable/PKM/NicePKMAmmoPickup.uc
Normal file
4
sources/Weapons/Playable/PKM/NicePKMAmmoPickup.uc
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
class NicePKMAmmoPickup extends NiceAmmoPickup;
|
||||
defaultproperties
|
||||
{
AmmoAmount=80
InventoryType=Class'NicePack.NicePKMAmmo'
PickupMessage="7.62mm"
StaticMesh=StaticMesh'KillingFloorStatics.L85Ammo'
|
||||
}
|
||||
9
sources/Weapons/Playable/PKM/NicePKMAttachment.uc
Normal file
9
sources/Weapons/Playable/PKM/NicePKMAttachment.uc
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
class NicePKMAttachment extends NiceAttachment;
|
||||
simulated function DoFlashEmitter(){
|
||||
if(mMuzFlash3rd == none){
mMuzFlash3rd = Spawn(mMuzFlashClass);
AttachToBone(mMuzFlash3rd, 'wpn_silencer');
|
||||
}
|
||||
if(mMuzFlash3rd != none)
mMuzFlash3rd.SpawnParticle(1);
|
||||
}
|
||||
defaultproperties
|
||||
{
mMuzFlashClass=Class'ScrnHMG.MuzzleFlash3rdPKM'
mTracerClass=Class'KFMod.KFNewTracer'
mShellCaseEmitterClass=Class'ScrnHMG.PKMShellSpewer'
ShellEjectBoneName="magazin"
MovementAnims(0)="JogF_AK47"
MovementAnims(1)="JogB_AK47"
MovementAnims(2)="JogL_AK47"
MovementAnims(3)="JogR_AK47"
TurnLeftAnim="TurnL_AK47"
TurnRightAnim="TurnR_AK47"
CrouchAnims(0)="CHWalkF_AK47"
CrouchAnims(1)="CHWalkB_AK47"
CrouchAnims(2)="CHWalkL_AK47"
CrouchAnims(3)="CHWalkR_AK47"
WalkAnims(0)="WalkF_AK47"
WalkAnims(1)="WalkB_AK47"
WalkAnims(2)="WalkL_AK47"
WalkAnims(3)="WalkR_AK47"
CrouchTurnRightAnim="CH_TurnR_AK47"
CrouchTurnLeftAnim="CH_TurnL_AK47"
IdleCrouchAnim="CHIdle_AK47"
IdleWeaponAnim="Idle_AK47"
IdleRestAnim="Idle_AK47"
IdleChatAnim="Idle_AK47"
IdleHeavyAnim="Idle_AK47"
IdleRifleAnim="Idle_AK47"
FireAnims(0)="Fire_AK47"
FireAnims(1)="Fire_AK47"
FireAnims(2)="Fire_AK47"
FireAnims(3)="Fire_AK47"
FireAltAnims(0)="Fire_AK47"
FireAltAnims(1)="Fire_AK47"
FireAltAnims(2)="Fire_AK47"
FireAltAnims(3)="Fire_AK47"
FireCrouchAnims(0)="CHFire_AK47"
FireCrouchAnims(1)="CHFire_AK47"
FireCrouchAnims(2)="CHFire_AK47"
FireCrouchAnims(3)="CHFire_AK47"
FireCrouchAltAnims(0)="CHFire_AK47"
FireCrouchAltAnims(1)="CHFire_AK47"
FireCrouchAltAnims(2)="CHFire_AK47"
FireCrouchAltAnims(3)="CHFire_AK47"
HitAnims(0)="HitF_AK47"
HitAnims(1)="HitB_AK47"
HitAnims(2)="HitL_AK47"
HitAnims(3)="HitR_AK47"
PostFireBlendStandAnim="Blend_AK47"
PostFireBlendCrouchAnim="CHBlend_AK47"
MeshRef="HMG_A.pkm3rd"
bRapidFire=True
bAltRapidFire=True
SplashEffect=Class'ROEffects.BulletSplashEmitter'
CullDistance=5000.000000
DrawScale=0.700000
|
||||
}
|
||||
4
sources/Weapons/Playable/PKM/NicePKMFire.uc
Normal file
4
sources/Weapons/Playable/PKM/NicePKMFire.uc
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
class NicePKMFire extends NiceHeavyFire;
|
||||
defaultproperties
|
||||
{
ProjectileSpeed=41250.000000
MaxBurstLength=5
FireAimedAnim="Fire"
RecoilRate=0.055000
maxVerticalRecoilAngle=600
maxHorizontalRecoilAngle=300
ShellEjectClass=Class'ScrnHMG.KFShellEjectPKM'
ShellEjectBoneName="shell_13"
bAccuracyBonusForSemiAuto=True
bRandomPitchFireSound=False
FireSoundRef="HMG_S.PKM.pkm_shoot_mono"
StereoFireSoundRef="HMG_S.PKM.pkm_shoot_stereo"
NoAmmoSoundRef="HMG_S.PKM.pkm_empty"
DamageType=Class'NicePack.NiceDamTypePKM'
DamageMin=104
DamageMax=104
Momentum=10900.000000
bPawnRapidFireAnim=True
TransientSoundVolume=1.500000
FireLoopAnim="Fire"
TweenTime=0.025000
FireForce="AssaultRifleFire"
FireRate=0.095000
AmmoClass=Class'NicePack.NicePKMAmmo'
ShakeRotMag=(X=50.000000,Y=50.000000,Z=350.000000)
ShakeRotRate=(X=5000.000000,Y=5000.000000,Z=5000.000000)
ShakeRotTime=0.750000
ShakeOffsetMag=(X=6.000000,Y=3.000000,Z=7.500000)
ShakeOffsetRate=(X=1000.000000,Y=1000.000000,Z=1000.000000)
ShakeOffsetTime=1.250000
BotRefireRate=0.990000
FlashEmitterClass=Class'ScrnHMG.MuzzleFlash1stPKM'
aimerror=42.000000
|
||||
}
|
||||
5
sources/Weapons/Playable/PKM/NicePKMPickup.uc
Normal file
5
sources/Weapons/Playable/PKM/NicePKMPickup.uc
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
class NicePKMPickup extends NiceWeaponPickup;
|
||||
defaultproperties
|
||||
{
|
||||
cost=1000
AmmoCost=160
BuyClipSize=80
PowerValue=55
SpeedValue=86
RangeValue=70
Description="The PKM (Kalashnikov's Machine-gun Modernized) adopted to service in 1969. It is a modernized, product-improved version of the PK (Pulemyot Kalashnikova)"
ItemName="PKM"
ItemShortName="PKM"
AmmoItemName="PKM 7.62x54mmR"
AmmoMesh=StaticMesh'KillingFloorStatics.L85Ammo'
CorrespondingPerkIndex=1
EquipmentCategoryID=2
InventoryType=Class'NicePack.NicePKM'
PickupMessage="You picked up the PKM"
PickupSound=Sound'HMG_S.PKM.pkm_holster'
PickupForce="AssaultRiflePickup"
StaticMesh=StaticMesh'HMG_A.PkmSM'
CollisionRadius=25.000000
CollisionHeight=5.000000
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue