| 07-06-2007, 07:47 PM | #1 |
Hello everybode, I'm back into wc3 modding for awhile to finish my project, "Dark Chants". As I haven't had WE up for very long, I've forgot most of its tricks. So here's a question for you: How do you make an attacking unit miss the target if it is moving? Now I've tried several things, the first thing you might think of is the "Change to Miss (moving or high ground)" field in the Gameplay Constants. But it doesn't work as I'd expect it to do. Actually it doesn't do anything at all. I've tried setting the unit's Weapon Type to Artillery, and it works perfectely well! But I can't have that ugly "Attack Ground" icon on the command card, so I need another way. Tried so far: * Setting "Change to Miss (moving or high ground)" to both 0.00 and 1.00. * Artillery and Missile as Weapon Type. * Setting "Projectile Homing Enabled" to both true and false. So are there any suggestions? |
| 07-06-2007, 10:07 PM | #2 |
I think Critical Strike or Bash has a field which can cause the user to miss. |
| 07-06-2007, 10:48 PM | #3 |
I don't just want them to miss, I could use evasion for that. I want them to miss when the target is in movement. |
| 07-06-2007, 10:55 PM | #4 |
Well... you could try generating a system of dummy-attacks that use the type of Artillery... well... have you tried setting these up... Combat - Chance to Miss (moving or higher ground): X.YY (the value you want) Combat - Missed attack damage factor: 0.00 That may sound obscure, but have you tried those simultaneously? |
| 07-06-2007, 11:04 PM | #5 |
Remove the attack ground ability from your unit when it enters the playable map area? |
| 07-06-2007, 11:46 PM | #6 | ||
Quote:
Yes I've already tried it. I'd prefer to do this without involving triggers. Quote:
Are you sure that works? Gonna try it anyway, anyone knows the raw id of the attackground ability? (Unless it's the normal attack ability) |
| 07-07-2007, 12:57 AM | #7 |
motion buffer -.-; when target moves within the motion buffer's # while the animation goes through begin to end it becomes a miss. this is simple stuff, mostly beginners knows it and experts forget it easily |
| 07-07-2007, 01:09 AM | #8 |
I got that answer on another forum, already tried it, and it didn't work. |
| 07-07-2007, 04:50 AM | #9 |
Here's an odd idea, have you tried them all simultaneously? |
| 07-07-2007, 06:13 AM | #10 |
Vexorian made a hero arena that uses a very good attack dodging system. I don't know if its available for download anywhere though. I still have what may be an older version. Its unprotected (or I might have unprotected it, I don't remember. I should wait for permission to post it), so you can look at the code for yourself. |
| 07-07-2007, 09:06 AM | #11 | ||
Quote:
Yep, tried everything in this thread both solo and simultaneously. Quote:
Aye that would be nice, but still, I prefer to not involve triggers in this matter. Anyone knows how they did it in Ninja vs Samurai for example? |
| 07-07-2007, 09:20 AM | #12 |
That was Artillery... have you tried Artillery (Line)? |
| 07-07-2007, 09:23 AM | #13 | |
Quote:
Gah, as I thought then. Yes, and it gives me that attackground icon. |
| 07-07-2007, 11:06 AM | #14 |
| 07-07-2007, 11:57 AM | #15 |
Nope, didn't work. I think attackground is counted as an order, like move and attack. |
