| 02-09-2005, 05:25 AM | #1 |
I'm making a map called Hybrid Tower Defense. But I'm having two problems with the mazing. 1) When the towers attack the units, the units attack back! Even though the units are set to Move and not Attack-move. I can't figure it out. 2) The towers are 2 pathing squares wide, right? And you can place them so there is a 1-square distance inbetween for the units to run through. My problem is; when the units attempt to go through the 1-square space in the maze, they crowd up together and decide to turn around the way they came! Even when their collision size is set to 0. Help me! Any suggestions are appreciated, even if you're not <i>positive</i> they'll work. Rep points added to anyone who can solve it. |
| 02-09-2005, 08:23 AM | #2 |
Give the units a small collision size, maybe 4 Make sure the units dont have any attacks that are enabled and run a failsafe that detects: E: unit is attacked C: Player owner of attacked unit = to (computer) A: Unit - Order unit to move to (wherever) |
| 02-09-2005, 08:12 PM | #3 |
Guest | Ok, I have a question, their attack is there so that if you block they attack right? HEZZA: Well, that might not work because if a nplayer blocks, the computers don't have permission to attack. |
| 02-09-2005, 09:07 PM | #4 | ||
Guest | Quote:
All I can suggest was what somebody suggested to me when I had a similar problem: give the towers a classification like suicidal, and set the targets for the units to be non-suicidal - then the units will not attack the towers (I'm assuming anyway that's what you want). Of course you can get more fancy eg if you want the units to be able to attack towers once they are past a certain point...but that's another story of course... Quote:
Perhaps make the collision size of the towers slightly smaller? Actually I'm not sure myself cause there seems to be like so many fields regarding collision and also pathing. |
| 02-13-2005, 01:22 AM | #5 |
Can you post the map? It does indeed sound like a problem with collision sizing, but I've a feeling there is more to it than just that. |
