XCOM 2
Display Hit Chance for XCOM and Aliens
63 Comments
-shhfiftyfive Oct 29, 2017 @ 6:25am 
@sebkulu

this mod was a vanilla xcom2 mod available at launch, as a placeholder until "perfect information" was ported over from the previous game post-launch... this mod was redundant after "perfect information" mod surfaced. and that worked with LW2 mod too.. perfect info is the superior mod, if working.

and then WOTC came out, last i checked its attempted to update, but buggy.. might wanna check that out and see if you can dig through the code and create a fix? http://steamcommunity.com/sharedfiles/filedetails/?id=1140739830
sebkulu Oct 28, 2017 @ 8:55am 
Oh, why doesn't it show up in the latest mods page?

Anyway, I tested it right into my ongoing campaign by loading a tactical save that was already using 120+ mods, and everything's fine.
You shouldn't get any trouble if you don't use another mod overriding X2ActionApplyDamageToUnit class.
sebkulu Oct 28, 2017 @ 8:53am 
sebkulu Oct 28, 2017 @ 7:50am 
Yup, also, localization done :-)

As I'm french, I did the french Loc., feel free to translate the text to another language ^^

Localized Version Screenshot:
https://steamuserimages-a.akamaihd.net/ugc/852730190928447410/0F85C55462D49B1EFEAFA8C60FE2CB088E12A57B/
( * ) Oct 28, 2017 @ 7:44am 
sebkulu : so I'll finally be able to begin my WoTC campaign.
Thanks man!
sebkulu Oct 28, 2017 @ 7:41am 
Ok, cool, so right now I'm trying to add localized text, so you don't get "HIT CHANCE" in english, but also in the localized language you're using, only if translation is done by someone.
This is in a text file within "Localization" Folder.
For now, I fail to display localized strings, but I have good hopes :-)

Actually it wasn't too much difficult to port this to WoTC, I just had to remove the XComUIBroadcastMessage reference, because it just doens't work that way any more, and I really did not understand why it was here in the first place...

I may upload this on Steam within few hours.
( * ) Oct 28, 2017 @ 7:21am 
sebkulu : yes and yes, from my memories. :)
sebkulu Oct 28, 2017 @ 2:34am 
@( * ): I'm trying dude, believe me :-p
I would like being able to do it, so then I could move to something more complex, but I still have to figure out how to do this first... ^^
At least I managed to get a full usable ModBuddy with tools that allow it to run like a real IDE would, with completion/intellisense/etc...

I've also been comparing how PerfectInformation displays messages against how this mod does, and it's...different (lol)
( * ) Oct 27, 2017 @ 1:25pm 
sebkulu : I hope you'll be able to port this mod to WoTC.
May the Force be with you! :D
sebkulu Oct 27, 2017 @ 9:19am 
PS: Please don't be to hard on me, I may be a dev IRL, but I'm new to XCOM modding, modbuddy, and Unreal Engine Scripting in general, so there are a lot of things that I still don't know.
I wanted to begin XCOM modding by porting your mod first (which seemed doable at first sight :-p), and then see if I could manage to debug PerfectInformation (lol)
Right now, I'm not even able to port your mod to WoTC... ^^

@Andy_Bell101:Wouldn't you mind giving me a hand dude? ;-)
I know you don't have WoTC,but I can provide you with the new classes, if you could just take a look and tell me what I could do?
sebkulu Oct 27, 2017 @ 9:19am 
Hi Guys, and the respectable author of this mod ;-)
So, I took a peek into the mod and... it's not an easy task to port it to WoTC...

Mod's Class extends X2Action_ApplyWeaponDamageToUnit, which has changed a lot since original XCOM 2.
For example, now we have also Templar/Skirmisher/Reaper Damage Displays, and some other new stuff that are not present in this mod's Class.
There are also UI Elements that have been changed since original XCOM 2.

So I managed to apply the new functions definitions (1 parameter added), but there is a UI element that I can't seem being able to use...
More specifically, the "UIWorldMessageMgr.static.DamageDisplay()" function used to return a value that is not returned any more, because now UI elements are handled in another way.
Also, all classes extending XComUIBroadcastWorldMessage are now deprecated and empty :-p

Sooooo... I might end up trying some things, but I'm really unsure about the results I will get, as almost everything has changed.
VJ Sep 12, 2017 @ 12:10am 
One of the most underrated mods, hope someone picks this up!
* Rêveur * Sep 9, 2017 @ 5:58am 
Someone pelase make a WoTC compatible version.
Can't please wthout this great mod!
Andy_Bell101  [author] Sep 7, 2017 @ 2:44pm 
For those of you asking for WOTC support, I'm afraid I will not be buying it any time soon. I don't play the game anymore. If anyone wants to take the existing mod and make it compatible then they are more than welcome to do so
( * ) Sep 7, 2017 @ 1:36pm 
WOTC please. :)
Admiralthrawnbar Aug 29, 2017 @ 9:33am 
Needs a WOTC update. The game will launch but as soon as something happens that would trigger the popup, I.E. a shot or grenade, the game crashes.
-shhfiftyfive Jan 21, 2017 @ 3:32am 
i guess this is like "perfect information" for xcom 2 and LW1 second wave.i understand this mod came to xcom 2 before perfect info mod... i see perfect info is mostly compatible with LW2.

any differences between this and perfect info? i used this a year ago at xcom 2 release.
Moofrog Oct 25, 2016 @ 7:21am 
For some weird reason after uninstalling this mod my FPS on the global screen rose from 20 to 80-100 again. So maybe this mod conflicts with something and thus makes the global screen have low fps & lag. Would be ne nice if you could look into your code.
ssomchay85 Sep 24, 2016 @ 1:20am 
What would make this mod even better if it could tell you what you're next move is gonna be after.Prophet Mod.
Tricky Lesbian Mar 12, 2016 @ 7:43pm 
Thank you Immhotep for the fix and also Andy do not give up on your mod it is much better then perfect information.
Immhotep Mar 11, 2016 @ 10:52pm 
good to know that actually works for others
Andy_Bell101  [author] Mar 11, 2016 @ 9:10pm 
@immhotep Nice job on finding that fix man, worked on my dev version and my actual game too. I'll add those instruction to the description
Immhotep Mar 11, 2016 @ 7:38pm 
I have found a way to get the mod to work after the patch... For those who are unable to use certain mods after the last patch try this...
go to your "My Documents" search for "My Games\XCOM2\XComGame\Config" folder and delete all files inside the folder and the game will rebuild all files and all mods which are bugged will be working again, not 100% sure if this will work for everyone but at least it works for me.
Andy_Bell101  [author] Mar 11, 2016 @ 9:53am 
Ah I see what you're saying. Weird that it doesn't work for you, it's always worked really well for me. I'm trying to get a fix going now but I'm struggling. Hopefully have something by the end of the weekend
Immhotep Mar 10, 2016 @ 7:25pm 
@Andy_Bell101: the link works fine but when I subscribed the mod, it does not help... which means I can't play my old save games
Immhotep Mar 10, 2016 @ 7:24pm 
Yeah true, when I 1st saw perfect information I was like "seriously? that's more like overinformation" and I passed
Tricky Lesbian Mar 10, 2016 @ 4:52pm 
Perfect information is actually just bad. This one does a much better job of correctly displaying hit values. Please keep this one up to date I would rather use yours over Perfect information. Plus this one does not flood me with pointless information like crit and dodge. I KNOW THOSE VALUES and they do not change.
Andy_Bell101  [author] Mar 10, 2016 @ 1:31pm 
I'm sure it would be an easy fix, it just seems a bit pointless to maintain this mod when Perfect Information is much better. I didn't think anyone would really be interested in me keeping this one going. I can look into a fix.

Also the links work for me, what happens when you click it?
Immhotep Mar 10, 2016 @ 1:23pm 
Isn't there any way for you to fix this at all? By the way, the link from the description doesn't work
Andy_Bell101  [author] Mar 10, 2016 @ 12:56pm 
Hi there, I'm no longer developing this mod because Perfect Information is much better. Check the description for links to that mod as well as a mod that will let you remove this mod from your game without breaking your saves
Immhotep Mar 10, 2016 @ 12:32pm 
The mod isn't working after the last patch, can anyone else confirm this?
Andy_Bell101  [author] Feb 21, 2016 @ 7:54pm 
Don't know, I don't see why it wouldn't be possible. I quite like the choice mechanic though so it's not something I'd want to work on. I'm sure there'll be someone who agrees with you on this
IПVIƧIGӨƬΉ Feb 21, 2016 @ 7:41pm 
is it doable creating a simple mod that allows us to grab and do all the 3 guerrilha ops missions (with different squads) instead of just forced to choose one mission? :Raz:
Mickey Surviving RNG Feb 20, 2016 @ 10:35am 
ok no worries :D just a thought :D
Andy_Bell101  [author] Feb 19, 2016 @ 7:14am 
That would be a possible mod I think, though I don't know if it would be appropriate to roll it into this mod. Seems like something that would be better as a stand-alone
Mickey Surviving RNG Feb 19, 2016 @ 6:48am 
My apologies Andy, yeah your mod does just show ##% (by default) its just the default game shows Armor and Damage with the actual words "Armor" and "Damage" instead of just their colour coded numbers, thats a shame the game does it that way, if it just showed colour coded numbers then there would be more room to increase the size of the fonts with out being too intrusive :/
Andy_Bell101  [author] Feb 19, 2016 @ 4:03am 
By default the mod should show only the numbers unless I messed up the upload
Mickey Surviving RNG Feb 18, 2016 @ 5:00pm 
No worries Andy, thanks for checking :) i'm partially sighted and others in a similar situation might also find it useful
infact, so giant text doesn't cover all the screen how about (if ts not too difficult or too much trouble) removing all text expect for the %?
what do you think?
Andy_Bell101  [author] Feb 18, 2016 @ 3:40pm 
@Mickey I think there is a way to increase the font size from what I can remember from the documentation. I'll have a look around and get back to you
Mickey Surviving RNG Feb 18, 2016 @ 2:50pm 
Thanks for the awesome mod Andy :D
quick question though, do you know anyway to change the font size? or to have the game use a font size that is larger?
Bluegills Feb 17, 2016 @ 11:46pm 
Works wonderfully and does what it says. Good for people that want insight on how close or far it was for their or the enemy's hit chance was.
Dzann Feb 16, 2016 @ 4:11am 
Great mod from what little ive been able to play after installing and just like the one in LW makes me disgusted how luck aliens get with RNG all the fucking time xD
dRw Feb 15, 2016 @ 1:27pm 
Alright, thanks :) going to try it out then :)
Andy_Bell101  [author] Feb 15, 2016 @ 12:02pm 
It works for both XCOM and the Aliens shots so yeah it's similar to that second wave option from the first game. I did edit the title to say that it worked for XCOM and Aliens but I think it got reset when I uploaded the newer version. Guess I'll have to add that back in now
dRw Feb 15, 2016 @ 11:14am 
Does this also show when the enemy shoots, like the second wave Perfect Information from xcom EU/EW? Cus that is information that would be fun to know, just to know how lucky/unlucky I am being.

Also, GeminiGoD, there is a Second Wave option called Perfect Information that does this (if this mod does what I think it does)
GeminiGod Feb 15, 2016 @ 9:05am 
This is one of my favorite mods! Wish I could have had it with xcom1!
Andy_Bell101  [author] Feb 14, 2016 @ 3:43pm 
Good point. Added to the description
Gunteraz Feb 14, 2016 @ 3:37pm 
Might want to add the exact path to the mod's folder because i have like 30 mods installed and i have no idea what the number of this mod is.