Is it possible to code?
Would it be possible to code in some sort of visual change in a character when an event occurs? Maybe have the server dye all his armor green for a duration? Or just make him completely green? If so, any pointers on how to make it happen would be much appreciated. I've got basic c++ knowledge and a programmer that doesn't know EQ :). Thanks.
|
After looking through some of the source code (utils/perlxs/npc.h & utilz/perlxs/mob.h), there are a few commands that might accomplish what you're looking for using a quest script, but I'm not really sure because the syntax of the commands aren't very clear:
Code:
SetAppearance(EmuAppearance app, bool iIgnoreSelf = true); |
I'm sorry i was a little unclear, i'm trying to apply this to PC's, not NPC's.
|
I found this looking through some more source code in utils\perlxs\client.h:
Code:
SetTint(sint16 slot_id, uint32 color); |
Of course it helps to check your syntax...
$client->SetTint() seems to process, but it'll take some messing around with since the color is a 32 bit integer. It might be Color_Struct, which is int8 blue, int8 green, int8 red, & uint8 use_tint (see item_tint under profile). I haven't seen any results, but it looks like this is what will need to be used. |
Would it be possible to invoke this in the eqemu source? I need it to work within some c++ code.
|
while we on the subject of item tint...
I seem to have a problem with item colors amd "dye" It seems that any touching of a "dye" results in some tint patterns to become permanently stored there, and that tint number to be added automaticly to any a tint of an item I am currently wearing, resulting in most weird olor combinations... reseting the "dye" don't seem to have an effect. This don't happen ll the time, but only with specific item colors specialy with "brownish" colored items |
omg get your own thread thief... okay i kid. Any magical dev have a way to do this though? I'd cry myself to sleep tonight in happiness if I could figure this out.
|
All times are GMT -4. The time now is 02:14 PM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.