What your sayign si very vague because I need to put down hard values and hard definitions in code and your speaking in abstract terms.
Give numbers, Every mention of the word ratio should be followed by an actualy ratio,
for example:
when something has been killed, but units aren't being killed on a regular basis,
Define regular basis in a mod independant way that could be put into a set of if statements using logical operators such as AND OR NOT XOR NAND NOR etc.
And no groupAI have the following 2 events:
Initialize
Update (called 30 times a second)
There is no UnitDestroyed (Skirmish AI) or UnitDamaged or Enemy Damaged or EnemyDesttroyed or UnitCreated, theres just 2 individual calls, neither of which give any information about unit events.
Imagine walking into a room and seeing a computer with a spring game paused. You can only see within the players LOS. You have no information on unit deaths creation damages. You cannot see it in motion. You have to decide which music to play based upon what yous ee without mentioning anything mod specific. If you want unit deaths of the enemy, theres simply not enough information available for that, you cant see the enemy.
Everything has to be estimated, and it has to be reliable.
@Lordo
You're using a phail codec for mp3s. Dont use ffdshow for playing mp3s. My AI uses the windows multimedia interface to play MP3s. That codecs phail anyway it has a habit fo crashing trying todisplay thumbnails of movies even if explorer isn't set to show them. This is your problem with your system not my AI.