[DiscordArchive] Any idea How I can use the phasing in TC to create custom phase?
[DiscordArchive] Any idea How I can use the phasing in TC to create custom phase?
Archived author: Deleted User • Posted: 2021-09-17T13:43:23.558000+00:00
Original source
Any idea How I can use the phasing in TC to create custom phase?
Archived author: Deleted User • Posted: 2021-09-17T13:44:02.492000+00:00
Original source
Bcs the current phasing system do not work like real phasing (like a dungeon)
Archived author: Foe • Posted: 2021-09-17T13:47:06.278000+00:00
Original source
Dungeons aren't phased, they are instanced
Archived author: Deleted User • Posted: 2021-09-17T13:48:31.295000+00:00
Original source
Yep, I Know that, <@!169121237539356673> but i'm talking about the result
Archived author: <o> • Posted: 2021-09-17T13:49:31.065000+00:00
Original source
there's an easy way and a hard way. The easy way is to extend the WorldObject phasemask with some kind of phase id, and add it to all the grid notifiers and subclasses. The hard way is to actually create map instances and fool the player they're just being phased. For examples on the easy way, tswow is adding this in 0.13 but I can send you the commit diff if you want to see what to change in the core for it
Archived author: Deleted User • Posted: 2021-09-17T13:50:31.079000+00:00
Original source
Yeah Show me the commit
Archived author: Deleted User • Posted: 2021-09-17T13:50:34.364000+00:00
Original source
Archived author: <o> • Posted: 2021-09-17T13:56:00.106000+00:00
Original source
here's the diff https://hastebin.com/ulivinusuw.diff
there's one error there on diff line 133, it should be `return (GetPhaseMask() & phasemask) && (phase_id == m_phase_id);`
Archived author: <o> • Posted: 2021-09-17T13:59:59.815000+00:00
Original source
it's mostly just adding the phase id to the grid notifiers, 80% of the commit is just doing the same thing over and over in every notifier