Update to 3.19?

phungus420

Deity
Joined
Mar 1, 2003
Messages
6,296
Any chance this mod will be updated to 3.19?

I want to go through it and steal utilize some of the unique promotions for the Legend Units in Legends of Revolution. Being able to play it, and browse the civilopedia would help immensely.
 
Nice, what quick service :)

When going through and checking the unique promotions, are most of these handled in Python, or the XML (and thus SDK)? Personally I prefer SDK, but that's irrelevent, hehe (just means I'll have to move the code to the SDK and do some schema work, to change things), but I'm just curious as to how you have set these up for the most part. Also are there any comments that will help in searching through the code, or will I just need to dig in and use that good old "search in files" function in Notepad++ often?
 
All the promotions are done in XML and SDK.

Lots of the stuff are in CvUnit.cpp. Have a look at the following functions:

processCombatWin()
processCombatWithdrawal()
resolveCombat()
maxCombatStr()
updateCombat()

The above names may not be accurate.
 
Awesome thanks. That'll make things alot easier. I'm not a programmer, so converting Python to C++ isn't very easy for me, lol. That saves me and Emperor Fool (would indoubtadly have had to ask for help in the SDK/Python forum) alot of work. Things will take a while, but I'll be sure to give you credit for using code from this mod.
 
Back
Top Bottom