Adding ability to units

seasnake

Conquistador
Joined
Apr 21, 2006
Messages
2,003
Location
California, United States
I want to add the ability FORCEPEACE to a unit, a statesman. The reason is for a great statesman that can end wars between nations. FORCEPEACE is an ability of the Apostolic Palace found in the XML file VOTEINFO. However, when I put it in the unit files, it throughs everything off. What can I do to get this ability?
 
Edit the SDK, rack your brains to find away to hack it, or scream. Python can't do a thing with the XML files. :gripe::wallbash: I really want them to open the XML up to python.

It is possible to add a mission to a unit from python, and that mission could do what you want, but it is very difficult. So you would need to find someone who knows python and wants this feature, in order to do this. Otherwise find someone who knows C++ and is willing to change the SDK.

P.S. Didn't the lopez make a MOD COMP that does this (check the warlords section it might be there, and just needs to be upgraded)?
 
TheLopez did have a GreatStatesman mod, do a search for his ModComp library thread and it should be listed there.
 
Back
Top Bottom