XCOM 2
WOTC Show Enemies and Terrain on Mission Planning
sebkulu  [developer] 3 Nov, 2017 @ 7:07am
Bug report
Please report any bug here
< >
Showing 1-15 of 55 comments
sebkulu  [developer] 4 Nov, 2017 @ 3:30am 
So, first bug report by Zyxpsilon:
"Just got my first "buggy" situation.
No detected Enemies on the first Retaliation Mission (had four plus the initial encounter with a Chosen).
Soooooo this might be related to a Chosen presence."
"And... now -- none of the subsequent missions had anything in the EnemiesDetected box either. Must be something wrong with the MCM implementation.. cuz that's when such problems started to occur."
Last edited by sebkulu; 4 Nov, 2017 @ 3:30am
sebkulu  [developer] 4 Nov, 2017 @ 3:31am 
By the way, was the EnemyCount also empty?? And Title string, was it there? ("ENEMIES DETECTED:")

PS: I'm thinking about the way I'm retrieving Shadow Chamber Enemies List... Maybe when there's a chosen, Enemies List must be retrieved from somewhere else...

Are you saying that before MCM, THIS PRECISE SITUATION would'nt bring any bug at all??

MCM implementation just added a way to adjust variables, and variables regarding Enemies List strings are not handled by MCM...

OH! Did you change iEnnemiesListPositionX and iEnemiesListPositionY and iSitrepDisplayOffset?
'Cause that could have been the cause of that, probably displaying text out of screen bounds :-)

Please can you also check values for iEnnemiesListPositionX and iEnemiesListPositionY and iSitrepDisplayOffset in your "/My Documents/My Games/XCOM 2 War of the Chosen/XComGame/Config/XComWOTC_UIShowEnemies.ini" ?
Last edited by sebkulu; 4 Nov, 2017 @ 3:42am
sebkulu  [developer] 4 Nov, 2017 @ 4:08am 
I went carefully through the code and here's what I can say:
1. If there was no text displayed AT ALL (meaning no "ENEMIES DETECTED:" string displayed neither), then it must be someway related to X and Y coordinates as well as SitRepOffset
2. If "ENEMIES DETECTED:" string was displayed, then it indicates that the subsequent strings I'm trying to disaply are empty, thus meaning that I couldn't properly retrieve Enemies Count and List from MissionState
Zyxpsilon  [developer] 4 Nov, 2017 @ 6:05am 
It is #2. The red header string is always there.
It could also be a MCM settings of the panel that i move near to the Launch button with that SITREP variable standing at zero. Soooo, maybe the box content where the enemies are assembled is "Off-Screen" like you say. I'll fiddle a bit more with some values to check out.
At first i thought the ShadowChamber toggle was somewhat inverted (True/False) by MCM options and thus didn't respond to my need to always show everything. Strange,
sebkulu  [developer] 4 Nov, 2017 @ 6:08am 
Oh, I forgot, Did you have the Ennemies Count Number also displayed?
Because, if so, then it means that only the Enemies List Panel/Text has not been displayed correctly, so it narrows my bug-tracking-search-scope down a bit :-)

Edit: Oh! The switch button value, you're right sir, I gotta check this out ^^
Last edited by sebkulu; 4 Nov, 2017 @ 6:12am
Zyxpsilon  [developer] 4 Nov, 2017 @ 8:11am 
Yup .. enemy count number is up & validated as it should.
If you think that mysterious "Switch Button Value" is the guilty flaw -- so be it! Just hoping it's somewhat easy to fix. Not sure why this happened to me (or anyone else).. maybe that's when the system tried to implement MCM parameters instead of the old Config settings (and file) -- while transiting from one principle to the other?
sebkulu  [developer] 4 Nov, 2017 @ 8:22am 
That could have also been, because I don't see what could cause it otherwise.
I mean, Enemies Count and Enemies List are tied together, meaning that if you can't (or don't want to) display enemies information, both shouldn't appear.
That implies that switch button value for choosing to display info whether or not you have Shadow Chamber constructed, is working indeed :-)

BUT, the second panel has its own properties, meaning you can have it out of your way if you desire (even if I think that it should not be possible with MCM considering the fact I limited slider values to avoid this)

What I could do instead, is giving the ability to display Enemies List or not, and keep Enemies Count.

By the way is it still happening or has it only been happening in one game session?

PS: That's why in the next update I will set VERSION=2 to INI Default values, so it will overwrite user existing settings, and ensure that all variables (including new ones) are within valid range.
Last edited by sebkulu; 4 Nov, 2017 @ 8:28am
Zyxpsilon  [developer] 4 Nov, 2017 @ 10:06am 
Still happening. So it's continually stuck, AFAIK.
sebkulu  [developer] 4 Nov, 2017 @ 12:44pm 
Can you please take a look into C:\Users\Media-Center\Documents\my games\XCOM2 War of the Chosen\XComGame\Config\XComWOTC_UIShowEnemies.ini and copy/paste its content here?
Zyxpsilon  [developer] 4 Nov, 2017 @ 2:01pm 
Just had ShadowChamber activated and the panel is now filling as it should. Contrary to what i wrote earlier.. the number of Enemies weren't shown (before SC), only the header was.

INI content here...
---------
[WOTC_ShowEnemiesOnMissionPlanning.UIShowEnemies_MCMScreenListener]
CONFIG_VERSION=1
bSHOW_WITHOUT_SHADOWCHAMBER=True
bBackground=True
bShowTerrain=True
bShowIcons=True
bShowBiomeText=True
bShowPlotText=True
iEnemiesListPosX=420
iEnemiesListPosY=25
iSitrepDisplayOffset=0
iTerrainPosX=-620
iTerrainPosY=25
iIconSize=32
fAlphaBackground=0.400000
sTerrainTitleColor=Header
sTerrainColor=Gray
sBackground=Simple
---------

Hope that helps you determine the exact cause of this weird situation.
Last edited by Zyxpsilon; 4 Nov, 2017 @ 2:03pm
sebkulu  [developer] 4 Nov, 2017 @ 2:07pm 
Ok I think I know where it comes from.
I forgot to reset a boolean in code used to tell if shadow chamber information had to be retrieved or not.
I have alreaedy fixed it in the version I'm working on :-)

As a test I destroy my shadow chamber and go check if info is displayed on screen regarding my choice in MCM.
And if I set Show Without Shadow Chamber to 'true', info is displayed properly.

But i'm gonna double-check it right now :-)

By the way, INI file is clean, so it's not what might have caused this behaviour, I can rule it out, thank you.
Zyxpsilon  [developer] 4 Nov, 2017 @ 6:48pm 
There you go.. latest update fixed the Enemies panel. The only remaining issue would be this missing string for the XenoMorph biome terrain...
https://s1.postimg.org/3izwkoqysf/Last_BUG_Xeno_Morph-_Biome.png

Excellent results.. so far!
Zyxpsilon  [developer] 4 Nov, 2017 @ 7:06pm 
PS... It's just a typo in the UIShowEnemies.UC script file, btw!

case "Xenomoprh" : return localized_Xenomorph;

:D
Last edited by Zyxpsilon; 4 Nov, 2017 @ 7:07pm
sebkulu  [developer] 4 Nov, 2017 @ 7:31pm 
Oh! Thank you! ^^
Indeed, it's a bad typo :-p

I'm gonna fix it right away and push new update after having cleaned the code a little bit (yes I'm still working on it right now, so code is evolving ^^)
@sebkulu posting about only Plot Type ahowing in game, you said to post the conifg file from "Documents\My Games\XCOM2 War of the Chosen\XComGame\Config" there is no config file!

Think this is because I keep my Documents folder on D:\ WDYT?
< >
Showing 1-15 of 55 comments
Per page: 1530 50