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,15 +1,19 @@
class NiceProtecta extends Protecta;
// Use alt fire to switch fire modes
simulated function AltFire(float F)
{
if(ReadyToFire(0))
{ DoToggle();
}
}
exec function SwitchModes()
{
DoToggle();
}
defaultproperties
{ FireModeClass(0)=Class'NicePack.NiceProtectaFire' PickupClass=Class'NicePack.NiceProtectaPickup' ItemName="Flare Shotgun 'Protecta' NW"
}
class NiceProtecta extends Protecta;
// Use alt fire to switch fire modes
simulated function AltFire(float F)
{
if(ReadyToFire(0))
{
DoToggle();
}
}
exec function SwitchModes()
{
DoToggle();
}
defaultproperties
{
FireModeClass(0)=Class'NicePack.NiceProtectaFire'
PickupClass=Class'NicePack.NiceProtectaPickup'
ItemName="Flare Shotgun 'Protecta' NW"
}

View file

@ -1,4 +1,5 @@
class NiceProtectaAmmo extends ProtectaAmmo;
defaultproperties
{ PickupClass=Class'NicePack.NiceProtectaAmmoPickup'
}
class NiceProtectaAmmo extends ProtectaAmmo;
defaultproperties
{
PickupClass=Class'NicePack.NiceProtectaAmmoPickup'
}

View file

@ -1,4 +1,5 @@
class NiceProtectaAmmoPickup extends ProtectaAmmoPickup;
defaultproperties
{ InventoryType=Class'NicePack.NiceProtectaAmmo'
}
class NiceProtectaAmmoPickup extends ProtectaAmmoPickup;
defaultproperties
{
InventoryType=Class'NicePack.NiceProtectaAmmo'
}

View file

@ -1,15 +1,24 @@
class NiceProtectaFire extends ProtectaFire;
simulated function bool AllowFire()
{
if( KFWeapon(Weapon).bIsReloading && KFWeapon(Weapon).MagAmmoRemaining < 1) return false;
if(KFPawn(Instigator).SecondaryItem!=none) return false;
if( KFPawn(Instigator).bThrowingNade ) return false;
if( Level.TimeSeconds - LastClickTime>FireRate )
{ LastClickTime = Level.TimeSeconds;
}
if( KFWeapon(Weapon).MagAmmoRemaining<1 ) return false;
return super(WeaponFire).AllowFire();
}
defaultproperties
{ maxVerticalRecoilAngle=1000 maxHorizontalRecoilAngle=300 AmmoClass=Class'NicePack.NiceProtectaAmmo' ProjectileClass=Class'NicePack.NiceProtectaFlare'
}
class NiceProtectaFire extends ProtectaFire;
simulated function bool AllowFire()
{
if( KFWeapon(Weapon).bIsReloading && KFWeapon(Weapon).MagAmmoRemaining < 1)
return false;
if(KFPawn(Instigator).SecondaryItem!=none)
return false;
if( KFPawn(Instigator).bThrowingNade )
return false;
if( Level.TimeSeconds - LastClickTime>FireRate )
{
LastClickTime = Level.TimeSeconds;
}
if( KFWeapon(Weapon).MagAmmoRemaining<1 )
return false;
return super(WeaponFire).AllowFire();
}
defaultproperties
{
maxVerticalRecoilAngle=1000
maxHorizontalRecoilAngle=300
AmmoClass=Class'NicePack.NiceProtectaAmmo'
ProjectileClass=Class'NicePack.NiceProtectaFlare'
}

View file

@ -1,4 +1,6 @@
class NiceProtectaFlare extends NiceFlareRevolverProjectile;
defaultproperties
{ Speed=4500.000000 MaxSpeed=5000.000000
}
class NiceProtectaFlare extends NiceFlareRevolverProjectile;
defaultproperties
{
Speed=4500.000000
MaxSpeed=5000.000000
}

View file

@ -1,4 +1,8 @@
class NiceProtectaPickup extends ProtectaPickup;
defaultproperties
{ ItemName="Protecta NW" ItemShortName="Protecta NW" InventoryType=Class'NicePack.NiceProtecta' PickupMessage="You got the Protecta NW"
}
class NiceProtectaPickup extends ProtectaPickup;
defaultproperties
{
ItemName="Protecta NW"
ItemShortName="Protecta NW"
InventoryType=Class'NicePack.NiceProtecta'
PickupMessage="You got the Protecta NW"
}