wc3campaigns
WC3C Homepage - www.wc3c.netUser Control Panel (Requires Log-In)Engage in discussions with other users and join contests in the WC3C forums!Read one of our many tutorials, ranging in difficulty from beginner to advanced!Show off your artistic talents in the WC3C Gallery!Download quality models, textures, spells (vJASS/JASS), systems, and scripts!Download maps that have passed through our rigorous approval process!

Go Back   Wc3C.net > Warcraft III Modding > Developer's Corner > General Development
User Name
Password
Register Rules Get Hosted! Chat Pastebin FAQ and Rules Members List Calendar



Reply
 
Thread Tools Search this Thread
Old 07-07-2009, 10:31 AM   #1
wraithseeker
User
 
Join Date: Feb 2009
Posts: 406

wraithseeker is on a distinguished road (17)

Default Backswing Point

I know that if I set it to a really low value, units can have high attack speed but what is the disadvantage of it?

Will the animations look screwed up? I just want a pros and cons of doing this.
wraithseeker is offline   Reply With Quote
Sponsored Links - Login to hide this ad!
Old 07-07-2009, 11:05 AM   #2
Anitarf
Procrastination Incarnate


Development Director
 
Join Date: Feb 2004
Posts: 8,190

Submissions (19)

Anitarf has a brilliant future (903)Anitarf has a brilliant future (903)Anitarf has a brilliant future (903)Anitarf has a brilliant future (903)Anitarf has a brilliant future (903)Anitarf has a brilliant future (903)Anitarf has a brilliant future (903)Anitarf has a brilliant future (903)

2008 Spell olympics - Fire - SilverApproved Map: Old School Alliance TacticsHero Contest #2 - 3rd PlaceSpell making session 2 winner

Default

I don't know about that, in my test the backswing point didn't get in the way of the unit, the unit would attack the moment it could. The damage point, however, is capable of limiting a unit's attack rate.
__________________
Anitarf is offline   Reply With Quote
Old 07-07-2009, 11:15 AM   #3
Tide-Arc Ephemera
Overdoses result in death
 
Tide-Arc Ephemera's Avatar
 
Join Date: Jan 2007
Posts: 2,365

Submissions (3)

Tide-Arc Ephemera is a jewel in the rough (206)Tide-Arc Ephemera is a jewel in the rough (206)Tide-Arc Ephemera is a jewel in the rough (206)

Default

Pro: Faster attack speed minimum since the delay between initiation and attack is smaller
Con: Looks weird if it's too low (e.g archers shooting arrows before pulling on the bow)
__________________
Before asking for help with triggers... read this and check your trigger!

If you're having troubles getting help on WC3C or anywhere at all, please have a look at...
The WRONG way to ask for help and The CORRECT way to ask for help.

Quote:
Originally Posted by Alevice
You may never stop our bioweapon! We mexicans shall rule the third world! Mwahahahahahahaha!
Please acknowledge that I use Mac and avoid suggesting vJass and other tools that don't work on it. Thank you.
Tide-Arc Ephemera is offline   Reply With Quote
Old 07-07-2009, 11:27 AM   #4
wraithseeker
User
 
Join Date: Feb 2009
Posts: 406

wraithseeker is on a distinguished road (17)

Default

I see, thanks.
wraithseeker is offline   Reply With Quote
Old 07-07-2009, 11:33 AM   #5
Anitarf
Procrastination Incarnate


Development Director
 
Join Date: Feb 2004
Posts: 8,190

Submissions (19)

Anitarf has a brilliant future (903)Anitarf has a brilliant future (903)Anitarf has a brilliant future (903)Anitarf has a brilliant future (903)Anitarf has a brilliant future (903)Anitarf has a brilliant future (903)Anitarf has a brilliant future (903)Anitarf has a brilliant future (903)

2008 Spell olympics - Fire - SilverApproved Map: Old School Alliance TacticsHero Contest #2 - 3rd PlaceSpell making session 2 winner

Default

Quote:
Originally Posted by Tide-Arc Ephemera
Pro: Faster attack speed minimum since the delay between initiation and attack is smaller
Con: Looks weird if it's too low (e.g archers shooting arrows before pulling on the bow)
That's damage point, not backswing point.
A way to work around the animation weirdness is to give the unit a normal attack cooldown, but then give it a bonus attack speed ability; this way, the animation speed of attack animations is increased to match the unit's attack speed and the damage/backswing points are also scaled accordingly.
__________________
Anitarf is offline   Reply With Quote
Old 07-07-2009, 01:51 PM   #6
Sophismata
User
 
Join Date: Aug 2008
Posts: 87

Sophismata will become famous soon enough (53)Sophismata will become famous soon enough (53)

Default

WC3 will scale the animation time (Backswing + Damagepoint) of a unit according to its attack speed and base attack time. Note that the engine cannot cope with incredibly high speeds (especially with low base attack times), and will cut off animations to a large extent as speed approaches ridiculous levels.

The internal counter WC3 uses for determing whether a unit may attack again does not actually include the backswing, however. Thus, it is advisable to keep the backswing to the defaults, or whatever looks aesthetically pleasing - you want them to synch up with the animations, ideally.

Note that the only downside to a backswing is that a unit will not automatically issue queued commands until the backswing is over. This means, for example, that on the strike that kills an enemy unit, the attacker must wait for the backswing time to expire before it will move along the order queue (attacking the next opponent, moving to a new destination, etc).

While you can manually interrupt the backswing by assigning an immediate order during the backswing period, the unit is prevented from starting a new attack until WC3's internal counter allows it. This means you can manually cancel the backswing to move, cast a spell, use an item, etc, but lowering the backswing will not increase attack speed.

Last edited by Sophismata : 07-07-2009 at 01:52 PM.
Sophismata is offline   Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off


All times are GMT. The time now is 01:19 AM.


Affiliates
The Hubb The JASS Vault Clan WEnW Campaign Creations Clan CBS GamesModding Flixreel Videos

Powered by vBulletin (Copyright ©2000 - 2019, Jelsoft Enterprises Ltd).
Hosted by www.OICcam.com
IT Support and Services provided by Executive IT Services