Go Back   EQEmulator Home > EQEmulator Forums > Support > Support::General Support

Support::General Support Post all topics here having to do with errors while trying to connect to an EQEMu server but not about the setup/running of the Server itself.

Reply
 
Thread Tools Display Modes
  #1  
Old 10-11-2008, 11:21 PM
spider661
Discordant
 
Join Date: Oct 2005
Location: michigain
Posts: 260
Default target npcs

i want to make a npc so you cant target it but not with the ` or whatever your key binding is to target the nearest npc.. like pets you can target them but the don't target when you ` to target. Its for bots so im guessing there is something i can do to make this work. change something in the npctypes table or even if its something i can doe in the server code just point me to where to look to get started i should be fine from there.. i have not looked yet but i guess it would be somewhere with the summoning code unless thats handled client side?

anyways can this be done?
Reply With Quote
  #2  
Old 10-12-2008, 06:28 AM
hayward6
Forum Guide
 
Join Date: Jul 2005
Posts: 468
Default

I'm not 100% sure I know what you're looking for... You want to create an NPC that can't be targeted? Or you want it to only be targeted when you use a specific key? There should be key binding that allow you to choose the closest enemy, and a key binding to target the closest ally... do those not offer a solution for what you need?
__________________
Sayin Silverwolf
Server Op of The Sandbox (Non-Legit)
Reply With Quote
  #3  
Old 10-12-2008, 01:43 PM
beano311
Fire Beetle
 
Join Date: Sep 2008
Location: Philadelphia, Pa
Posts: 4
Default

What he means is... He wants to make bots for PCs to use. Because they're bots, they're seen as NPCs on the client, so if you hit ` to target the closest NPC, it might target the bot instead of the intended NPC. So he want's to know how to make the bots look like PCs instead of NPCs. The bots should still be targetable, just not with the ` key.
Hope I got that right.
Reply With Quote
  #4  
Old 10-13-2008, 06:03 PM
spider661
Discordant
 
Join Date: Oct 2005
Location: michigain
Posts: 260
Default

yep thats right.. jsut like pets can still target so the npcs can hit them you can give them items and that sort but you cant hit your target nearet hotkey and get it targeted.. so when you tab (or whatever your key bind it) you dont target the bot.
Reply With Quote
  #5  
Old 10-13-2008, 10:12 PM
Congdar
Developer
 
Join Date: Jul 2007
Location: my own little world
Posts: 751
Default

the opcode for targetting seems to all run through the same code. it looks like the mouse click goes through the same code as /target and also the 'nearest' target with ` key. If they were separated out, I could do an IsBot() check and eliminate the bots from the ` target.
Reply With Quote
  #6  
Old 10-13-2008, 10:56 PM
spider661
Discordant
 
Join Date: Oct 2005
Location: michigain
Posts: 260
Default

there is no other way to do it? how do pets do it?
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 02:49 PM.


 

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 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3