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

Development::Feature Requests Post suggestions/feature requests here.

Reply
 
Thread Tools Display Modes
  #1  
Old 07-08-2009, 03:34 AM
trevius's Avatar
trevius
Developer
 
Join Date: Aug 2006
Location: USA
Posts: 5,946
Default NPC Attack Skill Type

I was thinking that it would be cool to have 2 new fields added to the NPC table that would allow NPCs to be set to use a certain skill type for primary and secondary attacks without requiring them to have a weapon of that type in their loot table. Since we can already set the weapon models for either hand in the table, it would be good to have the option to set the correct attack messages and animations to go along with them. So, if the NPC is weilding a 1hs, the player would see the 1hs animation when they attack and also get the "slashed for" message when they get hit. If the default was left at 0 for these fields, it would just either punch or use the skill of any wielded weapon. If it was set to anything other than 0, it would use that skill type from the list for items.

I am not exactly sure what it would take to add this option in, or I would add it myself. I may eventually try to look further into it eventually if I have time. Figured it would be good to note here and also to see if anyone else might like to use the idea or work on code to support it.
__________________
Trevazar/Trevius Owner of: Storm Haven
Everquest Emulator FAQ (Frequently Asked Questions) - Read It!
Reply With Quote
  #2  
Old 07-09-2009, 08:43 PM
ChaosSlayerZ's Avatar
ChaosSlayerZ
Demi-God
 
Join Date: Mar 2009
Location: Umm
Posts: 1,492
Default

this is brilliant! We can get npc slashings and piercing without the need to actualy give them any actual weapon to wield
Reply With Quote
  #3  
Old 07-09-2009, 10:34 PM
ChaosSlayerZ's Avatar
ChaosSlayerZ
Demi-God
 
Join Date: Mar 2009
Location: Umm
Posts: 1,492
Default

Oh Trev, you should also add special attack type to represent animals/insects etc.

I am rather seek of seeing messages like:
"A snake slashes you" or a "A bat kicks you"

I know they got those attacks cuase they are of correspanding class, but it would be better if we could assing them one of these new variables which would ALWAYS show their attacks as "bites" or "claws" or "mauls" even if its not a primary attack.

I know SOE a while back replaced the default attacks with those that corespand for cretaure type, but many new models stil have attacks messages as if they were humanoids

Same applies for armed BST pets =)

So:

0 - default
1 - 1hs
2 - 2hs
3 - 1hb
4 - 2hb
5 - 1hp
6 - 2hp
7 - bites
8 - claws
9 - mauls
10 - whatever the birds do

may want to think of a few more
Reply With Quote
  #4  
Old 09-26-2009, 09:11 PM
trevius's Avatar
trevius
Developer
 
Join Date: Aug 2006
Location: USA
Posts: 5,946
Default

I was checking on something else and happened to verify that they already do exactly this on Live. In Stone Hive, they have a bunch of NPCs wielding weapon models that are not in their loot table and they do show the correct message types when attacking like "slashes", "crushes", etc.

I think the best way to do it might be to use the attack types we already have defined and create 2 new fields in the npc_types table like "prim_atk_type" and "sec_atk_type".

Also, to do what ChaosSlayer is wanting, we could just have an extra field that overrides any other attack message type if it is set. A text field like "atk_type_msg" that you just put the attack type message such as "tailwhips" or "bites" or "scratches" or you get the picture
__________________
Trevazar/Trevius Owner of: Storm Haven
Everquest Emulator FAQ (Frequently Asked Questions) - Read It!
Reply With Quote
  #5  
Old 09-26-2009, 09:27 PM
Rogean's Avatar
Rogean
Administrator
 
Join Date: Jul 2003
Location: Massachusetts
Posts: 708
Default

Theres no need for a secondary attack type because all offhand attacks look the same regardless.

I'll see about getting the primary attack type added.
__________________
EQEmulator Developer / Administrator
Reply With Quote
  #6  
Old 09-27-2009, 02:16 AM
ChaosSlayerZ's Avatar
ChaosSlayerZ
Demi-God
 
Join Date: Mar 2009
Location: Umm
Posts: 1,492
Default

Quote:
Originally Posted by trevius View Post
I was checking on something else and happened to verify that they already do exactly this on Live. In Stone Hive, they have a bunch of NPCs wielding weapon models that are not in their loot table and they do show the correct message types when attacking like "slashes", "crushes", etc.
actually LIVE had this thing all way since GoD
I remember fighting those purple towering brutes in Barindu and they all were slashing with those huge black halberds, yet never had them for loot.
Reply With Quote
  #7  
Old 09-27-2009, 02:17 AM
ChaosSlayerZ's Avatar
ChaosSlayerZ
Demi-God
 
Join Date: Mar 2009
Location: Umm
Posts: 1,492
Default

Quote:
Originally Posted by Rogean View Post
Theres no need for a secondary attack type because all offhand attacks look the same regardless.

I'll see about getting the primary attack type added.
look the same?
but are they texted the same?
What will happen if mob has sword in primary and mace in 2ndary?
Reply With Quote
  #8  
Old 09-27-2009, 04:15 AM
Rogean's Avatar
Rogean
Administrator
 
Join Date: Jul 2003
Location: Massachusetts
Posts: 708
Default

Valid point.
__________________
EQEmulator Developer / Administrator
Reply With Quote
  #9  
Old 09-27-2009, 05:07 AM
trevius's Avatar
trevius
Developer
 
Join Date: Aug 2006
Location: USA
Posts: 5,946
Default

Yeah, the message was my main concern, but might as well do matching animations as well for different weapon animations for primary and whether or not to use offhand animations.
__________________
Trevazar/Trevius Owner of: Storm Haven
Everquest Emulator FAQ (Frequently Asked Questions) - Read It!

Last edited by trevius; 09-27-2009 at 05:18 AM..
Reply With Quote
  #10  
Old 10-05-2010, 10:43 PM
submaysense
Fire Beetle
 
Join Date: Jun 2009
Location: Taiwan
Posts: 7
Default

does NPCs can use the archery skill now?

when i root ranger mob,they only stand and watch me..

i had add mysql tools stats on Npc ID_specialattack line with "Y",

but not work..

what IF_

quest::Ueskill archery ?
Reply With Quote
  #11  
Old 10-06-2010, 08:19 AM
trevius's Avatar
trevius
Developer
 
Join Date: Aug 2006
Location: USA
Posts: 5,946
Default

No, archery combat for NPCs has not been implemented yet. It would be nice to get it working, but requires a bit of AI for the NPCs to be able to do it properly. We would need to take certain things into account like having the NPC check for the range to their target, stop moving and start shooting if there is LoS and they are within range, and so on.
__________________
Trevazar/Trevius Owner of: Storm Haven
Everquest Emulator FAQ (Frequently Asked Questions) - Read It!
Reply With Quote
  #12  
Old 10-14-2010, 09:26 AM
submaysense
Fire Beetle
 
Join Date: Jun 2009
Location: Taiwan
Posts: 7
Default

do like to see it happen on future,

thanks Trevius.
Reply With Quote
Reply


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 09:44 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