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 NiceDamTypeMK23Pistol extends NiceDamageTypeVetSharpshooter
|
||||
abstract;
|
||||
defaultproperties
|
||||
{
decapType=DB_DROP
badDecapMod=0.900000
|
||||
flinchMultiplier=2
HeadShotDamageMult=1.5//2.250000
WeaponClass=Class'NicePack.NiceMK23Pistol'
DeathString="%k killed %o with MK23."
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
|
||||
}
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
class NiceDualMK23Ammo extends NiceAmmo;
|
||||
defaultproperties
|
||||
{
WeaponPickupClass=Class'NicePack.NiceDualMK23Pickup'
AmmoPickupAmount=12
MaxAmmo=144
PickupClass=Class'NicePack.NiceDualMK23AmmoPickup'
IconMaterial=Texture'KillingFloorHUD.Generic.HUD'
IconCoords=(X1=338,Y1=40,X2=393,Y2=79)
ItemName="MK23 bullets"
|
||||
}
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
class NiceDualMK23AmmoPickup extends NiceAmmoPickup;
|
||||
defaultproperties
|
||||
{
KFPickupImage=Texture'KillingFloorHUD.ClassMenu.Deagle'
AmmoAmount=12
InventoryType=Class'NicePack.NiceDualMK23Ammo'
PickupMessage="Rounds (.45 ACP)"
StaticMesh=None
|
||||
}
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
class NiceDualMK23Attachment extends NiceDualiesAttachment;
|
||||
defaultproperties
|
||||
{
BrotherMesh=SkeletalMesh'KF_Weapons3rd4_Trip.MK23_3rd'
MeshRef="KF_Weapons3rd4_Trip.MK23_3rd"
|
||||
}
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
class NiceDualMK23Fire extends NiceDualiesFire;
|
||||
defaultproperties
|
||||
{
ProjectileSpeed=13000.000000
maxVerticalRecoilAngle=400
maxHorizontalRecoilAngle=200
ShellEjectClass=Class'KFMod.MK23Shell'
FireSoundRef="KF_MK23Snd.MK23_Fire_M"
StereoFireSoundRef="KF_MK23Snd.MK23_Fire_S"
NoAmmoSoundRef="KF_HandcannonSnd.50AE_DryFire"
DamageType=Class'NicePack.NiceDamTypeMK23Pistol'
DamageMin=55
DamageMax=55
Momentum=18000.000000
NoAmmoSound=None
FireRate=0.175000
AmmoClass=Class'NicePack.NiceDualMK23Ammo'
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 NiceDualMK23Pickup extends NiceDualiesPickup;
|
||||
defaultproperties
|
||||
{
Weight=4.000000
cost=500
AmmoCost=32
BuyClipSize=12
PowerValue=70
SpeedValue=45
RangeValue=60
Description="Dual MK23 match grade pistols. Dual 45's is double the fun."
ItemName="DualMK23"
ItemShortName="DualMK23"
AmmoItemName=".45 ACP Ammo"
InventoryType=Class'NicePack.NiceDualMK23Pistol'
PickupMessage="You found another - MK23"
PickupSound=Sound'KF_MK23Snd.MK23_Pickup'
StaticMesh=StaticMesh'KF_pickups4_Trip.Pistols.MK23_Pickup'
|
||||
}
|
||||
14
sources/Weapons/Playable/Pistols/MK32/NiceDualMK23Pistol.uc
Normal file
14
sources/Weapons/Playable/Pistols/MK32/NiceDualMK23Pistol.uc
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
class NiceDualMK23Pistol extends NiceDualies;
|
||||
simulated function SecondDoToggle(){
|
||||
ToggleLaser();
|
||||
}
|
||||
simulated function ToggleLaser(){
|
||||
if(!Instigator.IsLocallyControlled())
return;
|
||||
// Will redo this bit later, but so far it'll have to do
|
||||
if(LaserType == 0)
LaserType = 2;
|
||||
else
LaserType = 0;
|
||||
ApplyLaserState();
|
||||
}
|
||||
defaultproperties
|
||||
{
SingleClass=Class'NicePack.NiceMK23Pistol'
leftEject=0.079000
rightEject=0.086000
leftInsert=0.329000
rightInsert=0.650000
bUseFlashlightToToggle=True
bAllowFreeDot=True
LaserAttachmentRotation=(Yaw=16384)
altLaserAttachmentRotation=(Yaw=16384)
LaserAttachmentBone="Tip_Right"
altLaserAttachmentBone="Tip_Left"
MagCapacity=24
ReloadRate=4.466700
Weight=4.000000
StandardDisplayFOV=60.000000
TraderInfoTexture=Texture'KillingFloor2HUD.Trader_Weapon_Icons.Trader_Dual_MK23'
bIsTier2Weapon=True
MeshRef="KF_Wep_Dual_MK23.Dual_MK23"
SkinRefs(0)="KF_Weapons5_Trip_T.Weapons.MK23_SHDR"
SelectSoundRef="KF_MK23Snd.MK23_Select"
HudImageRef="KillingFloor2HUD.WeaponSelect.Dual_MK23_unselected"
SelectedHudImageRef="KillingFloor2HUD.WeaponSelect.Dual_MK23"
ZoomedDisplayFOV=50.000000
FireModeClass(0)=Class'NicePack.NiceDualMK23Fire'
AIRating=0.450000
CurrentRating=0.450000
Description="Dual MK23 match grade pistols. Dual 45's is double the fun."
DisplayFOV=60.000000
Priority=90
GroupOffset=10
PickupClass=Class'NicePack.NiceDualMK23Pickup'
PlayerViewOffset=(X=25.000000)
BobDamping=3.800000
AttachmentClass=Class'NicePack.NiceDualMK23Attachment'
IconCoords=(X1=250,Y1=110,X2=330,Y2=145)
ItemName="Dual MK23s"
DrawScale=1.000000
|
||||
}
|
||||
4
sources/Weapons/Playable/Pistols/MK32/NiceMK23Ammo.uc
Normal file
4
sources/Weapons/Playable/Pistols/MK32/NiceMK23Ammo.uc
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
class NiceMK23Ammo extends NiceAmmo;
|
||||
defaultproperties
|
||||
{
WeaponPickupClass=Class'NicePack.NiceMK23Pickup'
AmmoPickupAmount=12
MaxAmmo=144
InitialAmount=36
PickupClass=Class'NicePack.NiceMK23AmmoPickup'
IconMaterial=Texture'KillingFloorHUD.Generic.HUD'
IconCoords=(X1=338,Y1=40,X2=393,Y2=79)
ItemName="MK23 bullets"
|
||||
}
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
class NiceMK23AmmoPickup extends NiceAmmoPickup;
|
||||
defaultproperties
|
||||
{
KFPickupImage=Texture'KillingFloorHUD.ClassMenu.Deagle'
AmmoAmount=12
InventoryType=Class'NicePack.NiceMK23Ammo'
PickupMessage="Rounds (.45 ACP)"
StaticMesh=None
|
||||
}
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
class NiceMK23Attachment extends NiceSingleAttachment;
|
||||
defaultproperties
|
||||
{
MeshRef="KF_Weapons3rd4_Trip.MK23_3rd"
|
||||
}
|
||||
4
sources/Weapons/Playable/Pistols/MK32/NiceMK23Fire.uc
Normal file
4
sources/Weapons/Playable/Pistols/MK32/NiceMK23Fire.uc
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
class NiceMK23Fire extends NiceSingleFire;
|
||||
defaultproperties
|
||||
{
ProjectileSpeed=13000.000000
maxVerticalRecoilAngle=400
maxHorizontalRecoilAngle=200
FireSoundRef="KF_MK23Snd.MK23_Fire_M"
StereoFireSoundRef="KF_MK23Snd.MK23_Fire_S"
NoAmmoSoundRef="KF_HandcannonSnd.50AE_DryFire"
DamageType=Class'NicePack.NiceDamTypeMK23Pistol'
DamageMin=55
DamageMax=55
Momentum=18000.000000
FireLoopAnim=
FireEndAnim=
FireRate=0.350000
AmmoClass=Class'NicePack.NiceMK23Ammo'
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'
|
||||
}
|
||||
4
sources/Weapons/Playable/Pistols/MK32/NiceMK23Pickup.uc
Normal file
4
sources/Weapons/Playable/Pistols/MK32/NiceMK23Pickup.uc
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
class NiceMK23Pickup extends NiceSinglePickup;
|
||||
defaultproperties
|
||||
{
Weight=2.000000
cost=250
AmmoCost=16
BuyClipSize=12
PowerValue=50
SpeedValue=45
RangeValue=60
Description="Match grade 45 caliber pistol. Good balance between power, ammo count and rate of fire."
ItemName="MK23"
ItemShortName="MK23"
AmmoItemName=".45 ACP Ammo"
AmmoMesh=None
InventoryType=Class'NicePack.NiceMK23Pistol'
PickupMessage="You got the MK.23"
PickupSound=Sound'KF_MK23Snd.MK23_Pickup'
StaticMesh=StaticMesh'KF_pickups4_Trip.Pistols.MK23_Pickup'
|
||||
}
|
||||
18
sources/Weapons/Playable/Pistols/MK32/NiceMK23Pistol.uc
Normal file
18
sources/Weapons/Playable/Pistols/MK32/NiceMK23Pistol.uc
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
class NiceMK23Pistol extends NiceSingle;
|
||||
simulated function AltFire(float F){
|
||||
if(bIsDual)
super.AltFire(F);
|
||||
else
ToggleLaser();
|
||||
}
|
||||
simulated function SecondDoToggle(){
|
||||
ToggleLaser();
|
||||
}
|
||||
simulated function ToggleLaser(){
|
||||
if(!Instigator.IsLocallyControlled())
return;
|
||||
// Will redo this bit later, but so far it'll have to do
|
||||
if(LaserType == 0)
LaserType = 2;
|
||||
else
LaserType = 0;
|
||||
ApplyLaserState();
|
||||
}
|
||||
defaultproperties
|
||||
{
DualClass=Class'NicePack.NiceDualMK23Pistol'
bUseFlashlightToToggle=True
LaserAttachmentRotation=(Yaw=16384)
LaserAttachmentBone="tip"
reloadPreEndFrame=0.156000
reloadEndFrame=0.636000
reloadChargeEndFrame=-1.000000
reloadMagStartFrame=0.286000
reloadChargeStartFrame=-1.000000
MagCapacity=12
ReloadRate=2.600000
Weight=2.000000
StandardDisplayFOV=60.000000
TraderInfoTexture=Texture'KillingFloor2HUD.Trader_Weapon_Icons.Trader_MK23'
bIsTier2Weapon=True
MeshRef="KF_Wep_MK23.MK23"
SkinRefs(0)="KF_Weapons5_Trip_T.Weapons.MK23_SHDR"
SelectSoundRef="KF_MK23Snd.MK23_Select"
HudImageRef="KillingFloor2HUD.WeaponSelect.MK23_unselected"
SelectedHudImageRef="KillingFloor2HUD.WeaponSelect.MK23"
ZoomedDisplayFOV=50.000000
FireModeClass(0)=Class'NicePack.NiceMK23Fire'
AIRating=0.450000
CurrentRating=0.450000
Description="Match grade 45 caliber pistol. Good balance between power, ammo count and rate of fire."
EffectOffset=(X=100.000000,Y=25.000000,Z=-10.000000)
DisplayFOV=60.000000
Priority=65
GroupOffset=9
PickupClass=Class'NicePack.NiceMK23Pickup'
PlayerViewOffset=(X=10.000000,Y=18.750000,Z=-7.000000)
BobDamping=4.500000
AttachmentClass=Class'NicePack.NiceMK23Attachment'
IconCoords=(X1=250,Y1=110,X2=330,Y2=145)
ItemName="MK23"
bUseDynamicLights=True
TransientSoundVolume=1.000000
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue