Funny thing that I found in a game file

Zuimmers

Chieftain
Joined
Jul 21, 2016
Messages
8
So as I was hopelessly trying to decipher some settings regarding diplomacy so to fix an issue I have encountered, I found the developers leaving notes in these game files exactly where it talks about gossip (the in-game panel with which I have issues). I don't know what the guy is saying exactly but I think it really relates with my issue. Take a look at the first few lines, before it goes into coding. I found this really funny, never thought the devs leave messages like that in the game files :)) .



<!-- ATTN TRON/KEN: I think we may have a bug here - parent needs to be re-evauluated whenever we GetInstance on the instance manager. -->
<!-- When an instance is passed into a function, it incorrectly evaluates the parent width as the full width of the screen, instead of its current parent. -->
<!-- Until this is addressed, I am going to hard-code the width of the gossip entry as (295) so that I can continue.-->
<Instance Name="IntelGossipHistoryPanelEntry">
<Grid ID="Background" Texture="Controls_GossipBubble" Size="295, 37" Anchor="L,C" SliceCorner="18,18" SliceTextureSize="36,37">
<Label ID="GossipText" WrapWidth="265" Offset="17,0" Style="TextButtonStyle" Anchor="L,C" String="???"/>
<Label ID="NewIndicator" String="[ICON_New]" Anchor="R,T" Hidden="1"/>
</Grid>
</Instance>
...etc.
 
Back
Top Bottom