_alphaBeta_
King
Not following what your problem is. Can you describe what you mean by the "city build prompt circle"?mikezang said:It seems this MOD hide city build prompt circle, how can we let it back?
Not following what your problem is. Can you describe what you mean by the "city build prompt circle"?mikezang said:It seems this MOD hide city build prompt circle, how can we let it back?
It used to work for me before I disabled it via the in-game options menu. I forget exactly what the option is called. Something about recommended locations/movements. I'm not in front of the game now so I can't be more specific. Look through the options menu (CTRL+O). Chances are it got changed here somehow for you.mikezang said:I mean the blue circle when settler is selected.
TheLopez said:I was asked by Houman if I could port 12monkeys PLE to warlord and here is the link to the download: http://forums.civfanatics.com/./downloads.php?do=file&id=2540
enjoy.
_alphaBeta_ said:@wioneo:
See below. I haven't tried it since I don't own Warlords, but there hasn't been any complaints.![]()
Custom Assets in your My documents folder. Consult below taken from the mod readme:wioneo said:Thank you kindly(that's country talk).
It doesn't workThere is no difference at all, but my game crashes when I meet Mehemed the 2nd now... I think that I put it in the wrong folder. Was it supposed to overwrite assets or custom assets?
============
Installation :
============
copy the files from the ZIP into their corresponding folders in the "My Documents\My Games\Civilization 4" folder. Installation at own risk!. If you have already a modified versions of any file in this mod, you can manually merge them by looking for the comments "12monkeys - <mod name> - begin/end".
If you have an older version installed, you may uninstall it first. Some files became obsolete and some files have changed locations. But it doesn't harm if you keep them, they simple not used anylonger.
Ok, thanks for that report, is there anything else?vorshlumpf said:TheLopez, did you incorporate the bug fixes that are missing from 12M's download (and listed in this thread)?
Also, for anyone using this mod on a game that has units with no movement (like Fall from Heaven), there is a divide by zero error.
In \Assets\python\screens\CvMainInterface.py we have:I fixed it by adding an if statement as follows:Code:screen.setBarPercentage( szStringMoveBar, InfoBarTypes.INFOBAR_STORED, float( fCurrMoves ) / float( fMaxMoves ) )
Code:if (fMaxMoves): screen.setBarPercentage( szStringMoveBar, InfoBarTypes.INFOBAR_STORED, float( fCurrMoves ) / float( fMaxMoves ) ) else: screen.setBarPercentage( szStringMoveBar, InfoBarTypes.INFOBAR_STORED, float(1.0) )
- Niilo
Can you send me a list of issues that need to be fixed?Caesium said:Many bugs, tweaks and fixes here.
Will someone rewrite this mod for vanilla and warlords including all the known bugfixes and/or fixing known issues?
def updateMiscButtons( self ):
screen = CyGInterfaceScreen( "MainInterface", CvScreenEnums.MAIN_INTERFACE )
xResolution = screen.getXResolution()
if ( CyInterface().shouldDisplayFlag() and CyInterface().getShowInterface() == InterfaceVisibility.INTERFACE_SHOW ):
screen.show( "CivilizationFlag" )
screen.show( "InterfaceHelpButton" )
screen.show( "MainMenuButton" )
#ruff mod
self.showPlotListButtonObjects()
#ruff mod
else:
screen.hide( "CivilizationFlag" )
screen.hide( "InterfaceHelpButton" )
screen.hide( "MainMenuButton" )
#ruff mod
self.hidePlotListButtonObjects()
#ruff mod
if ( CyInterface().getShowInterface() == InterfaceVisibility.INTERFACE_HIDE_ALL or CyInterface().getShowInterface() == InterfaceVisibility.INTERFACE_MINIMAP_ONLY ):
screen.hide( "InterfaceLeftBackgroundWidget" )
screen.hide( "InterfaceTopBackgroundWidget" )
screen.hide( "InterfaceCenterBackgroundWidget" )
screen.hide( "InterfaceRightBackgroundWidget" )
screen.hide( "MiniMapPanel" )
screen.hide( "InterfaceTopLeft" )
screen.hide( "InterfaceTopCenter" )
screen.hide( "InterfaceTopRight" )
screen.hide( "TurnLogButton" )
screen.hide( "DomesticAdvisorButton" )
screen.hide( "ForeignAdvisorButton" )
screen.hide( "TechAdvisorButton" )
screen.hide( "CivicsAdvisorButton" )
screen.hide( "ReligiousAdvisorButton" )
screen.hide( "FinanceAdvisorButton" )
screen.hide( "MilitaryAdvisorButton" )
screen.hide( "VictoryAdvisorButton" )
screen.hide( "InfoAdvisorButton" )
#ruff mod
self.hidePlotListButtonObjects()
#ruff mod
elif ( CyInterface().isCityScreenUp() ):
screen.show( "InterfaceLeftBackgroundWidget" )
screen.show( "InterfaceTopBackgroundWidget" )
screen.show( "InterfaceCenterBackgroundWidget" )
screen.show( "InterfaceRightBackgroundWidget" )
screen.show( "MiniMapPanel" )
screen.hide( "InterfaceTopLeft" )
screen.hide( "InterfaceTopCenter" )
screen.hide( "InterfaceTopRight" )
screen.hide( "TurnLogButton" )
screen.hide( "DomesticAdvisorButton" )
screen.hide( "ForeignAdvisorButton" )
screen.hide( "TechAdvisorButton" )
screen.hide( "CivicsAdvisorButton" )
screen.hide( "ReligiousAdvisorButton" )
screen.hide( "FinanceAdvisorButton" )
screen.hide( "MilitaryAdvisorButton" )
screen.hide( "VictoryAdvisorButton" )
screen.hide( "InfoAdvisorButton" )
#ruff mod
self.hidePlotListButtonObjects()
#ruff mod
elif ( CyInterface().getShowInterface() == InterfaceVisibility.INTERFACE_HIDE ):
screen.hide( "InterfaceLeftBackgroundWidget" )
screen.show( "InterfaceTopBackgroundWidget" )
screen.hide( "InterfaceCenterBackgroundWidget" )
screen.hide( "InterfaceRightBackgroundWidget" )
screen.hide( "MiniMapPanel" )
screen.show( "InterfaceTopLeft" )
screen.show( "InterfaceTopCenter" )
screen.show( "InterfaceTopRight" )
screen.show( "TurnLogButton" )
screen.show( "DomesticAdvisorButton" )
screen.show( "ForeignAdvisorButton" )
screen.show( "TechAdvisorButton" )
screen.show( "CivicsAdvisorButton" )
screen.show( "ReligiousAdvisorButton" )
screen.show( "FinanceAdvisorButton" )
screen.show( "MilitaryAdvisorButton" )
screen.show( "VictoryAdvisorButton" )
screen.show( "InfoAdvisorButton" )
screen.moveToFront( "TurnLogButton" )
screen.moveToFront( "DomesticAdvisorButton" )
screen.moveToFront( "ForeignAdvisorButton" )
screen.moveToFront( "TechAdvisorButton" )
screen.moveToFront( "CivicsAdvisorButton" )
screen.moveToFront( "ReligiousAdvisorButton" )
screen.moveToFront( "FinanceAdvisorButton" )
screen.moveToFront( "MilitaryAdvisorButton" )
screen.moveToFront( "VictoryAdvisorButton" )
screen.moveToFront( "InfoAdvisorButton" )
#ruff mod
self.hidePlotListButtonObjects()
#ruff mod
elif ( CyEngine().isGlobeviewUp() ):
screen.hide( "InterfaceLeftBackgroundWidget" )
screen.hide( "InterfaceTopBackgroundWidget" )
screen.hide( "InterfaceCenterBackgroundWidget" )
screen.show( "InterfaceRightBackgroundWidget" )
screen.show( "MiniMapPanel" )
screen.show( "InterfaceTopLeft" )
screen.show( "InterfaceTopCenter" )
screen.show( "InterfaceTopRight" )
screen.show( "TurnLogButton" )
screen.show( "DomesticAdvisorButton" )
screen.show( "ForeignAdvisorButton" )
screen.show( "TechAdvisorButton" )
screen.show( "CivicsAdvisorButton" )
screen.show( "ReligiousAdvisorButton" )
screen.show( "FinanceAdvisorButton" )
screen.show( "MilitaryAdvisorButton" )
screen.show( "VictoryAdvisorButton" )
screen.show( "InfoAdvisorButton" )
screen.moveToFront( "TurnLogButton" )
screen.moveToFront( "DomesticAdvisorButton" )
screen.moveToFront( "ForeignAdvisorButton" )
screen.moveToFront( "TechAdvisorButton" )
screen.moveToFront( "CivicsAdvisorButton" )
screen.moveToFront( "ReligiousAdvisorButton" )
screen.moveToFront( "FinanceAdvisorButton" )
screen.moveToFront( "MilitaryAdvisorButton" )
screen.moveToFront( "VictoryAdvisorButton" )
screen.moveToFront( "InfoAdvisorButton" )
#ruff mod
self.hidePlotListButtonObjects()
#ruff mod
else:
screen.show( "InterfaceLeftBackgroundWidget" )
screen.show( "InterfaceTopBackgroundWidget" )
screen.show( "InterfaceCenterBackgroundWidget" )
screen.show( "InterfaceRightBackgroundWidget" )
screen.show( "MiniMapPanel" )
screen.show( "InterfaceTopLeft" )
screen.show( "InterfaceTopCenter" )
screen.show( "InterfaceTopRight" )
screen.show( "TurnLogButton" )
screen.show( "DomesticAdvisorButton" )
screen.show( "ForeignAdvisorButton" )
screen.show( "TechAdvisorButton" )
screen.show( "CivicsAdvisorButton" )
screen.show( "ReligiousAdvisorButton" )
screen.show( "FinanceAdvisorButton" )
screen.show( "MilitaryAdvisorButton" )
screen.show( "VictoryAdvisorButton" )
screen.show( "InfoAdvisorButton" )
screen.moveToFront( "TurnLogButton" )
screen.moveToFront( "DomesticAdvisorButton" )
screen.moveToFront( "ForeignAdvisorButton" )
screen.moveToFront( "TechAdvisorButton" )
screen.moveToFront( "CivicsAdvisorButton" )
screen.moveToFront( "ReligiousAdvisorButton" )
screen.moveToFront( "FinanceAdvisorButton" )
screen.moveToFront( "MilitaryAdvisorButton" )
screen.moveToFront( "VictoryAdvisorButton" )
screen.moveToFront( "InfoAdvisorButton" )
#ruff mod
self.showPlotListButtonObjects()
#ruff mod
screen.updateMinimapVisibility()
return 0
The biggest offender IMO is the first one. Currently, the information displayed when you mouseover a unit sometimes stays on the screen when it shouldn't. The heal calculation would also be nice to fix.bug fixes :
1.) fixing issues with malfunctioning mouse over info by usage of some new v1.61 API features.
2.) DONE! fixing turn to heal calculation
3.) DONE! display negative promotion values (currently the're not displayed)
4.) DONE! fixing "double move" attributes in mouse over inof (currently they're canbe displayed twice)
5.) DONE! fixing pOldPlot issue
6.) DONE! switch off PLE button when switching interface mode (eg. when switching to world builder)
7.) DONE! unit movmements wrong calculated
8.) DONE! python error when chaningin python code while game is running
Only when my fat fingers are rummaging through the code, so no I haven't had any similar issues.Ket said:We're seeing a good deal of python popups with PLE installed. IS anyone else having issues?
in theself.showPlotListButtonObjects()
rountine..def updatePlotListButtons( self ):
ruff_hi said:I've ported the changes for this mod back into the main interface screen file so that I can turn it off and on without disturbing my other mods. Thus, I cannot post a modifed file ... however, here are the changes that I made.
There are two definitions ...
def showPlotListButtonObjects(self):
def hidePlotListButtonObjects(self):
... that control the showing and hiding of the buttons. I have modified the following standard items under the 'def updateMiscButtons( self ):' part of the CvMainInterface.py file ...
PHP:def updateMiscButtons( self ): screen = CyGInterfaceScreen( "MainInterface", CvScreenEnums.MAIN_INTERFACE ) xResolution = screen.getXResolution() if ( CyInterface().shouldDisplayFlag() and CyInterface().getShowInterface() == InterfaceVisibility.INTERFACE_SHOW ): screen.show( "CivilizationFlag" ) screen.show( "InterfaceHelpButton" ) screen.show( "MainMenuButton" ) #ruff mod self.showPlotListButtonObjects() #ruff mod else: screen.hide( "CivilizationFlag" ) screen.hide( "InterfaceHelpButton" ) screen.hide( "MainMenuButton" ) #ruff mod self.hidePlotListButtonObjects() #ruff mod if ( CyInterface().getShowInterface() == InterfaceVisibility.INTERFACE_HIDE_ALL or CyInterface().getShowInterface() == InterfaceVisibility.INTERFACE_MINIMAP_ONLY ): screen.hide( "InterfaceLeftBackgroundWidget" ) screen.hide( "InterfaceTopBackgroundWidget" ) screen.hide( "InterfaceCenterBackgroundWidget" ) screen.hide( "InterfaceRightBackgroundWidget" ) screen.hide( "MiniMapPanel" ) screen.hide( "InterfaceTopLeft" ) screen.hide( "InterfaceTopCenter" ) screen.hide( "InterfaceTopRight" ) screen.hide( "TurnLogButton" ) screen.hide( "DomesticAdvisorButton" ) screen.hide( "ForeignAdvisorButton" ) screen.hide( "TechAdvisorButton" ) screen.hide( "CivicsAdvisorButton" ) screen.hide( "ReligiousAdvisorButton" ) screen.hide( "FinanceAdvisorButton" ) screen.hide( "MilitaryAdvisorButton" ) screen.hide( "VictoryAdvisorButton" ) screen.hide( "InfoAdvisorButton" ) #ruff mod self.hidePlotListButtonObjects() #ruff mod elif ( CyInterface().isCityScreenUp() ): screen.show( "InterfaceLeftBackgroundWidget" ) screen.show( "InterfaceTopBackgroundWidget" ) screen.show( "InterfaceCenterBackgroundWidget" ) screen.show( "InterfaceRightBackgroundWidget" ) screen.show( "MiniMapPanel" ) screen.hide( "InterfaceTopLeft" ) screen.hide( "InterfaceTopCenter" ) screen.hide( "InterfaceTopRight" ) screen.hide( "TurnLogButton" ) screen.hide( "DomesticAdvisorButton" ) screen.hide( "ForeignAdvisorButton" ) screen.hide( "TechAdvisorButton" ) screen.hide( "CivicsAdvisorButton" ) screen.hide( "ReligiousAdvisorButton" ) screen.hide( "FinanceAdvisorButton" ) screen.hide( "MilitaryAdvisorButton" ) screen.hide( "VictoryAdvisorButton" ) screen.hide( "InfoAdvisorButton" ) #ruff mod self.hidePlotListButtonObjects() #ruff mod elif ( CyInterface().getShowInterface() == InterfaceVisibility.INTERFACE_HIDE ): screen.hide( "InterfaceLeftBackgroundWidget" ) screen.show( "InterfaceTopBackgroundWidget" ) screen.hide( "InterfaceCenterBackgroundWidget" ) screen.hide( "InterfaceRightBackgroundWidget" ) screen.hide( "MiniMapPanel" ) screen.show( "InterfaceTopLeft" ) screen.show( "InterfaceTopCenter" ) screen.show( "InterfaceTopRight" ) screen.show( "TurnLogButton" ) screen.show( "DomesticAdvisorButton" ) screen.show( "ForeignAdvisorButton" ) screen.show( "TechAdvisorButton" ) screen.show( "CivicsAdvisorButton" ) screen.show( "ReligiousAdvisorButton" ) screen.show( "FinanceAdvisorButton" ) screen.show( "MilitaryAdvisorButton" ) screen.show( "VictoryAdvisorButton" ) screen.show( "InfoAdvisorButton" ) screen.moveToFront( "TurnLogButton" ) screen.moveToFront( "DomesticAdvisorButton" ) screen.moveToFront( "ForeignAdvisorButton" ) screen.moveToFront( "TechAdvisorButton" ) screen.moveToFront( "CivicsAdvisorButton" ) screen.moveToFront( "ReligiousAdvisorButton" ) screen.moveToFront( "FinanceAdvisorButton" ) screen.moveToFront( "MilitaryAdvisorButton" ) screen.moveToFront( "VictoryAdvisorButton" ) screen.moveToFront( "InfoAdvisorButton" ) #ruff mod self.hidePlotListButtonObjects() #ruff mod elif ( CyEngine().isGlobeviewUp() ): screen.hide( "InterfaceLeftBackgroundWidget" ) screen.hide( "InterfaceTopBackgroundWidget" ) screen.hide( "InterfaceCenterBackgroundWidget" ) screen.show( "InterfaceRightBackgroundWidget" ) screen.show( "MiniMapPanel" ) screen.show( "InterfaceTopLeft" ) screen.show( "InterfaceTopCenter" ) screen.show( "InterfaceTopRight" ) screen.show( "TurnLogButton" ) screen.show( "DomesticAdvisorButton" ) screen.show( "ForeignAdvisorButton" ) screen.show( "TechAdvisorButton" ) screen.show( "CivicsAdvisorButton" ) screen.show( "ReligiousAdvisorButton" ) screen.show( "FinanceAdvisorButton" ) screen.show( "MilitaryAdvisorButton" ) screen.show( "VictoryAdvisorButton" ) screen.show( "InfoAdvisorButton" ) screen.moveToFront( "TurnLogButton" ) screen.moveToFront( "DomesticAdvisorButton" ) screen.moveToFront( "ForeignAdvisorButton" ) screen.moveToFront( "TechAdvisorButton" ) screen.moveToFront( "CivicsAdvisorButton" ) screen.moveToFront( "ReligiousAdvisorButton" ) screen.moveToFront( "FinanceAdvisorButton" ) screen.moveToFront( "MilitaryAdvisorButton" ) screen.moveToFront( "VictoryAdvisorButton" ) screen.moveToFront( "InfoAdvisorButton" ) #ruff mod self.hidePlotListButtonObjects() #ruff mod else: screen.show( "InterfaceLeftBackgroundWidget" ) screen.show( "InterfaceTopBackgroundWidget" ) screen.show( "InterfaceCenterBackgroundWidget" ) screen.show( "InterfaceRightBackgroundWidget" ) screen.show( "MiniMapPanel" ) screen.show( "InterfaceTopLeft" ) screen.show( "InterfaceTopCenter" ) screen.show( "InterfaceTopRight" ) screen.show( "TurnLogButton" ) screen.show( "DomesticAdvisorButton" ) screen.show( "ForeignAdvisorButton" ) screen.show( "TechAdvisorButton" ) screen.show( "CivicsAdvisorButton" ) screen.show( "ReligiousAdvisorButton" ) screen.show( "FinanceAdvisorButton" ) screen.show( "MilitaryAdvisorButton" ) screen.show( "VictoryAdvisorButton" ) screen.show( "InfoAdvisorButton" ) screen.moveToFront( "TurnLogButton" ) screen.moveToFront( "DomesticAdvisorButton" ) screen.moveToFront( "ForeignAdvisorButton" ) screen.moveToFront( "TechAdvisorButton" ) screen.moveToFront( "CivicsAdvisorButton" ) screen.moveToFront( "ReligiousAdvisorButton" ) screen.moveToFront( "FinanceAdvisorButton" ) screen.moveToFront( "MilitaryAdvisorButton" ) screen.moveToFront( "VictoryAdvisorButton" ) screen.moveToFront( "InfoAdvisorButton" ) #ruff mod self.showPlotListButtonObjects() #ruff mod screen.updateMinimapVisibility() return 0
I'm not saying the above is perfect but it does work for me which is typical of my coding![]()
this tag but without the space at the end of php ... [php ][/php ]
def showPlotListButtonObjects(self):
self.bPLEHide = false
def updatePlotListButtons( self ):
xResolution = self.xResolution
yResolution = self.yResolution
## 12monkeys - PlotList Button Enhancement - end
# Initialize the state of the buttons:
bPLEStatus = self.bPLEHide
self.showPlotListButtonObjects()
if (bPLEStatus):
self.hidePlotListButtonObjects()
else:
self.showPlotListButtonObjects()
#else:
# if (not self.bPLEHide):
# self.hidePlotListButtonObjects()
# self.bPLEHide = true