DeclareWar() extra parameter? [BTS]

Headrock

Chieftain
Joined
Oct 7, 2007
Messages
5
Looking through the pythons of Rhye's and Fall of Civilization, I noticed that each call for this function (DeclareWar) has an extra parameter that allows you to dictate the type of warplan issued to the team which declares war. I want to use that feature in my mod (mostly to force nations to attack relentlessly by giving them WARPLAN_TOTAL). The problem is that I'm not sure whether or not this is possible without the RFC modified DLL. Does anyone know if the original program accepts this extra parameter, or if I need the RFC library (or code it myself?).
 
If you add a parameter to the python call function without modifiing the C++ function, you'll probably have an error. Test it, you'll have an answer.
About compiling your own DLL, it's not impossible : Chazcon wrote a very usefull guide in the Tutorial forum.
With this guide, it's easy to copy/paste the functions you need and compile your specific DLL.
 
Top Bottom