
Originally Posted by
CaptainBravo
Great Script! I have implmented in my latest mission (Camel Joe) where is it door to door fighting. Combined with Zues AI, the fighting in town is pretty tense indeed!
Only clarification I have is aside from reinfrocment what other options are there?
Looking forward to future updates.
Hi all, I'm working in new version wich improves IA's one more time. This is an advance, IA will use formations depending on the situation, for example in close combats will remain together. I am working in a better system to find and use vehicles too, that allow IA to use empty vehicles in base or of citicen in towns. This system will allow me to use helis and paratrops if far far away.
Answering questions.
KRON_UPS_reinforcement allows IA to send reinforcements. How it works, u need a group of IAs that will be reinforcement, that groups must have atribute "reinforcement" in this init, like this:
Code:
nul=[this,"town", "nomove","reinforcement", "delete:",600] execVM "scripts\upsmon.sqf";
Well, now only you need is to set KRON_UPS_reinforcement = true when u want to be reinforces called, for example when enemy is detected in the heart of a base or town, you create a trigger of detection and put in act:
Code:
KRON_UPS_reinforcement = true;
If u put some empty trucks or cars near u could see that IA uses it to aproach the near war point.
I have been testing with calling UPSMON with spawn, the only way to run as spawn is compiling the function in the init of each unit, but I have not noticed diference. If any one want to test it try this:
Code:
UPSMON = compile preprocessFile "scripts\UPSMON.sqf";
nul=[this,"town", "move","reinforcement", "delete:",600] spawn Upsmon;