1 (edited by PadreWoW 2015-08-03 07:43:58)

Ha all
Is it possible to implement contour mode (Quest NPCs and objects highlight) in BC ?

i don't know how it looks like exactly, but is there no similar aura with this optical effect?
maybe this could be used for it

3 (edited by PadreWoW 2015-08-03 18:17:03)

Like this (used for usable/quest npcs and objects):
PunBB bbcode test1

PunBB bbcode test2

PunBB bbcode test3

the problem is the original is from later wow versions (right) like WOD

do you know, is there any mod existion for TC2 (3.3.5)?

there are 3 general problematic points:

1: this aura is only seen by one client (individual per client) not all client the same, right?
but this is probably resolvable in the core code.

2:  maybe this kind of visual is not available on client (the nwe need to find a similar aura, bt is not equals)

3: i know it works on NPCs but for GO, i'm not sure if this will be possible

(in theory there exists the effect from mouseover, but as far as i know this cant be triggered by server, but is this possible with a additional addon? maybe, maybe not...)

[edit] but how ever the idea is nice and it would makes sense wink

Idea is great but I don't think it's possible too much. Probably not in the same manner anyway. We could use a spotlight effect perhaps. Or some weird glow. But making it specific to a character would be tough. Maybe do something similar to how phasing works.

6 (edited by PadreWoW 2016-08-24 14:05:39)

I found quest sparkles
But I don't know how to change them to some kind of spell.....
Can anyone help?

if (IsActivateToQuest)
                    {
                        switch (((GameObject*)this)->GetGoType())
                        {
                        case GAMEOBJECT_TYPE_CHEST:
                        case GAMEOBJECT_TYPE_GOOBER:
                            *data << uint16(GO_DYNFLAG_LO_ACTIVATE | GO_DYNFLAG_LO_SPARKLE); <- QUEST SPARKLES!
                            *data << uint16(-1);
                            break;
                        default:
                            *data << uint32(0);         // unknown, not happen.
                            break;
                        }
                    }

how to make objects cast spells?
I can not use CastSpell(), DoCast(), AddAura(), SetAura()

I tried to do this:
target->CastSpell(target, 12257, false) but there was a crash sad

p.s target announced in void as Player* target
void Object::_BuildValuesUpdate(uint8 updatetype, ByteBuffer* data, UpdateMask* updateMask, Player* target) const

for sure GO can not cast spells, its not implemented in the client.
you can spawn a hidden dummy NPC and add a click script on the GO, this script triggers the dummy and the dummy NPC script can cast a spell.

its the only workaround i know...

desteny wrote:

for sure GO can not cast spells, its not implemented in the client.
you can spawn a hidden dummy NPC and add a click script on the GO, this script triggers the dummy and the dummy NPC script can cast a spell.

its the only workaround i know...

Aura should be visible if player have quest - not on click

but aura on GO?!, aura on GO is no aura and is no spell, like you see its a dynamic flag on GO. it will be set probably in a other way not by spell or aura.

but your last question was how a object can cast spells, but this is not realy related for the sparkle problem