Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
private function bool IsLimitedFreeReload()
{
local array<X2WeaponUpgradeTemplate> weaponUpgrades;
local UnitValue numFreeReloadsUsed;
local int numFreeReloadsRemaining, i, TotalFreeReloads;
UnitState.GetUnitValue('FreeReload', numFreeReloadsUsed);
weaponUpgrades = AbilityState.GetSourceWeapon().GetMyWeaponUpgradeTemplates();
for (i = 0; i < weaponUpgrades.Length; i++)
{
if(weaponUpgrades .NumFreeReloads > 0)
{
if (weaponUpgrades .GetBonusAmountFn != none)
{
TotalFreeReloads = weaponUpgrades .GetBonusAmountFn(weaponUpgrades );
numFreeReloadsRemaining = int(TotalFreeReloads - numFreeReloadsUsed.fValue);
if(numFreeReloadsRemaining > 0 && numFreeReloadsRemaining < 10)
{
return true;
}
}
}
}
return false;
}
Go to your Steam directory, steamapps\workshop\content\268500\858237491\Localization and open ConfirmFreeReload.int in any text editor like Notepad. Change the line
PopupBody=You have ammo remaining. Are you sure you want to use your free reload?
... or anything you want really. You can customize the popup message entirely to your liking.
UTF-16
ConfirmFreeReload.RUS
[X2TargetingMethod_ConfirmFreeReload]
PopupTitle=Трата свободной перезарядки
PopupBody=У вас остались боеприпасы. Вы уверены, что хотите использовать свободную перезарядку?
AcceptMessage=Перезарядить
CancelMessage=Отмена
(Note: The game didn't actually freeze, it just stopped responding to the 'tab' button until you attempted another action)
I'm running tons of mods though so I'm not 100% sure it's being caused by this one, but it would seem most obvious.
I have no idea if it works with this mod.
Including the number of uses left on the ability icon would also be pretty nifty.