Forums WoW Modding Support Archives WoWModding Support Archives [DiscordArchive] Sorry to jump back in here, but if im moving the mcly from a chunk with 4 layers to one with 3 is it

[DiscordArchive] Sorry to jump back in here, but if im moving the mcly from a chunk with 4 layers to one with 3 is it

[DiscordArchive] Sorry to jump back in here, but if im moving the mcly from a chunk with 4 layers to one with 3 is it

Pages (2): 1 2 Next
rektbyfaith
Administrator
0
03-14-2021, 09:43 PM
#1
Archived author: Go'Vic.Ϻέψ • Posted: 2021-03-14T21:43:51.638000+00:00
Original source

Sorry to jump back in here, but if im moving the mcly from a chunk with 4 layers to one with 3 is it okay to take the flags and detail texture ids that come with the new layer?
rektbyfaith
03-14-2021, 09:43 PM #1

Archived author: Go'Vic.Ϻέψ • Posted: 2021-03-14T21:43:51.638000+00:00
Original source

Sorry to jump back in here, but if im moving the mcly from a chunk with 4 layers to one with 3 is it okay to take the flags and detail texture ids that come with the new layer?

rektbyfaith
Administrator
0
03-14-2021, 09:43 PM
#2
Archived author: Go'Vic.Ϻέψ • Posted: 2021-03-14T21:43:52.963000+00:00
Original source


[Image: unknown.png?ex=690c6dd8&is=690b1c58&hm=c...4ee35b6aa&]
rektbyfaith
03-14-2021, 09:43 PM #2

Archived author: Go'Vic.Ϻέψ • Posted: 2021-03-14T21:43:52.963000+00:00
Original source


[Image: unknown.png?ex=690c6dd8&is=690b1c58&hm=c...4ee35b6aa&]

rektbyfaith
Administrator
0
03-14-2021, 09:44 PM
#3
Archived author: A2 • Posted: 2021-03-14T21:44:22.026000+00:00
Original source

yes
rektbyfaith
03-14-2021, 09:44 PM #3

Archived author: A2 • Posted: 2021-03-14T21:44:22.026000+00:00
Original source

yes

rektbyfaith
Administrator
0
03-14-2021, 09:44 PM
#4
Archived author: Go'Vic.Ϻέψ • Posted: 2021-03-14T21:44:53.066000+00:00
Original source

alright, and then I would also update this to 4
rektbyfaith
03-14-2021, 09:44 PM #4

Archived author: Go'Vic.Ϻέψ • Posted: 2021-03-14T21:44:53.066000+00:00
Original source

alright, and then I would also update this to 4

rektbyfaith
Administrator
0
03-14-2021, 09:44 PM
#5
Archived author: Go'Vic.Ϻέψ • Posted: 2021-03-14T21:44:54.336000+00:00
Original source


[Image: unknown.png?ex=690c6e15&is=690b1c95&hm=4...a16b5a7c3&]
rektbyfaith
03-14-2021, 09:44 PM #5

Archived author: Go'Vic.Ϻέψ • Posted: 2021-03-14T21:44:54.336000+00:00
Original source


[Image: unknown.png?ex=690c6e15&is=690b1c95&hm=4...a16b5a7c3&]

rektbyfaith
Administrator
0
03-14-2021, 09:47 PM
#6
Archived author: schlumpf • Posted: 2021-03-14T21:47:31.046000+00:00
Original source

`[]` indicates an array. `/**/` is a comment. `<= 4` is text referencing "16 bytes per layer, up to 4 layers (thus, layer count = size / 16)." as it says above.
rektbyfaith
03-14-2021, 09:47 PM #6

Archived author: schlumpf • Posted: 2021-03-14T21:47:31.046000+00:00
Original source

`[]` indicates an array. `/**/` is a comment. `<= 4` is text referencing "16 bytes per layer, up to 4 layers (thus, layer count = size / 16)." as it says above.

rektbyfaith
Administrator
0
03-14-2021, 09:48 PM
#7
Archived author: schlumpf • Posted: 2021-03-14T21:48:05.134000+00:00
Original source

If you want to replace it, yes.
rektbyfaith
03-14-2021, 09:48 PM #7

Archived author: schlumpf • Posted: 2021-03-14T21:48:05.134000+00:00
Original source

If you want to replace it, yes.

rektbyfaith
Administrator
0
03-14-2021, 09:49 PM
#8
Archived author: schlumpf • Posted: 2021-03-14T21:49:02.327000+00:00
Original source

Within one ADT it is possible to take effectively the entire MCNK and move it somewhere else, just updating the position and x/y in the header.
rektbyfaith
03-14-2021, 09:49 PM #8

Archived author: schlumpf • Posted: 2021-03-14T21:49:02.327000+00:00
Original source

Within one ADT it is possible to take effectively the entire MCNK and move it somewhere else, just updating the position and x/y in the header.

rektbyfaith
Administrator
0
03-14-2021, 09:50 PM
#9
Archived author: schlumpf • Posted: 2021-03-14T21:50:41.663000+00:00
Original source

When moving between ADTs,
- MCLY.textureID -> MTEX
- MCRF/MCRD/MCRW -> MODF
are pointing outside of MCNK. The remainder is self-contained.
rektbyfaith
03-14-2021, 09:50 PM #9

Archived author: schlumpf • Posted: 2021-03-14T21:50:41.663000+00:00
Original source

When moving between ADTs,
- MCLY.textureID -> MTEX
- MCRF/MCRD/MCRW -> MODF
are pointing outside of MCNK. The remainder is self-contained.

rektbyfaith
Administrator
0
03-14-2021, 09:52 PM
#10
Archived author: schlumpf • Posted: 2021-03-14T21:52:03.330000+00:00
Original source

For MTEX, append the strings from source MTEX to destination MTEX and increase textureID by #destination MTEX. I explained that before.
For MODF/MDDF: It is easier to just re-calculate them rather than trying to move or to merge. Iterate all MDDF/MODF entries and check whether the bounding box intersects the MCNK bounding box. If yes, add to list.
rektbyfaith
03-14-2021, 09:52 PM #10

Archived author: schlumpf • Posted: 2021-03-14T21:52:03.330000+00:00
Original source

For MTEX, append the strings from source MTEX to destination MTEX and increase textureID by #destination MTEX. I explained that before.
For MODF/MDDF: It is easier to just re-calculate them rather than trying to move or to merge. Iterate all MDDF/MODF entries and check whether the bounding box intersects the MCNK bounding box. If yes, add to list.

Pages (2): 1 2 Next
Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)