PDA

View Full Version : I have a problem about ai editing


matefkr
01-06-2007, 5:16 AM
I have made a zerg ai, and it stopped to work near the end of it. It based on the zerg expansion custom level -so i changed this. It contains some mistakes, which i fixed. The modified one end the first one is stopped near the end of its' line. I see that the original one contains define_max 8 (or 10) scourge end it contains too train 8 (or 10) scourge. Whit every define_max line, the supply limit was completly consumed. In the critical part, i see more then 12 scourges in the game, so i changed the train command to 4 (and of cours the attack_add commands). The result was similar, but it could run correctly, longer time. Then i changed the define_max 8 (or 10 ) to define_max 255 (so i disable the use of scourge). The result: it work correctly

Observations: -The start_town header command set an automatic train-program.
-train command use its' first parameter, as number of repeats, so if a unit is two in one egg, itt will create the unit two times more.
-attack_add, define_max command use their first operand, as the number of units.
-automatic train-program?????

Can you tell me that how can i make zerg ai with scourge?

And i am sorry about grammatical mistakes, as my english is not too good!