Question: AI Military Units - Cannot Capture Cities

Officer Reene

It hates you all
Joined
Jan 21, 2006
Messages
698
Location
In the middle of nowhere
I want to change Cavalry/Cossack units where they can not capture cities.

However I notice that the AI loves producing these units when attacking cities during most of my previous games...

My question is will the AI "know" that they can not capture cities anymore (once I make the change) and change their strategies accordingly to compensate...

...or will I have to add some python code so they "know" they cant capture cities and make other units to capture cities?


any input is welcomed! ;)




Thanks! :)
 
I don't think you will have any problems, they may still produce the heck out of the cossacks, but they will know they have to use another unit to acually take the city. :)
 
zulu9812 said:
Sevo took this feature out of his mod because the AI weren't using it properly


do you mean sevo took the "no city capture" for Cavalry units because it was not working? :confused:


I heard he did it for tanks too? did it not work for that too?


what if you gave the AI the gunship protocol? (Cavalry acts like gunship units) so that it "knows" it can not take cities.... would that work?
 
well thinking about it.... I will try an alternative...

since the AI will not understand the "No Capture" change

I will then put back the capture feature....

but to stop the AI from attacking cities...

...I will give them -100% City Attack...! :eek:


hopefully the AI will "read" the odds and decide it's not worth attacking a city (unless of course all military units are destroyed :crazyeye: )

therefore the AI will have the "opportunity" to capture a city.... (Not confuse it with the "No Capture" change) ...but in reality not attack cities because of the odds.... :mischief:


but I'll have to test it anyway :p



thanks for your advice.... I'll keep you all post if you wish.... ;)
 
zulu9812 said:
Sevo took this feature out of his mod because the AI weren't using it properly

How wan't the AI using it properly?
 
You can limit the number of Cossacks they actually produce in Python. But that might not be the best sollution.
 
Jeckel said:
How wan't the AI using it properly?

They didn't realise that the tanks and cavalry that they kept throwing at cities couldn't actually capture them.
 
zulu9812 said:
They didn't realise that the tanks and cavalry that they kept throwing at cities couldn't actually capture them.

Hmm, I am very surprised by this. I have several times modded games to make warriors, axemen, and the like not be able to cature cities and I never noticed any such problem. Perhaps it has somthing to do with the mounted AI. One possible solution could be to give the cossak the recon or scout unitai in additon to its normal one, that might be a work around though I haven't tested it or anything, just an idea. :)
 
Back
Top Bottom