Merge branch 'localization'

This commit is contained in:
GenZmeY 2020-09-07 13:21:58 +03:00
commit dfc89b288b
120 changed files with 770 additions and 461 deletions

Binary file not shown.

Binary file not shown.

View File

@ -10,7 +10,7 @@ function InitMenu()
for( i=0; i<Pages.Length; ++i )
{
PageSwitcher.AddPage(Pages[i].PageClass,Pages[i].Caption,Pages[i].Hint,B).InitMenu();
PageSwitcher.AddPage(Pages[i],B).InitMenu();
}
}
@ -49,11 +49,10 @@ function UserPressedEsc();
defaultproperties
{
WindowTitle=""
XPosition=0.01
XSize=0.73
YSize=0.73
Pages.Empty
Pages.Add((PageClass=Class'UIP_PerkSelectionLobby',Caption="Perk",Hint="Select and upgrade your perks"))
Pages.Add(Class'UIP_PerkSelectionLobby')
}

View File

@ -10,7 +10,7 @@ var array<FWebAdminConfigInfo> WebConfigs;
var ExtPerkManager PerkManager;
var Controller PlayerOwner;
var() string PerkName;
var() localized string PerkName;
var() Texture2D PerkIcon;
var() class<KFPerk> BasePerk; // KF perk that this perk is based on.
var() class<KFWeapon> PrimaryMelee,PrimaryWeapon;
@ -64,7 +64,6 @@ struct FDefPerkStat
var int MaxValue,CostPerValue;
var float Progress;
var name StatType;
var string UIName;
var bool bHiddenConfig; // Hide this config by default.
};
var() array<FDefPerkStat> DefPerkStats;
@ -89,6 +88,57 @@ var() array<float> EnemyDistDraw;
var bool bOwnerNetClient,bClientAuthorized,bPerkNetReady,bHasNightVision,bCanBeGrabbed,bExplosiveWeld,bExplodeOnContact,bNapalmFire,bFireExplode,bToxicDart,bTacticalReload,bHeavyArmor,bHasSWATEnforcer;
var localized string StatSpeed;
var localized string StatDamage;
var localized string StatRecoil;
var localized string StatSpread;
var localized string StatRate;
var localized string StatReload;
var localized string StatHealth;
var localized string StatKnockDown;
var localized string StatWelder;
var localized string StatHeal;
var localized string StatMag;
var localized string StatSpare;
var localized string StatOffDamage;
var localized string StatSelfDamage;
var localized string StatArmor;
var localized string StatPoisonDmg;
var localized string StatSonicDmg;
var localized string StatFireDmg;
var localized string StatAllDmg;
var localized string StatHeadDamage;
var localized string StatHealRecharge;
function string UIName(FDefPerkStat DefPerkStat)
{
switch( DefPerkStat.StatType )
{
case name("Speed"): return StatSpeed;
case name("Damage"): return StatDamage;
case name("Recoil"): return StatRecoil;
case name("Spread"): return StatSpread;
case name("Rate"): return StatRate;
case name("Reload"): return StatReload;
case name("Health"): return StatHealth;
case name("KnockDown"): return StatKnockDown;
case name("Welder"): return StatWelder;
case name("Heal"): return StatHeal;
case name("Mag"): return StatMag;
case name("Spare"): return StatSpare;
case name("OffDamage"): return StatOffDamage;
case name("SelfDamage"): return StatSelfDamage;
case name("Armor"): return StatArmor;
case name("PoisonDmg"): return StatPoisonDmg;
case name("SonicDmg"): return StatSonicDmg;
case name("FireDmg"): return StatFireDmg;
case name("AllDmg"): return StatAllDmg;
case name("HeadDamage"): return StatHeadDamage;
case name("HealRecharge"): return StatHealRecharge;
}
return "";
}
replication
{
// Things the server should send to the client.
@ -152,13 +202,13 @@ simulated function PostBeginPlay()
{
i = DefPerkStats.Find('StatType',PerkStats[j].StatType);
if( i>=0 )
PerkStats[j].UIName = DefPerkStats[i].UIName;
PerkStats[j].UIName = UIName(DefPerkStats[i]);
else
{
// Fallback to parent perk for trying to find name.
i = Class'Ext_PerkBase'.Default.DefPerkStats.Find('StatType',PerkStats[j].StatType);
if( i>=0 )
PerkStats[j].UIName = Class'Ext_PerkBase'.Default.DefPerkStats[i].UIName;
PerkStats[j].UIName = UIName(Class'Ext_PerkBase'.Default.DefPerkStats[i]);
else PerkStats[j].UIName = string(PerkStats[j].StatType); // Fallback to stat name then...
}
}
@ -231,13 +281,13 @@ reliable client simulated function ClientReceiveStat( int Index, int MaxValue, i
}
i = DefPerkStats.Find('StatType',Type);
if( i>=0 )
PerkStats[Index].UIName = DefPerkStats[i].UIName;
PerkStats[Index].UIName = UIName(DefPerkStats[i]);
else
{
// Fallback to parent perk for trying to find name.
i = Class'Ext_PerkBase'.Default.DefPerkStats.Find('StatType',Type);
if( i>=0 )
PerkStats[Index].UIName = Class'Ext_PerkBase'.Default.DefPerkStats[i].UIName;
PerkStats[Index].UIName = UIName(Class'Ext_PerkBase'.Default.DefPerkStats[i]);
else PerkStats[Index].UIName = string(Type); // Fallback to stat name then...
}
}
@ -1447,27 +1497,28 @@ defaultproperties
WebConfigs.Add((PropType=0,PropName="PrestigeXPReduce",UIName="Prestige XP Reduce",UIDesc="Percent amount of XP cost is reduced for each prestige (1.0 = 1/2, or 50 % of XP)"))
// WebConfigs.Add((PropType=0,PropName="MinimalDataLevel",UIName="Minimal Real Level",UIDesc="Minimal level for new players or who loads from saves"))
DefPerkStats(0)=(MaxValue=50,CostPerValue=1,StatType="Speed",UIName="Movement Speed (+&%)",Progress=0.4)
DefPerkStats(1)=(MaxValue=1000,CostPerValue=1,StatType="Damage",UIName="Perk Damage (+&%)",Progress=0.5)
DefPerkStats(2)=(MaxValue=90,CostPerValue=1,StatType="Recoil",UIName="Fire Recoil Reduce (+&%)",Progress=1)
DefPerkStats(3)=(MaxValue=80,CostPerValue=1,StatType="Spread",UIName="Fire Spread Reduce (+&%)",Progress=0.75)
DefPerkStats(4)=(MaxValue=1000,CostPerValue=1,StatType="Rate",UIName="Perk Rate of Fire (+&%)",Progress=0.5)
DefPerkStats(5)=(MaxValue=1000,CostPerValue=1,StatType="Reload",UIName="Perk Reload Time (-&%)",Progress=0.5)
DefPerkStats(6)=(MaxValue=150,CostPerValue=1,StatType="Health",UIName="Health (+&HP)",Progress=1)
DefPerkStats(7)=(MaxValue=100,CostPerValue=1,StatType="KnockDown",UIName="Knockback (+&%)",Progress=1)
DefPerkStats(8)=(MaxValue=200,CostPerValue=1,StatType="Welder",UIName="Welding Rate (+&%)",bHiddenConfig=true,Progress=0.5)
DefPerkStats(9)=(MaxValue=400,CostPerValue=1,StatType="Heal",UIName="Heal Efficiency (+&%)",bHiddenConfig=true,Progress=0.5)
DefPerkStats(10)=(MaxValue=400,CostPerValue=1,StatType="Mag",UIName="Magazine Capacity (+&%)",Progress=1)
DefPerkStats(11)=(MaxValue=500,CostPerValue=1,StatType="Spare",UIName="Max Ammo (+&%)",Progress=1)
DefPerkStats(12)=(MaxValue=1000,CostPerValue=1,StatType="OffDamage",UIName="Off-Perk Damage (+&%)",Progress=0.25)
DefPerkStats(13)=(MaxValue=1000,CostPerValue=1,StatType="SelfDamage",UIName="Self Damage Reduction (+&%)",Progress=1,bHiddenConfig=true)
DefPerkStats(14)=(MaxValue=150,CostPerValue=1,StatType="Armor",UIName="Armor (+&)",Progress=1)
DefPerkStats(15)=(MaxValue=1000,CostPerValue=1,StatType="PoisonDmg",UIName="Toxic Resistance (+&%)",Progress=1.5,bHiddenConfig=true)
DefPerkStats(16)=(MaxValue=1000,CostPerValue=1,StatType="SonicDmg",UIName="Sonic Resistance (+&%)",Progress=1.5,bHiddenConfig=true)
DefPerkStats(17)=(MaxValue=1000,CostPerValue=1,StatType="FireDmg",UIName="Fire Resistance (+&%)",Progress=1.5,bHiddenConfig=true)
DefPerkStats(18)=(MaxValue=500,CostPerValue=1,StatType="AllDmg",UIName="Zed Damage Reduction (+&%)",Progress=0.25)
DefPerkStats(19)=(MaxValue=500,CostPerValue=1,StatType="HeadDamage",UIName="Perk Head Damage (+&%)",Progress=1,bHiddenConfig=true)
DefPerkStats(20)=(MaxValue=200,CostPerValue=1,StatType="HealRecharge",UIName="Syringe Recharge Rate (+&%)",Progress=0.5,bHiddenConfig=true)
// TODO: localize
DefPerkStats(0)=(MaxValue=50,CostPerValue=1,StatType="Speed",Progress=0.4)
DefPerkStats(1)=(MaxValue=1000,CostPerValue=1,StatType="Damage",Progress=0.5)
DefPerkStats(2)=(MaxValue=90,CostPerValue=1,StatType="Recoil",Progress=1)
DefPerkStats(3)=(MaxValue=80,CostPerValue=1,StatType="Spread",Progress=0.75)
DefPerkStats(4)=(MaxValue=1000,CostPerValue=1,StatType="Rate",Progress=0.5)
DefPerkStats(5)=(MaxValue=1000,CostPerValue=1,StatType="Reload",Progress=0.5)
DefPerkStats(6)=(MaxValue=150,CostPerValue=1,StatType="Health",Progress=1)
DefPerkStats(7)=(MaxValue=100,CostPerValue=1,StatType="KnockDown",Progress=1)
DefPerkStats(8)=(MaxValue=200,CostPerValue=1,StatType="Welder",bHiddenConfig=true,Progress=0.5)
DefPerkStats(9)=(MaxValue=400,CostPerValue=1,StatType="Heal",bHiddenConfig=true,Progress=0.5)
DefPerkStats(10)=(MaxValue=400,CostPerValue=1,StatType="Mag",Progress=1)
DefPerkStats(11)=(MaxValue=500,CostPerValue=1,StatType="Spare",Progress=1)
DefPerkStats(12)=(MaxValue=1000,CostPerValue=1,StatType="OffDamage",Progress=0.25)
DefPerkStats(13)=(MaxValue=1000,CostPerValue=1,StatType="SelfDamage",Progress=1,bHiddenConfig=true)
DefPerkStats(14)=(MaxValue=150,CostPerValue=1,StatType="Armor",Progress=1)
DefPerkStats(15)=(MaxValue=1000,CostPerValue=1,StatType="PoisonDmg",Progress=1.5,bHiddenConfig=true)
DefPerkStats(16)=(MaxValue=1000,CostPerValue=1,StatType="SonicDmg",Progress=1.5,bHiddenConfig=true)
DefPerkStats(17)=(MaxValue=1000,CostPerValue=1,StatType="FireDmg",Progress=1.5,bHiddenConfig=true)
DefPerkStats(18)=(MaxValue=500,CostPerValue=1,StatType="AllDmg",Progress=0.25)
DefPerkStats(19)=(MaxValue=500,CostPerValue=1,StatType="HeadDamage",Progress=1,bHiddenConfig=true)
DefPerkStats(20)=(MaxValue=200,CostPerValue=1,StatType="HealRecharge",Progress=0.5,bHiddenConfig=true)
Modifiers.Add(1.f)
Modifiers.Add(1.f)

View File

@ -33,7 +33,6 @@ function PlayerKilled( KFPawn_Monster Victim, class<DamageType> DT )
defaultproperties
{
PerkName="Berserker"
PerkIcon=Texture2D'UI_PerkIcons_TEX.UI_PerkIcon_Berserker'
DefTraitList.Add(class'Ext_TraitWPBers')
DefTraitList.Add(class'Ext_TraitUnGrab')

View File

@ -52,7 +52,6 @@ simulated function float GetZedTimeExtensions( byte Level )
defaultproperties
{
PerkName="Commando"
PerkIcon=Texture2D'UI_PerkIcons_TEX.UI_PerkIcon_Commando'
DefTraitList.Add(class'Ext_TraitWPComm')
DefTraitList.Add(class'Ext_TraitUnCloak')

View File

@ -75,7 +75,6 @@ simulated function ModifySpareAmmoAmount( KFWeapon KFW, out int PrimarySpareAmmo
defaultproperties
{
PerkName="Demolitionist"
PerkIcon=Texture2D'UI_PerkIcons_TEX.UI_PerkIcon_Demolition'
DefTraitList.Add(class'Ext_TraitWPDemo')
DefTraitList.Add(class'Ext_TraitBoomWeld')

View File

@ -179,7 +179,6 @@ simulated function float GetSelfHealingSurgePct()
defaultproperties
{
PerkName="Field Medic"
PerkIcon=Texture2D'UI_PerkIcons_TEX.UI_PerkIcon_Medic'
DefTraitList.Remove(class'Ext_TraitMedicPistol')
DefTraitList.Add(class'Ext_TraitAirborne')

View File

@ -2,7 +2,6 @@ Class Ext_PerkFirebug extends Ext_PerkBase;
defaultproperties
{
PerkName="Firebug"
PerkIcon=Texture2D'UI_PerkIcons_TEX.UI_PerkIcon_Firebug'
DefTraitList.Add(class'Ext_TraitWPFire')
DefTraitList.Add(class'Ext_TraitNapalm')

View File

@ -35,7 +35,6 @@ simulated function float GetZedTimeModifier( KFWeapon W )
defaultproperties
{
PerkName="Gunslinger"
DefTraitList.Add(class'Ext_TraitWPGuns')
DefTraitList.Add(class'Ext_TraitUberAmmo')
DefTraitList.Add(class'Ext_TraitFanfire')

View File

@ -30,7 +30,6 @@ simulated function float GetZedTimeModifier( KFWeapon W )
defaultproperties
{
PerkName="SWAT"
PerkIcon=Texture2D'UI_PerkIcons_TEX.UI_PerkIcon_SWAT'
DefTraitList.Add(class'Ext_TraitWPSWAT')
DefTraitList.Add(class'Ext_TraitHeavyArmor')

View File

@ -25,7 +25,6 @@ function float GetStunPowerModifier( optional class<DamageType> DamageType, opti
defaultproperties
{
PerkName="Sharpshooter"
PerkIcon=Texture2D'UI_PerkIcons_TEX.UI_PerkIcon_Sharpshooter'
DefTraitList.Add(class'Ext_TraitWPSharp')
DefTraitList.Add(class'Ext_TraitRanger')

View File

@ -39,7 +39,6 @@ simulated function bool IsPerforateActive()
defaultproperties
{
PerkName="Support"
PerkIcon=Texture2D'UI_PerkIcons_TEX.UI_PerkIcon_Support'
DefTraitList.Add(class'Ext_TraitGrenadeSUpg')
DefTraitList.Add(class'Ext_TraitWPSupp')

View File

@ -2,7 +2,6 @@ Class Ext_PerkSurvivalist extends Ext_PerkBase;
defaultproperties
{
PerkName="Survivalist"
PerkIcon=Texture2D'UI_PerkIcons_TEX.UI_PerkIcon_Survivalist'
DefTraitList.Add(class'Ext_TraitWPSurv')
//DefTraitList.Add(class'Ext_TraitHeavyArmor')

View File

@ -2,7 +2,7 @@
Class Ext_TGroupBase extends Object
abstract;
var() string GroupInfo;
var() localized string GroupInfo;
var() bool bLimitToOne; // Limit to only one trait for this group.
static function string GetUIInfo( Ext_PerkBase Perk )
@ -30,5 +30,4 @@ static function bool GroupLimited( Ext_PerkBase Perk, class<Ext_TraitBase> Trait
defaultproperties
{
GroupInfo="Group"
}

View File

@ -2,5 +2,4 @@ class Ext_TGroupMonster extends Ext_TGroupBase;
defaultproperties
{
GroupInfo="Monster"
}

View File

@ -30,5 +30,4 @@ static final function byte GetMaxLimit( Ext_PerkBase Perk )
defaultproperties
{
GroupInfo="Regeneration"
}

View File

@ -2,5 +2,4 @@ class Ext_TGroupZEDTime extends Ext_TGroupBase;
defaultproperties
{
GroupInfo="ZED Time"
}

View File

@ -59,5 +59,4 @@ simulated final function NotifyOwner()
defaultproperties
{
bBot=true
MonsterName="Petty"
}

View File

@ -23,12 +23,10 @@ static function TraitDeActivate( Ext_PerkBase Perk, byte Level, optional Ext_Tra
defaultproperties
{
SupportedPerk=class'Ext_PerkSupport'
TraitName="Armor Piercing Rounds"
NumLevels=4
DefLevelCosts(0)=15
DefLevelCosts(1)=30
DefLevelCosts(2)=40
DefLevelCosts(3)=50
DefMinLevel=15
Description="Greatly increases penetration with perk weapons! The penetration strength is increased by every level in:|Lv1-4: 25%, 30%, 35%, 40%"
}

View File

@ -12,8 +12,6 @@ static function TraitDeActivate( Ext_PerkBase Perk, byte Level, optional Ext_Tra
defaultproperties
{
SupportedPerk=class'Ext_PerkFieldMedic'
TraitName="Acidic Compound"
DefLevelCosts(0)=15
DefMinLevel=5
Description="When activated medic weapons have a chance to poison zeds."
}

View File

@ -15,7 +15,6 @@ static function TraitDeActivate( Ext_PerkBase Perk, byte Level, optional Ext_Tra
defaultproperties
{
SupportedPerk=class'Ext_PerkFieldMedic'
TraitName="Airborne Agent"
DefLevelCosts(0)=20
DefLevelCosts(1)=10
DefLevelCosts(2)=10
@ -26,5 +25,4 @@ defaultproperties
HealRates(3)=0.15
NumLevels=4
DefMinLevel=50
Description="Give extra health boost and area of heal effect for medic darts during ZED-time,|each level gives extra amount of heal boost at a rate of:|Lv 1-3: +5%, +10%, +20%|Lv 4: +15%, but works outside of ZED-time too!"
}

View File

@ -42,9 +42,7 @@ defaultproperties
{
SupportedPerk=class'Ext_PerkFieldMedic'
TraitGroup=class'Ext_TGroupZEDTime'
TraitName="ZED TIME - Airborne Agent"
NumLevels=1
DefLevelCosts(0)=60
DefMinLevel=75
Description="You release a healing gas during Zed time, healing teammates close by. ||-REQUIREMENT: Grenade Upgrade trait needs to be level 1!"
}

View File

@ -21,12 +21,10 @@ static function CancelEffectOn( KFPawn_Human Player, Ext_PerkBase Perk, byte Lev
defaultproperties
{
TraitGroup=class'Ext_TGroupRegen'
TraitName="Ammo Regeneration"
NumLevels=3
DefLevelCosts(0)=10
DefLevelCosts(1)=20
DefLevelCosts(2)=40
Description="With this trait all your weapons ammo (not grenades) will regen every half minute at rate of:|Lvl1-3: 2%, 5%, 10% of max ammo"
RegenValues.Add(0.02)
RegenValues.Add(0.05)
RegenValues.Add(0.1)

View File

@ -18,8 +18,6 @@ static function CancelEffectOn( KFPawn_Human Player, Ext_PerkBase Perk, byte Lev
defaultproperties
{
TraitName="Armor Regeneration"
Description="With this trait your armor will regen every 10 seconds at a rate of:|Lvl1-3: +7pts, +12pts, +25pts"
RegenValues.Empty()
RegenValues.Add(7)
RegenValues.Add(12)

View File

@ -12,12 +12,10 @@ static function TraitDeActivate( Ext_PerkBase Perk, byte Level, optional Ext_Tra
defaultproperties
{
SupportedPerk=class'Ext_PerkFieldMedic'
TraitName="Armor Repair"
NumLevels=5
DefLevelCosts(0)=10
DefLevelCosts(1)=15
DefLevelCosts(2)=20
DefLevelCosts(3)=25
DefLevelCosts(4)=35
Description="With this trait you will repair armor as you heal, for each level will repair armor with a rate of:|Lv1-5: +5%, +10%, +15%, +20%, +25%"
}

View File

@ -17,7 +17,5 @@ static function CancelEffectOn( KFPawn_Human Player, Ext_PerkBase Perk, byte Lev
defaultproperties
{
TraitName="Auto-Fire weapons"
DefLevelCosts(0)=50
Description="Make all perked weapons fully automatic."
}

View File

@ -6,7 +6,7 @@ Class Ext_TraitBase extends Object
var array<FWebAdminConfigInfo> WebConfigs;
var() class<Ext_TGroupBase> TraitGroup; // With groups you can prevent player from buying multiple traits of same group.
var() string TraitName,Description; // UI name.
var() localized string TraitName,Description; // UI name.
var() byte NumLevels; // Maximum number of levels.
var config array<int> LevelCosts;
var() array<int> DefLevelCosts; // Point price tag for each level.

View File

@ -12,7 +12,5 @@ static function TraitDeActivate( Ext_PerkBase Perk, byte Level, optional Ext_Tra
defaultproperties
{
TraitName="Explosive Weld"
DefLevelCosts(0)=30
Description="Cases welded doors explode when broken by zeds. The more you weld one door, the bigger explosion."
}

View File

@ -13,8 +13,6 @@ static function CancelEffectOn( KFPawn_Human Player, Ext_PerkBase Perk, byte Lev
defaultproperties
{
TraitName="Bunny Hop"
DefLevelCosts(0)=50
DefMinLevel=100
Description="Enable player to do bunny hopping. It means the more you continiously make successful jumps while moving forward you will keep accelerating in speed."
}

View File

@ -21,14 +21,12 @@ static function CancelEffectOn( KFPawn_Human Player, Ext_PerkBase Perk, byte Lev
defaultproperties
{
TraitName="Carry Capacity"
NumLevels=5
DefLevelCosts(0)=10
DefLevelCosts(1)=15
DefLevelCosts(2)=20
DefLevelCosts(3)=25
DefLevelCosts(4)=50
Description="With this trait you can carry more.|Lv1-5: +2,+4,+6,+8,+15 slots"
CarryAdds.Add(2)
CarryAdds.Add(4)
CarryAdds.Add(6)

View File

@ -11,7 +11,5 @@ static function TraitDeActivate( Ext_PerkBase Perk, byte Level, optional Ext_Tra
defaultproperties
{
TraitName="Explode on Contact"
DefLevelCosts(0)=25
Description="Make dynamites explode on contact with the ZED."
}

View File

@ -13,12 +13,10 @@ static function CancelEffectOn( KFPawn_Human Player, Ext_PerkBase Perk, byte Lev
defaultproperties
{
SupportedPerk=class'Ext_PerkDemolition'
TraitName="Area Of Damage"
NumLevels=4
DefLevelCosts(0)=25
DefLevelCosts(1)=15
DefLevelCosts(2)=30
DefLevelCosts(3)=40
DefMinLevel=15
Description="Increases the AOE of your demo weapons. The distance is increased by every level in:|Lv1-4: 15%, 20%, 25%, 30%"
}

View File

@ -12,8 +12,6 @@ static function TraitDeActivate( Ext_PerkBase Perk, byte Level, optional Ext_Tra
defaultproperties
{
SupportedPerk=class'Ext_PerkDemolition'
TraitName="Armor Piercing Rounds"
DefLevelCosts(0)=100
DefMinLevel=50
Description="Demo weapons will do 50% more damage when hitting a critical point!"
}

View File

@ -12,8 +12,6 @@ static function TraitDeActivate( Ext_PerkBase Perk, byte Level, optional Ext_Tra
defaultproperties
{
SupportedPerk=class'Ext_PerkDemolition'
TraitName="High Impact"
DefLevelCosts(0)=65
DefMinLevel=35
Description="Demo weapons will do 25% more damage on a direct hit!"
}

View File

@ -54,12 +54,10 @@ defaultproperties
{
SupportedPerk=class'Ext_PerkDemolition'
TraitGroup=class'Ext_TGroupZEDTime'
TraitName="ZED Time - Nuke"
NumLevels=4
DefLevelCosts(0)=100
DefLevelCosts(1)=150
DefLevelCosts(2)=200
DefLevelCosts(3)=250
DefMinLevel=100
Description="Demo weapons will spawn a nuke during ZED time. |Each level increases the damage & time of the nuke field. ||-REQUIREMENT: Damage bonus trait needs to have at least 30 points!"
}

View File

@ -39,8 +39,6 @@ static function TraitDeActivate( Ext_PerkBase Perk, byte Level, optional Ext_Tra
defaultproperties
{
SupportedPerk=class'Ext_PerkDemolition'
TraitName="Demolitions Specialist"
DefLevelCosts(0)=100
DefMinLevel=100
Description="Projectiles from demo weapons will never be duds. ||-REQUIREMENT: Reload bonus trait needs to have at least 30 points!"
}

View File

@ -12,8 +12,6 @@ static function TraitDeActivate( Ext_PerkBase Perk, byte Level, optional Ext_Tra
defaultproperties
{
SupportedPerk=class'Ext_PerkDemolition'
TraitName="Reactive Armor"
DefLevelCosts(0)=25
DefMinLevel=45
Description="When near death you will explode and leave yourself with 5 health"
}

View File

@ -12,7 +12,5 @@ static function TraitDeActivate( Ext_PerkBase Perk, byte Level, optional Ext_Tra
defaultproperties
{
SupportedPerk=class'Ext_PerkSharpshooter'
TraitName="Dire reloader"
DefLevelCosts(0)=35
Description="This trait will make you reload much faster when you have less then 40 health."
}

View File

@ -13,9 +13,7 @@ static function TraitDeActivate( Ext_PerkBase Perk, byte Level, optional Ext_Tra
defaultproperties
{
SupportedPerk=class'Ext_PerkSupport'
TraitName="Door Repair"
NumLevels=1
DefLevelCosts(0)=30
DefMinLevel=25
Description="Allows you to repair doors using the welder."
}

View File

@ -15,13 +15,11 @@ static function CancelEffectOn( KFPawn_Human Player, Ext_PerkBase Perk, byte Lev
defaultproperties
{
TraitName="Duracell Batteries"
NumLevels=4
DefLevelCosts(0)=5
DefLevelCosts(1)=10
DefLevelCosts(2)=20
DefLevelCosts(3)=25
Description="With this trait your flashlight batteries becomes extra durable.|Lv1-4: +30,+100,+300,+1000% lifetime"
BatteryCharges.Add(0.77)
BatteryCharges.Add(0.5)
BatteryCharges.Add(0.333)

View File

@ -11,8 +11,6 @@ static function CancelEffectOn( KFPawn_Human Player, Ext_PerkBase Perk, byte Lev
defaultproperties
{
TraitName="Tactical Reload"
DefLevelCosts(0)=50
Description="With this trait you will have extra speedy tactical reload moves for your perked weapons."
DefMinLevel=50
}

View File

@ -11,11 +11,9 @@ static function TraitDeActivate( Ext_PerkBase Perk, byte Level, optional Ext_Tra
defaultproperties
{
TraitName="Enemy Health Bar"
NumLevels=4
DefLevelCosts(0)=25
DefLevelCosts(1)=15
DefLevelCosts(2)=20
DefLevelCosts(3)=30
Description="This trait lets you see enemy health bars. The distance is increased by every level in:|Lv1-4: 5m, 7m, 10m, 16m"
}

View File

@ -13,7 +13,5 @@ defaultproperties
{
SupportedPerk=class'Ext_PerkGunslinger'
TraitGroup=class'Ext_TGroupZEDTime'
TraitName="ZED TIME - Fanfire"
DefLevelCosts(0)=30
Description="Make perked weapons fire at normal firerate during ZED-time."
}

View File

@ -11,7 +11,5 @@ static function TraitDeActivate( Ext_PerkBase Perk, byte Level, optional Ext_Tra
defaultproperties
{
TraitName="Fire Explosion"
DefLevelCosts(0)=50
Description="Make zombies sometimes explode when burned to death."
}

View File

@ -11,7 +11,5 @@ static function TraitDeActivate( Ext_PerkBase Perk, byte Level, optional Ext_Tra
defaultproperties
{
TraitName="Extra Fire Range"
DefLevelCosts(0)=35
Description="Add some additional fire range to flamethrowers."
}

View File

@ -26,9 +26,7 @@ defaultproperties
bHighPriorityDeath=true
NumLevels=2
TraitData=class'Ext_T_GhostHelper'
TraitName="Redemption"
DefLevelCosts(0)=30
DefLevelCosts(1)=30
DefMinLevel=30
Description="With this trait you will turn into ghost when you die and redeem at another spot in the map.|Level 1: Works 50 % of the time, but never again until you respawned after death.|Level 2: Always works, and it lets you redeem again after 3 minutes"
}

View File

@ -14,13 +14,11 @@ static function TraitDeActivate( Ext_PerkBase Perk, byte Level, optional Ext_Tra
defaultproperties
{
TraitName="Grenade Capacity"
DefLevelCosts(0)=40
DefLevelCosts(1)=55
DefLevelCosts(2)=70
DefLevelCosts(3)=90
DefLevelCosts(4)=150
Description="With this trait you can carry more grenades.|Lv1-5: +1,+2,+3,+5,+8 grenades"
CarryAdds(0)=1
CarryAdds(1)=2
CarryAdds(2)=3

View File

@ -12,8 +12,6 @@ static function TraitDeActivate( Ext_PerkBase Perk, byte Level, optional Ext_Tra
defaultproperties
{
TraitName="Grenade Upgrade"
DefLevelCosts(0)=50
Description="With this upgrade you will upgrade to your perk specific grenades.|Level 1: SUPER grenade"
DefMinLevel=50
}

View File

@ -20,9 +20,7 @@ static function TraitDeActivate( Ext_PerkBase Perk, byte Level, optional Ext_Tra
defaultproperties
{
TraitName="Grenade Upgrade"
NumLevels=2
DefLevelCosts(0)=5
DefLevelCosts(1)=50
Description="With this upgrade you will upgrade to your perk specific grenades.|Level 1: Normal perk grenade|Level 2: Perk SUPER grenade (REQUIRES perk level 50 to buy)!"
}

View File

@ -21,12 +21,10 @@ static function CancelEffectOn( KFPawn_Human Player, Ext_PerkBase Perk, byte Lev
defaultproperties
{
TraitGroup=class'Ext_TGroupRegen'
TraitName="Health Regeneration"
NumLevels=3
DefLevelCosts(0)=10
DefLevelCosts(1)=20
DefLevelCosts(2)=40
Description="With this trait your health will regen every 10 seconds at a rate of:|Lvl1-3: +5HP, +10HP, +20HP"
RegenValues.Add(5)
RegenValues.Add(10)
RegenValues.Add(20)

View File

@ -19,11 +19,9 @@ static function ApplyEffectOn( KFPawn_Human Player, Ext_PerkBase Perk, byte Leve
defaultproperties
{
TraitName="Heavy Armor"
NumLevels=3
DefLevelCosts(0)=50
DefLevelCosts(1)=20
DefLevelCosts(2)=60
DefMinLevel=50
Description="Makes your armor stop all damage (except for Siren scream and fall damage).|Level 2 makes you in addition spawn with 50 points of armor.|Level 3 makes you spawn with full armor."
}

View File

@ -13,14 +13,12 @@ static function CancelEffectOn( KFPawn_Human Player, Ext_PerkBase Perk, byte Lev
defaultproperties
{
TraitName="Knockback Resistance"
NumLevels=4
DefLevelCosts(0)=30
DefLevelCosts(1)=30
DefLevelCosts(2)=40
DefLevelCosts(3)=60
DefMinLevel=70
Description="Reduce the amount of knockback zeds do to you in a rate of:|Lvl1-4: -20%, -50%, -70%, -90%"
ChanceValues(0)=0.8
ChanceValues(1)=0.5

View File

@ -31,9 +31,7 @@ defaultproperties
{
SupportedPerk=class'Ext_PerkCommando'
TraitGroup=class'Ext_TGroupZEDTime'
TraitName="ZED TIME - Machine Gunner"
NumLevels=1
DefLevelCosts(0)=60
DefMinLevel=55
Description="During Zed time, you do 3% more damage with perks weapons and shoot 3x faster with all guns!"
}

View File

@ -23,7 +23,6 @@ static function TraitDeActivate( Ext_PerkBase Perk, byte Level, optional Ext_Tra
defaultproperties
{
SupportedPerk=class'Ext_PerkFieldMedic'
TraitName="Adrenaline Shot"
NumLevels=5
DefLevelCosts(0)=35
DefLevelCosts(1)=10
@ -31,5 +30,4 @@ defaultproperties
DefLevelCosts(3)=30
DefLevelCosts(4)=40
DefMinLevel=25
Description="Healing players will increase there speed 10% up to 30%. The percent is increased by every level in:|Lv1-5: 10%, 15%, 20%, 25%, 30%"
}

View File

@ -23,11 +23,9 @@ static function TraitDeActivate( Ext_PerkBase Perk, byte Level, optional Ext_Tra
defaultproperties
{
SupportedPerk=class'Ext_PerkFieldMedic'
TraitName="Focus Injection"
NumLevels=3
DefLevelCosts(0)=40
DefLevelCosts(1)=50
DefLevelCosts(2)=60
DefMinLevel=85
Description="Healing players will increase there damage up to 15%. The percent is increased by every level in:|Lv1-3: 5%, 10%, 15%"
}

View File

@ -23,7 +23,6 @@ static function TraitDeActivate( Ext_PerkBase Perk, byte Level, optional Ext_Tra
defaultproperties
{
SupportedPerk=class'Ext_PerkFieldMedic'
TraitName="Coagulant Booster"
NumLevels=5
DefLevelCosts(0)=35
DefLevelCosts(1)=10
@ -31,5 +30,4 @@ defaultproperties
DefLevelCosts(3)=30
DefLevelCosts(4)=40
DefMinLevel=100
Description="Healing players will increase there damage resistance up to 30%. The percent is increased by every level in:|Lv1-5: 10%, 15%, 20%, 25%, 30%"
}

View File

@ -26,7 +26,5 @@ static function ApplyEffectOn( KFPawn_Human Player, Ext_PerkBase Perk, byte Leve
defaultproperties
{
TraitName="Medic Pistol"
DefLevelCosts(0)=20
Description="Spawn with a medic pistol instead of standard 9mm."
}

View File

@ -11,7 +11,5 @@ static function TraitDeActivate( Ext_PerkBase Perk, byte Level, optional Ext_Tra
defaultproperties
{
TraitName="Napalm"
DefLevelCosts(0)=35
Description="Make zombies lit each other on fire."
}

View File

@ -11,8 +11,6 @@ static function TraitDeActivate( Ext_PerkBase Perk, byte Level, optional Ext_Tra
defaultproperties
{
TraitName="Nightvision"
NumLevels=1
DefLevelCosts(0)=25
Description="Spawn with nightvision goggles."
}

View File

@ -43,9 +43,7 @@ defaultproperties
{
SupportedPerk=class'Ext_PerkSupport'
TraitGroup=class'Ext_TGroupZEDTime'
TraitName="ZED TIME - Penetrator"
NumLevels=1
DefLevelCosts(0)=50
DefMinLevel=65
Description="During Zed time, your perk weapons penetrate through any targets they hit! ||-REQUIREMENT: Armor Piercing Shots trait needs to be level 1!"
}

View File

@ -14,7 +14,6 @@ static function TraitDeActivate( Ext_PerkBase Perk, byte Level, optional Ext_Tra
defaultproperties
{
SupportedPerk=class'Ext_PerkRhythmPerkBase'
TraitName="Rack 'em up"
DefLevelCosts(0)=10
DefLevelCosts(1)=15
DefLevelCosts(2)=20
@ -26,5 +25,4 @@ defaultproperties
ComboSize.Add(16)
ComboSize.Add(28)
NumLevels=5
Description="Deals more damage to each consequtive headshot done to zeds by +7.5%.|For each level you can make a bigger combo and deal more damage in a rate of:|Lv1-5: +30%, +60%, +90%, +120%, +210%"
}

View File

@ -15,13 +15,11 @@ static function CancelEffectOn( KFPawn_Human Player, Ext_PerkBase Perk, byte Lev
defaultproperties
{
TraitName="Knockout Resistance"
NumLevels=3
DefLevelCosts(0)=30
DefLevelCosts(1)=30
DefLevelCosts(2)=40
DefMinLevel=100
Description="Prevent you from being ragdolled. For each level you lower the chance of being knocked out by:|Lvl1-3: 20%, 50%, 80%"
ChanceValues(0)=0.2
ChanceValues(1)=0.5

View File

@ -13,7 +13,5 @@ defaultproperties
{
SupportedPerk=class'Ext_PerkSharpshooter'
TraitGroup=class'Ext_TGroupZEDTime'
TraitName="ZED TIME - Ranger"
DefLevelCosts(0)=40
Description="This will make you effectively stun enemies with headshots during ZED-time."
}

View File

@ -13,7 +13,5 @@ defaultproperties
{
SupportedPerk=class'Ext_PerkSWAT'
TraitGroup=class'Ext_TGroupZEDTime'
TraitName="ZED TIME - Rapid Assault"
DefLevelCosts(0)=30
Description="Gives player unlimited ammunition for perked weapons during ZED-time and allows them to fire in realtime."
}

View File

@ -16,8 +16,6 @@ static function bool PreventDeath( KFPawn_Human Player, Controller Instigator, C
defaultproperties
{
TraitName="Retaliation"
DefLevelCosts(0)=50
DefMinLevel=40
Description="End your life with a BOOM!"
}

View File

@ -21,8 +21,6 @@ static function TraitDeActivate( Ext_PerkBase Perk, byte Level, optional Ext_Tra
defaultproperties
{
TraitName="ZED TIME - SWAT Enforcer"
TraitGroup=class'Ext_TGroupZEDTime'
DefLevelCosts(0)=50
Description="This trait makes you move at normal speed and allows you to knock down zeds by bumping into them during ZED-time."
}

View File

@ -11,8 +11,6 @@ static function TraitDeActivate( Ext_PerkBase Perk, byte Level, optional Ext_Tra
defaultproperties
{
TraitName="Siren Resistance"
DefLevelCosts(0)=50
DefMinLevel=75
Description="Make all your projectiles resistant to siren screams."
DefMinLevel=75
}

View File

@ -19,12 +19,10 @@ defaultproperties
{
SupportedPerk=class'Ext_PerkBerserker'
TraitGroup=class'Ext_TGroupZEDTime'
TraitName="ZED TIME - Spartan!"
NumLevels=3
DefLevelCosts(0)=50
DefLevelCosts(1)=40
DefLevelCosts(2)=80
Description="This trait lets you move at normal speed and attack faster in ZED-time.|Lv1-3: +50,+120,+300% atk speed"
AtkRates.Add(1.5)
AtkRates.Add(2.2)
AtkRates.Add(4.0)

View File

@ -17,9 +17,7 @@ static function PlayerDied( Ext_PerkBase Perk, byte Level, optional Ext_TraitDat
defaultproperties
{
TraitName="Ammunition Supply"
DefLevelCosts(0)=50
Description="With this trait you can supply ammunition for your team mates. For each use you will receive a little bit of XP points."
TraitData=class'Ext_TraitSupplyData'
SupplyIcon=Texture2D'UI_World_TEX.Support_Supplier_HUD'

View File

@ -6,9 +6,6 @@ static function ApplyEffectOn( KFPawn_Human Player, Ext_PerkBase Perk, byte Leve
}
defaultproperties
{
TraitName="Grenade Supply"
Description="With this trait you can supply grenades for your team mates. For each use you will receive a little bit of XP points."
{
SupplyIcon=Texture2D'UI_World_TEX.Demolitionist_Supplier_HUD'
}

View File

@ -12,10 +12,8 @@ static function TraitDeActivate( Ext_PerkBase Perk, byte Level, optional Ext_Tra
defaultproperties
{
SupportedPerk=class'Ext_PerkSWAT'
TraitName="Tactical Movement"
NumLevels=3
DefLevelCosts(0)=30
DefLevelCosts(1)=35
DefLevelCosts(2)=50
Description="This trait makes you move faster while in iron sight and crouched at a rate of:|Lv 1-3: +30%,+50%,+100%"
}

View File

@ -40,9 +40,7 @@ defaultproperties
{
SupportedPerk=class'Ext_PerkCommando'
TraitGroup=class'Ext_TGroupZEDTime'
TraitName="ZED TIME - Tactician"
NumLevels=1
DefLevelCosts(0)=30
DefMinLevel=35
Description="During Zed time, you reload perk weapons at full speed and switch perk weapons twice as fast! ||-REQUIREMENT: Damage bonus trait needs to have at least 30 points!"
}

View File

@ -14,7 +14,6 @@ static function TraitDeActivate( Ext_PerkBase Perk, byte Level, optional Ext_Tra
defaultproperties
{
TraitName="Toxic Darts"
DefLevelCosts(0)=25
DefLevelCosts(1)=25
DefLevelCosts(2)=30
@ -22,5 +21,4 @@ defaultproperties
DartDamages(1)=35
DartDamages(2)=70
NumLevels=3
Description="Make your healing darts poison the ZEDs, the damage is increased in a rate of:|Lv 1-3: +15, +35, +70 dmg"
}

View File

@ -13,7 +13,5 @@ defaultproperties
{
SupportedPerk=class'Ext_PerkGunslinger'
TraitGroup=class'Ext_TGroupZEDTime'
TraitName="ZED TIME - Uber Ammo"
DefLevelCosts(0)=30
Description="Gives player unlimited ammunition for perked weapons during ZED-time."
}

View File

@ -20,14 +20,12 @@ static function CancelEffectOn( KFPawn_Human Player, Ext_PerkBase Perk, byte Lev
defaultproperties
{
TraitName="Cloak Detection"
NumLevels=5
DefLevelCosts(0)=5
DefLevelCosts(1)=7
DefLevelCosts(2)=10
DefLevelCosts(3)=15
DefLevelCosts(4)=25
Description="Detect cloaked stalkers with radius for each level:|Lv1-5: 3m, 5m, 7m, 10m, 15m"
RadiusValues.Add(300)
RadiusValues.Add(500)
RadiusValues.Add(700)

View File

@ -11,7 +11,5 @@ static function TraitDeActivate( Ext_PerkBase Perk, byte Level, optional Ext_Tra
defaultproperties
{
TraitName="Fake Out"
DefLevelCosts(0)=30
Description="With this trait you are ungrabbable by the zeds."
}

View File

@ -14,7 +14,6 @@ static function TraitDeActivate( Ext_PerkBase Perk, byte Level, optional Ext_Tra
defaultproperties
{
SupportedPerk=class'Ext_PerkBerserker'
TraitName="Vampire"
NumLevels=4
DefLevelCosts(0)=25
DefLevelCosts(1)=15
@ -24,5 +23,4 @@ defaultproperties
RegenRate.Add(0.03)
RegenRate.Add(0.04)
RegenRate.Add(0.06)
Description="With this trait you will recover some of your health by every kill (with a melee weapon), in a rate of:|Lv1-4: +2%, +3%, +4%, +6%"
}

View File

@ -1,10 +1,7 @@
Class Ext_TraitWPBers extends Ext_TraitWeapons;
defaultproperties
{
TraitName="Berserker Weapon Loadout"
Description="This will grant you berserker weapon loadout to spawn with.|Level 1: Pulverizer|Level 2: Nailgun|Level 3: Sawblade Gun|Level 4: All 3"
{
LevelEffects(0)=(LoadoutClasses=(class'KFWeap_Blunt_Pulverizer'))
LevelEffects(1)=(LoadoutClasses=(class'KFWeap_Shotgun_Nailgun'))
LevelEffects(2)=(LoadoutClasses=(class'KFWeap_Eviscerator'))

View File

@ -2,9 +2,6 @@ Class Ext_TraitWPComm extends Ext_TraitWeapons;
defaultproperties
{
TraitName="Commando Weapon Loadout"
Description="This will grant you commando weapon loadout to spawn with.|Level 1: Bullpup|Level 2: AK12|Level 3: SCAR|Level 4: All 3"
LevelEffects(0)=(LoadoutClasses=(class'KFWeap_AssaultRifle_Bullpup'))
LevelEffects(1)=(LoadoutClasses=(class'KFWeap_AssaultRifle_AK12'))
LevelEffects(2)=(LoadoutClasses=(class'KFWeap_AssaultRifle_SCAR'))

View File

@ -1,10 +1,7 @@
Class Ext_TraitWPDemo extends Ext_TraitWeapons;
defaultproperties
{
TraitName="Demolitionist Weapon Loadout"
Description="This will grant you demolitionist weapon loadout to spawn with.|Level 1: C4|Level 2: M79 Grenade Launcher|Level 3: RPG Rocket Launcher|Level 4: All 3"
{
LevelEffects(0)=(LoadoutClasses=(class'KFWeap_Thrown_C4'))
LevelEffects(1)=(LoadoutClasses=(class'KFWeap_GrenadeLauncher_M79'))
LevelEffects(2)=(LoadoutClasses=(class'KFWeap_RocketLauncher_RPG7'))

View File

@ -1,10 +1,7 @@
Class Ext_TraitWPFire extends Ext_TraitWeapons;
defaultproperties
{
TraitName="Firebug Weapon Loadout"
Description="This will grant you firebug weapon loadout to spawn with.|Level 1: Dragons Breath|Level 2: Flamethrower|Level 3: Microwave Gun|Level 4: All 3"
{
LevelEffects(0)=(LoadoutClasses=(class'KFWeap_Shotgun_DragonsBreath'))
LevelEffects(1)=(LoadoutClasses=(class'KFWeap_Flame_Flamethrower'))
LevelEffects(2)=(LoadoutClasses=(class'KFWeap_Beam_Microwave'))

View File

@ -2,9 +2,6 @@ Class Ext_TraitWPGuns extends Ext_TraitWeapons;
defaultproperties
{
TraitName="Gunslinger Weapon Loadout"
Description="This will grant you gunslinger weapon loadout to spawn with.|Level 1: M1911 Pistol|Level 2: Desert Eagle|Level 3: Magnum Revolver|Level 4: All 3 with dualies"
LevelEffects(0)=(LoadoutClasses=(class'KFWeap_Pistol_Colt1911'))
LevelEffects(1)=(LoadoutClasses=(class'KFWeap_Pistol_Deagle'))
LevelEffects(2)=(LoadoutClasses=(class'KFWeap_Revolver_SW500'))

View File

@ -2,9 +2,6 @@ Class Ext_TraitWPMedic extends Ext_TraitWeapons;
defaultproperties
{
TraitName="Medic Weapon Loadout"
Description="This will grant you Field Medic weapon loadout to spawn with.|Level 1: SMG|Level 2: Shotgun|Level 3: Assault Rifle|Level 4: All 3"
LevelEffects(0)=(LoadoutClasses=(class'KFWeap_SMG_Medic'))
LevelEffects(1)=(LoadoutClasses=(class'KFWeap_Shotgun_Medic'))
LevelEffects(2)=(LoadoutClasses=(class'KFWeap_AssaultRifle_Medic'))

View File

@ -2,9 +2,6 @@ Class Ext_TraitWPSWAT extends Ext_TraitWeapons;
defaultproperties
{
TraitName="SWAT Weapon Loadout"
Description="This will grant you SWAT weapon loadout to spawn with.|Level 1: MP5 RAS|Level 2: P90|Level 3: Kriss|Level 4: All 3"
LevelEffects(0)=(LoadoutClasses=(class'KFWeap_SMG_MP5RAS'))
LevelEffects(1)=(LoadoutClasses=(class'KFWeap_SMG_P90'))
LevelEffects(2)=(LoadoutClasses=(class'KFWeap_SMG_Kriss'))

View File

@ -2,9 +2,6 @@ Class Ext_TraitWPSharp extends Ext_TraitWeapons;
defaultproperties
{
TraitName="Sharpshooter Weapon Loadout"
Description="This will grant you sharpshooter weapon loadout to spawn with.|Level 1: Crossbow|Level 2: M14 EBR|Level 3: Railgun|Level 4: All 3"
LevelEffects(0)=(LoadoutClasses=(class'KFWeap_Bow_Crossbow'))
LevelEffects(1)=(LoadoutClasses=(class'KFWeap_Rifle_M14EBR'))
LevelEffects(2)=(LoadoutClasses=(class'KFWeap_Rifle_RailGun'))

View File

@ -2,9 +2,6 @@ Class Ext_TraitWPSupp extends Ext_TraitWeapons;
defaultproperties
{
TraitName="Support Weapon Loadout"
Description="This will grant you support weapon loadout to spawn with.|Level 1: M4 Shotgun|Level 2: Boomstick|Level 3: AA12|Level 4: All 3"
LevelEffects(0)=(LoadoutClasses=(class'KFWeap_Shotgun_M4'))
LevelEffects(1)=(LoadoutClasses=(class'KFWeap_Shotgun_DoubleBarrel'))
LevelEffects(2)=(LoadoutClasses=(class'KFWeap_Shotgun_AA12'))

View File

@ -2,9 +2,6 @@ Class Ext_TraitWPSurv extends Ext_TraitWeapons;
defaultproperties
{
TraitName="Survivalist Weapon Loadout"
Description="This will grant you Survivalist weapon loadout to spawn with.|Level 1: Dragons Breath|Level 2: M16M203 Assault Rifle|Level 3: Medic Assault Rifle|Level 4: All 3"
LevelEffects(0)=(LoadoutClasses=(class'KFWeap_Shotgun_DragonsBreath'))
LevelEffects(1)=(LoadoutClasses=(class'KFWeap_AssaultRifle_M16M203'))
LevelEffects(2)=(LoadoutClasses=(class'KFWeap_AssaultRifle_Medic'))

View File

@ -21,8 +21,6 @@ static function CancelEffectOn( KFPawn_Human Player, Ext_PerkBase Perk, byte Lev
defaultproperties
{
NumLevels=5
TraitName="Monster Damage"
Description="This trait will scale how much damage your helper ZED will deal:|Lv1-5: +10%, +25%, +50%, +100%, +200%||-Requires Monster Tongue trait."
DefLevelCosts(0)=10
DefLevelCosts(1)=20
DefLevelCosts(2)=30

View File

@ -22,8 +22,6 @@ defaultproperties
{
NumLevels=5
bPostApplyEffect=true
TraitName="Monster Health"
Description="This trait will scale how much health your helper ZED will have:|Lv1-5: +25%, +50%, +75%, +100%, +200%||-Requires Monster Tongue trait."
DefLevelCosts(0)=5
DefLevelCosts(1)=15
DefLevelCosts(2)=25

View File

@ -161,8 +161,6 @@ defaultproperties
{
bIsSummoner=true
NumLevels=6
TraitName="Monster Tongue"
Description="With this trait you will spawn yourself a helper zed, the higher level of this trait you have, the better zed will spawn.||-REQUIREMENT: Damage bonus trait needs to have at least 30 points!"
DefLevelCosts(0)=20
DefLevelCosts(1)=10
DefLevelCosts(2)=10

View File

@ -57,8 +57,6 @@ defaultproperties
{
bIsSummoner=true
NumLevels=4
TraitName="Monster Tongue Extra"
Description="With this trait you will spawn yourself extra helper zeds.|Lv 1: Spawn one extra weak zed.|Lv 2: Spawn one extra strong zed.|Lv 3: Spawn one weak and one strong zed.|Lv 4: Spawn two strong zeds.||-Requires Monster Tongue trait."
DefLevelCosts(0)=100
DefLevelCosts(1)=40
DefLevelCosts(2)=80

View File

@ -13,7 +13,6 @@ static function CancelEffectOn( KFPawn_Human Player, Ext_PerkBase Perk, byte Lev
defaultproperties
{
SupportedPerk=class'Ext_PerkCommando'
TraitName="ZED Time Extensions"
NumLevels=6
DefLevelCosts(0)=15
DefLevelCosts(1)=25
@ -22,5 +21,4 @@ defaultproperties
DefLevelCosts(4)=55
DefLevelCosts(5)=65
DefMinLevel=15
Description="Adds ZED Time extensions to your perk. The amount of extensions is increased by 1 every level"
}

View File

@ -40,9 +40,7 @@ defaultproperties
{
SupportedPerk=class'Ext_PerkFieldMedic'
TraitGroup=class'Ext_TGroupZEDTime'
TraitName="ZED TIME - Zedative"
NumLevels=1
DefLevelCosts(0)=50
DefMinLevel=65
Description="During Zed time, damaging Zeds with perk weapons will slow them 30% and do massive amounts of poison damage. ||-REQUIREMENT: Healing bonus trait needs to have at least 25 points!"
}

View File

@ -16,6 +16,7 @@ function InitStyle()
for( i=0; i<ArrayCount(LoadedTex); ++i )
if( LoadedTex[i]==None )
LoadedTex[i] = Texture2D'EngineMaterials.DefaultWhiteGrid';
// TODO: SmallFont/TinyFont not support unicode
DrawFonts[0] = Font(DynamicLoadObject("UI_Canvas_Fonts.Font_General",class'Font'));
DrawFonts[1] = Font(DynamicLoadObject("EngineFonts.SmallFont",class'Font'));
DrawFonts[2] = Font(DynamicLoadObject("EngineFonts.TinyFont",class'Font'));
@ -496,11 +497,11 @@ function Font PickFont( byte i, out float Scaler )
switch( i )
{
case 0:
Scaler = 1;
return DrawFonts[2];
Scaler = 0.3;
return DrawFonts[0]; // use unicode font only
case 1:
Scaler = 1;
return DrawFonts[1];
Scaler = 0.35;
return DrawFonts[0]; // use unicode font only
case 2:
Scaler = 0.4;
return DrawFonts[0];

View File

@ -61,7 +61,7 @@ var color BlackBGColor,RedBGColor,HUDTextColor;
var transient array<byte> WasNewlyAdded;
var transient OnlineSubsystem OnlineSub;
var string BadConnectionStr;
var localized string BadConnectionStr;
var transient bool bShowProgress,bProgressDC,bConfirmDisconnect,bMeAdmin,bLoadedInitItems;
@ -1196,6 +1196,4 @@ defaultproperties
HealthBarFullVisDist=350
HealthBarCutoffDist=3500
DamagePopupFadeOutTime=3.000000
BadConnectionStr="Warning: Connection problem!"
}

View File

@ -23,6 +23,9 @@ var() int IDValue; // Integer ID value.
var transient float CompPos[4],InputPos[4];
var float TimerRate,TimerCounter;
var localized string Caption;
var localized string Hint;
var transient KFGUI_Base MouseArea; // Next in recurse line of the mouse pointer focus area.
var() bool bDisabled,bClickable,bCanFocus;

View File

@ -9,11 +9,14 @@ var int NumButtons,CurrentPageNum,PageComponentIndex;
var array<KFGUI_Button> PageButtons;
// Remember to call InitMenu() on the newly created page after.
final function KFGUI_Base AddPage( class<KFGUI_Base> PageClass, string Caption, string Hint, optional out KFGUI_Button Button )
final function KFGUI_Base AddPage( class<KFGUI_Base> PageClass, optional out KFGUI_Button Button )
{
local KFGUI_Base P;
local KFGUI_Base C;
local KFGUI_Button B;
C = new PageClass;
// Add page.
P = new (Self) PageClass;
P.Owner = Owner;
@ -22,8 +25,8 @@ final function KFGUI_Base AddPage( class<KFGUI_Base> PageClass, string Caption,
// Add page switch button.
B = new (Self) class'KFGUI_Button';
B.ButtonText = Caption;
B.ToolTip = Hint;
B.ButtonText = C.Caption;
B.ToolTip = C.Hint;
B.OnClickLeft = PageSwitched;
B.OnClickRight = PageSwitched;
B.IDValue = NumButtons;

View File

@ -2,6 +2,39 @@ Class UIP_About extends KFGUI_MultiComponent;
var const string ForumURL;
var KFGUI_TextField About;
var KFGUI_Button AuthorButton;
var KFGUI_Button Forumbutton;
var localized string AuthorButtonText;
var localized string AuthorButtonTooltip;
var localized string ForumButtonText;
var localized string ForumButtonTooltip;
var localized string MarcoText;
var localized string CreditsText;
var localized string ForrestMarkXText;
var localized string SheepText;
var localized string MysterialText;
var localized string PostText;
var localized string InklesspenText;
var localized string GenzmeyText;
function InitMenu()
{
About = KFGUI_TextField(FindComponentID('About'));
AuthorButton = KFGUI_Button(FindComponentID('Author'));
Forumbutton = KFGUI_Button(FindComponentID('Forum'));
Super.InitMenu();
About.SetText("#{F3E2A9}Server Extension Mod#{DEF} - "$MarcoText$" Marco||"$CreditsText$":|#{01DF3A}Forrest Mark X#{DEF} - "$ForrestMarkXText$"|#{FF00FF}Sheep#{DEF} - "$SheepText$"|inklesspen - "$InklesspenText$"|GenZmeY - "$GenzmeyText$"|Mysterial - "$MysterialText$"|"$PostText);
AuthorButton.ButtonText=AuthorButtonText;
AuthorButton.Tooltip=AuthorButtonTooltip;
Forumbutton.ButtonText=ForumButtonText;
Forumbutton.Tooltip=ForumButtonTooltip;
}
private final function UniqueNetId GetAuthID()
{
local UniqueNetId Res;
@ -9,6 +42,7 @@ private final function UniqueNetId GetAuthID()
class'OnlineSubsystem'.Static.StringToUniqueNetId("0x0110000100E8984E",Res);
return Res;
}
function ButtonClicked( KFGUI_Button Sender )
{
switch( Sender.ID )
@ -24,19 +58,17 @@ function ButtonClicked( KFGUI_Button Sender )
defaultproperties
{
ForumURL="forums.tripwireinteractive.com/showthread.php?t=106926"
ForumURL="https://steamcommunity.com/sharedfiles/filedetails/?id=2085786712"
Begin Object Class=KFGUI_TextField Name=AboutText
ID="About"
XPosition=0.025
YPosition=0.025
XSize=0.95
YSize=0.8
Text="#{F3E2A9}Server Extension Mod#{DEF} - Written by Marco||Credits:|#{01DF3A}Forrest Mark X#{DEF} - Implementation of first person legs and backpack weapon.|#{FF00FF}Sheep#{DEF} - Beta testing.|Mysterial - For ideas from UT2004RPG mod.|All other beta testers..."
End Object
Begin Object Class=KFGUI_Button Name=AboutButton
ID="Author"
ButtonText="Author Profile"
Tooltip="Visit this mod authors steam profile"
XPosition=0.7
YPosition=0.92
XSize=0.27
@ -46,8 +78,6 @@ defaultproperties
End Object
Begin Object Class=KFGUI_Button Name=ForumButton
ID="Forum"
ButtonText="Visit Forums"
Tooltip="Visit this mods discussion forum"
XPosition=0.7
YPosition=0.84
XSize=0.27

View File

@ -1,20 +1,92 @@
Class UIP_AdminMenu extends KFGUI_MultiComponent;
var KFGUI_ColumnList PlayersList;
var KFGUI_Button MotdButton;
var editinline export KFGUI_RightClickMenu PlayerContext;
var int SelectedID;
var localized string EditPlayer;
var localized string ShowDebugInfo;
var localized string Add1kXP;
var localized string Add10kXP;
var localized string AdvancePerkLevel;
var localized string SetPerkLevel;
var localized string SetPrestigeLevel;
var localized string UnloadAllStats;
var localized string UnloadAllTraits;
var localized string Remove1kXP;
var localized string Remove10kXP;
var localized string ResetAllStats;
var localized string ResetCurrentPerkStats;
var localized string ColumnPlayer;
var localized string ColumnTotalKills;
var localized string ColumnTotalExp;
var localized string ColumnTotalPlayTime;
var localized string EditMotdButtonText;
var localized string EditMotdButtonToolTip;
function FRowItem newFRowItem(string Text, int Value, bool isSplitter)
{
local FRowItem newItem;
newItem.Text=Text;
newItem.Value=Value;
newItem.bSplitter=isSplitter;
return newItem;
}
function FColumnItem newFColumnItem(string Text, float Width)
{
local FColumnItem newItem;
newItem.Text=Text;
newItem.Width=Width;
return newItem;
}
function InitMenu()
{
PlayersList = KFGUI_ColumnList(FindComponentID('Players'));
MotdButton = KFGUI_Button(FindComponentID('MOTD'));
PlayerContext.ItemRows.AddItem(newFRowItem("",-1,false));
PlayerContext.ItemRows.AddItem(newFRowItem(ShowDebugInfo,9,false));
PlayerContext.ItemRows.AddItem(newFRowItem("",0,true));
PlayerContext.ItemRows.AddItem(newFRowItem(Add1kXP,2,false));
PlayerContext.ItemRows.AddItem(newFRowItem(Add10kXP,3,false));
PlayerContext.ItemRows.AddItem(newFRowItem(AdvancePerkLevel,4,false));
PlayerContext.ItemRows.AddItem(newFRowItem(SetPerkLevel,-1,false));
PlayerContext.ItemRows.AddItem(newFRowItem(SetPrestigeLevel,-2,false));
PlayerContext.ItemRows.AddItem(newFRowItem("",0,true));
PlayerContext.ItemRows.AddItem(newFRowItem(UnloadAllStats,5,false));
PlayerContext.ItemRows.AddItem(newFRowItem(UnloadAllTraits,6,false));
PlayerContext.ItemRows.AddItem(newFRowItem("",0,true));
PlayerContext.ItemRows.AddItem(newFRowItem(Remove1kXP,7,false));
PlayerContext.ItemRows.AddItem(newFRowItem(Remove10kXP,8,false));
PlayerContext.ItemRows.AddItem(newFRowItem("",0,true));
PlayerContext.ItemRows.AddItem(newFRowItem(ResetAllStats,0,false));
PlayerContext.ItemRows.AddItem(newFRowItem(ResetCurrentPerkStats,1,false));
PlayersList.Columns.AddItem(newFColumnItem(ColumnPlayer,0.55));
PlayersList.Columns.AddItem(newFColumnItem(ColumnTotalKills,0.15));
PlayersList.Columns.AddItem(newFColumnItem(ColumnTotalExp,0.15));
PlayersList.Columns.AddItem(newFColumnItem(ColumnTotalPlayTime,0.15));
MotdButton.ButtonText=EditMotdButtonText;
MotdButton.Tooltip=EditMotdButtonToolTip;
Super.InitMenu();
}
function ShowMenu()
{
Super.ShowMenu();
SetTimer(2,true);
Timer();
}
function CloseMenu()
{
Super.CloseMenu();
@ -30,7 +102,7 @@ function SelectedRow( KFGUI_ListItem Item, int Row, bool bRight, bool bDblClick
{
if( bRight || bDblClick )
{
PlayerContext.ItemRows[0].Text = "-- EDIT: "$Item.Columns[0];
PlayerContext.ItemRows[0].Text = EditPlayer$" "$Item.Columns[0];
SelectedID = Item.Value;
PlayerContext.OpenMenu(Self);
}
@ -57,31 +129,12 @@ function ButtonClicked( KFGUI_Button Sender )
defaultproperties
{
Begin Object Class=KFGUI_RightClickMenu Name=PlayerContextMenu
ItemRows.Add((Text="",Value=-1))
ItemRows.Add((Text="Show Debug Info",Value=9))
ItemRows.Add((bSplitter=true))
ItemRows.Add((Text="Add 1,000 XP",Value=2))
ItemRows.Add((Text="Add 10,000 XP",Value=3))
ItemRows.Add((Text="Advance Perk Level",Value=4))
ItemRows.Add((Text="Set Perk Level",Value=-1))
ItemRows.Add((Text="Set Prestige Level",Value=-2))
ItemRows.Add((bSplitter=true))
ItemRows.Add((Text="Unload all stats",Value=5))
ItemRows.Add((Text="Unload all traits",Value=6))
ItemRows.Add((bSplitter=true))
ItemRows.Add((Text="Remove 1,000 XP",Value=7))
ItemRows.Add((Text="Remove 10,000 XP",Value=8))
ItemRows.Add((bSplitter=true))
ItemRows.Add((Text="Reset ALL Stats",Value=0))
ItemRows.Add((Text="Reset Current Perk Stats",Value=1))
OnSelectedItem=SelectedRCItem
End Object
PlayerContext=PlayerContextMenu
Begin Object Class=KFGUI_Button Name=EditMOTDButton
ID="MOTD"
ButtonText="Edit MOTD"
Tooltip="Edit the server Message of the Day"
XPosition=0.2
YPosition=0.997
XSize=0.1
@ -97,10 +150,6 @@ defaultproperties
YPosition=0.05
XSize=0.9
YSize=0.92
Columns.Add((Text="Player",Width=0.55))
Columns.Add((Text="Total Kills",Width=0.15))
Columns.Add((Text="Total EXP",Width=0.15))
Columns.Add((Text="Total PlayTime",Width=0.15))
OnSelectedRow=SelectedRow
End Object
Components.Add(PlayerList)

Some files were not shown because too many files have changed in this diff Show More