Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames

KFMod.KFVeterancyTypes


00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036
00037
00038
00039
00040
00041
00042
00043
00044
00045
00046
00047
00048
00049
00050
00051
00052
00053
00054
00055
00056
00057
00058
00059
00060
00061
00062
00063
00064
00065
00066
00067
00068
00069
00070
00071
00072
00073
00074
00075
00076
00077
00078
00079
00080
00081
00082
00083
00084
00085
00086
00087
00088
00089
00090
00091
00092
00093
00094
00095
00096
00097
00098
00099
00100
00101
00102
00103
00104
00105
00106
00107
00108
00109
00110
00111
00112
00113
00114
00115
00116
00117
00118
00119
00120
00121
00122
00123
00124
00125
00126
00127
00128
00129
00130
00131
00132
00133
00134
00135
00136
00137
00138
00139
00140
00141
00142
00143
00144
00145
00146
00147
00148
00149
00150
00151
00152
00153
00154
00155
00156
00157
00158
00159
00160
00161
00162
00163
00164
00165
00166
00167
00168
00169
00170
00171
00172
00173
00174
00175
00176
00177
00178
00179
00180
00181
00182
00183
00184
00185
00186
00187
00188
00189
00190
00191
00192
00193
00194
00195
00196
00197
00198
00199
00200
00201
// Base class of all veterancy types
class KFVeterancyTypes extends Info
	abstract;

var byte PerkIndex;

var const float StartingWeaponSellPriceLevel5;
var const float StartingWeaponSellPriceLevel6;

// HUD Icon is what appears for other players next to playername, sub hud icon can stand for sergeant or something else..
var() texture OnHUDIcon, OnHUDGoldIcon;
var() localized string VeterancyName, Requirements[6];
var() localized string LevelNames[7], LevelEffects[7];

var() class<KFVeterancyTypes> ReplacementVeterancy; // Replace with this veterancy once this ones becomes available.

var string VetButtonStyle; // OBSOLOTE!

// Modify syringe charge speed
static function float GetSyringeChargeRate(KFPlayerReplicationInfo KFPRI)
{
	return 1.0;
}

// Modify syringe potency
static function float GetHealPotency(KFPlayerReplicationInfo KFPRI)
{
	return 1.0;
}

// Modify movement speed
static function float GetMovementSpeedModifier(KFPlayerReplicationInfo KFPRI, KFGameReplicationInfo KFGRI)
{
	return 1.0;
}

// Modify movement speed ONLY when holding melee weapon
static function float GetMeleeMovementSpeedModifier(KFPlayerReplicationInfo KFPRI)
{
	return 0.0;
}

// Reduce damage zombies can deal to you
static function int ReduceDamage(KFPlayerReplicationInfo KFPRI, KFPawn Injured, Pawn Instigator, int InDamage, class<DamageType> DmgType)
{
	return InDamage;
}

// Add damage you deal to zombies
static function int AddDamage(KFPlayerReplicationInfo KFPRI, KFMonster Injured, KFPawn Instigator, int InDamage, class<DamageType> DmgType)
{
	return InDamage;
}

// Add max carry weight for weapons
static function int AddCarryMaxWeight(KFPlayerReplicationInfo KFPRI)
{
	return 0;
}

// Welding speed modifier
static function float GetWeldSpeedModifier(KFPlayerReplicationInfo KFPRI)
{
	return 1.0;
}

// Add extra ammo for a weapon
static function float AddExtraAmmoFor(KFPlayerReplicationInfo KFPRI, Class<Ammunition> AmmoType)
{
	return 1.0;
}

static function float GetMagCapacityMod(KFPlayerReplicationInfo KFPRI, KFWeapon Other)
{
	return 1.0;
}

static function float GetAmmoPickupMod(KFPlayerReplicationInfo KFPRI, KFAmmunition Other)
{
	return 1.0;
}

// Multiply headshot damage
static function float GetHeadShotDamMulti(KFPlayerReplicationInfo KFPRI, KFPawn P, class<DamageType> DmgType)
{
	return 1.0;
}

// Render some extra info on HUD
static function SpecialHUDInfo(KFPlayerReplicationInfo KFPRI, Canvas C);

// Modify the spear/recoil for a weapon fire.
static function float ModifyRecoilSpread(KFPlayerReplicationInfo KFPRI, WeaponFire Other, out float Recoil)
{
	Recoil = 1.0;
	return 1.0;
}

// Modify weapon reload speed
static function float GetReloadSpeedModifier(KFPlayerReplicationInfo KFPRI, KFWeapon Other)
{
	return 1.0;
}

// Modify fire speed
static function float GetFireSpeedMod(KFPlayerReplicationInfo KFPRI, Weapon Other)
{
	return 1.0;
}

// Can Clots grab me?
static function bool CanBeGrabbed(KFPlayerReplicationInfo KFPRI, KFMonster Other)
{
	return true;
}

// Show stalkers?
static function bool ShowStalkers(KFPlayerReplicationInfo KFPRI)
{
	return false;
}

// Get nades type.
static function class<Grenade> GetNadeType(KFPlayerReplicationInfo KFPRI)
{
	return class'Nade';
}

// Change effective range on FLamethrower
static function int ExtraRange(KFPlayerReplicationInfo KFPRI)
{
	return 0;
}

// Change the cost of particular items
static function float GetCostScaling(KFPlayerReplicationInfo KFPRI, class<Pickup> Item)
{
	return 1.0;
}

// Change the cost of particular ammo
static function float GetAmmoCostScaling(KFPlayerReplicationInfo KFPRI, class<Pickup> Item)
{
	return 1.0;
}

// Reduce damage when wearing Armor
static function float GetBodyArmorDamageModifier(KFPlayerReplicationInfo KFPRI)
{
	return 1.0;
}

// Give Extra Items as Default
static function AddDefaultInventory(KFPlayerReplicationInfo KFPRI, Pawn P);

// Reduce Penetration damage with Shotgun slower
static function float GetShotgunPenetrationDamageMulti(KFPlayerReplicationInfo KFPRI, float DefaultPenDamageReduction)
{
	return DefaultPenDamageReduction;
}

// Modify the Distance at which Stalkers can be viewed when Cloaked(this is multiplied by a Squared Distance)
static function float GetStalkerViewDistanceMulti(KFPlayerReplicationInfo KFPRI)
{
	return 0.0;
}

// Set number times Zed Time can be extended
static function int ZedTimeExtensions(KFPlayerReplicationInfo KFPRI)
{
	return 0;
}

// Modify MAC 10 ammo
static function class<DamageType> GetMAC10DamageType(KFPlayerReplicationInfo KFPRI)
{
	return class'DamTypeMAC10MP';
}

static function bool CanMeleeStun()
{
	return false;
}

static function bool ShouldBecomeIncendiary(KFPlayerReplicationInfo KFPRI, KFPawn P)
{
	return false;
}

static function bool KilledShouldExplode(KFPlayerReplicationInfo KFPRI, KFPawn P)
{
	return false;
}

defaultproperties
{
     PerkIndex=255
     StartingWeaponSellPriceLevel5=200.000000
     StartingWeaponSellPriceLevel6=225.000000
}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Class file time: Fri 13-10-2023 03:17:26.000 - Creation time: Fri 13-10-2023 03:19:04.400 - Created with UnCodeX