I can't even get confirmation on that the canDoCivic() call is happening, so I guess I'm missing something here.
I'm pretty much done with the improvements solution for the Picts at this point, but I guess that if tile yields could be changed properly with Python by including a custom DLL file to the mod, then I'd say we should go for it... I can wait.I suggest exposing some missing events or methods to the python API (to CyPlot, for example). Minimum work for me, maximum flexibility for you
j_mie6: Are you following?You should set USE_CAN_DO_CIVIC_CALLBACK in PythonCallbackDefines.xml to 1.
No you didn't. See above.I worked it out in 2 mins lol anyway I think I will take Britain only...
The CivIV Python is basically mirroring the C++ code in the SDK. But not everything is available for the Python modder - tons of things seem not to have been "exposed" to Python. But this is something that obviously can be done in the SDK - add functions, methods and constants to the Python API. Which opens up new possibilities not available before.ANYWAY I don't really know what asaf was saying elaborate?
It runs the custom script I supplied. Just set it to 1 as Asaf said. Because it seems to be disabled by default to avoid endless callbacks with no actual code to run.Have not checked the XML... What does the Callback do?