Joined: 10 Feb 2006 Posts: 286 Location: Myrtle Beach, South Carolina
Posted: Wed Nov 21, 2007 4:49 am Post subject: uh yeah... weapons rant
POL096-2006-06-02 RC3 Vestal Virgin
I set CFG option for a weapon:
Speed 50
Delay 10000
My test characters dexterity is 100.
I put in a little code into my attackhook to tell me how much time(in MS) there was in between attack swings.
The results were;
10000(Give or take 10-30 MS)
Now I was praying that setting Delay to 10000 would give me results like..
4000
Assuming that Speed is (Speed * 10) = -5000MS
Also that Dexterity is (Dex * 10) = -1000MS
So -6000 + 10000 = 4000MS
Right? No, wrong! lol. It was 10000MS in between swings.
So... Could someone tell me how Delay, Speed and Dexterity effects the MS delay in swings. And what is the default Delay(when not set in CFG) because it's not 0.
All I know is that the higher Speed and Dexterity the less time in MS there is in between swings.
I really hope I'm having a dumb moment... lol. And I apologize if I am.
Good luck with that because for some reason it didn't let me balance weapons.
What I was looking for was a way to calculate the average damage per second, so I could rate each different weapon accordingly. That way I could grade each weapon for skill but still take into account that a dagger was faster than a spear.
However, for some reason it doesn't quite work out. I suspect we also need to factor in the animation of the swing.
Author
Message
Yukiko
Joined: 02 Feb 2006 Posts: 1080 Location: Southern Central USA
Posted: Thu Nov 22, 2007 2:19 am Post subject:
Being able to calculate damage per second (DPS) would be nice. I hadn't ever considered that as a way to rate weapons until the advent of WoW. though I have only dabbled with WoW my son told me that DPS is the primary ways players of WoW rate weapons. So, yeah if there's some weay to do that or atleast calculate swing/missle delays accurately for DPS calculation.
Author
Message
MontuZ Distro Developer
Joined: 10 Feb 2006 Posts: 286 Location: Myrtle Beach, South Carolina
Posted: Thu Nov 22, 2007 2:19 am Post subject:
When I set Delay to 10000 and set a little prop on the char swinging to tell how much time there was in between each swing, it only varied by 10-30MS.
And I'm guessing that only delay_mod for 097 core effects that. So we could still do that, we'd just have to add Delay to all of our weapon entires and figure out a good way to update the delay_mod on a character so that Speed and dex still effects swinging speed.
Or devs could add in some short of exported function that returns MS it needs to wait before swinging again(I would really, really, really love that.) =)