Go Back   EQEmulator Home > EQEmulator Forums > Development > Development::Development

Development::Development Forum for development topics and for those interested in EQEMu development. (Not a support forum)

Reply
 
Thread Tools Display Modes
  #1  
Old 09-12-2009, 12:42 AM
RichardoX
Hill Giant
 
Join Date: Dec 2004
Location: in your closet....
Posts: 169
Default Weapon Graphic Attack Animation

As you are aware, adding a weapon graphic (short of giving the npc the actual weapon) does not effect the attack animation of the npc. So if I gave an elf the weapon graphic of a halberd, it would perform the punching animation while engaged.. I propose that someone team up with me and work on a solution for this. I had the idea of having it consult a table in the database to find the proper animation id to perform the correct attack.

I'd be willing to populate a database of all of the weapon graphic id's and corrosponding animation id's if someone is willing to do the code work that will fetch and use this information. This would be nice for realism in zones.
__________________
a hill giant slashes YOU for 25 points of damage!
You have been slain!
LOADING, PLEASE WAIT...
Reply With Quote
  #2  
Old 09-12-2009, 01:17 AM
Rogean's Avatar
Rogean
Administrator
 
Join Date: Jul 2003
Location: Massachusetts
Posts: 708
Default

npc_type column, attackanimation~
__________________
EQEmulator Developer / Administrator
Reply With Quote
  #3  
Old 09-12-2009, 01:38 AM
AndMetal
Developer
 
Join Date: Mar 2007
Location: Ohio
Posts: 648
Default

Quote:
Originally Posted by Rogean View Post
npc_type column, attackanimation~
I tend to agree.
__________________
GM-Impossible of 'A work in progress'
A non-legit PEQ DB server
How to create your own non-legit server

My Contributions to the Wiki
Reply With Quote
  #4  
Old 09-12-2009, 01:40 AM
ChaosSlayerZ's Avatar
ChaosSlayerZ
Demi-God
 
Join Date: Mar 2009
Location: Umm
Posts: 1,492
Default

I remember this been offered few month ago by Trev, but was this EVER implemented? There is nothing about it in changelog file

here is original thread

http://www.eqemulator.net/forums/sho...ight=animation
Reply With Quote
  #5  
Old 09-12-2009, 02:39 AM
RichardoX
Hill Giant
 
Join Date: Dec 2004
Location: in your closet....
Posts: 169
Default

Ahh, never knew about that... Well now I feel dumb. :p
__________________
a hill giant slashes YOU for 25 points of damage!
You have been slain!
LOADING, PLEASE WAIT...
Reply With Quote
  #6  
Old 09-12-2009, 04:17 AM
blackdragonsdg
Dragon
 
Join Date: Dec 2008
Location: Tennessee
Posts: 653
Default

Could this same idea be used to alter player character attack animations or is that hard coded in the client? Reason I ask is that 2HB weapons use a waist level poking animation that should only have been used for piercing weapons. Its just my opinion but I think that all 2HB attack animations should look similar to the 2HS attack animations. The over head chopping action or swinging like you would with a baseball bat makes far more sense for a blunt object than proding at something like your trying to stab it.
Reply With Quote
  #7  
Old 09-12-2009, 11:36 AM
RichardoX
Hill Giant
 
Join Date: Dec 2004
Location: in your closet....
Posts: 169
Default

Client reads item data (2hs,1hs, etc) and handles it all. The possibility of forcing the client to perform said animation is debatable. I wouldn't know.
__________________
a hill giant slashes YOU for 25 points of damage!
You have been slain!
LOADING, PLEASE WAIT...
Reply With Quote
  #8  
Old 09-14-2009, 01:40 AM
AndMetal
Developer
 
Join Date: Mar 2007
Location: Ohio
Posts: 648
Default

Quote:
Originally Posted by RichardoX View Post
Client reads item data (2hs,1hs, etc) and handles it all. The possibility of forcing the client to perform said animation is debatable. I wouldn't know.
I didn't read through all of the attack code to verify, but you may want to check out Mob::AttackAnimation, because I'm pretty sure it sends an animation packet (via Mob::DoAnim) every time you attack.
__________________
GM-Impossible of 'A work in progress'
A non-legit PEQ DB server
How to create your own non-legit server

My Contributions to the Wiki
Reply With Quote
  #9  
Old 09-14-2009, 01:43 AM
Rogean's Avatar
Rogean
Administrator
 
Join Date: Jul 2003
Location: Massachusetts
Posts: 708
Default

Yea it can all be changed if the code is put in for it. The server sends out animation packets. You could have all melee filters turned off so you won't receive the damage packets, but you still see swing animations due to that seperate packet.
__________________
EQEmulator Developer / Administrator
Reply With Quote
  #10  
Old 09-14-2009, 03:16 AM
KLS
Administrator
 
Join Date: Sep 2006
Posts: 1,348
Default

Quote:
npc_type column, attackanimation
Better solution probably would be attack_type_primary/attack_type_secondary, that way it could also override the damage type so they're actually slashing with fake swords~
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 04:50 AM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3