The following warnings occurred:
Warning [2] Use of undefined constant SAPI_NAME - assumed 'SAPI_NAME' (this will throw an Error in a future version of PHP) - Line: 3388 - File: inc/functions.php PHP 7.4.33-nmm6 (Linux)
File Line Function
/inc/functions.php 3388 errorHandler->error
/showthread.php 116 build_archive_link
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm6 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/inc/functions.php 3324 build_forum_breadcrumb
/showthread.php 195 build_forum_breadcrumb
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm6 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/showthread.php 195 build_forum_breadcrumb






Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Who have access to code? Need help
Author Message
Art
Journeyman
*

Posts: 118
Likes Given: 0
Likes Received: 1 in 1 posts
Joined: Apr 2012
Reputation: 0



Post: #1
Who have access to code? Need help
Hello.

I want to balance weapons damage by weight. I divide damage by weight to gen damage amount for 1 weight point. Then i multiply that amount on weapon's weight. Firstly all looks good and balanced, but i noticed light weapon kryss does more damage per one minute than viking sword.

Looks like weight have not balanced attack speed.

I ask someone who have access to source codes of Sphere: please, give me information about how much seconds of delay have each weight point.

1 weight = ?
2 weight = ?
3 weight = ?
...
8 weight = ?

Thanks.
02-07-2013 01:54 AM
Find all posts by this user Like Post Quote this message in a reply
Gil Amarth
Journeyman
*

Posts: 189
Likes Given: 2
Likes Received: 1 in 1 posts
Joined: May 2012
Reputation: 0



Post: #2
RE: Who have access to code? Need help
The delay of a weapon´s swing is not affected by weight.

It´s the Speed value of every weapon who set this attribute, you can set this speed for every weapon according his weight, but then you have to set this value manually for every weapon under his ITEMDEF section.

You can also test the time of your swing un your @HITTRY trigger.
Put there SERV.LOG Swing time: <dARGN1>
And you´ll see the tenths of second of your swing in you console
02-07-2013 02:46 AM
Find all posts by this user Like Post Quote this message in a reply
Art
Journeyman
*

Posts: 118
Likes Given: 0
Likes Received: 1 in 1 posts
Joined: Apr 2012
Reputation: 0



Post: #3
RE: Who have access to code? Need help
(02-07-2013 02:46 AM)Gil Amarth Wrote:  The delay of a weapon´s swing is not affected by weight.

Why not? Smile I deleted all SPEED variables from weapons, and then weight controls swing timer (like on old 0.55i Sphere).

But thanks for test advice, i will try it.
(This post was last modified: 02-07-2013 04:32 AM by Art.)
02-07-2013 04:32 AM
Find all posts by this user Like Post Quote this message in a reply
Art
Journeyman
*

Posts: 118
Likes Given: 0
Likes Received: 1 in 1 posts
Joined: Apr 2012
Reputation: 0



Post: #4
RE: Who have access to code? Need help
I tried <dARGN1>

For viking sword (weight 8) it said 25, and for kryss (weight 5) it said 17.
Well i tried to compare damage. If 25 damage for viking sword, then 25/25*17 = 17 means 17 damage for kryss.
I typed DAM=25,25 and DAM=17,17 for Viking Sword and Kryss. And kryss wins always. I tried with more hp limit, and kryss defeats sword. After that kryss have enough hp for few hits. Looks like not correct damage per second.
(This post was last modified: 02-07-2013 11:03 PM by Art.)
02-07-2013 11:03 PM
Find all posts by this user Like Post Quote this message in a reply
admin phoenix
Master
**

Posts: 354
Likes Given: 1
Likes Received: 23 in 13 posts
Joined: Mar 2012
Reputation: 3



Post: #5
RE: Who have access to code? Need help
kryss is faster than the sword so it hit the target more often than the sword
02-08-2013 12:00 AM
Find all posts by this user Like Post Quote this message in a reply
Art
Journeyman
*

Posts: 118
Likes Given: 0
Likes Received: 1 in 1 posts
Joined: Apr 2012
Reputation: 0



Post: #6
RE: Who have access to code? Need help
Yes, and that's why kryss have lower damage than sword. And if weight sets attack speed for weapon, i want to know right delay for each weight point, to calculate balanced damage for weapons.
(This post was last modified: 02-08-2013 12:13 AM by Art.)
02-08-2013 12:12 AM
Find all posts by this user Like Post Quote this message in a reply
BladeCraft
Apprentice
*

Posts: 42
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Feb 2013
Reputation: 2



Post: #7
RE: Who have access to code? Need help
Back in the day when i tried balancing weapon speeds to offset the dex boost my players were getting, i ran into the same issue. No matter how much i manipulated the triggers, it would not let me fully control speeds. I know this post does not really help you except to say, you were/are not alone with that problem Smile
02-09-2013 01:35 PM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)