Forums WoW Modding Support Archives WoWModding Support Archives [DiscordArchive] ?!

[DiscordArchive] ?!

[DiscordArchive] ?!

rektbyfaith
Administrator
0
10-31-2019, 09:53 AM
#1
Archived author: Kallar • Posted: 2019-10-31T09:53:12.027000+00:00
Original source

?!
rektbyfaith
10-31-2019, 09:53 AM #1

Archived author: Kallar • Posted: 2019-10-31T09:53:12.027000+00:00
Original source

?!

rektbyfaith
Administrator
0
10-31-2019, 09:53 AM
#2
Archived author: schlumpf • Posted: 2019-10-31T09:53:35.872000+00:00
Original source

```
template<typename T>
struct M2Array
{
/*0x00*/ uint32_t number;
/*0x04*/ uint32_t offset_elements;
/*0x08*/
};
template<typename T>
struct M2Track
{
/*0x00*/ uint16_t interpolation_type;
/*0x02*/ uint16_t global_sequence;
/*0x04*/ M2Array<M2Array<uint32_t>> timestamps;
/*0x0C*/ M2Array<M2Array<T>> values;
/*0x14*/
};
```
rektbyfaith
10-31-2019, 09:53 AM #2

Archived author: schlumpf • Posted: 2019-10-31T09:53:35.872000+00:00
Original source

```
template<typename T>
struct M2Array
{
/*0x00*/ uint32_t number;
/*0x04*/ uint32_t offset_elements;
/*0x08*/
};
template<typename T>
struct M2Track
{
/*0x00*/ uint16_t interpolation_type;
/*0x02*/ uint16_t global_sequence;
/*0x04*/ M2Array<M2Array<uint32_t>> timestamps;
/*0x0C*/ M2Array<M2Array<T>> values;
/*0x14*/
};
```

rektbyfaith
Administrator
0
10-31-2019, 09:54 AM
#3
Archived author: Kallar • Posted: 2019-10-31T09:54:10.890000+00:00
Original source

so its arrays of arrays?!
rektbyfaith
10-31-2019, 09:54 AM #3

Archived author: Kallar • Posted: 2019-10-31T09:54:10.890000+00:00
Original source

so its arrays of arrays?!

rektbyfaith
Administrator
0
10-31-2019, 09:54 AM
#4
Archived author: schlumpf • Posted: 2019-10-31T09:54:27.867000+00:00
Original source

in wotlk+, yeah
rektbyfaith
10-31-2019, 09:54 AM #4

Archived author: schlumpf • Posted: 2019-10-31T09:54:27.867000+00:00
Original source

in wotlk+, yeah

rektbyfaith
Administrator
0
10-31-2019, 09:54 AM
#5
Archived author: schlumpf • Posted: 2019-10-31T09:54:39.981000+00:00
Original source

first dimension is animations, second is values
rektbyfaith
10-31-2019, 09:54 AM #5

Archived author: schlumpf • Posted: 2019-10-31T09:54:39.981000+00:00
Original source

first dimension is animations, second is values

rektbyfaith
Administrator
0
10-31-2019, 09:56 AM
#6
Archived author: schlumpf • Posted: 2019-10-31T09:56:08.908000+00:00
Original source

So a model with only one Stand (0) animation and two timestamps will have timestamps.count = 1, timestamps.data[0].count = 2, timestamps.data[0].data[0] = ts1, timestamps.data[0].data[1] = ts2
rektbyfaith
10-31-2019, 09:56 AM #6

Archived author: schlumpf • Posted: 2019-10-31T09:56:08.908000+00:00
Original source

So a model with only one Stand (0) animation and two timestamps will have timestamps.count = 1, timestamps.data[0].count = 2, timestamps.data[0].data[0] = ts1, timestamps.data[0].data[1] = ts2

Recently Browsing
 
Recently Browsing