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,38 @@
class NiceBallisticHarpoon extends NiceBullet;
// Have we added this harpoon to a stuck projectiles list?
var bool bAddedMyself;
/*simulated function Tick(float delta){
local NiceSealSquealHarpoonBomber harpoonWeap;
if(bInitFinished && !bAddedMyself && bStuck && nicePlayer == localPlayer){
bAddedMyself = true;
harpoonWeap = NiceSealSquealHarpoonBomber(sourceWeapon);
harpoonWeap.stuckProjectiles[harpoonWeap.stuckProjectiles.Length] = stuckID;
}
super.Tick(delta);
}
function KillBullet(){
local int index;
local NiceSealSquealHarpoonBomber harpoonWeap;
if(bStuck && sourceWeapon != none){
harpoonWeap = NiceSealSquealHarpoonBomber(sourceWeapon);
for(index = 0;index < harpoonWeap.stuckProjectiles.Length;index ++)
if(harpoonWeap.stuckProjectiles[index] == stuckID){
NiceSealSquealHarpoonBomber(sourceWeapon).stuckProjectiles[index] = -1;
break;
}
}
super.KillBullet();
}*/
defaultproperties
{
charMinExplosionDist=300.000000
bDisableComplexMovement=False
movementFallTime=1.000000
TrailClass=Class'KFMod.SealSquealFuseEmitter'
trailXClass=None
regularImpact=(noiseRef="KF_FY_SealSquealSND.WEP_Harpoon_Hit_Flesh")
explosionImpact=(bImportanEffect=True,decalClass=Class'KFMod.KFScorchMark',EmitterClass=Class'KFMod.KFNadeLExplosion',emitterShiftWall=20.000000,emitterShiftPawn=20.000000,noiseRef="KF_FY_SealSquealSND.WEP_Harpoon_Explode",noiseVolume=2.000000)
disintegrationImpact=(EmitterClass=Class'KFMod.SirenNadeDeflect',noiseRef="Inf_Weapons.faust_explode_distant02",noiseVolume=2.000000)
StaticMeshRef="KF_IJC_Halloween_Weps2.Harpoon_Projectile"
AmbientSoundRef="KF_IJC_HalloweenSnd.KF_FlarePistol_Projectile_Loop"
}

View file

@ -0,0 +1,5 @@
class NiceDamTypeSealSquealBlunt extends NiceDamTypeDemoBlunt
abstract;
defaultproperties
{ WeaponClass=Class'NicePack.NiceSealSquealHarpoonBomber'
}

View file

@ -0,0 +1,4 @@
class NiceDamTypeSealSquealExplosion extends NiceDamTypeDemoExplosion;
defaultproperties
{ HeadShotDamageMult=1.500000 WeaponClass=Class'NicePack.NiceSealSquealHarpoonBomber'
}

View file

@ -0,0 +1,4 @@
class NiceSealSquealAmmo extends NiceAmmo;
defaultproperties
{ AmmoPickupAmount=3 MaxAmmo=24 InitialAmount=6 PickupClass=Class'NicePack.NiceSealSquealAmmoPickup' IconMaterial=Texture'KillingFloorHUD.Generic.HUD' IconCoords=(X1=4,Y1=350,X2=110,Y2=395) ItemName="SealSqueal Harpoon Bombs"
}

View file

@ -0,0 +1,4 @@
class NiceSealSquealAmmoPickup extends NiceAmmoPickup;
defaultproperties
{ AmmoAmount=3 InventoryType=Class'NicePack.NiceSealSquealAmmo' PickupMessage="SealSqueal Harpoon Bombs" StaticMesh=StaticMesh'KillingFloorStatics.FragPickup' CollisionRadius=25.000000
}

View file

@ -0,0 +1,4 @@
class NiceSealSquealAttachment extends NiceAttachment;
defaultproperties
{ mMuzFlashClass=Class'KFMod.SealSquealMuzzleFlash3P' MovementAnims(0)="JogF_IJC_SealSqueal" MovementAnims(1)="JogB_IJC_SealSqueal" MovementAnims(2)="JogL_IJC_SealSqueal" MovementAnims(3)="JogR_IJC_SealSqueal" TurnLeftAnim="TurnL_IJC_SealSqueal" TurnRightAnim="TurnR_IJC_SealSqueal" CrouchAnims(0)="CHWalkF_IJC_SealSqueal" CrouchAnims(1)="CHWalkB_IJC_SealSqueal" CrouchAnims(2)="CHWalkL_IJC_SealSqueal" CrouchAnims(3)="CHWalkR_IJC_SealSqueal" WalkAnims(0)="WalkF_IJC_SealSqueal" WalkAnims(1)="WalkB_IJC_SealSqueal" WalkAnims(2)="WalkL_IJC_SealSqueal" WalkAnims(3)="WalkR_IJC_SealSqueal" CrouchTurnRightAnim="CH_TurnR_IJC_SealSqueal" CrouchTurnLeftAnim="CH_TurnL_IJC_SealSqueal" IdleCrouchAnim="CHIdle_IJC_SealSqueal" IdleWeaponAnim="Idle_IJC_SealSqueal" IdleRestAnim="Idle_IJC_SealSqueal" IdleChatAnim="Idle_IJC_SealSqueal" IdleHeavyAnim="Idle_IJC_SealSqueal" IdleRifleAnim="Idle_IJC_SealSqueal" FireAnims(0)="Fire_IJC_SealSqueal" FireAnims(1)="Fire_IJC_SealSqueal" FireAnims(2)="Fire_IJC_SealSqueal" FireAnims(3)="Fire_IJC_SealSqueal" FireAltAnims(0)="Fire_IJC_SealSqueal" FireAltAnims(1)="Fire_IJC_SealSqueal" FireAltAnims(2)="Fire_IJC_SealSqueal" FireAltAnims(3)="Fire_IJC_SealSqueal" FireCrouchAnims(0)="CHFire_IJC_SealSqueal" FireCrouchAnims(1)="CHFire_IJC_SealSqueal" FireCrouchAnims(2)="CHFire_IJC_SealSqueal" FireCrouchAnims(3)="CHFire_IJC_SealSqueal" FireCrouchAltAnims(0)="CHFire_IJC_SealSqueal" FireCrouchAltAnims(1)="CHFire_IJC_SealSqueal" FireCrouchAltAnims(2)="CHFire_IJC_SealSqueal" FireCrouchAltAnims(3)="CHFire_IJC_SealSqueal" HitAnims(0)="HitF_IJC_SealSqueal" HitAnims(1)="HitB_IJC_SealSqueal" HitAnims(2)="HitL_IJC_SealSqueal" HitAnims(3)="HitR_IJC_SealSqueal" PostFireBlendStandAnim="Blend_IJC_SealSqueal" PostFireBlendCrouchAnim="CHBlend_IJC_SealSqueal" MeshRef="KF_Weapons3rd3_IJC.SealSqueal_3rd"
}

View file

@ -0,0 +1,38 @@
class NiceSealSquealFire extends NiceFire;
defaultproperties
{
ProjSpawnOffset=(X=5.000000)
EffectiveRange=2500.000000
ProjectileSpeed=3000.000000
bulletClass=Class'NicePack.NiceBallisticHarpoon'
ExplosionDamageType=Class'NicePack.NiceDamTypeSealSquealExplosion'
ExplosionDamage=480
ExplosionRadius=200.000000
explosionExponent=1.000000
ExplosionMomentum=75000.000000
fuseTime=15.000000
explodeOnFuse=True
bShouldStick=True
FireAimedAnim="Iron_Fire"
maxVerticalRecoilAngle=1500
maxHorizontalRecoilAngle=250
FireSoundRef="KF_FY_SealSquealSND.WEP_Harpoon_Fire_M"
StereoFireSoundRef="KF_FY_SealSquealSND.WEP_Harpoon_Fire"
NoAmmoSoundRef="KF_M79Snd.M79_DryFire"
DamageType=Class'NicePack.NiceDamTypeSealSquealBlunt'
DamageMax=150
bWaitForRelease=True
TransientSoundVolume=1.800000
FireForce="AssaultRifleFire"
FireRate=0.750000
AmmoClass=Class'NicePack.NiceSealSquealAmmo'
ShakeRotMag=(X=75.000000,Y=75.000000,Z=400.000000)
ShakeRotRate=(X=12500.000000,Y=12500.000000,Z=10000.000000)
ShakeRotTime=3.500000
ShakeOffsetMag=(X=6.000000,Y=1.000000,Z=8.000000)
ShakeOffsetRate=(X=1000.000000,Y=1000.000000,Z=1000.000000)
ShakeOffsetTime=2.500000
BotRefireRate=1.800000
FlashEmitterClass=Class'KFMod.SealSquealMuzzleFlash1P'
aimerror=42.000000
}

View file

@ -0,0 +1,71 @@
class NiceSealSquealHarpoonBomber extends NiceWeapon;
// Stuck projectiles, fired from this weapon
var array<int> stuckProjectiles;
/*simulated function ExplodeAllHarpoons(){
local int i;
for(i = 0;i < stuckProjectiles.Length;i ++){
if(stuckProjectiles[i] < 0)
continue;
NicePlayerController(instigator.controller).ExplodeStuckBullet(stuckProjectiles[i]);
}
stuckProjectiles.Length = 0;
}
simulated function SetupReloadVars(optional bool bIsActive, optional int animationIndex){
if(Role < ROLE_Authority)
ExplodeAllHarpoons();
super.SetupReloadVars(bIsActive, animationIndex);
}
simulated function AltFire(float f){
ExplodeAllHarpoons();
}
simulated function Destroyed(){
if(Role < ROLE_Authority)
ExplodeAllHarpoons();
super.Destroyed();
}*/
defaultproperties
{
reloadPreEndFrame=0.195000
reloadEndFrame=0.537000
reloadChargeEndFrame=0.861000
reloadMagStartFrame=0.325000
reloadChargeStartFrame=0.724000
MagCapacity=3
ReloadRate=4.000000
ReloadAnim="Reload"
ReloadAnimRate=1.000000
WeaponReloadAnim="Reload_IJC_SealSqueal"
Weight=6.000000
bHasAimingMode=True
IdleAimAnim="Idle_Iron"
StandardDisplayFOV=70.000000
TraderInfoTexture=Texture'KF_IJC_HUD.Trader_Weapon_Icons.Trader_SealSqueal'
bIsTier2Weapon=True
MeshRef="KF_IJC_Halloween_Weps_2.SealSqueal"
SkinRefs(0)="KF_IJC_Halloween_Weapons2.SealSqueal.SealSqueal_cmb"
SelectSoundRef="KF_FY_SealSquealSND.WEP_Harpoon_Foley_Select"
HudImageRef="KF_IJC_HUD.WeaponSelect.SealSqueal_unselected"
SelectedHudImageRef="KF_IJC_HUD.WeaponSelect.SealSqueal"
PlayerIronSightFOV=70.000000
ZoomedDisplayFOV=60.000000
FireModeClass(0)=Class'NicePack.NiceSealSquealFire'
FireModeClass(1)=Class'KFMod.NoFire'
PutDownAnim="PutDown"
SelectForce="SwitchToAssaultRifle"
AIRating=0.650000
CurrentRating=0.650000
Description="Shoot the zeds with this harpoon gun and watch them squeal.. and then explode!"
DisplayFOV=70.000000
Priority=171
InventoryGroup=4
GroupOffset=22
PickupClass=Class'NicePack.NiceSealSquealPickup'
PlayerViewOffset=(X=15.000000,Y=20.000000,Z=-8.000000)
BobDamping=6.000000
AttachmentClass=Class'NicePack.NiceSealSquealAttachment'
IconCoords=(X1=253,Y1=146,X2=333,Y2=181)
ItemName="SealSqueal Harpoon Bomber"
LightType=LT_None
LightBrightness=0.000000
LightRadius=0.000000
}

View file

@ -0,0 +1,4 @@
class NiceSealSquealPickup extends NiceWeaponPickup;
defaultproperties
{ Weight=6.000000 cost=750 AmmoCost=30 BuyClipSize=3 PowerValue=90 SpeedValue=35 RangeValue=85 Description="Shoot the zeds with this harpoon gun and watch them squeal.. and then explode!" ItemName="SealSqueal Harpoon Bomber" ItemShortName="SealSqueal" AmmoItemName="SealSqueal Harpoon Bombs" CorrespondingPerkIndex=6 EquipmentCategoryID=2 MaxDesireability=0.790000 InventoryType=Class'NicePack.NiceSealSquealHarpoonBomber' PickupMessage="You got the SealSqueal Harpoon Bomb Launcher." PickupSound=Sound'KF_FY_SealSquealSND.foley.WEP_Harpoon_Foley_Pickup' PickupForce="AssaultRiflePickup" StaticMesh=StaticMesh'KF_IJC_Halloween_Weps2.SealSqueal_Pickup' CollisionRadius=25.000000 CollisionHeight=10.000000
}