HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Need Help With Weapon System

06-05-2006, 04:56 PM#1
Shadow-Mage Alpha
I'm working on a map in which I desire a specific item to change the attack stats of a unit, for instance, if the unit picks up a gun, I want the unit's attack to get a bonus(easy), increase from melee to a long range, and change attack speed. I know I can do this through transphorming the unit, but I would rather not. Thanks
06-05-2006, 04:58 PM#2
Blade.dk
You can use item bonus abilities to add the different bonuses.

To change between ranged and melee attacks, you can make the unit have 1 melee and 1 ranged attack. Both should be disabled. By adding and removing orb abilities, you can enable the attacks.
06-05-2006, 05:16 PM#3
Shadow-Mage Alpha
Alright, I'll try that, thanks
I'd like to be able to have more than 2 different attack ranges and attack speeds. It'd be nice if you can figure that out
____________________________________________

Anyone got any ideas?
06-09-2006, 08:27 PM#4
Captain Griffen
Don't double post.

The answer is for attack speeds, use abilities. For ranges, you need different units.
06-09-2006, 10:14 PM#5
Tim.
As mentioned, please read our Rules and do not double post. I have merged your threads.
06-19-2006, 05:06 PM#6
Shadow-Mage Alpha
Does anyone have any shadows of ideas for what I'm looking for? Anything at all would REALLY be appreciated. Thanks
06-19-2006, 05:20 PM#7
st33m
You could replace the unit.
06-19-2006, 05:36 PM#8
Shadow-Mage Alpha
I know, but I think there were be some minor flaws and/or complex triggering if I use that technique, but if worse comes to worse, that's what I'll have to use
06-19-2006, 05:50 PM#9
st33m
Messing with range that can go back and forth is tricky. If you want it one way, just use upgrades. But it sounds like that wont work. You want several ranges, so you cant just give everyone 1 other attack that has a different range. Your best bet is to mess with different units.
06-19-2006, 07:22 PM#10
The)TideHunter(
The problem about the range increase, of upgrades, is once you use the upgrade, you cannot unlearn the upgrade, so once its meele --> ranged, it cant go ranged --> meele.

For ranged, to work freely, you will have to use Blades method, and and 2 different attacks, 1 with the ranged and 1 without, have a speed bonus ability and add it to the unit (maybe in a spell book, or just a simple 1) and the damage bonus is as simple as the speed bonus.
06-19-2006, 09:29 PM#11
Shadow-Mage Alpha
I can't use two ranges for one unit, because then a shot gun will have the same range as a pistol, a rocket launcher, and a sniper rifle, very obviously different ranges for them all
06-20-2006, 12:59 AM#12
MercyfulJester
Yep, change units, shouldn't be that difficult or complex, just give it a try.
06-20-2006, 01:21 AM#13
harshateja
You could use an arrow ability since they can have ranges that differ from the attack. Just make sure the normal attack has a way long range but cannot target anything and allow the ability to target whatever.
06-20-2006, 05:15 PM#14
shadow1500
Again quoting my post from another thread.

Quote:
1. upgrades (Con: cannot remove)
2. chaos (Con: need two units and keep stat bonuses bug)
3. drunken haze + orb (Con: damage not shown on UI)
And a new one:
4. Trigger attack with Invisible channel ability - when a unit is ordered to smart/attack an enemy, have him use the hidden channel ability on the target (make sure the "visible" property is set to false). To change the range, simply change the casting range of the channel ability you're using. (Con: Must know the unit's damage with triggers, must be able to create the corresponding projectiles when channel ability is cast)

Quote:
You could use an arrow ability since they can have ranges that differ from the attack. Just make sure the normal attack has a way long range but cannot target anything and allow the ability to target whatever.
I believe the range on the arrow ability only refers to casting it manually, it doesnt affect the autocast on attack.
06-20-2006, 06:29 PM#15
Shadow-Mage Alpha
Finally figured it out again. Thanks everyone.