Late Game Trading

Enginseer

Salientia of the Community Patch
Supporter
Joined
Nov 7, 2012
Messages
3,670
Location
Somewhere in California
Don't you hate it when you can't trade more than 9999 Gold for that technology or city due to a character limit? Weird how the AIs can do vice versa.

It's only a UI limitation and was only addressed here.

Fortunately, it's a simple fix that you can do.

Look for these code in DiploTrade.xml in your 6/6a/6b folder and change the MaxLength="4" to MaxLength="5".

Obviously there's going to be graphical bugs with increasing the character max length, but :dunno:
Code:
                            <Box Anchor="C,C" Offset="0,0" Size="38,16" Color="0,0,0,255">
                                <EditBox EditMode="1" Size="36,16" Anchor="C,C" Font="TwCenMT14" NumberInput="1" MaxLength="4" ID="UsGoldAmount"/>
                            </Box>
Code:
                            <Box Anchor="C,C" Offset="0,0" Size="38,16" Color="0,0,0,255">
                                <EditBox EditMode="1" Size="36,16" Anchor="C,C" Font="TwCenMT14" NumberInput="1" MaxLength="4" ID="UsGoldPerTurnAmount"/>
                            </Box>
Code:
                            <Box Anchor="C,C" Offset="0,0" Size="38,16" Color="0,0,0,255">
                                <EditBox EditMode="1" Size="36,16" Anchor="C,C" Font="TwCenMT14" NumberInput="1" MaxLength="4" ID="ThemGoldAmount"/>
                            </Box>
Code:
                            <Box Anchor="C,C" Offset="0,0" Size="38,16" Color="0,0,0,255">
                                <EditBox EditMode="1" Size="36,16" Anchor="C,C" Font="TwCenMT14" NumberInput="1" MaxLength="4" ID="ThemGoldPerTurnAmount"/>
                            </Box>
 
Top Bottom