hoplitejoe
Top fun-poster
- Joined
- Mar 22, 2010
- Messages
- 5,470
Where would I find this Python console?
It depends, on your keyboard layout. I have a Swedish keyboard, so I probably can't help you.Where would I find this Python console?
'bCongressEnabled': False,
'bCongressEnabled': True,
Unfortunately I don't know how the autowar is usually enforced, but I can take a look into the files, maybe I discover something useful.Sorry to bother with the same topic again, but i still have the problem that barbs doesn't start with war with everyone. I made it that via python in every turn they declare war, but that can't be the end of the journey.
The AI tech preference is controlled by the tech IDs which are hardcoded into the DLL, if you added a tech or changed something to the defines there, they get interpreted the wrong way and everything is messed up.Do anyone have any idea why religions can be messed up? I'm making a new version of my modmod and I see that nearly every religion is born in Egypt or Greece. OK, they got more power recently but that doesn't explain why India doesn't go for priesthood.
Or you copy-paste what's already in the code, like this:VOID addMessage (PlayerType ePlayer, BOOL bForce, INT iLength, STRING szString, STRING szSound, InterfaceMessageType eType, STRING szIcon, ColorType eFlashColor, INT iFlashX, INT iFlashY, BOOL bShowOffScreenArrows, BOOL bShowOnScreenArrows)
void (int /*PlayerTypes*/ ePlayer, bool bForce, int iLength, wstring szString, string szSound = NULL, int /*InterfaceMessageTypes*/ eType = MESSAGE_TYPE_INFO, string szIcon = NULL, ColorTypes eFlashColor = NO_COLOR, int iFlashX = -1, int iFlashY = -1, bool bShowOffScreenArrows = false, bool bShowOnScreenArrows = false)
CyInterface().addMessage(iHuman, False, con.iDuration/2, CyTranslator().getText("TXT_KEY_CULTURE_SPREAD", ()), "", 0, "", ColorTypes(con.iGreen), -1, -1, True, True)