• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

[Solved] Multiple instances of a weapon

Status
Not open for further replies.
Level 11
Joined
Nov 15, 2007
Messages
800
Using a system where all weapons are derived from equipped items and it's possible for certain classes to dual wield, is there a way to make two instances of the same weapon work in tandem on one unit, or would I have to make a main and off hand version of every single weapon? The latter seems like such a headache I want to be sure there's no simple solution I'm overlooking.
 

Dr Super Good

Spell Reviewer
Level 64
Joined
Jan 18, 2005
Messages
27,255
If 2 of the same weapon is equipped you could double his attack speed. This would have the same result as 2 weapons firing in parallel as long as the weapon speed is < 8 attacks per second.

If wasted shots is a problem due to missile travel time, consider giving the missiles re-targeting.
 

Dr Super Good

Spell Reviewer
Level 64
Joined
Jan 18, 2005
Messages
27,255
It is important to note that weapons are limited to firing 1 shot a game frame (16 shots per game second). Doubling attack speed for dual wielding will only work if a single weapon shoots at most 8 shots per game second since anything more and it will become limited by the weapon fire rate of one attack per frame and so not deal twice as much damage per unit time (hit twice as much). If you have a fast shooting weapon such as one representing a machine gun you might want to lower attack speed but make each attack shoot multiple shots (like the Thor's AA missiles).
 
Level 9
Joined
Dec 21, 2006
Messages
490
or having a snd invisible dummy unit for the 2nd weapon which triggers actor events on the main unit every time it attacks.
or having each weapon also as ability (with autocast and coresponding actor events) which gets activated if the item behavior is applied 2 times.
 
Status
Not open for further replies.
Top