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-nmm7 (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-nmm7 (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-nmm7 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/showthread.php 195 build_forum_breadcrumb
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 786 - File: showthread.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/showthread.php 786 errorHandler->error






Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Swing swinging at record of the fight + source
Author Message
Mad Gunther
Apprentice
*

Posts: 45
Likes Given: 11
Likes Received: 5 in 5 posts
Joined: Oct 2015
Reputation: 1



Post: #1
Swing swinging at record of the fight + source
Hello everyone. I have been stuck for a couple of weeks with a trouble that i could not solve.
I have tweaked the sphere source to build the combat system as i want, everything is working but i need to change this behaviour in sphere to make it perfect, it´s one of the few things left to do in my weapon/damage system.

using in sphere.ini
speedscalefactor=15000
combatspeedera=0
no combat flags
mondains legacy with 2.0.5 client.
the source modified is from january 2016.

Imagine the situacion, player A in front of player B with a distance of 1 tile. Player A click war button and dbclick player B. This is what happends with the setting before posted in that right moment when you dbclick in war mode:

attack anim -----> hit -----> recoil anim -----> swing time -----> attack anim -----> over again same pattern.

You all would see this if you have the same settings posted above.

And i would like to start the fight combat in this way:

swing time -----> attack anim -----> hit -----> recoil anim -----> swing time -----> over again same pattern.

In other words how can i start the record of the fight with war_swing_swinging instead of war_swing_ready? then the system would work the same way as the sphere custom default.

I have tried to do it with an event in a softcoded way, but to work it properly i had to redo all the combat system and i would prefer a rat pack than this, since been doing everything in source for weeks.
i thought it was easier, until i found this... i have no clue on how to handle this, tried to play a bit with fight memories in source but i messed up the whole system always.

if anyone who "plays" with source or one of the devs can help me out or just give me some advice i would be really appreciate. If someone know how to do it in scripts without redo the system you are very welcome too. Regards and thanks in advance.
02-15-2016 04:20 AM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
Swing swinging at record of the fight + source - Mad Gunther - 02-15-2016 04:20 AM

Forum Jump:


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