| 04-07-2003, 10:19 PM | #1 |
Hi, I am curently working on a dungeon level for my campaign, and am having trouble with computer units aiding each other. The dungeon consists of several rooms, seperated by a single thickness, two blocks high, cliff. When an enemy in one room is attacked the units from other rooms come to assist. Is there anyway of preventing this (I have tried setting aquisition range to a lower number, and have removed melee ai). Also I have a problem that my ranged units seem to be able to shoot through the cliff, and can also be attacked through it. For example there is a salamander lord in one room and he can attack through the wall and cast rain of fire. To try and prevent this I have set his aquisition range to 0 until you enter his area but he can still attack. Does anyone have the solutions to these two problems? Thanks, SheepOfDoom |
| 04-08-2003, 01:09 AM | #2 |
Hold Position? |
| 04-08-2003, 01:16 AM | #3 |
Will possibly work for some of the units. But they won't move if they get attacked by ranged, and the ranged enemies will still be able to attack through walls :( Thanks for the answer though :) |
| 04-08-2003, 01:23 AM | #4 |
You could set their aquisition range to the minimum (The units range) so if its range is 90 (melee footman or something) set its aquisition range to 90 or more (maybe add 1 or 2 just to be safe) then it wont attack unless it is in range, it won't go after units. |
| 04-08-2003, 01:30 AM | #5 |
Sound like a good idea :) I have tried setting the salamander lords aquisition to 0 until someone enters the room with him, but he still attacks over the wall when his allies are attacked. The hold position and aquisition range should work for the other units though. Thanks, SheepOfDoom |
| 04-08-2003, 01:48 AM | #6 |
Maybe try them both? I donno, maybe you could find a way to make the units you dont want to attack you a nuetral passive, and then change them when you enter a room. |
| 04-08-2003, 02:35 AM | #7 |
The neutral passive idea sound like it should work for what I want.. I was thinking of doing that initially, but wasn't sure if there was a different way of doing it. Thanks alot for your help, I hope to post a cinematic and maybe a few screenies of my campaign later.. Thanks again, SheepOfDoom |
| 04-08-2003, 02:40 AM | #8 |
Alright, hopefully it works. |
| 04-08-2003, 06:11 PM | #9 |
Correct me if I'm wrong, but last time I checked, the Set Acquisition Range trigger was broken - it does not have any effect. You could just pause enemy units until they are attacked. Try something like this: Map initialiazation - Pick every unit in (Playable Map Area) owned by (Neutral Hostile) and pause (Picked Unit) Event - Unit owned by (Neutral Hostile) is attacked Action - Pick every unit owned by (Neutral Hostile) within (500.00) of (Attacked Unit) and Unpause (Picked Unit) Or you could do as FyreDaug said and unpause enemys on a room-to-room basis. |
| 04-08-2003, 08:51 PM | #10 |
Guest | the way i overcame that problem in my map was, i set all those comp units at a realy low vision, it seemed to work for me... or on the walls make boundary... |
| 04-09-2003, 01:32 AM | #11 |
Thanks alot for your help everyone. There's a lot of good ideas, so I'll sit and try a few things to see what works best. Thanks again, SheepOfDoom |
