First commit

This commit is contained in:
Anton Tarasenko 2020-02-16 19:53:59 +07:00
commit 5b48414900
263 changed files with 24830 additions and 0 deletions

View file

@ -0,0 +1,7 @@
class NiceSkillDemoAPShot extends NiceSkill
abstract;
var float minCos;
var float damageRatio;
defaultproperties
{ minCos=0.707000 damageRatio=1.000000 SkillName="AP shot" SkillEffects="Deal full blast damage behind the target you've hit."
}

View file

@ -0,0 +1,6 @@
class NiceSkillDemoConcussion extends NiceSkill
abstract;
var float durationMult;
defaultproperties
{ durationMult=2.000000 SkillName="Concussion" SkillEffects="You stun zeds for twice longer time than usual."
}

View file

@ -0,0 +1,5 @@
class NiceSkillDemoDirectApproach extends NiceSkill
abstract;
defaultproperties
{ SkillName="Direct approach" SkillEffects="Your explosives will first hit target zed as a blunt before exploding."
}

View file

@ -0,0 +1,28 @@
class NiceSkillDemoManiac extends NiceSkill
abstract;
var float reloadBoostTime;
var float reloadSpeedup;
function static SkillSelected(NicePlayerController nicePlayer){
local NicePack niceMutator;
super.SkillSelected(nicePlayer);
niceMutator = class'NicePack'.static.Myself(nicePlayer.Level);
if(niceMutator == none || niceMutator.Role == Role_AUTHORITY) return;
niceMutator.AddCounter("npDemoManiac", Texture'NicePackT.HudCounter.demo', false, default.class);
}
function static SkillDeSelected(NicePlayerController nicePlayer){
local NicePack niceMutator;
super.SkillDeSelected(nicePlayer);
niceMutator = class'NicePack'.static.Myself(nicePlayer.Level);
if(niceMutator == none || niceMutator.Role == Role_AUTHORITY) return;
niceMutator.RemoveCounter("npDemoManiac");
}
function static int UpdateCounterValue(string counterName, NicePlayerController nicePlayer){
local NiceHumanPawn nicePawn;
if(nicePlayer == none || counterName != "npDemoManiac") return 0;
nicePawn = NiceHumanPawn(nicePlayer.pawn);
if(nicePawn == none || nicePawn.maniacTimeout <= 0.0) return 0;
return Ceil(nicePawn.maniacTimeout);
}
defaultproperties
{ reloadBoostTime=5.000000 reloadSpeedup=1.500000 SkillName="Maniac" SkillEffects="Reload 50% faster for 5 seconds after killing something."
}

View file

@ -0,0 +1,8 @@
class NiceSkillDemoOffperk extends NiceSkill
abstract;
var float damageBonus;
var float reloadBonus;
var int weightBound;
defaultproperties
{ damageBonus=1.250000 ReloadBonus=1.250000 weightBound=4 SkillName="Offperk" SkillEffects="Reload light weapons (less than 5 pounds) 25% faster and do 25% more damage with them."
}

View file

@ -0,0 +1,7 @@
class NiceSkillDemoOnperk extends NiceSkill
abstract;
var float damageBonus;
var float speedBonus;
defaultproperties
{ damageBonus=1.200000 speedBonus=1.500000 bBroadcast=True SkillName="Onperk" SkillEffects="Deal 20% more damage with your blunts and make your perk weapon's projectiles fly 50% faster."
}

View file

@ -0,0 +1,10 @@
class NiceSkillDemoReactiveArmor extends NiceSkill
abstract;
var float baseDamage;
var float perNadeDamage;
var float explRadius;
var float explExponent;
var float explMomentum;
defaultproperties
{ BaseDamage=3000.000000 explRadius=1000.000000 explExponent=1.000000 explMomentum=150000.000000 SkillName="Reactive armor" SkillEffects="Once per wave your death will be prevented, while zeds all around you will be blown to bits."
}

View file

@ -0,0 +1,8 @@
class NiceSkillDemoVolatile extends NiceSkill
abstract;
var float safeDistanceMult;
var float explRangeMult;
var float falloffMult;
defaultproperties
{ safeDistanceMult=0.500000 explRangeMult=1.000000 falloffMult=0.500000 SkillName="Volatile" SkillEffects="Safe range for your explosives is halved and explosion damage experiences smaller fall off."
}

View file

@ -0,0 +1,5 @@
class NiceSkillDemoZEDDuckAndCover extends NiceSkill
abstract;
defaultproperties
{ SkillName="Duck and cover" SkillEffects="During zed time you can't deal yourself any damage."
}

View file

@ -0,0 +1,6 @@
class NiceSkillDemoZEDFullBlast extends NiceSkill
abstract;
var float explRadiusMult;
defaultproperties
{ explRadiusMult=1.350000 SkillName="Full blast" SkillEffects="During zed time your explosions have 35% larger radius and their damage doesn't suffer from a fall off."
}