Who can fix the civics screen for more options

ArbitraryGuy

Rusty Shackleford?
Joined
Jul 11, 2003
Messages
1,076
Well, you can add more than one civics option under a given catagory, this is good. However, the civics screen does not create a scroll bar, instead it just lists the new (over 5) civics options over/under the graphics below the list. Everything else I've come accross in the game has an overflow scrollbar except this. Is there anyone who can tame the python and make this graphically desireable? I've included a picture of what happens:

fixthecivics.gif


Anyone who fixes this has not only my eternal gratidude, but also the thanks of all future modders who want to add more than 5 civics options under a given catagory. Thanks a million in advance.
 
You could move the top text up more, and slide everything up so that it will fit. This is basically what I did to allow more room for the Religous advisor.
 
if someone succeed to understand quick the python it can be done...

I bet we will need a little time before we see people beginning to modify the python files.
I have checked myself... and closed it quickly :).
 
You just could change the size of the text and the buttons.
Open the CvCivicsScreen.py; i tried those numbers:
Code:
self.TEXT_MARGIN = 12
self.BUTTON_SIZE = 18

which resulted in this:
Civ4ScreenShot0000.JPG


With those settings you would have place for 2 more.
 
McBierle said:
You just could change the size of the text and the buttons.
Open the CvCivicsScreen.py; i tried those numbers:
Code:
self.TEXT_MARGIN = 12
self.BUTTON_SIZE = 18

which resulted in this:
Civ4ScreenShot0000.JPG


With those settings you would have place for 2 more.

Vielen Dank! This will be my temporary solution until somebody finds a more comlete solution.
 
I think I have figured how to do that in same time McBierle has posted the solution

For the background of the screen I guess this is graphic file that I can't read :(
There's a dds file about the civic screen but it appear to be an old screen...
 
Dimensions of the upper part; but spacing and width are also used for the lower part:

self.HEADINGS_WIDTH = 199
self.HEADINGS_TOP = 70
self.HEADINGS_SPACING = 5
self.HEADINGS_BOTTOM = 200


Dimensions of the lower part (the help texts):


self.HELP_TOP = 350
self.HELP_BOTTOM = 610

Range between the lines

self.TEXT_MARGIN = 12

Size for the 25 radio buttons

self.BUTTON_SIZE = 18

Size for the 5 big icons

self.BIG_BUTTON_SIZE = 64

Dimensions of the bottombar

self.BOTTOM_LINE_TOP = 630
self.BOTTOM_LINE_WIDTH = 1014
self.BOTTOM_LINE_HEIGHT = 60

Coordinates for cancel and revolution (?) buttons


self.X_EXIT = 994
self.Y_EXIT = 726
self.X_CANCEL = 552
self.Y_CANCEL = 726

No idea:

self.X_SCREEN = 500
self.Y_SCREEN = 396

Size of the whole civicsscreen:


self.W_SCREEN = 1024
self.H_SCREEN = 768

No idea:


self.Z_SCREEN = -6.1
self.Y_TITLE = 8
self.Z_TEXT = self.Z_SCREEN - 0.2[/CENTER]

And keep in mind, i didn't test all options, and i have no clue about python; i like trying and crying :D
 
Back
Top Bottom