Jeckel
Great Reverend
Woohoo, it was way easyer to update to BtS v3.17 then I thought it would be. I even had some extra time, so I cleaned up the code a bit and added a few new functions, that are ofcourse exposed to python.
JUnitSpace Mod v0.693bts3.17 is being uploaded right now and will be done in about an hour (Dang Dialup!!). This is basicly the final version. I may balance the sizes and space modifiers at some point, but that is just fluf. The SDK work is all done so those that want to use it as a mod component are good to go.
I have added two PDF files. One is a Readme with a more detailed explanation of how the mod works. It still needs some work, but most of the basics are in there. I also added an API PDF file. For the moment, it just has the python exposed methods listed under their CyObject groups, but I will be putting more info in it over the next couple days. I will not be releasing a new version when I get done with the PDF files, I'll just post them seperatly in the OP of this thread for those that want the extra info.
Change Log v0.670 to v0.693
v0.670
Updated DLL, XML, and Python to BtS v3.13.
Fixed a few typos.
Changed Settler Unit bIgnoreTileSpaceLimit to True.
DEFAULT_TILE_SPACE changed from 6 back to 10.
Added mising TXT_KEY to show Unit Size in the Unit Pedia Page.
Added new GlobalDefinesAlt that allows enabling/disabling of Route Tile Space Modifiers.
Added XML Tags for Route Tile Space Modifiers. (New Tags NOT Used Yet)
New XML Tags:
CIV4RouteInfos.xml
iTileSpaceChange
bIgnoreTileSpaceLimit - Not Used - May Be Removed
v0.680
Changed Road iTileSpaceChange from 6 to 4.
Changed Railroad iTileSpaceChange from 12 to 8.
Fixed CvUnitInfo getBaseUnitSize() to be more intuitive.
-Was: UnitInfo Size or UnitClassInfo Size or Default Size.
-Now: Default Size + UnitClassInfo Size + UnitInfo Size
Fixed CvUnitInfo isIgnoreTileSpaceRules(). Units with 0 Size declared in XML Ignore Tile Space Rules.
Fixed CvGameTextMgr setBasicUnitHelp to not show Size for Units that Ignore Tile Space Rules.
Updated CIV4UnitInfos.xml and CIV4UnitClassInfos.xml to iUnitSpaceChange Tag.
Updated CIV4UnitSchema.xml to iUnitSpaceChange Tag.
Updated JUnitSpace Test Map Scenario to show Promotion and Route effects.
Updated Tile Space Data Popup to show Route Data.
Rewrote Tile Space Data Popup code to be more effecient and clear.
New SDK Methods: (all exposed to python)
CyRouteInfo
int getTileSpaceChange()
CyPlot
int getRouteSpaceChange()
Changed SDK Methods: (all exposed to python)
CyUnitInfo
int getUnitSize() --> int getUnitSizeChange()
CyUnitClassInfo
int getDefualtUnitSize() --> int getUnitSizeChange()
v0.681
Changed Tile Space Data Popup Key Event to pass the Head Selected City if the City Screen is up.
Changed City Screen's Building List to show Building's Tile Space Change.
Changed Plot Help Tile Space text.
-Was: Open Tile Space: n/n [ICON_MAP] (state)
-Now: Tile Space: n/n [ICON_MAP] (state)
Updated CvGameTextMgr setPlotHelp() to use new isTileSpace*() methods.
Created Open, Full, and Crowded Promotions.
New XML Tags:
CIV4BuildingClassInfos.xml
iTileSpaceChange - Not Used - To Be Implement In Later Version
New SDK Methods: (all exposed to python)
CyPlot
bool isTileSpaceOpen()
bool isTileSpaceCrowded()
v0.682
Added Tile Space City Building Data Popup.
Added Tile Unit Size Data Popup.
Added Crowded, Full, and Open Promotions.
Updated City Building GlobalDefinesAlt options to handle Bulding Classes.
Updated MainInterface Screen to use BuildingInfo getTotalTileSpaceChange().
Updated, again, Tile Space Data Popup to have descriptive Column Headers.
Cleaned up code of mod's various SDK functions.
New XML Tags:
CIV4UnitInfos.xml
bIgnoreTileSpaceRules
New SDK Methods: (all exposed to python)
CyBuildingInfo
int getClassTileSpaceChange()
int getTotalTileSpaceChange()
CyBuildingClassInfo
int getTileSpaceChange()
v0.683
Added various GlobalDefinesAlt options to handle Tile Space State Promotions.
Implemented Tile Space State Promotions.
Updated CvGameTextMgr parseLeaderTraits() to show Tile Space Modifiers.
Updated CvGameTextMgr parseLeaderHeadHelp() to show Tile Space Modifiers.
Updated CvGameTextMgr parseCivInfos() to show Tile Space Modifiers.
v0.690
Added GlobalDefinesAlt option to disable Route Modifiers on City Tiles.
Updated Tile Space Data Popup to show Handicap Modifiers.
Updated Readme Text with latest from CFC JUnitSpace Tread.
New XML Tags:
CIV4HandicapInfo.xml
iTileSpaceChange
New SDK Methods: (all exposed to python)
CyHandicapInfo
int getTileSpaceChange()
CyPlot
int getHandicapSpaceChange()
v0.691
Renamed GlobalDefinesAlt options DOMAIN_<blah>_LIMIT to DOMAIN_<blah>_RULES.
Added Tile Space Options Data Popup.
Fixed glitch where Ignore Tile Space Rules Units were still getting State Promotions.
v0.692
Incorporated jdog5000 AIAutoPlay SDK changes.
Added Keyboard Event, Ctrl + Shift + M, AIAutoPlay 1 Turn.
Added Keyboard Event, Ctrl + Shift + X, raise AIAutoPlay Multi-Turn Popup.
v0.693
Updated DLL, XML, and Python to BtS v3.17.
Added new GlobalDefinesAlt option to allow City's a Default Tile Space Change.
Added new GlobalDefinesAlt option to allow a City's Population to change Tile Space.
Updated Tile Space Popups to use new functions.
Added Keyboard Event, Ctrl + Shift + X, cancel AIAutoPlay Multi-Turn.
Removed XML Tags:
CIV4RouteInfos.xml
bIgnoreTileSpaceLimit - Never Implemented
New SDK Methods: (all exposed to python)
CyUnit
int getRealUnitSize()
int getDefaultUnitSize()
int getUnitClassSize()
CyPlot
int getCityDefaultSpaceChange()
int getCityPopulationSpaceChange()
JUnitSpace Mod v0.693bts3.17 is being uploaded right now and will be done in about an hour (Dang Dialup!!). This is basicly the final version. I may balance the sizes and space modifiers at some point, but that is just fluf. The SDK work is all done so those that want to use it as a mod component are good to go.
I have added two PDF files. One is a Readme with a more detailed explanation of how the mod works. It still needs some work, but most of the basics are in there. I also added an API PDF file. For the moment, it just has the python exposed methods listed under their CyObject groups, but I will be putting more info in it over the next couple days. I will not be releasing a new version when I get done with the PDF files, I'll just post them seperatly in the OP of this thread for those that want the extra info.
Change Log v0.670 to v0.693
Spoiler :
v0.670
Updated DLL, XML, and Python to BtS v3.13.
Fixed a few typos.
Changed Settler Unit bIgnoreTileSpaceLimit to True.
DEFAULT_TILE_SPACE changed from 6 back to 10.
Added mising TXT_KEY to show Unit Size in the Unit Pedia Page.
Added new GlobalDefinesAlt that allows enabling/disabling of Route Tile Space Modifiers.
Added XML Tags for Route Tile Space Modifiers. (New Tags NOT Used Yet)
New XML Tags:
CIV4RouteInfos.xml
iTileSpaceChange
bIgnoreTileSpaceLimit - Not Used - May Be Removed
v0.680
Changed Road iTileSpaceChange from 6 to 4.
Changed Railroad iTileSpaceChange from 12 to 8.
Fixed CvUnitInfo getBaseUnitSize() to be more intuitive.
-Was: UnitInfo Size or UnitClassInfo Size or Default Size.
-Now: Default Size + UnitClassInfo Size + UnitInfo Size
Fixed CvUnitInfo isIgnoreTileSpaceRules(). Units with 0 Size declared in XML Ignore Tile Space Rules.
Fixed CvGameTextMgr setBasicUnitHelp to not show Size for Units that Ignore Tile Space Rules.
Updated CIV4UnitInfos.xml and CIV4UnitClassInfos.xml to iUnitSpaceChange Tag.
Updated CIV4UnitSchema.xml to iUnitSpaceChange Tag.
Updated JUnitSpace Test Map Scenario to show Promotion and Route effects.
Updated Tile Space Data Popup to show Route Data.
Rewrote Tile Space Data Popup code to be more effecient and clear.
New SDK Methods: (all exposed to python)
CyRouteInfo
int getTileSpaceChange()
CyPlot
int getRouteSpaceChange()
Changed SDK Methods: (all exposed to python)
CyUnitInfo
int getUnitSize() --> int getUnitSizeChange()
CyUnitClassInfo
int getDefualtUnitSize() --> int getUnitSizeChange()
v0.681
Changed Tile Space Data Popup Key Event to pass the Head Selected City if the City Screen is up.
Changed City Screen's Building List to show Building's Tile Space Change.
Changed Plot Help Tile Space text.
-Was: Open Tile Space: n/n [ICON_MAP] (state)
-Now: Tile Space: n/n [ICON_MAP] (state)
Updated CvGameTextMgr setPlotHelp() to use new isTileSpace*() methods.
Created Open, Full, and Crowded Promotions.
New XML Tags:
CIV4BuildingClassInfos.xml
iTileSpaceChange - Not Used - To Be Implement In Later Version
New SDK Methods: (all exposed to python)
CyPlot
bool isTileSpaceOpen()
bool isTileSpaceCrowded()
v0.682
Added Tile Space City Building Data Popup.
Added Tile Unit Size Data Popup.
Added Crowded, Full, and Open Promotions.
Updated City Building GlobalDefinesAlt options to handle Bulding Classes.
Updated MainInterface Screen to use BuildingInfo getTotalTileSpaceChange().
Updated, again, Tile Space Data Popup to have descriptive Column Headers.
Cleaned up code of mod's various SDK functions.
New XML Tags:
CIV4UnitInfos.xml
bIgnoreTileSpaceRules
New SDK Methods: (all exposed to python)
CyBuildingInfo
int getClassTileSpaceChange()
int getTotalTileSpaceChange()
CyBuildingClassInfo
int getTileSpaceChange()
v0.683
Added various GlobalDefinesAlt options to handle Tile Space State Promotions.
Implemented Tile Space State Promotions.
Updated CvGameTextMgr parseLeaderTraits() to show Tile Space Modifiers.
Updated CvGameTextMgr parseLeaderHeadHelp() to show Tile Space Modifiers.
Updated CvGameTextMgr parseCivInfos() to show Tile Space Modifiers.
v0.690
Added GlobalDefinesAlt option to disable Route Modifiers on City Tiles.
Updated Tile Space Data Popup to show Handicap Modifiers.
Updated Readme Text with latest from CFC JUnitSpace Tread.
New XML Tags:
CIV4HandicapInfo.xml
iTileSpaceChange
New SDK Methods: (all exposed to python)
CyHandicapInfo
int getTileSpaceChange()
CyPlot
int getHandicapSpaceChange()
v0.691
Renamed GlobalDefinesAlt options DOMAIN_<blah>_LIMIT to DOMAIN_<blah>_RULES.
Added Tile Space Options Data Popup.
Fixed glitch where Ignore Tile Space Rules Units were still getting State Promotions.
v0.692
Incorporated jdog5000 AIAutoPlay SDK changes.
Added Keyboard Event, Ctrl + Shift + M, AIAutoPlay 1 Turn.
Added Keyboard Event, Ctrl + Shift + X, raise AIAutoPlay Multi-Turn Popup.
v0.693
Updated DLL, XML, and Python to BtS v3.17.
Added new GlobalDefinesAlt option to allow City's a Default Tile Space Change.
Added new GlobalDefinesAlt option to allow a City's Population to change Tile Space.
Updated Tile Space Popups to use new functions.
Added Keyboard Event, Ctrl + Shift + X, cancel AIAutoPlay Multi-Turn.
Removed XML Tags:
CIV4RouteInfos.xml
bIgnoreTileSpaceLimit - Never Implemented
New SDK Methods: (all exposed to python)
CyUnit
int getRealUnitSize()
int getDefaultUnitSize()
int getUnitClassSize()
CyPlot
int getCityDefaultSpaceChange()
int getCityPopulationSpaceChange()