Encirclement idea

Kornaki

Warlord
Joined
Feb 20, 2009
Messages
182
I had an idea to (try) to make a mod where if you're attacking a unit and another one of your units is directly behind that unit, your guy gets a +50% attack bonus to the attack. Unfortunately, a quick check in the XML indicates that current combat modifiers aren't easily adaptable to allow a change like this. Does anyone have any idea where I'd need to start to get something like this to work?
 
Do you know C++ and Python (though it would be better just to skip Python and do this entirely in the SDK)? If so I'd check out CvPlot, CvUnit, and CyPlot, CyUnit to start with. You'll definatly need to program this in. If you get it to work, the real hard part will be to program the proper AI logic for it. So this would actually be a pretty complex mod.
 
Back
Top Bottom