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 05-11-2009, 06:15 AM
trevius's Avatar
trevius
Developer
 
Join Date: Aug 2006
Location: USA
Posts: 5,946
Default NPC Armor Tint

A feature I have wanted to have for a while now is a way to add armor tint for NPCs that can wear armor (player races). I am sure we could add red, blue, and green fields to the npc_types table and then just use them when we spawn the NPC. Though, I can't think of a simple way to edit the armor tint. Maybe having a command that could edit and save it in game would work. Maybe something like "#npcedit armortint 100 25 255" would work. I don't think we need anything as specific as being able to set the tint of each slot, but it would be nice if we could just set the full set they are wearing to a single tint.

I bet GeorgeS could probably even add a feature like this into his NPC Loot Editor. He already has a color tool for editing item tint. If the same tool was applied to the NPC Editor, it should make creating armor tint on NPCs a quick and easy task.
__________________
Trevazar/Trevius Owner of: Storm Haven
Everquest Emulator FAQ (Frequently Asked Questions) - Read It!
Reply With Quote
  #2  
Old 05-11-2009, 11:20 AM
ChaosSlayerZ's Avatar
ChaosSlayerZ
Demi-God
 
Join Date: Mar 2009
Location: Umm
Posts: 1,492
Default

that would be nice.
I want to point out that client tecnicly partialy supports something like that allready - if you give npc breastplate with altered color as loot- he will wear it and the proper color will be displayed.
WHich measn we can definetly send the tints codes from server to the client wihout actualy having to give npc armor as loot
Reply With Quote
  #3  
Old 05-11-2009, 12:00 PM
KingMort
Banned
 
Join Date: Sep 2006
Posts: 841
Default

Yeah was going to say on RA.. We have NPC's with very colorful armor but it was tedious because you have to make them seperate loot tables for EVERY Piece of armor at 100% drop rate.. and have them equip it.. Course you can only really do this in a Non Combat zone...

Also a side note... It seems a whole half of the color spectrum on eqemu doesn't work... Many of the red's, yellow's and Greens are non functional...

For example Rubicite BP is just White.. same with Bronze Armor and Singing Steel Armor...

Not sure why that is.. Would be really cool to get that fixed up as well...

Nice Post Trev

King
Reply With Quote
  #4  
Old 05-11-2009, 10:26 PM
trevius's Avatar
trevius
Developer
 
Join Date: Aug 2006
Location: USA
Posts: 5,946
Default

The color issue on items is probably directly related to your database. As far as I have seen, all armor in PEQ seems to be the proper color. I am sure your items table is quite old and probably hasn't been updated in years, if ever :P If you ever wanted to fix it, GeorgeS' Item Editor has a nice color tool that will let you quickly and easily set color for armor.

And yeah, I am aware that you can give armor to NPCs, but that is not a very good option for multiple reasons. This shouldn't be too hard to get coded. It could even be done for every slot on the NPC if we wanted, but I don't really think we need to add 21 new fields to the npc_types table lol. I think 3 would be just fine
__________________
Trevazar/Trevius Owner of: Storm Haven
Everquest Emulator FAQ (Frequently Asked Questions) - Read It!
Reply With Quote
  #5  
Old 05-11-2009, 10:35 PM
Shendare
Dragon
 
Join Date: Apr 2009
Location: California
Posts: 814
Default

Or if the three 8-bit RGB values are encoded into and decoded from a standard 32-bit XRGB value, only one field would need to be added to the table.
Reply With Quote
  #6  
Old 05-11-2009, 10:49 PM
trevius's Avatar
trevius
Developer
 
Join Date: Aug 2006
Location: USA
Posts: 5,946
Default

Yeah, I am just trying to figure out the way to make it easiest to edit directly in the table. Otherwise, without a tool to do the work or an in game command to do the work, it might be hard to set properly. It woudn't be too hard to do 0 to 255 for each color to get the mix you want. Unless someone changes the #npcedit command to take the 3 values and combine them into the single field. I will try to see if I can get it at least basically working and if anyone wants to help make it better, feel free. Though, before putting it on the SVN with SQL changes and all, it would be nice to have the DB changes finalized. Maybe I can look at how the items table handles tint.
__________________
Trevazar/Trevius Owner of: Storm Haven
Everquest Emulator FAQ (Frequently Asked Questions) - Read It!
Reply With Quote
  #7  
Old 10-30-2011, 02:14 AM
thepoetwarrior
Discordant
 
Join Date: Aug 2007
Posts: 307
Default

I'm trying to think of a safe way to import from an updated PEQ database npc and spawngroups without interfering with current custom content.

Maybe some super query or tool? Any ideas?

Yeah, way off topic, sorry =P
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 10:26 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