Fix new line symbol issues

This commit is contained in:
Anton Tarasenko 2020-04-19 00:44:48 +07:00
commit d66d86b2b1
846 changed files with 33896 additions and 12983 deletions

View file

@ -1,12 +1,28 @@
class NiceDamTypePipeBomb extends NiceWeaponDamageType;
static function GetHitEffects(out class<xEmitter> HitEffects[4], int VictimHealth)
{
HitEffects[0] = class'HitSmoke';
if(VictimHealth <= 0)
HitEffects[1] = class'KFHitFlame';
else if (FRand() < 0.8)
HitEffects[1] = class'KFHitFlame';
}
defaultproperties
{ bIsExplosive=True bCheckForHeadShots=False WeaponClass=Class'NicePack.NicePipeBombExplosive' DeathString="%o filled %k's body with shrapnel." FemaleSuicide="%o blew up." MaleSuicide="%o blew up." bLocationalHit=False bThrowRagdoll=True bExtraMomentumZ=True DamageThreshold=1 DeathOverlayMaterial=Combiner'Effects_Tex.GoreDecals.PlayerDeathOverlay' DeathOverlayTime=999.000000 KDamageImpulse=4000.000000 KDeathVel=300.000000 KDeathUpKick=800.000000 HumanObliterationThreshhold=600
}
class NiceDamTypePipeBomb extends NiceWeaponDamageType;
static function GetHitEffects(out class<xEmitter> HitEffects[4], int VictimHealth)
{
HitEffects[0] = class'HitSmoke';
if(VictimHealth <= 0)
HitEffects[1] = class'KFHitFlame';
else if (FRand() < 0.8)
HitEffects[1] = class'KFHitFlame';
}
defaultproperties
{
bIsExplosive=True
bCheckForHeadShots=False
WeaponClass=Class'NicePack.NicePipeBombExplosive'
DeathString="%o filled %k's body with shrapnel."
FemaleSuicide="%o blew up."
MaleSuicide="%o blew up."
bLocationalHit=False
bThrowRagdoll=True
bExtraMomentumZ=True
DamageThreshold=1
DeathOverlayMaterial=Combiner'Effects_Tex.GoreDecals.PlayerDeathOverlay'
DeathOverlayTime=999.000000
KDamageImpulse=4000.000000
KDeathVel=300.000000
KDeathUpKick=800.000000
HumanObliterationThreshhold=600
}

View file

@ -1,4 +1,7 @@
class NicePipeBombExplosive extends ScrnPipeBombExplosive;
defaultproperties
{ FireModeClass(0)=Class'NicePack.NicePipeBombFire' PickupClass=Class'NicePack.NicePipeBombPickup' ItemName="PipeBomb NW"
}
class NicePipeBombExplosive extends ScrnPipeBombExplosive;
defaultproperties
{
FireModeClass(0)=Class'NicePack.NicePipeBombFire'
PickupClass=Class'NicePack.NicePipeBombPickup'
ItemName="PipeBomb NW"
}

View file

@ -1,4 +1,5 @@
class NicePipeBombFire extends ScrnPipeBombFire;
defaultproperties
{ ProjectileClass=Class'NicePack.NicePipeBombProjectile'
}
class NicePipeBombFire extends ScrnPipeBombFire;
defaultproperties
{
ProjectileClass=Class'NicePack.NicePipeBombProjectile'
}

View file

@ -1,4 +1,10 @@
class NicePipeBombPickup extends ScrnPipeBombPickup;
defaultproperties
{ cost=100 AmmoCost=100 ItemName="Pipe Bomb NW" ItemShortName="Pipe Bomb NW" AmmoItemName="Pipe Bomb NW" InventoryType=Class'NicePack.NicePipeBombExplosive'
}
class NicePipeBombPickup extends ScrnPipeBombPickup;
defaultproperties
{
cost=100
AmmoCost=100
ItemName="Pipe Bomb NW"
ItemShortName="Pipe Bomb NW"
AmmoItemName="Pipe Bomb NW"
InventoryType=Class'NicePack.NicePipeBombExplosive'
}

View file

@ -1,15 +1,22 @@
class NicePipeBombProjectile extends ScrnPipeBombProjectile;
function TakeDamage(int Damage, Pawn instigatedBy, Vector Hitlocation, Vector Momentum, class<DamageType> damageType, optional int HitIndex){
local bool bIsFakePlayer;
if(KFMonster(instigatedBy) != none && KFMonster(instigatedBy).Health <= 0) return;
if(damageType == class'NiceDamTypePipeBomb' || Damage < 5 || (Damage < 25 && damageType.IsA('SirenScreamDamage'))) return;
bIsFakePlayer = (KFPawn(instigatedBy) != none || FakePlayerPawn(instigatedBy) != none) && (instigatedBy.PlayerReplicationInfo == none || instigatedBy.PlayerReplicationInfo.bOnlySpectator);
bIsFakePlayer = bIsFakePlayer || (instigatedBy == none && !DamageType.default.bCausedByWorld);
// Don't let our own explosives blow this up!!!
if(bIsFakePlayer || (KFPawn(instigatedBy) != none && Instigator != none && Instigator != instigatedBy)) return;
if(damageType == class'SirenScreamDamage') Disintegrate(HitLocation, vect(0,0,1));
else Explode(HitLocation, vect(0,0,1));
}
defaultproperties
{ Damage=2000.000000 MyDamageType=Class'NicePack.NiceDamTypePipeBomb'
}
class NicePipeBombProjectile extends ScrnPipeBombProjectile;
function TakeDamage(int Damage, Pawn instigatedBy, Vector Hitlocation, Vector Momentum, class<DamageType> damageType, optional int HitIndex){
local bool bIsFakePlayer;
if(KFMonster(instigatedBy) != none && KFMonster(instigatedBy).Health <= 0)
return;
if(damageType == class'NiceDamTypePipeBomb' || Damage < 5 || (Damage < 25 && damageType.IsA('SirenScreamDamage')))
return;
bIsFakePlayer = (KFPawn(instigatedBy) != none || FakePlayerPawn(instigatedBy) != none) && (instigatedBy.PlayerReplicationInfo == none || instigatedBy.PlayerReplicationInfo.bOnlySpectator);
bIsFakePlayer = bIsFakePlayer || (instigatedBy == none && !DamageType.default.bCausedByWorld);
// Don't let our own explosives blow this up!!!
if(bIsFakePlayer || (KFPawn(instigatedBy) != none && Instigator != none && Instigator != instigatedBy))
return;
if(damageType == class'SirenScreamDamage')
Disintegrate(HitLocation, vect(0,0,1));
else
Explode(HitLocation, vect(0,0,1));
}
defaultproperties
{
Damage=2000.000000
MyDamageType=Class'NicePack.NiceDamTypePipeBomb'
}