fix weapon replacements

This commit is contained in:
GenZmeY 2023-09-11 04:27:45 +03:00
parent a617133ccb
commit 37921be744
Signed by: GenZmeY
GPG Key ID: 424DA4BC3CB2CF39
56 changed files with 420 additions and 28 deletions

View File

@ -1,7 +1,15 @@
class CTI_WeapDef_AutoTurret extends KFWeapDef_AutoTurret
abstract;
static function String GetItemLocalization(String KeyName)
{
local Array<String> Strings;
ParseStringIntoArray(class'KFGame.KFWeapDef_AutoTurret'.default.WeaponClassPath, Strings, ".", true);
return Localize(Strings[1], KeyName, Strings[0]);
}
defaultproperties
{
SharedUnlockId = SCU_None
WeaponClassPath = "CTI.CTI_Weap_AutoTurret"
}

View File

@ -1,7 +1,15 @@
class CTI_WeapDef_BladedPistol extends KFWeapDef_BladedPistol
abstract;
static function String GetItemLocalization(String KeyName)
{
local Array<String> Strings;
ParseStringIntoArray(class'KFGame.KFWeapDef_BladedPistol'.default.WeaponClassPath, Strings, ".", true);
return Localize(Strings[1], KeyName, Strings[0]);
}
defaultproperties
{
SharedUnlockId = SCU_None
WeaponClassPath = "CTI.CTI_Weap_Pistol_Bladed"
}

View File

@ -1,7 +1,15 @@
class CTI_WeapDef_Blunderbuss extends KFWeapDef_Blunderbuss
abstract;
static function String GetItemLocalization(String KeyName)
{
local Array<String> Strings;
ParseStringIntoArray(class'KFGame.KFWeapDef_Blunderbuss'.default.WeaponClassPath, Strings, ".", true);
return Localize(Strings[1], KeyName, Strings[0]);
}
defaultproperties
{
SharedUnlockId = SCU_None
WeaponClassPath = "CTI.CTI_Weap_Pistol_Blunderbuss"
}

View File

@ -1,7 +1,15 @@
class CTI_WeapDef_ChainBat extends KFWeapDef_ChainBat
abstract;
static function String GetItemLocalization(String KeyName)
{
local Array<String> Strings;
ParseStringIntoArray(class'KFGame.KFWeapDef_ChainBat'.default.WeaponClassPath, Strings, ".", true);
return Localize(Strings[1], KeyName, Strings[0]);
}
defaultproperties
{
SharedUnlockId = SCU_None
WeaponClassPath = "CTI.CTI_Weap_Blunt_ChainBat"
}

View File

@ -1,7 +1,15 @@
class CTI_WeapDef_ChiappaRhino extends KFWeapDef_ChiappaRhino
abstract;
static function String GetItemLocalization(String KeyName)
{
local Array<String> Strings;
ParseStringIntoArray(class'KFGame.KFWeapDef_ChiappaRhino'.default.WeaponClassPath, Strings, ".", true);
return Localize(Strings[1], KeyName, Strings[0]);
}
defaultproperties
{
SharedUnlockId = SCU_None
WeaponClassPath = "CTI.CTI_Weap_Pistol_ChiappaRhino"
}

View File

@ -1,7 +1,15 @@
class CTI_WeapDef_ChiappaRhinoDual extends KFWeapDef_ChiappaRhinoDual
abstract;
static function String GetItemLocalization(String KeyName)
{
local Array<String> Strings;
ParseStringIntoArray(class'KFGame.KFWeapDef_ChiappaRhinoDual'.default.WeaponClassPath, Strings, ".", true);
return Localize(Strings[1], KeyName, Strings[0]);
}
defaultproperties
{
SharedUnlockId = SCU_None
WeaponClassPath = "CTI.CTI_Weap_Pistol_ChiappaRhinoDual"
}

View File

@ -1,7 +1,15 @@
class CTI_WeapDef_CompoundBow extends KFWeapDef_CompoundBow
abstract;
static function String GetItemLocalization(String KeyName)
{
local Array<String> Strings;
ParseStringIntoArray(class'KFGame.KFWeapDef_CompoundBow'.default.WeaponClassPath, Strings, ".", true);
return Localize(Strings[1], KeyName, Strings[0]);
}
defaultproperties
{
SharedUnlockId = SCU_None
WeaponClassPath = "CTI.CTI_Weap_Bow_CompoundBow"
}

View File

@ -1,7 +1,15 @@
class CTI_WeapDef_Doshinegun extends KFWeapDef_Doshinegun
abstract;
static function String GetItemLocalization(String KeyName)
{
local Array<String> Strings;
ParseStringIntoArray(class'KFGame.KFWeapDef_Doshinegun'.default.WeaponClassPath, Strings, ".", true);
return Localize(Strings[1], KeyName, Strings[0]);
}
defaultproperties
{
SharedUnlockId = SCU_None
WeaponClassPath = "CTI.CTI_Weap_AssaultRifle_Doshinegun"
}

View File

@ -1,7 +1,15 @@
class CTI_WeapDef_DualBladed extends KFWeapDef_DualBladed
abstract;
static function String GetItemLocalization(String KeyName)
{
local Array<String> Strings;
ParseStringIntoArray(class'KFGame.KFWeapDef_DualBladed'.default.WeaponClassPath, Strings, ".", true);
return Localize(Strings[1], KeyName, Strings[0]);
}
defaultproperties
{
SharedUnlockId = SCU_None
WeaponClassPath = "CTI.CTI_Weap_Pistol_DualBladed"
}

View File

@ -1,7 +1,15 @@
class CTI_WeapDef_FAMAS extends KFWeapDef_FAMAS
abstract;
static function String GetItemLocalization(String KeyName)
{
local Array<String> Strings;
ParseStringIntoArray(class'KFGame.KFWeapDef_FAMAS'.default.WeaponClassPath, Strings, ".", true);
return Localize(Strings[1], KeyName, Strings[0]);
}
defaultproperties
{
SharedUnlockId = SCU_None
WeaponClassPath = "CTI.CTI_Weap_AssaultRifle_FAMAS"
}

View File

@ -1,7 +1,15 @@
class CTI_WeapDef_G18 extends KFWeapDef_G18
abstract;
static function String GetItemLocalization(String KeyName)
{
local Array<String> Strings;
ParseStringIntoArray(class'KFGame.KFWeapDef_G18'.default.WeaponClassPath, Strings, ".", true);
return Localize(Strings[1], KeyName, Strings[0]);
}
defaultproperties
{
SharedUnlockId = SCU_None
WeaponClassPath = "CTI.CTI_Weap_SMG_G18"
}

View File

@ -1,7 +1,15 @@
class CTI_WeapDef_G36C extends KFWeapDef_G36C
abstract;
static function String GetItemLocalization(String KeyName)
{
local Array<String> Strings;
ParseStringIntoArray(class'KFGame.KFWeapDef_G36C'.default.WeaponClassPath, Strings, ".", true);
return Localize(Strings[1], KeyName, Strings[0]);
}
defaultproperties
{
SharedUnlockId = SCU_None
WeaponClassPath = "CTI.CTI_Weap_AssaultRifle_G36C"
}

View File

@ -1,7 +1,15 @@
class CTI_WeapDef_GravityImploder extends KFWeapDef_GravityImploder
abstract;
static function String GetItemLocalization(String KeyName)
{
local Array<String> Strings;
ParseStringIntoArray(class'KFGame.KFWeapDef_GravityImploder'.default.WeaponClassPath, Strings, ".", true);
return Localize(Strings[1], KeyName, Strings[0]);
}
defaultproperties
{
SharedUnlockId = SCU_None
WeaponClassPath = "CTI.CTI_Weap_GravityImploder"
}

View File

@ -1,7 +1,15 @@
class CTI_WeapDef_HVStormCannon extends KFWeapDef_HVStormCannon
abstract;
static function String GetItemLocalization(String KeyName)
{
local Array<String> Strings;
ParseStringIntoArray(class'KFGame.KFWeapDef_HVStormCannon'.default.WeaponClassPath, Strings, ".", true);
return Localize(Strings[1], KeyName, Strings[0]);
}
defaultproperties
{
SharedUnlockId = SCU_None
WeaponClassPath = "CTI.CTI_Weap_HVStormCannon"
}

View File

@ -1,7 +1,15 @@
class CTI_WeapDef_IonThruster extends KFWeapDef_IonThruster
abstract;
static function String GetItemLocalization(String KeyName)
{
local Array<String> Strings;
ParseStringIntoArray(class'KFGame.KFWeapDef_IonThruster'.default.WeaponClassPath, Strings, ".", true);
return Localize(Strings[1], KeyName, Strings[0]);
}
defaultproperties
{
SharedUnlockId = SCU_None
WeaponClassPath = "CTI.CTI_Weap_Edged_IonThruster"
}

View File

@ -1,7 +1,15 @@
class CTI_WeapDef_Mine_Reconstructor extends KFWeapDef_Mine_Reconstructor
abstract;
static function String GetItemLocalization(String KeyName)
{
local Array<String> Strings;
ParseStringIntoArray(class'KFGame.KFWeapDef_Mine_Reconstructor'.default.WeaponClassPath, Strings, ".", true);
return Localize(Strings[1], KeyName, Strings[0]);
}
defaultproperties
{
SharedUnlockId = SCU_None
WeaponClassPath = "CTI.CTI_Weap_Mine_Reconstructor"
}

View File

@ -1,7 +1,15 @@
class CTI_WeapDef_Minigun extends KFWeapDef_Minigun
abstract;
static function String GetItemLocalization(String KeyName)
{
local Array<String> Strings;
ParseStringIntoArray(class'KFGame.KFWeapDef_Minigun'.default.WeaponClassPath, Strings, ".", true);
return Localize(Strings[1], KeyName, Strings[0]);
}
defaultproperties
{
SharedUnlockId = SCU_None
WeaponClassPath = "CTI.CTI_Weap_Minigun"
}

View File

@ -1,7 +1,15 @@
class CTI_WeapDef_MosinNagant extends KFWeapDef_MosinNagant
abstract;
static function String GetItemLocalization(String KeyName)
{
local Array<String> Strings;
ParseStringIntoArray(class'KFGame.KFWeapDef_MosinNagant'.default.WeaponClassPath, Strings, ".", true);
return Localize(Strings[1], KeyName, Strings[0]);
}
defaultproperties
{
SharedUnlockId = SCU_None
WeaponClassPath = "CTI.CTI_Weap_Rifle_MosinNagant"
}

View File

@ -1,7 +1,15 @@
class CTI_WeapDef_ParasiteImplanter extends KFWeapDef_ParasiteImplanter
abstract;
static function String GetItemLocalization(String KeyName)
{
local Array<String> Strings;
ParseStringIntoArray(class'KFGame.KFWeapDef_ParasiteImplanter'.default.WeaponClassPath, Strings, ".", true);
return Localize(Strings[1], KeyName, Strings[0]);
}
defaultproperties
{
SharedUnlockId = SCU_None
WeaponClassPath = "CTI.CTI_Weap_Rifle_ParasiteImplanter"
}

View File

@ -1,7 +1,15 @@
class CTI_WeapDef_Pistol_DualG18 extends KFWeapDef_Pistol_DualG18
abstract;
static function String GetItemLocalization(String KeyName)
{
local Array<String> Strings;
ParseStringIntoArray(class'KFGame.KFWeapDef_Pistol_DualG18'.default.WeaponClassPath, Strings, ".", true);
return Localize(Strings[1], KeyName, Strings[0]);
}
defaultproperties
{
SharedUnlockId = SCU_None
WeaponClassPath = "CTI.CTI_Weap_Pistol_DualG18"
}

View File

@ -1,7 +1,15 @@
class CTI_WeapDef_Pistol_G18C extends KFWeapDef_Pistol_G18C
abstract;
static function String GetItemLocalization(String KeyName)
{
local Array<String> Strings;
ParseStringIntoArray(class'KFGame.KFWeapDef_Pistol_G18C'.default.WeaponClassPath, Strings, ".", true);
return Localize(Strings[1], KeyName, Strings[0]);
}
defaultproperties
{
SharedUnlockId = SCU_None
WeaponClassPath = "CTI.CTI_Weap_Pistol_G18C"
}

View File

@ -1,7 +1,15 @@
class CTI_WeapDef_Rifle_FrostShotgunAxe extends KFWeapDef_Rifle_FrostShotgunAxe
abstract;
static function String GetItemLocalization(String KeyName)
{
local Array<String> Strings;
ParseStringIntoArray(class'KFGame.KFWeapDef_Rifle_FrostShotgunAxe'.default.WeaponClassPath, Strings, ".", true);
return Localize(Strings[1], KeyName, Strings[0]);
}
defaultproperties
{
SharedUnlockId = SCU_None
WeaponClassPath = "CTI.CTI_Weap_Rifle_FrostShotgunAxe"
}

View File

@ -1,7 +1,15 @@
class CTI_WeapDef_Scythe extends KFWeapDef_Scythe
abstract;
static function String GetItemLocalization(String KeyName)
{
local Array<String> Strings;
ParseStringIntoArray(class'KFGame.KFWeapDef_Scythe'.default.WeaponClassPath, Strings, ".", true);
return Localize(Strings[1], KeyName, Strings[0]);
}
defaultproperties
{
SharedUnlockId = SCU_None
WeaponClassPath = "CTI.CTI_Weap_Edged_Scythe"
}

View File

@ -1,7 +1,15 @@
class CTI_WeapDef_Shotgun_S12 extends KFWeapDef_Shotgun_S12
abstract;
static function String GetItemLocalization(String KeyName)
{
local Array<String> Strings;
ParseStringIntoArray(class'KFGame.KFWeapDef_Shotgun_S12'.default.WeaponClassPath, Strings, ".", true);
return Localize(Strings[1], KeyName, Strings[0]);
}
defaultproperties
{
SharedUnlockId = SCU_None
WeaponClassPath = "CTI.CTI_Weap_Shotgun_S12"
}

View File

@ -1,7 +1,15 @@
class CTI_WeapDef_ShrinkRayGun extends KFWeapDef_ShrinkRayGun
abstract;
static function String GetItemLocalization(String KeyName)
{
local Array<String> Strings;
ParseStringIntoArray(class'KFGame.KFWeapDef_ShrinkRayGun'.default.WeaponClassPath, Strings, ".", true);
return Localize(Strings[1], KeyName, Strings[0]);
}
defaultproperties
{
SharedUnlockId = SCU_None
WeaponClassPath = "CTI.CTI_Weap_ShrinkRayGun"
}

View File

@ -1,7 +1,15 @@
class CTI_WeapDef_ThermiteBore extends KFWeapDef_ThermiteBore
abstract;
static function String GetItemLocalization(String KeyName)
{
local Array<String> Strings;
ParseStringIntoArray(class'KFGame.KFWeapDef_ThermiteBore'.default.WeaponClassPath, Strings, ".", true);
return Localize(Strings[1], KeyName, Strings[0]);
}
defaultproperties
{
SharedUnlockId = SCU_None
WeaponClassPath = "CTI.CTI_Weap_RocketLauncher_ThermiteBore"
}

View File

@ -1,7 +1,15 @@
class CTI_WeapDef_ZedMKIII extends KFWeapDef_ZedMKIII
abstract;
static function String GetItemLocalization(String KeyName)
{
local Array<String> Strings;
ParseStringIntoArray(class'KFGame.KFWeapDef_ZedMKIII'.default.WeaponClassPath, Strings, ".", true);
return Localize(Strings[1], KeyName, Strings[0]);
}
defaultproperties
{
SharedUnlockId = SCU_None
WeaponClassPath = "CTI.CTI_Weap_ZedMKIII"
}

View File

@ -1,7 +1,15 @@
class CTI_WeapDef_Zweihander extends KFWeapDef_Zweihander
abstract;
static function String GetItemLocalization(String KeyName)
{
local Array<String> Strings;
ParseStringIntoArray(class'KFGame.KFWeapDef_Zweihander'.default.WeaponClassPath, Strings, ".", true);
return Localize(Strings[1], KeyName, Strings[0]);
}
defaultproperties
{
SharedUnlockId = SCU_None
WeaponClassPath = "CTI.CTI_Weap_Edged_Zweihander"
}

View File

@ -0,0 +1,6 @@
class CTI_Weap_AssaultRifle_Doshinegun extends KFWeap_AssaultRifle_Doshinegun;
defaultproperties
{
}

View File

@ -0,0 +1,6 @@
class CTI_Weap_AssaultRifle_FAMAS extends KFWeap_AssaultRifle_FAMAS;
defaultproperties
{
}

View File

@ -0,0 +1,6 @@
class CTI_Weap_AssaultRifle_G36C extends KFWeap_AssaultRifle_G36C;
defaultproperties
{
}

View File

@ -0,0 +1,6 @@
class CTI_Weap_AutoTurret extends KFWeap_AutoTurret;
defaultproperties
{
}

View File

@ -0,0 +1,6 @@
class CTI_Weap_Blunt_ChainBat extends KFWeap_Blunt_ChainBat;
defaultproperties
{
}

View File

@ -0,0 +1,6 @@
class CTI_Weap_Bow_CompoundBow extends KFWeap_Bow_CompoundBow;
defaultproperties
{
}

View File

@ -0,0 +1,6 @@
class CTI_Weap_Edged_IonThruster extends KFWeap_Edged_IonThruster;
defaultproperties
{
}

View File

@ -0,0 +1,6 @@
class CTI_Weap_Edged_Scythe extends KFWeap_Edged_Scythe;
defaultproperties
{
}

View File

@ -0,0 +1,6 @@
class CTI_Weap_Edged_Zweihander extends KFWeap_Edged_Zweihander;
defaultproperties
{
}

View File

@ -0,0 +1,6 @@
class CTI_Weap_GravityImploder extends KFWeap_GravityImploder;
defaultproperties
{
}

View File

@ -0,0 +1,6 @@
class CTI_Weap_HVStormCannon extends KFWeap_HVStormCannon;
defaultproperties
{
}

View File

@ -0,0 +1,6 @@
class CTI_Weap_Mine_Reconstructor extends KFWeap_Mine_Reconstructor;
defaultproperties
{
}

View File

@ -0,0 +1,6 @@
class CTI_Weap_Minigun extends KFWeap_Minigun;
defaultproperties
{
}

View File

@ -0,0 +1,6 @@
class CTI_Weap_Pistol_Bladed extends KFWeap_Pistol_Bladed;
defaultproperties
{
}

View File

@ -0,0 +1,6 @@
class CTI_Weap_Pistol_Blunderbuss extends KFWeap_Pistol_Blunderbuss;
defaultproperties
{
}

View File

@ -0,0 +1,6 @@
class CTI_Weap_Pistol_ChiappaRhino extends KFWeap_Pistol_ChiappaRhino;
defaultproperties
{
}

View File

@ -0,0 +1,6 @@
class CTI_Weap_Pistol_ChiappaRhinoDual extends KFWeap_Pistol_ChiappaRhinoDual;
defaultproperties
{
}

View File

@ -0,0 +1,6 @@
class CTI_Weap_Pistol_DualBladed extends KFWeap_Pistol_DualBladed;
defaultproperties
{
}

View File

@ -0,0 +1,6 @@
class CTI_Weap_Pistol_DualG18 extends KFWeap_Pistol_DualG18;
defaultproperties
{
}

View File

@ -0,0 +1,6 @@
class CTI_Weap_Pistol_G18C extends KFWeap_Pistol_G18C;
defaultproperties
{
}

View File

@ -0,0 +1,6 @@
class CTI_Weap_Rifle_FrostShotgunAxe extends KFWeap_Rifle_FrostShotgunAxe;
defaultproperties
{
}

View File

@ -0,0 +1,6 @@
class CTI_Weap_Rifle_MosinNagant extends KFWeap_Rifle_MosinNagant;
defaultproperties
{
}

View File

@ -0,0 +1,6 @@
class CTI_Weap_Rifle_ParasiteImplanter extends KFWeap_Rifle_ParasiteImplanter;
defaultproperties
{
}

View File

@ -0,0 +1,6 @@
class CTI_Weap_RocketLauncher_ThermiteBore extends KFWeap_RocketLauncher_ThermiteBore;
defaultproperties
{
}

View File

@ -0,0 +1,6 @@
class CTI_Weap_SMG_G18 extends KFWeap_SMG_G18;
defaultproperties
{
}

View File

@ -0,0 +1,6 @@
class CTI_Weap_Shotgun_S12 extends KFWeap_Shotgun_S12;
defaultproperties
{
}

View File

@ -0,0 +1,6 @@
class CTI_Weap_ShrinkRayGun extends KFWeap_ShrinkRayGun;
defaultproperties
{
}

View File

@ -0,0 +1,6 @@
class CTI_Weap_ZedMKIII extends KFWeap_ZedMKIII;
defaultproperties
{
}