Age of Kings Heaven
Welcome
Downloads Home
Best Files
Review Guidelines
Main site
Forums
Code of Conduct
Search

Advanced Search
AI Files
Home
New Releases
New Reviews
New Comments
Top-Rated

Submit File
Browse Categories
New Files
Recent Updates

Downloads Home » AI Files » Passive - Aggressive Switchable AI

Download File Post Review Post Comment

Passive - Aggressive Switchable AI

Author File Description
duyhung2h
File Details
Version: The Conquerors 1.0c

This is a modified, duyhung2h's version of Immobile-agressive switch AI from Lord Basse that can switch between 2 modes indefinitely.

AI STARTS AS IMMOBILE
IF THE AI HAVE EQUAL OR MORE THAN 10 FOOD--> AI becomes AGGRESSIVE
IF THE AI HAVE EQUAL OR MORE THAN 10 GOLD --> AI becomes IMMOBILE again


Be sure to modify the AI resource after 4 seconds of initial change for their resources to not conflict with each other.


How it works: The AI start off Passive (Immobile). If an AI have 10 food they'll go aggressive and send (attack-move) action to all their current and newly created units. Wait 4 seconds and modify that resources out.
To turn it into passive again, modify the AI to have 10 gold and remove that gold afterwards. The existing unit will not stop their (attack-now) action but any new units created will not attack but will be idle in their creation spot.
From there, you can then repeat the cycle again.


This AI features Hit-and-Run action in moderate/hard difficulty which is disabled in easy difficulty. Specifically designed for my latest scenario, Rebirth of the Colosseum, and attacking wall is disabled. You can simply enable it by changing (set-strategic-number sn-wall-targeting-mode) value to 1 from rules with (goal 1 1).


Happy designing!


~duyhung2h






AuthorComments & Reviews   ( All | Comments Only | Reviews Only )
No messages found

Post Review Post Comment

HGDL v0.8.0

Login
Forum Username:


Password:




Create a new account
Forgot password?
Statistics
Downloads:17
Favorites: [Who?]0
Size:1.77 KB
Added:09/24/20