| 02-17-2004, 03:23 AM | #1 |
I created this since some one was asking if they knew any one knew how to make it so his hero could only attack if he has "ammo". Some one suggested using Gold/Lumber/Supply, but I thought I could create it with Intergers, so I made it. This is basicly for something cool for you map or if your making a game based around guns wielding heros. Look down for update. |
| 02-17-2004, 03:45 AM | #2 |
I remember trying to do that a while back (when I first started using wc3e) and failing miserably... ahh the memories... Anyways, good job.:infth: |
| 02-17-2004, 06:45 AM | #3 |
OMG THANX! i try it out 2morow thanx dude! |
| 02-21-2004, 12:06 AM | #4 |
Nice ... but is there any way to modify this to work with units? (Either with Inventory [Unit] courtesy of Backpack, or units with Inventory [Hero]) Edit: I did just that. Thanks! I'm gonna credit you in the map I make out of this ... |
| 02-25-2004, 01:55 PM | #5 |
It works well, but it is not perfect yet. The marine can still attack when he doesn't have ammo, to make him unable to attack without ammo you can: - Change the trigger that removes ammo when he attacks to also order him to stop if he doesn't have ammo left. or Make the marine to have 2 attacks, both have the same stats but attack 1 can only attack none (set targets allowed to none) , and 2nd attack can attack the normal targets, set attacks enabled to attack one only. Then make an ability from the orb of shadow ability that doesn't add special effects / missile, but add some damage and enables attack index 2. Give that ability to the item instead of the attack damage bonus. |
| 02-25-2004, 02:38 PM | #6 |
Thanks for the suggestions. Once I finish something for Bifrost (which will take most of the day), I will update the ammo system. |
| 02-25-2004, 09:08 PM | #7 |
The problem with having any stat-boosting effect on the ammo item is that you must then restrict the ammo-using unit to 1 inventory slot, or make sure the effects are non-stackable. (Most orb effects dont stack, but I think Orb of Fire does stack with itself) |
| 02-26-2004, 01:52 AM | #8 |
Nice system, I could use it for a Diablo game Im making. If I use it, youlll get credits. Thanks |
| 02-26-2004, 04:14 AM | #9 |
Thanx, I think I'll use it too in my future swat game. :D and you get credit |
| 02-26-2004, 01:24 PM | #10 |
Well my first suggestion doesn't work with single stop orders, perhaps a pause unit command and then unpause. But what I tested and finished working well was the orb of shadow ability suggestion, but instead of none in attack 1's allowed targets use item. Then you just need some item classification system that restricts weapon type items to only one. |
| 02-26-2004, 03:12 PM | #11 |
I was trying to use the Shadow Orb ability, I think it enables the attack, but does not disable it so it allows him to attack. I just decieded to use Order XUnit to stop trigger. |
| 02-29-2004, 02:48 AM | #12 |
Im gonna use it on my Halo game you get credit |
| 02-29-2004, 03:46 PM | #13 |
Thanks. I created a update system where you can have multiple weapons but I will not release that yet. |
| 02-29-2004, 06:34 PM | #14 |
I opened up your system, wich by the way works great, but i'm not exactly shure how to create the right type of veriables to get it up and going. Im lost:WD: |
| 02-29-2004, 07:23 PM | #15 |
Go into File, Prefences, General and check Automaticly Create Unknown Varibles. Now it should work, execpt you need to modify a few things. The things that you need to modify is the run trigger checking triggers and what unit it affects I belive. |
