Modifying forts to bombard enemies

Joined
Feb 6, 2006
Messages
796
I've been working on a modification for forts. The effect I want is that, if there are archers of siege units inside, they can bombard (damage) enemy units nearby.
I've implemented it in a python script, and it's allright, at the moment. Or better, it WOULD be right, if the AI knew how to behave in this situation.

I'm worried that AI would be the one side to get penalized from this modification. Since he doesn't know about it, his units would stand near an enemy fort and be bombarded without even moving away. For this reason, I've disabled this new feature, although I'd like to make it work properly.

I think that AI should be changed for a correct behavior with these NEW forts.
Perhaps this should be done in the SDK. Can anyone help me with some hints about how to implement it? (note that I've NEVER worked with SDK, although I am familiar with python scripts).
Are forts considered "CITIES"? So, maybe, the AI should already recognize them as threats, and avoid them if possible.
Is it possible to easily indicate forts as "dangers" to the AI?

Any help will be appreciated, thanks!
 
Back
Top Bottom