Skip to content

Commit

Permalink
Adjust icon paths and localization
Browse files Browse the repository at this point in the history
  • Loading branch information
BlackDog86 authored and Iridar committed Sep 12, 2024
1 parent 2895d18 commit 8ad90c5
Show file tree
Hide file tree
Showing 7 changed files with 33 additions and 9 deletions.
Original file line number Diff line number Diff line change
@@ -1 +1,6 @@
��
; Issue #1255 - Add missing localization for Viper King Choke
[KingEndBind X2AbilityTemplate]
LocFriendlyName="Release Choke"
LocLongDescription="In the event the tactical situation changes, the Viper King can release the target before killing it."
LocHelpText="Release the target from the Viper King's choke"
LocFlyOverText="Release Choke"
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,8 @@ static function X2DataTemplate CreateAlienRulerCallForEscapeAbility()
local array<name> SkipExclusions;

`CREATE_X2ABILITY_TEMPLATE(Template, 'AlienRulerCallForEscape');
Template.IconImage = "img:///UILibrary_PerkIcons.UIPerk_escape"; // TODO: Change this icon
// Single line for Issue #1255 - Adjust icon from UIPerk_escape to one that actually exists
Template.IconImage = "img:///UILibrary_PerkIcons.UIPerk_psychic";
Template.Hostility = eHostility_Neutral;
Template.AbilitySourceName = 'eAbilitySource_Standard';
Template.eAbilityIconBehaviorHUD = eAbilityIconBehavior_AlwaysShow;
Expand Down Expand Up @@ -155,7 +156,8 @@ static function X2DataTemplate CreateAlienRulerEscapeAbility()
local X2Effect_RemoveEffects RemoveEffects;

`CREATE_X2ABILITY_TEMPLATE(Template, 'AlienRulerEscape');
Template.IconImage = "img:///UILibrary_PerkIcons.UIPerk_escape";
// Single line for Issue #1255 - Adjust icon from UIPerk_escape to one that actually exists
Template.IconImage = "img:///UILibrary_PerkIcons.UIPerk_psychic";
Template.Hostility = eHostility_Neutral;
Template.AbilitySourceName = 'eAbilitySource_Standard';
Template.eAbilityIconBehaviorHUD = eAbilityIconBehavior_NeverShow;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,8 @@ static function X2AbilityTemplate CreateQuakeAbility()

Template.AbilitySourceName = 'eAbilitySource_Standard';
Template.eAbilityIconBehaviorHUD = EAbilityIconBehavior_AlwaysShow;
Template.IconImage = "img:///UILibrary_PerkIcons.UIPerk_viper_frostbite";
// Single line for Issue# 1255 - Remove duplicate (incorrect) iconimage
// Template.IconImage = "img:///UILibrary_PerkIcons.UIPerk_viper_frostbite";

// Cooldown on the ability
Cooldown = new class'X2AbilityCooldown';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,13 +78,14 @@ static function X2AbilityTemplate CreateFrostbiteAbility()
SkipExclusions.AddItem(class'X2StatusEffects'.default.BurningName);
SkipExclusions.AddItem(class'X2AbilityTemplateManager'.default.ConfusedName);
Template.AddShooterEffectExclusions(SkipExclusions);

// Single line for Issue# 1255 - Remove duplicate (incorrect) icon image
// Template.IconImage = "img:///UILibrary_PerkIcons.UIPerk_viper_frostbite";
InputTrigger = new class'X2AbilityTrigger_PlayerInput';
Template.AbilityTriggers.AddItem(InputTrigger);

Template.AbilitySourceName = 'eAbilitySource_Standard';
Template.eAbilityIconBehaviorHUD = EAbilityIconBehavior_AlwaysShow;
Template.IconImage = "img:///UILibrary_PerkIcons.UIPerk_viper_frostbite";

Template.bUseAmmoAsChargesForHUD = true;

Template.BuildNewGameStateFn = TypicalAbility_BuildGameState;
Expand Down Expand Up @@ -127,7 +128,8 @@ static function X2AbilityTemplate CreateBindAbility()
local array<name> SkipExclusions;

`CREATE_X2ABILITY_TEMPLATE(Template, default.KingBindAbilityName);
Template.IconImage = "img:///UILibrary_DLC2Images.PerkIcons.UIPerk_viper_choke";
// Issue #1255 - Adjust iconpath to use the correct icon in the UPK
Template.IconImage = "img:///UILibrary_DLC2Images.UIPerk_viper_choke";

Template.AbilitySourceName = 'eAbilitySource_Standard';
Template.eAbilityIconBehaviorHUD = eAbilityIconBehavior_AlwaysShow;
Expand Down
12 changes: 12 additions & 0 deletions X2WOTCCommunityHighlander/Localization/XComGame.int
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,15 @@ m_strChangeFace="Use a different face to edit this option"
[CHHelpers]
; Issue #817
m_strFramerateSmoothingDisabledReason = "Framerate Smoothing is disabled by Highlander to allow other mods to work properly. If you previously enabled it, delete this file: \"..\\Documents\\my games\\XCOM2 War of the Chosen\\XComGame\\Config\\XComEngine.ini\" once and restart the game."

[VanishingWind_Scamper X2AbilityTemplate]
; Issue #1255 - Add missing localization for Assassin Revealed
LocFriendlyName="Revealed!"
LocFlyOverText="Revealed!"

[ChosenImmunities X2AbilityTemplate]
; Issue #1255 - Add missing localization for Chosen Immunities
LocFriendlyName="Chosen Immunities"
LocLongDescription="The Chosen are immune to Panic, Stun, Disorientation and to being rendered Unconscious"
LocHelpText="The Chosen are immune to Panic, Stun, Disorientation and being rendered Unconscious"
LocFlyOverText="Chosen Immunities"
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ static function array<X2DataTemplate> CreateTemplates()
Templates.AddItem(CreateHunterGrapple());
Templates.AddItem(CreateTrackingShotMark());
Templates.AddItem(CreateTrackingShot());
Templates.AddItem(PurePassive('Farsight', "img:///UILibrary_DLC3Images.UIPerk_Farsight", false, 'eAbilitySource_Perk', true));
//Single line for Issue #1355 - Change icon to use correct path
Templates.AddItem(PurePassive('Farsight', "img:///UILibrary_XPACK_Common.PerkIcons.UIPerk_Farsight", false, 'eAbilitySource_Perk', true));
Templates.AddItem(CreateLethalDose());

return Templates;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ static function X2DataTemplate CreateLostAttack()
local X2Effect_ApplyWeaponDamage PhysicalDamageEffect;

`CREATE_X2ABILITY_TEMPLATE(Template, 'LostAttack');
Template.IconImage = "img:///UILibrary_PerkIcons.UIPerk_escape";
// Single line for Issue #1355 - Adjust icon from UIPerk_escape to one that actually exists
Template.IconImage = "img:///UILibrary_PerkIcons.UIPerk_muton_punch";
Template.Hostility = eHostility_Offensive;
Template.AbilitySourceName = 'eAbilitySource_Standard';
Template.eAbilityIconBehaviorHUD = eAbilityIconBehavior_AlwaysShow;
Expand Down

0 comments on commit 8ad90c5

Please sign in to comment.