Vehem
Modmod Monkey
- Joined
- Nov 22, 2005
- Messages
- 3,219
The Good News
I've been working on a few changes to the DLL that may be useful for what I'm doing with Fall Further and a few people have put in requests for other changes that I've incorporated as well.
The Bad News
It's based on the 2030h DLL. This means that (at least) the Event Trigger selection update that Kael made is not included. There may have been another change that I have not seen, but as far as I'm aware, that's the only thing missing.
The Silver Lining
This one is available now, and the next version will be based on the 2031 DLL when the source code becomes available. For now, this one is usable and (as far as tested) stable in-game, so it's fine for developing Modmods with, just not ideal for releases.
Anything else?
I've still got a couple of requests to work on regarding the DLL, but if there's anything else of a similar nature (ie "changes that enable you to control more functions of the game via XML/Python") that you'd like to see - post them here and I'll see what I can manage.
Current Download and Changelog
[Download for Compiled DLL, necessary XML changes and changed DLL Source]
I've been working on a few changes to the DLL that may be useful for what I'm doing with Fall Further and a few people have put in requests for other changes that I've incorporated as well.
The Bad News
It's based on the 2030h DLL. This means that (at least) the Event Trigger selection update that Kael made is not included. There may have been another change that I have not seen, but as far as I'm aware, that's the only thing missing.
The Silver Lining
This one is available now, and the next version will be based on the 2031 DLL when the source code becomes available. For now, this one is usable and (as far as tested) stable in-game, so it's fine for developing Modmods with, just not ideal for releases.
Anything else?
I've still got a couple of requests to work on regarding the DLL, but if there's anything else of a similar nature (ie "changes that enable you to control more functions of the game via XML/Python") that you'd like to see - post them here and I'll see what I can manage.
Current Download and Changelog
[Download for Compiled DLL, necessary XML changes and changed DLL Source]
Spoiler ModfiedDLL-FFH2030h-Vehem A :
Code:
Modified DLL Ffh2030h - Vehem-A
===============================
The DLL is currently based on the source for FfH2030h released by Kael.
The following functionality is added/changed.
------------------------------------
Added Python Hook CannotGrow(PyCity)
------------------------------------
This function is called (in Python) when a city is due to grow. If it returns 1, the
city growth is prevented.
Purpose: Python control of growth
--------------------------------------
Added Python Hook CannotStarve(PyCity)
--------------------------------------
This function is called (in Python) when a city is due to starve. If it returns 1, the
city starvation is prevented.
Purpose: Python control of starvation
---------------------------------
Changed - Civic Feature Happiness
---------------------------------
Feature Happiness from civics is now expressed as a percentage value instead of integer.
* A value of 100 will provide 1 happy face per feature of this type
* A value of 50 will provide 0.5 happy faces per feature of this type
* A value of 357 will provide 3.57 happy faces per feature of this type
NB: You must change each Civic that uses this tag to be 100x it's original value. An
original value of 1 Happy per feature would be 0.01 Happy per feature
Purpose: More precise control of civic happiness
------------------------------
Changed - Civic Unit Happiness
------------------------------
Feature Happiness from stationed unitsis now expressed as a percentage value instead of
integer.
* A value of 100 will provide 1 happy face per unit stationed
* A value of 50 will provide 0.5 happy faces per unit stationed
* A value of 357 will provide 3.57 happy faces per unit stationed
NB: You must change each Civic that uses this tag to be 100x it's original value. An
original value of 1 Happy per unit stationed would be 0.01 Happy per unit stationed
Purpose: More precise control of civic happiness