amadeus
Bishop of Bio-Dome
Would this mod work for BTS, and how?
Got it working! I was hitting all of the right places, but my initial "How many plots can this city work?" function was flawed. Now I have to spruce up the cosmetics and hopefully I can get some people here to test for bugs, making sure the AI is working properly and such.
It seems the function for the camera city zoom distance is hard-coded. I can't find the reference anywhere in the Python or DLL. In Fall From Heaven, the zoom distance is set to a constant for the sprawling player. I have to figure out how to set the variable just before the camera moves when a city is zoomed to so it's an appropriate distance for each city's radius.
gc.setDefineFLOAT("CAMERA_CITY_ZOOM_IN_DISTANCE", gc.getDefineFLOAT("CAMERA_CITY_ZOOM_IN_DISTANCE_TWO"))
gc.setDefineFLOAT("CAMERA_CITY_ZOOM_IN_DISTANCE", gc.getDefineFLOAT("CAMERA_CITY_ZOOM_IN_DISTANCE_TWO"))
if (pHeadSelectedCity.getCultureLevel() >= 5):
gc.setDefineFLOAT("CAMERA_CITY_ZOOM_IN_DISTANCE", gc.getDefineFLOAT("CAMERA_CITY_ZOOM_IN_DISTANCE_THREE"))
unfortunately there seems to be a graphic error when running the 0.91_BtS version. The game does'nt display th buttons/menus/minimap etc. when i run the mod. I downloaded the 3.03 patch for BtS (this made a problem i had under "Options" "Other" and "Sound" disappear).