Page 1 of 1

swing speed code

PostPosted: Mon Sep 28, 2009 10:31 am
by Batlin

Re: swing speed code

PostPosted: Mon Sep 28, 2009 1:41 pm
by Derrick
Wow, great code.

A few observations from this right off the bat:
The slowest possible wepon swing is 20 ticks/swing (5 secs)
The swing state is stored in the mobile, not the weapon
This is very very different from the RunUO swingtimer system, but definately implementable.

Re: swing speed code

PostPosted: Mon Sep 28, 2009 1:43 pm
by Batlin

Re: swing speed code

PostPosted: Mon Sep 28, 2009 1:53 pm
by Batlin

Re: swing speed code

PostPosted: Mon Sep 28, 2009 2:01 pm
by Derrick

Re: swing speed code

PostPosted: Mon Jan 11, 2010 12:33 pm
by Batlin
Update:
I've replaced the variable this.0xXXX with their correct names aka SwingState and SwingCounter.
I also fixed a decompilation bug regarding when "return 3" was done inside the AdvanceSwingState function.

Re: swing speed code

PostPosted: Mon Sep 13, 2010 7:37 pm
by blazz
thanks for posting these codes, these could be a great help because I really like archery.