Itzo Posted March 28, 2016 Posted March 28, 2016 Hi, Could someone maybe explain why the AI behaves very different in 1.5 SP vs 1.5 MP? Attached is the mission I'm trying to fix. Mission explained: Unlimited training, every trigger zone will trigger a group of enemy fighters (MiST random spawn) IF all enemies are dead within the conflict zone. I wrote a kill script for the enemy groups as they apparently must have been alive for MiST to actually spawn them. There is also some random air traffic in the area. The problem: In SP the AI will attack me as soon as they spawn, just as I wanted it. Launched as MP server, they neither attack nor defend themselves (barely).. I have tried to make them more aggressive by removing the CAP task and replacing it with my own set of options, as seen in the .miz.Unlimited_training.miz DCS World 2.5.x | F-14 | F/A-18C | AV-8B | AJS-37 | A10C | M-2000C | F-15C | MiG-21 | Hawk | FW190 | BF109K | Spitfire Mk. IX | P-51D | Gazelle | UH-1H | MI-8 | BS | CA | Persian Gulf | Normandy | NTTR Win10-x64 | ASUS Strix Z270H Gaming | Intel i7-7700K | Gigabyte GeForce GTX 1080 Ti Gaming OC | Corsair Vengeance LPX 32 GB DDR4 | SSD Samsung 850 | TM Hotas Warthog | Saitek Pro Flight Pedals | Oculus Rift CV1
Itzo Posted April 23, 2016 Author Posted April 23, 2016 (edited) solved I think... It seems like in MP you have to give the AI tasks after spawn, using lua. Now they are killing me just fine :) Just need to figure out all task options used in the tables. I.e. mist.respawnInZone('rBanditGrp1', 'rSpawnZone1', true) local con = Group.getByName('rBanditGrp1'):getController() con:setOption(0, 0) Edited April 23, 2016 by Itzo DCS World 2.5.x | F-14 | F/A-18C | AV-8B | AJS-37 | A10C | M-2000C | F-15C | MiG-21 | Hawk | FW190 | BF109K | Spitfire Mk. IX | P-51D | Gazelle | UH-1H | MI-8 | BS | CA | Persian Gulf | Normandy | NTTR Win10-x64 | ASUS Strix Z270H Gaming | Intel i7-7700K | Gigabyte GeForce GTX 1080 Ti Gaming OC | Corsair Vengeance LPX 32 GB DDR4 | SSD Samsung 850 | TM Hotas Warthog | Saitek Pro Flight Pedals | Oculus Rift CV1
MadDog-IC Posted April 24, 2016 Posted April 24, 2016 It seems like in MP you have to give the AI tasks after spawn, using lua. Now they are killing me just fine :) Just need to figure out all task options used in the tables. I.e. mist.respawnInZone('rBanditGrp1', 'rSpawnZone1', true) local con = Group.getByName('rBanditGrp1'):getController() con:setOption(0, 0) Vaguely remember reading that any units created within the mist system can't use flags, zones, or ai commands from the normal units placed in the mission editor itself. However I may be incorrect on some or all of those points, as I am no expert with the mist stuff. Regards, Ian. Asus p877v-pro, Intel I7 3770k 4.2ghz, 32gb Ripjaw X ram, Nvidia RTX-2070 Super, Samsung 32" TV, Saitek x52 pro Joystick and Combat rudder pedals, TrackIR 5, Win8.1 x64 with SSD and SSHD protected by (Avast AV). DCS Tech Support.
Recommended Posts