Forums WoW Modding Support Archives TrinityCore Discord Archives [DiscordArchive] how does phasing work? that the player enters another phase after sending a quest, for example? or N

[DiscordArchive] how does phasing work? that the player enters another phase after sending a quest, for example? or N

[DiscordArchive] how does phasing work? that the player enters another phase after sending a quest, for example? or N

Pages (5): Previous 1 2 3 4 5 Next
rektbyfaith
Administrator
0
10-11-2022, 10:19 AM
#11
Archived author: <o> • Posted: 2022-10-11T10:19:39.297000+00:00
Original source

that's because there isn't a single way to do it. I'm not 100% sure if it works, but I think you can use `spell_dbc` to create custom spells with the set mask effect and then apply it through `spell_area`, which should be enough for what you're trying to do.
rektbyfaith
10-11-2022, 10:19 AM #11

Archived author: <o> • Posted: 2022-10-11T10:19:39.297000+00:00
Original source

that's because there isn't a single way to do it. I'm not 100% sure if it works, but I think you can use `spell_dbc` to create custom spells with the set mask effect and then apply it through `spell_area`, which should be enough for what you're trying to do.

rektbyfaith
Administrator
0
10-11-2022, 10:21 AM
#12
Archived author: <o> • Posted: 2022-10-11T10:21:21.892000+00:00
Original source

the easiest is to just look at a quest that does this and check what tables it uses or what spells it applies and what its effects are. I usually don't use phases for quests myself so i rarely use them like that, instead I use the core function `WorldObject::SetPhaseMask`
rektbyfaith
10-11-2022, 10:21 AM #12

Archived author: <o> • Posted: 2022-10-11T10:21:21.892000+00:00
Original source

the easiest is to just look at a quest that does this and check what tables it uses or what spells it applies and what its effects are. I usually don't use phases for quests myself so i rarely use them like that, instead I use the core function `WorldObject::SetPhaseMask`

rektbyfaith
Administrator
0
10-11-2022, 10:27 AM
#13
Archived author: Krutok • Posted: 2022-10-11T10:27:09.252000+00:00
Original source

Example quest: https://www.wowhead.com/quest=13086/the-...of-defense when you've done this, the undead won't walk around anymore, but I have no idea how it was done.
[Embed: The Last Line Of Defense]
Use an Argent Cannon to destroy 100 Scourge attackers. You must also kill 3 Frostbrood Destroyers.Return to Siegemaster Fezzik should you succeed.
https://www.wowhead.com/quest=13086/the-...of-defense
rektbyfaith
10-11-2022, 10:27 AM #13

Archived author: Krutok • Posted: 2022-10-11T10:27:09.252000+00:00
Original source

Example quest: https://www.wowhead.com/quest=13086/the-...of-defense when you've done this, the undead won't walk around anymore, but I have no idea how it was done.
[Embed: The Last Line Of Defense]
Use an Argent Cannon to destroy 100 Scourge attackers. You must also kill 3 Frostbrood Destroyers.Return to Siegemaster Fezzik should you succeed.
https://www.wowhead.com/quest=13086/the-...of-defense

rektbyfaith
Administrator
0
10-11-2022, 10:30 AM
#14
Archived author: <o> • Posted: 2022-10-11T10:30:32.778000+00:00
Original source

maybe you're just not confident on how to use spell auras or create custom spells, so try looking into learning that first. `SPELL_AURA_PHASE`, or 261, is the aura type you're looking for. Then look at the tables I gave you and I think it'll start to make sense how you can use them, you have all the pieces for quest-style phasing there
rektbyfaith
10-11-2022, 10:30 AM #14

Archived author: <o> • Posted: 2022-10-11T10:30:32.778000+00:00
Original source

maybe you're just not confident on how to use spell auras or create custom spells, so try looking into learning that first. `SPELL_AURA_PHASE`, or 261, is the aura type you're looking for. Then look at the tables I gave you and I think it'll start to make sense how you can use them, you have all the pieces for quest-style phasing there

rektbyfaith
Administrator
0
10-11-2022, 10:31 AM
#15
Archived author: <o> • Posted: 2022-10-11T10:31:40.995000+00:00
Original source

auras have this great property that you can add them and remove them and it'll mostly behave consistently like you'd expect, whereas manually handling `WorldObject::SetPhaseMask` is much more error prone since you're ultimately responsible for both setting and unsetting the players phase
rektbyfaith
10-11-2022, 10:31 AM #15

Archived author: <o> • Posted: 2022-10-11T10:31:40.995000+00:00
Original source

auras have this great property that you can add them and remove them and it'll mostly behave consistently like you'd expect, whereas manually handling `WorldObject::SetPhaseMask` is much more error prone since you're ultimately responsible for both setting and unsetting the players phase

rektbyfaith
Administrator
0
10-11-2022, 10:34 AM
#16
Archived author: Krutok • Posted: 2022-10-11T10:34:39.621000+00:00
Original source

In order to replicate it, I first have to understand how it works
rektbyfaith
10-11-2022, 10:34 AM #16

Archived author: Krutok • Posted: 2022-10-11T10:34:39.621000+00:00
Original source

In order to replicate it, I first have to understand how it works

rektbyfaith
Administrator
0
10-11-2022, 10:36 AM
#17
Archived author: <o> • Posted: 2022-10-11T10:36:42.163000+00:00
Original source

and it works using spell auras that stack phase masks on the player. if you learn how to create a custom spell aura that applies `SPELL_AURA_PHASE`, you can make sure that aura applies to only to the player in certain areas after/before completing certain quests in the `spell_area` table.
rektbyfaith
10-11-2022, 10:36 AM #17

Archived author: <o> • Posted: 2022-10-11T10:36:42.163000+00:00
Original source

and it works using spell auras that stack phase masks on the player. if you learn how to create a custom spell aura that applies `SPELL_AURA_PHASE`, you can make sure that aura applies to only to the player in certain areas after/before completing certain quests in the `spell_area` table.

rektbyfaith
Administrator
0
10-11-2022, 10:40 AM
#18
Archived author: <o> • Posted: 2022-10-11T10:40:10.602000+00:00
Original source

<https://trinitycore.atlassian.net/wiki/spaces/tc/pages/2130105/spell+area>

i'm not sure where there are spell creation tutorials if you need that, we wrote about it for tswow but it doesn't use any of the normal tools though it might explain some of the theory necessary. maybe search youtube for spell editor tutorials
rektbyfaith
10-11-2022, 10:40 AM #18

Archived author: <o> • Posted: 2022-10-11T10:40:10.602000+00:00
Original source

<https://trinitycore.atlassian.net/wiki/spaces/tc/pages/2130105/spell+area>

i'm not sure where there are spell creation tutorials if you need that, we wrote about it for tswow but it doesn't use any of the normal tools though it might explain some of the theory necessary. maybe search youtube for spell editor tutorials

rektbyfaith
Administrator
0
10-11-2022, 10:49 AM
#19
Archived author: Krutok • Posted: 2022-10-11T10:49:59.499000+00:00
Original source

<@787614711738138634>that's really complicated with the spells. I just wanted to exchange quest-related NPCs in 2 zones, who then say something different.
rektbyfaith
10-11-2022, 10:49 AM #19

Archived author: Krutok • Posted: 2022-10-11T10:49:59.499000+00:00
Original source

<@787614711738138634>that's really complicated with the spells. I just wanted to exchange quest-related NPCs in 2 zones, who then say something different.

rektbyfaith
Administrator
0
10-11-2022, 10:51 AM
#20
Archived author: Jinnai • Posted: 2022-10-11T10:51:43.576000+00:00
Original source

you can also use sai to modify phase masks
rektbyfaith
10-11-2022, 10:51 AM #20

Archived author: Jinnai • Posted: 2022-10-11T10:51:43.576000+00:00
Original source

you can also use sai to modify phase masks

Pages (5): Previous 1 2 3 4 5 Next
Recently Browsing
 
Recently Browsing