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,6 @@
|
|||
class NiceDamTypeGlock extends NiceDamageTypeVetSharpshooter
|
||||
abstract;
|
||||
defaultproperties
|
||||
{
|
||||
goodDecapMod=0.500000
HeadShotDamageMult=1.100000
WeaponClass=Class'NicePack.NiceGlock'
DeathString="%k killed %o with Glock."
FemaleSuicide="%o shot herself in the foot."
MaleSuicide="%o shot himself in the foot."
bRagdollBullet=True
bBulletHit=True
FlashFog=(X=600.000000)
KDamageImpulse=1850.000000
KDeathVel=150.000000
KDeathUpKick=5.000000
VehicleDamageScaling=0.800000
|
||||
}
|
||||
5
sources/Weapons/Playable/Pistols/Glock/NiceDualGlock.uc
Normal file
5
sources/Weapons/Playable/Pistols/Glock/NiceDualGlock.uc
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
class NiceDualGlock extends NiceDualies;
|
||||
defaultproperties
|
||||
{
SingleClass=Class'NicePack.NiceGlock'
bLoadResourcesAsMaterial=True
MagCapacity=24
StandardDisplayFOV=65.000000
SleeveNum=4
TraderInfoTexture=Texture'NicePackT.Glock17.DualGlock17_trader'
bIsTier2Weapon=True
|
||||
Weight=2.000000
MeshRef="NicePackA.Glock17.v2_dual_Glock17"
SkinRefs(0)="NicePackT.Glock17.frame_cmb"
SkinRefs(1)="NicePackT.Glock17.17Slide_cmb"
SkinRefs(2)="NicePackT.Glock17.Internals_cmb"
SkinRefs(3)="NicePackT.Glock17.Magazine_cmb"
SkinRefs(4)="KF_Weapons_Trip_T.hands.hands_1stP_military_diff"
SelectSoundRef="KF_MK23Snd.MK23_Select"
HudImageRef="NicePackT.Glock17.DualGlock17_unselect"
SelectedHudImageRef="NicePackT.Glock17.DualGlock17_select"
ZoomedDisplayFOV=50.000000
FireModeClass(0)=Class'NicePack.NiceDualGlockFire'
AIRating=0.450000
CurrentRating=0.450000
Description="Dual Glock-17 match grade pistols. Dual 9mm is double the fun."
DisplayFOV=65.000000
Priority=90
GroupOffset=6
PickupClass=Class'NicePack.NiceDualGlockPickup'
PlayerViewOffset=(X=25.000000)
BobDamping=3.800000
AttachmentClass=Class'NicePack.NiceDualGlockAttachment'
IconCoords=(X1=250,Y1=110,X2=330,Y2=145)
ItemName="Dual Glock-17"
DrawScale=1.000000
|
||||
}
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
class NiceDualGlockAmmo extends NiceAmmo;
|
||||
defaultproperties
|
||||
{
WeaponPickupClass=Class'NicePack.NiceDualGlockPickup'
AmmoPickupAmount=12
MaxAmmo=180
InitialAmount=45
PickupClass=Class'NicePack.NiceDualGlockAmmoPickup'
IconMaterial=Texture'KillingFloorHUD.Generic.HUD'
IconCoords=(X1=338,Y1=40,X2=393,Y2=79)
ItemName="Glock-17 bullets"
|
||||
}
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
class NiceDualGlockAmmoPickup extends NiceAmmoPickup;
|
||||
defaultproperties
|
||||
{
KFPickupImage=Texture'KillingFloorHUD.ClassMenu.Deagle'
AmmoAmount=12
InventoryType=Class'NicePack.NiceDualGlockAmmo'
PickupMessage="Rounds (9x19mm)"
|
||||
}
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
class NiceDualGlockAttachment extends NiceDualiesAttachment;
|
||||
defaultproperties
|
||||
{
BrotherMesh=SkeletalMesh'NicePackA.Glock17.SingleGlock17_3rd'
MeshRef="NicePackA.Glock17.SingleGlock17_3rd"
|
||||
}
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
class NiceDualGlockFire extends NiceDualiesFire;
|
||||
defaultproperties
|
||||
{
ProjectileSpeed=18750.000000
maxVerticalRecoilAngle=200
maxHorizontalRecoilAngle=100
ShellEjectClass=Class'NicePack.NiceGlockShell'
FireSoundRef="NicePackSnd.Glock17.glock17_Fire"
NoAmmoSoundRef="KF_HandcannonSnd.50AE_DryFire"
DamageType=Class'NicePack.NiceDamTypeGlock'
DamageMax=35
Momentum=18000.000000
bWaitForRelease=False
FireRate=0.087500
AmmoClass=Class'NicePack.NiceDualGlockAmmo'
ShakeRotMag=(Z=290.000000)
ShakeRotRate=(X=10080.000000,Y=10080.000000)
ShakeRotTime=3.500000
ShakeOffsetMag=(Y=1.000000,Z=8.000000)
ShakeOffsetTime=2.500000
FlashEmitterClass=Class'KFMod.MuzzleFlashMK'
aimerror=40.000000
|
||||
}
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
class NiceDualGlockPickup extends NiceDualiesPickup;
|
||||
defaultproperties
|
||||
{
bBackupWeapon=True
Weight=4.000000
cost=250
BuyClipSize=12
PowerValue=70
SpeedValue=45
RangeValue=60
Description="Dual Glock-17 match grade pistols. Dual 9mm is double the fun."
ItemName="Dual Glock-17"
ItemShortName="Dual Glock-17"
AmmoItemName="9mm Ammo"
InventoryType=Class'NicePack.NiceDualGlock'
PickupMessage="You found another - Glock-17"
PickupSound=Sound'KF_MK23Snd.MK23_Pickup'
StaticMesh=StaticMesh'NicePackSM.Glock17.singleGlock17_stc'
|
||||
}
|
||||
4
sources/Weapons/Playable/Pistols/Glock/NiceGlock.uc
Normal file
4
sources/Weapons/Playable/Pistols/Glock/NiceGlock.uc
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
class NiceGlock extends NiceSingle;
|
||||
defaultproperties
|
||||
{
DualClass=Class'NicePack.NiceDualGlock'
reloadPreEndFrame=0.117000
reloadEndFrame=0.617000
reloadChargeEndFrame=-1.000000
reloadMagStartFrame=0.250000
reloadChargeStartFrame=-1.000000
MagCapacity=12
Weight=1.000000
StandardDisplayFOV=65.000000
SleeveNum=4
TraderInfoTexture=Texture'NicePackT.Glock17.SingleGlock17_trader'
bIsTier2Weapon=True
MeshRef="NicePackA.Glock17.v_glock17"
SkinRefs(0)="NicePackT.Glock17.Frame_cmb"
SkinRefs(1)="NicePackT.Glock17.17Slide_cmb"
SkinRefs(2)="NicePackT.Glock17.Internals_cmb"
SkinRefs(3)="NicePackT.Glock17.Magazine_cmb"
SkinRefs(4)="KF_Weapons_Trip_T.hands.hands_1stP_military_diff"
SelectSoundRef="KF_MK23Snd.MK23_Select"
HudImageRef="NicePackT.Glock17.SingleGlock17_unselect"
SelectedHudImageRef="NicePackT.Glock17.SingleGlock17_select"
ZoomedDisplayFOV=50.000000
FireModeClass(0)=Class'NicePack.NiceGlockFire'
AIRating=0.450000
CurrentRating=0.450000
Description="Specifically for the needs of the army and police special forces company Glock created version of the model 17."
EffectOffset=(X=100.000000,Y=25.000000,Z=-10.000000)
DisplayFOV=65.000000
Priority=65
GroupOffset=5
PickupClass=Class'NicePack.NiceGlockPickup'
PlayerViewOffset=(X=10.000000,Y=18.750000,Z=-7.000000)
BobDamping=4.500000
AttachmentClass=Class'NicePack.NiceGlockAttachment'
IconCoords=(X1=250,Y1=110,X2=330,Y2=145)
ItemName="Glock-17"
bUseDynamicLights=True
TransientSoundVolume=1.000000
|
||||
}
|
||||
4
sources/Weapons/Playable/Pistols/Glock/NiceGlockAmmo.uc
Normal file
4
sources/Weapons/Playable/Pistols/Glock/NiceGlockAmmo.uc
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
class NiceGlockAmmo extends NiceAmmo;
|
||||
defaultproperties
|
||||
{
WeaponPickupClass=Class'NicePack.NiceGlockPickup'
AmmoPickupAmount=12
MaxAmmo=180
InitialAmount=45
PickupClass=Class'NicePack.NiceGlockAmmoPickup'
IconMaterial=Texture'KillingFloorHUD.Generic.HUD'
IconCoords=(X1=338,Y1=40,X2=393,Y2=79)
ItemName="Glock-17 bullets"
|
||||
}
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
class NiceGlockAmmoPickup extends NiceAmmoPickup;
|
||||
defaultproperties
|
||||
{
KFPickupImage=Texture'KillingFloorHUD.ClassMenu.Deagle'
AmmoAmount=12
InventoryType=Class'NicePack.NiceGlockAmmo'
PickupMessage="Rounds (9x19mm)"
|
||||
}
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
class NiceGlockAttachment extends NiceSingleAttachment;
|
||||
defaultproperties
|
||||
{
MeshRef="NicePackA.Glock17.SingleGlock17_3rd"
|
||||
}
|
||||
4
sources/Weapons/Playable/Pistols/Glock/NiceGlockFire.uc
Normal file
4
sources/Weapons/Playable/Pistols/Glock/NiceGlockFire.uc
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
class NiceGlockFire extends NiceSingleFire;
|
||||
defaultproperties
|
||||
{
ProjectileSpeed=18750.000000
RecoilRate=0.030000
maxVerticalRecoilAngle=200
maxHorizontalRecoilAngle=100
FireSoundRef="NicePackSnd.Glock17.glock17_Fire"
NoAmmoSoundRef="KF_HandcannonSnd.50AE_DryFire"
DamageType=Class'NicePack.NiceDamTypeGlock'
DamageMax=35
Momentum=18000.000000
FireRate=0.17500000
AmmoClass=Class'NicePack.NiceGlockAmmo'
ShakeRotMag=(Z=290.000000)
ShakeRotRate=(X=10080.000000,Y=10080.000000)
ShakeRotTime=3.500000
ShakeOffsetMag=(Y=1.000000,Z=8.000000)
ShakeOffsetTime=2.500000
BotRefireRate=0.650000
FlashEmitterClass=Class'KFMod.MuzzleFlashMK'
|
||||
}
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
class NiceGlockPickup extends NiceSinglePickup;
|
||||
defaultproperties
|
||||
{
bBackupWeapon=True
Weight=2.000000
cost=125
BuyClipSize=12
PowerValue=50
SpeedValue=45
RangeValue=60
Description="Specifically for the needs of the army and police special forces company Glock created version of the model 17."
ItemName="Glock-17"
ItemShortName="Glock-17"
AmmoItemName="9mm Ammo"
InventoryType=Class'NicePack.NiceGlock'
PickupMessage="You got the Glock-17"
PickupSound=Sound'KF_MK23Snd.MK23_Pickup'
StaticMesh=StaticMesh'NicePackSM.Glock17.singleGlock17_stc'
|
||||
}
|
||||
9
sources/Weapons/Playable/Pistols/Glock/NiceGlockShell.uc
Normal file
9
sources/Weapons/Playable/Pistols/Glock/NiceGlockShell.uc
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
class NiceGlockShell extends KFShellEject;
|
||||
simulated function Trigger(Actor Other, Pawn EventInstigator){
|
||||
Emitters[0].SpawnParticle(1);
|
||||
Emitters[1].SpawnParticle(3);
|
||||
}
|
||||
defaultproperties
|
||||
{
Begin Object Class=MeshEmitter Name=MeshEmitter10
StaticMesh=StaticMesh'kf_generic_sm.Bullet_Shells.Handcannon_Shell'
RespawnDeadParticles=False
ZTest=False
SpinParticles=True
AutomaticInitialSpawning=False
Acceleration=(Z=-500.000000)
ColorScale(0)=(Color=(B=255,G=255,R=255,A=255))
ColorScale(1)=(RelativeTime=1.000000,Color=(B=255,G=255,R=255,A=255))
MaxParticles=25
UseRotationFrom=PTRS_Actor
SpinsPerSecondRange=(X=(Min=-3.000000,Max=3.000000),Y=(Min=-3.000000,Max=3.000000),Z=(Min=-3.000000,Max=3.000000))
StartSizeRange=(X=(Min=2.500000,Max=2.500000),Y=(Min=2.500000,Max=2.500000),Z=(Min=2.500000,Max=2.500000))
LifetimeRange=(Min=5.000000,Max=5.000000)
StartVelocityRange=(X=(Min=-45.000000,Max=45.000000),Y=(Min=-45.000000,Max=45.000000),Z=(Min=180.000000,Max=220.000000))
End Object
Emitters(0)=MeshEmitter'KFMod.MK23Shell.MeshEmitter10'
|
||||
Begin Object Class=SpriteEmitter Name=SpriteEmitter93
UseDirectionAs=PTDU_Up
UseCollision=True
UseColorScale=True
FadeOut=True
FadeIn=True
RespawnDeadParticles=False
ZTest=False
UseSizeScale=True
UseRegularSizeScale=False
UniformSize=True
ScaleSizeXByVelocity=True
AutomaticInitialSpawning=False
Acceleration=(Z=-210.000000)
DampingFactorRange=(X=(Min=0.500000,Max=0.500000),Y=(Min=0.500000,Max=0.500000),Z=(Min=0.500000,Max=0.500000))
ColorScale(0)=(Color=(B=255,G=255,R=187))
ColorScale(1)=(RelativeTime=0.214286,Color=(G=103,R=206,A=255))
ColorScale(2)=(RelativeTime=0.439286,Color=(B=100,G=177,R=255,A=255))
ColorScale(3)=(RelativeTime=1.000000,Color=(G=103,R=206,A=255))
ColorScale(4)=(RelativeTime=1.000000,Color=(G=103,R=206,A=255))
ColorScale(5)=(RelativeTime=1.000000,Color=(R=128,A=255))
ColorScale(6)=(RelativeTime=1.000000)
ColorScale(7)=(RelativeTime=1.000000)
FadeOutStartTime=0.336000
FadeInEndTime=0.064000
MaxParticles=25
SizeScale(0)=(RelativeSize=1.000000)
SizeScale(1)=(RelativeTime=1.000000,RelativeSize=0.250000)
StartSizeRange=(X=(Min=0.500000,Max=0.500000),Y=(Min=0.500000,Max=0.500000),Z=(Min=0.500000,Max=0.500000))
ScaleSizeByVelocityMultiplier=(X=0.010000,Y=0.010000)
Texture=Texture'KFX.KFSparkHead'
LifetimeRange=(Min=1.500000,Max=1.500000)
StartVelocityRange=(X=(Min=-100.000000,Max=100.000000),Y=(Min=-100.000000,Max=100.000000),Z=(Min=50.000000,Max=100.000000))
End Object
Emitters(1)=SpriteEmitter'KFMod.MK23Shell.SpriteEmitter93'
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue