New civics

I think I try anything : self.TEXT_MARGIN = 15 doesn't correspond to size of the text at right to marge :
This is the screenshots with self.TEXT_MARGIN = 5 and self.TEXT_MARGIN = 16 :
 

Attachments

  • CivicScreens05.JPG
    CivicScreens05.JPG
    129.3 KB · Views: 46
  • CivicScreens16.JPG
    CivicScreens16.JPG
    137 KB · Views: 47
Who has he/she written the file? Is it possible to write to him/her a personnal message and to ask to him/her it?
 
There should be lines in there that use a "screen.setTextAt" function, ot something very similar. The text it is using probably includes text that looks like this: "u"<font=3>" + item + u"</font>"

That font specification is the size. It it isn't "3", try "3". Or perhaps just 1 less that whatever it is using. Then fire it up and make sure you are messing with the right text. (I think the heading should be font size 4 and the rest size 3.)

I think the Civics screen used by Caveman 2 Cosmos is essentially this one, but probably with some tweaks. If so, the name of the function for doing the right hand column's information about each civic would be the "drawHelpText" function with the main text for that part of the display being down in an 8 line section that starts with the line which says "szHelpText = CyGameTextMgr().parseCivicInfo(iCivic, False, True, True)", give or take any adjustments that were done to it.
 
Back
Top Bottom