[DiscordArchive] I'm struggling to piece together information about how phasing works in WotLK. I generally understan
[DiscordArchive] I'm struggling to piece together information about how phasing works in WotLK. I generally understan
Archived author: Deleted User • Posted: 2021-09-24T10:37:43.736000+00:00
Original source
I'm struggling to piece together information about how phasing works in WotLK. I generally understand that NPC's and gobject's can be set in the DB but the "world" itself is what's confusing me.
Example being the DK starting area, on a fresh DK the human area below is basically bright, sunny, green grass, wmo's are all "pristine" variants. But when viewing it as any other character that just wanders into that area it is the destroyed post-dk quest line state with destroyed buildings, different wmo's spawned etc.
Is there any documentation available somewhere?
Archived author: Deleted User • Posted: 2021-09-24T10:43:26.444000+00:00
Original source
Oh I may have just found it.
```
phasing is implemented in three different, and quite distinct, ways. The first is the phased instance. The only example currently is the Death Knight starting area. Beginning Death Knights are not actually in a phased section of the Eastern Plaguelands, they are actually in a large instance modeled after the eastern portion of the zone, similar to the way Old Hillsbrad is an instance modeled after a portion of Hillsbrad Foothills. This is indicated by the fact that the starter area is surrounded by invisible walls that prevent players from leaving, as well as the fact that players have a different General and Local Defense chat channel.
```
Archived author: <o> • Posted: 2021-09-24T10:44:07.350000+00:00
Original source
they're still phased between the quest stages
Archived author: <o> • Posted: 2021-09-24T10:45:02.380000+00:00
Original source
buildings are just gameobjects as those can be phased (most types at can at least) the same as units. phasing is just implemented as a single bitmask on every worldentity, and it's the server that looks at the bitmask and decides if two worldobjects can see each others
Archived author: Deleted User • Posted: 2021-09-24T10:45:30.247000+00:00
Original source
Yeah just confirmed with `.gps` the DK start is map 609.
Archived author: <o> • Posted: 2021-09-24T10:45:32.379000+00:00
Original source
i don't remember how lighting and the skybox works
Archived author: Deleted User • Posted: 2021-09-24T10:46:35.958000+00:00
Original source
> buildings are just gameobjects as those can be phased (most types at can at least)
This I didn't know, I assumed gobjects don't have mmaps so pets etc would walk funky on spawned buildings but I never tried
Archived author: <o> • Posted: 2021-09-24T10:47:38.950000+00:00
Original source
mobs should be able to path around gameobjects, and the general shapes stay the same
Archived author: <o> • Posted: 2021-09-24T10:48:15.698000+00:00
Original source
what you can't really do is start building bridges and expect creatures to follow you on them
Archived author: Deleted User • Posted: 2021-09-24T10:48:27.867000+00:00
Original source
I'll definitely play with that some more. Now knowing that the DK start is an entirely different map that explains most of my confusion.