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






Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Remove char anim while spell cast
Author Message
Rizz
Master
**

Posts: 396
Likes Given: 21
Likes Received: 14 in 9 posts
Joined: Oct 2012
Reputation: 0



Post: #1
Remove char anim while spell cast
Is there a way to remove the caster animation?
Not the animation of the spell but the movement of player himself (i can't remember which animation numbers are... maybe 13 and 14).

I ask this bcuz when you try to cast some spells with a gargoyle player, he disappears for 1 second or land to the ground if he was flying.
This happen bcuz sphere does not read the entire gargoyle animation (just walk, run and fly).

So i thought to use gargoyle only for mage but i need to know how to remove char animation so the player could continue to fly without any effect.

Otherwise is possible to transfer all the gargoyle animations from own files to normal anim.mul?
(This post was last modified: 01-20-2013 01:49 AM by Rizz.)
01-20-2013 01:47 AM
Find all posts by this user Like Post Quote this message in a reply
darksun84
Sir Spamalot
****

Posts: 1,687
Likes Given: 245
Likes Received: 162 in 151 posts
Joined: Mar 2012
Reputation: 35



Post: #2
RE: Remove char anim while spell cast
SPELLFLAG_NO_ANIM should be

Edit : Wrong, it's spellflag_no_castanim
(This post was last modified: 01-20-2013 01:57 AM by darksun84.)
01-20-2013 01:56 AM
Find all posts by this user Like Post Quote this message in a reply
Rizz
Master
**

Posts: 396
Likes Given: 21
Likes Received: 14 in 9 posts
Joined: Oct 2012
Reputation: 0



Post: #3
RE: Remove char anim while spell cast
mmmh but this will affect all the casters (non gargoyle too) at the same time, may i wrong?
(This post was last modified: 01-20-2013 02:32 AM by Rizz.)
01-20-2013 02:31 AM
Find all posts by this user Like Post Quote this message in a reply
Mordaunt
Super Moderator
****

Posts: 1,237
Likes Given: 26
Likes Received: 55 in 43 posts
Joined: Mar 2012
Reputation: 35



Post: #4
RE: Remove char anim while spell cast
Yes that would affect all players.

[Image: 2nis46r.jpg]
01-20-2013 02:33 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Rizz
Master
**

Posts: 396
Likes Given: 21
Likes Received: 14 in 9 posts
Joined: Oct 2012
Reputation: 0



Post: #5
RE: Remove char anim while spell cast
mmh so it's not the solution for me. is there another way?
01-20-2013 03:48 AM
Find all posts by this user Like Post Quote this message in a reply
Mordaunt
Super Moderator
****

Posts: 1,237
Likes Given: 26
Likes Received: 55 in 43 posts
Joined: Mar 2012
Reputation: 35



Post: #6
RE: Remove char anim while spell cast
Unfortunately, I don't think there is. I do recall chatter of this over on the bug tracker so I believe it will be getting fixed in the core at some point

[Image: 2nis46r.jpg]
01-20-2013 04:42 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Ben
Sphere Developer
*****

Posts: 612
Likes Given: 2
Likes Received: 123 in 70 posts
Joined: Mar 2010
Reputation: 18

SphereCommunity

Post: #7
RE: Remove char anim while spell cast
The issue here is that the gargoyle uses a new packet for movement. ShyriuX said he was working on it... at some point last year...

AxisII's current version: 2.0.4j
AxisII SourceCode on Github
AxisII up to date changelog
01-20-2013 05:00 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Rizz
Master
**

Posts: 396
Likes Given: 21
Likes Received: 14 in 9 posts
Joined: Oct 2012
Reputation: 0



Post: #8
RE: Remove char anim while spell cast
Could we have an override tag to do this?
01-20-2013 11:52 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: #9
RE: Remove char anim while spell cast
I think you can try this one under the @start trigger for the spell

on=@start
if (<obody> == c_gargoyle) // or whatever
serv.spell.<argn1>.flags |= spellflag_no_castanim
endif

maybe then you have to delete the flag then in @effect?
don´t know if this setting will only work for one time.
try and check it
01-21-2013 07:42 PM
Find all posts by this user Like Post Quote this message in a reply
Rizz
Master
**

Posts: 396
Likes Given: 21
Likes Received: 14 in 9 posts
Joined: Oct 2012
Reputation: 0



Post: #10
RE: Remove char anim while spell cast
(01-21-2013 07:42 PM)admin phoenix Wrote:  I think you can try this one under the @start trigger for the spell

on=@start
if (<obody> == c_gargoyle) // or whatever
serv.spell.<argn1>.flags |= spellflag_no_castanim
endif

maybe then you have to delete the flag then in @effect?
don´t know if this setting will only work for one time.
try and check it

Tested.
With @start, with the first spell you see the animation, after the firt spell the animation disappears but for all players and you need to do something under other trigger.

I think work in this way could not be the best solution for stability but i don't know
01-21-2013 10:17 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)