XCOM 2
WOTC Show Enemies and Terrain on Mission Planning
sebkulu  [开发者] 2017 年 11 月 3 日 上午 7:07
Bug report
Please report any bug here
< >
正在显示第 1 - 15 条,共 55 条留言
sebkulu  [开发者] 2017 年 11 月 4 日 上午 3:30 
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."
最后由 sebkulu 编辑于; 2017 年 11 月 4 日 上午 3:30
sebkulu  [开发者] 2017 年 11 月 4 日 上午 3:31 
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" ?
最后由 sebkulu 编辑于; 2017 年 11 月 4 日 上午 3:42
sebkulu  [开发者] 2017 年 11 月 4 日 上午 4:08 
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  [开发者] 2017 年 11 月 4 日 上午 6:05 
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  [开发者] 2017 年 11 月 4 日 上午 6:08 
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 ^^
最后由 sebkulu 编辑于; 2017 年 11 月 4 日 上午 6:12
Zyxpsilon  [开发者] 2017 年 11 月 4 日 上午 8:11 
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  [开发者] 2017 年 11 月 4 日 上午 8:22 
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.
最后由 sebkulu 编辑于; 2017 年 11 月 4 日 上午 8:28
Zyxpsilon  [开发者] 2017 年 11 月 4 日 上午 10:06 
Still happening. So it's continually stuck, AFAIK.
sebkulu  [开发者] 2017 年 11 月 4 日 下午 12:44 
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  [开发者] 2017 年 11 月 4 日 下午 2:01 
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.
最后由 Zyxpsilon 编辑于; 2017 年 11 月 4 日 下午 2:03
sebkulu  [开发者] 2017 年 11 月 4 日 下午 2:07 
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  [开发者] 2017 年 11 月 4 日 下午 6:48 
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  [开发者] 2017 年 11 月 4 日 下午 7:06 
PS... It's just a typo in the UIShowEnemies.UC script file, btw!

case "Xenomoprh" : return localized_Xenomorph;

:D
最后由 Zyxpsilon 编辑于; 2017 年 11 月 4 日 下午 7:07
sebkulu  [开发者] 2017 年 11 月 4 日 下午 7:31 
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 ^^)
Charnoculus Prime 2017 年 11 月 5 日 下午 2:46 
@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?
< >
正在显示第 1 - 15 条,共 55 条留言
每页显示数: 1530 50