Modcraft - The community dedicated to quality WoW modding!

Wrath of the Lich King Modding => Serverside Modding => Topic started by: Krang Stonehoof on June 27, 2016, 01:16:09 pm

Title: Making an NPC Visible after completing a Quest.
Post by: Krang Stonehoof on June 27, 2016, 01:16:09 pm
Greetings,

I've seen a recent Blue Post from a Blizzard Developer, and someone was complaining on the forums that they cannot see an NPC, and the Developer replied with: "You cannot see him because you have to complete a quest in order to see the NPC". And I was curious, on a Trinity Core 3.3.5, would it possible to implement something like that? To make an NPC visible after completing a Quest, but without phases. (Also, you have to take in consideration that the NPC shall be visible only for the player who completed the quest, not for everyone after first completion).

Thanks,
Lucian
Title: Re: Making an NPC Visible after completing a Quest.
Post by: schlumpf on June 27, 2016, 03:34:16 pm
Why without phases? This is exactly why phases exist? Doing it without phases just means that you reimplement the phasing system!?
Title: Re: Making an NPC Visible after completing a Quest.
Post by: 111tester on June 27, 2016, 09:40:22 pm
Quote from: "Krang Stonehoof"
Greetings,

I've seen a recent Blue Post from a Blizzard Developer, and someone was complaining on the forums that they cannot see an NPC, and the Developer replied with: "You cannot see him because you have to complete a quest in order to see the NPC". And I was curious, on a Trinity Core 3.3.5, would it possible to implement something like that? To make an NPC visible after completing a Quest, but without phases. (Also, you have to take in consideration that the NPC shall be visible only for the player who completed the quest, not for everyone after first completion).

Thanks,
Lucian

Use an aura of invisibility on creatures. Then give the player an aura of visibility after completing quest.
Title: Re: Making an NPC Visible after completing a Quest.
Post by: Kaev on June 28, 2016, 02:50:28 pm
Quote from: "schlumpf"
Why without phases? This is exactly why phases exist? Doing it without phases just means that you reimplement the phasing system!?
^this
Title: Re: Making an NPC Visible after completing a Quest.
Post by: Skarn on June 30, 2016, 09:40:11 am
Quote from: "111tester"
Quote from: "Krang Stonehoof"
Greetings,

I've seen a recent Blue Post from a Blizzard Developer, and someone was complaining on the forums that they cannot see an NPC, and the Developer replied with: "You cannot see him because you have to complete a quest in order to see the NPC". And I was curious, on a Trinity Core 3.3.5, would it possible to implement something like that? To make an NPC visible after completing a Quest, but without phases. (Also, you have to take in consideration that the NPC shall be visible only for the player who completed the quest, not for everyone after first completion).

Thanks,
Lucian

Use an aura of invisibility on creatures. Then give the player an aura of visibility after completing quest.

And see some dummy NPCs like infernals, imps and whatnot.
Title: Re: Making an NPC Visible after completing a Quest.
Post by: monsune on July 02, 2016, 02:40:39 am
But NPC phasing in WOTLK won't work for particular player, right? It's more like all or nothing.
Title: Re: Making an NPC Visible after completing a Quest.
Post by: Ascathos on July 02, 2016, 04:02:17 am
Iirc you can handle that with conditions. Not sure right now
Title: Re: Making an NPC Visible after completing a Quest.
Post by: Rhisk on July 12, 2016, 11:20:21 pm
An easy way to accomplish this is through a SAI. You can add a invisible aura to the npc, and add a smart_script to remove this aura when the player have the quest x rewared.
Title: Re: Making an NPC Visible after completing a Quest.
Post by: Ascathos on July 13, 2016, 10:37:18 pm
Quote from: "Rhisk"
An easy way to accomplish this is through a SAI. You can add a invisible aura to the npc, and add a smart_script to remove this aura when the player have the quest x rewared.
Does not make it specific but generic. SAI does not allow that for one specific player only.
Title: Re: Making an NPC Visible after completing a Quest.
Post by: Shakar on September 01, 2016, 09:59:41 am
Quote from: "Ascathos"
Quote from: "Rhisk"
An easy way to accomplish this is through a SAI. You can add a invisible aura to the npc, and add a smart_script to remove this aura when the player have the quest x rewared.
Does not make it specific but generic. SAI does not allow that for one specific player only.

What if the SAI set where it toggles the players phase instead? I know on my Trinity build that I can affect the players phase for quests (but not permanently) using the setingamephasemask sai action... why not set it on a dummy box where if the player has completed quest x via condition, it will set player into phase y with other dummy unit setting their phase back to the normal one when they leave the affected areas?