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 NiceDamTypeNailGun extends NiceDamageTypeVetEnforcer
|
||||
abstract;
|
||||
defaultproperties
|
||||
{
MaxPenetrations=3
bIsPowerWeapon=True
WeaponClass=Class'NicePack.NiceNailGun'
DeathString="%k killed %o (Nail)."
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
|
||||
}
|
||||
4
sources/Weapons/Playable/Shotguns/Nailgun/NiceNail.uc
Normal file
4
sources/Weapons/Playable/Shotguns/Nailgun/NiceNail.uc
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
class NiceNail extends NiceShotgunPellet;
|
||||
defaultproperties
|
||||
{
bDisableComplexMovement=False
movementAcceleration=(Z=-300.000000)
bShouldBounce=True
trailXClass=Class'KFMod.NailGunTracer'
regularImpact=(bPlayROEffect=False,decalClass=Class'KFMod.NailGunDecal',EmitterClass=Class'ROEffects.ROBulletHitMetalEffect',emitterShiftWall=20.000000,emitterShiftPawn=20.000000,noiseRef="ProjectileSounds.Bullets.Impact_Metal",noiseVolume=1.000000)
StaticMeshRef="EffectsSM.Weapons.Vlad_9000_Nail"
|
||||
}
|
||||
7
sources/Weapons/Playable/Shotguns/Nailgun/NiceNailGun.uc
Normal file
7
sources/Weapons/Playable/Shotguns/Nailgun/NiceNailGun.uc
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
class NiceNailGun extends NiceWeapon;
|
||||
simulated function bool AltFireCanForceInterruptReload(){
|
||||
return GetMagazineAmmo() > 0;
|
||||
}
|
||||
defaultproperties
|
||||
{
reloadPreEndFrame=0.178000
reloadEndFrame=0.700000
reloadChargeEndFrame=-1.000000
reloadMagStartFrame=0.278000
reloadChargeStartFrame=-1.000000
FirstPersonFlashlightOffset=(X=-20.000000,Y=-22.000000,Z=8.000000)
MagCapacity=42
ReloadRate=2.600000
ReloadAnim="Reload"
ReloadAnimRate=1.000000
WeaponReloadAnim="Reload_Vlad9000"
Weight=5.000000
bHasAimingMode=True
IdleAimAnim="Idle_Iron"
StandardDisplayFOV=65.000000
TraderInfoTexture=Texture'KillingFloor2HUD.Trader_Weapon_Icons.Trader_Vlad9000'
bIsTier2Weapon=True
MeshRef="KF_Wep_Vlad9000.Vlad9000"
SkinRefs(0)="KF_Weapons8_Trip_T.Weapons.Vlad_9000_cmb"
SelectSoundRef="KF_NailShotgun.KF_NailShotgun_Pickup"
HudImageRef="KillingFloor2HUD.WeaponSelect.Vlad9000_unselected"
SelectedHudImageRef="KillingFloor2HUD.WeaponSelect.Vlad9000"
PlayerIronSightFOV=70.000000
ZoomedDisplayFOV=40.000000
FireModeClass(0)=Class'NicePack.NiceNailGunFire'
FireModeClass(1)=Class'NicePack.NiceNailGunAltFire'
PutDownAnim="PutDown"
SelectForce="SwitchToAssaultRifle"
AIRating=0.550000
CurrentRating=0.550000
bShowChargingBar=True
Description="The Black and Wrecker Vlad 9000 nail gun. Designed for putting barns together. Or nailing Zeds to them."
EffectOffset=(X=100.000000,Y=25.000000,Z=-10.000000)
DisplayFOV=65.000000
Priority=150
InventoryGroup=3
GroupOffset=15
PickupClass=Class'NicePack.NiceNailGunPickup'
PlayerViewOffset=(X=25.000000,Y=20.000000,Z=-10.000000)
BobDamping=4.500000
AttachmentClass=Class'NicePack.NiceNailGunAttachment'
IconCoords=(X1=245,Y1=39,X2=329,Y2=79)
ItemName="Vlad the Impaler"
TransientSoundVolume=1.250000
|
||||
}
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
class NiceNailGunAltFire extends NiceNailGunFire;
|
||||
defaultproperties
|
||||
{
bCanFireIncomplete=True
ProjectileSpeed=3500.000000
AmmoPerFire=7
SpreadStyle=SS_Random
|
||||
}
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
class NiceNailGunAmmo extends NiceAmmo;
|
||||
#EXEC OBJ LOAD FILE=KillingFloorHUD.utx
|
||||
defaultproperties
|
||||
{
WeaponPickupClass=Class'NicePack.NiceNailGunPickup'
AmmoPickupAmount=42
MaxAmmo=210
InitialAmount=105
IconMaterial=Texture'KillingFloorHUD.Generic.HUD'
IconCoords=(X1=451,Y1=445,X2=510,Y2=500)
|
||||
}
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
class NiceNailGunAttachment extends NiceAttachment;
|
||||
defaultproperties
|
||||
{
mMuzFlashClass=Class'ROEffects.MuzzleFlash3rdNailGun'
TurnLeftAnim="TurnL_Bullpup"
TurnRightAnim="TurnR_Bullpup"
WalkAnims(0)="WalkF_Bullpup"
WalkAnims(1)="WalkB_Bullpup"
WalkAnims(2)="WalkL_Bullpup"
WalkAnims(3)="WalkR_Bullpup"
CrouchTurnRightAnim="CH_TurnR_Bullpup"
CrouchTurnLeftAnim="CH_TurnL_Bullpup"
MeshRef="KF_Weapons3rd5_Trip.Vlad9000_3rd"
|
||||
}
|
||||
|
|
@ -0,0 +1,7 @@
|
|||
class NiceNailGunFire extends NiceShotgunFire;
|
||||
simulated function bool ShouldBounce(){
|
||||
return true;
|
||||
}
|
||||
defaultproperties
|
||||
{
ProjPerFire=1
KickMomentum=(X=-25.000000,Z=0.000000)
ProjectileSpeed=9260.0
bShouldBounce=True
bCausePain=True
bulletClass=Class'NicePack.NiceNail'
maxVerticalRecoilAngle=1250
maxHorizontalRecoilAngle=750
bRandomPitchFireSound=True
FireSoundRef="KF_NailShotgun.NailShotgun_Fire_Single_M"
StereoFireSoundRef="KF_NailShotgun.NailShotgun_Fire_Single_S"
NoAmmoSoundRef="KF_NailShotgun.KF_NailShotgun_Dryfire"
DamageType=Class'NicePack.NiceDamTypeNailGun'
DamageMax=66
FireAnimRate=1.250000
FireRate=0.400000
AmmoClass=Class'NicePack.NiceNailGunAmmo'
ShakeRotTime=3.000000
ShakeOffsetTime=2.000000
BotRefireRate=0.500000
FlashEmitterClass=Class'ROEffects.MuzzleFlash1stNailGun'
SpreadStyle=SS_None
|
||||
}
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
class NiceNailGunPickup extends NiceWeaponPickup;
|
||||
defaultproperties
|
||||
{
Weight=8.000000
cost=250
AmmoCost=30
BuyClipSize=42
PowerValue=70
SpeedValue=55
RangeValue=25
Description="The Black and Wrecker Vlad 9000 nail gun. Designed for putting barns together. Or nailing Zeds to them."
ItemName="Vlad the Impaler"
ItemShortName="Vlad 9000"
AmmoItemName="Nails"
CorrespondingPerkIndex=1
EquipmentCategoryID=3
InventoryType=Class'NicePack.NiceNailGun'
PickupMessage="You got the Vlad 9000."
PickupSound=Sound'KF_NailShotgun.Handling.KF_NailShotgun_Pickup'
PickupForce="AssaultRiflePickup"
StaticMesh=StaticMesh'KF_pickups5_Trip.Rifles.Vlad9000_Pickup'
CollisionRadius=35.000000
CollisionHeight=5.000000
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue