OpenXcom Forum

OpenXcom Forks => OXCE Bugs => OpenXcom Extended (OXCE) => OXCE Bugs FIXED => Topic started by: Nord on December 30, 2022, 04:24:06 pm

Title: [FIXED] Issue with psi skill special icon
Post by: Nord on December 30, 2022, 04:24:06 pm
I think it was allready discussed, but again:
When soldier have psionic skills (similar to vanilla panic or psi control ), then near the special skill button in top right corner of the screeen we can see an old psionic button, which can not be pressed or do something. How to remove this? Thanks.
Title: Re: Issue with skill icon
Post by: Yankes on December 30, 2022, 04:45:46 pm
I recall that I already fixed this, if PSI is not useful then it should show only one button.
Could you make small mod that have this behavior or show it in bigger one what solder is affected?
Title: Re: Issue with skill icon
Post by: Nord on January 01, 2023, 03:09:05 am
It is from my X-Chronicles. Use any mentat soldier.
Title: Re: Issue with skill icon
Post by: Meridian on April 23, 2023, 12:26:30 pm
I recall that I already fixed this, if PSI is not useful then it should show only one button.

That's probably between a psi weapon and special weapon.

But the issue here is between a psi weapon and a soldier skill.

I can think of a few solutions, but I don't like any of them.
@Yankes: maybe you can think of something...

Could you make small mod that have this behavior or show it in bigger one what solder is affected?
It is from my X-Chronicles. Use any mentat soldier.

Attached a save from XCHR.

See soldiers Saba Zare and Isaura Fraga.
Title: Re: [FIXED] Issue with psi skill special icon
Post by: Meridian on February 10, 2025, 10:43:26 am
Fixed.

The icon is hidden if it cannot be used.

https://github.com/MeridianOXC/OpenXcom/commit/7b8e77cce63ae6bf0c337a105f3ba54d811a93ce
Title: Re: [FIXED] Issue with psi skill special icon
Post by: Meridian on February 10, 2025, 10:47:31 am
@Nord: you can remove your hack in XChr with transparent icon in the next version