[DiscordArchive] we've added creature_template_model recently and it includes DisplayScale, is this meant to work ide
[DiscordArchive] we've added creature_template_model recently and it includes DisplayScale, is this meant to work ide
Archived author: alca • Posted: 2024-06-28T15:40:34.215000+00:00
Original source
we've added creature_template_model recently and it includes DisplayScale, is this meant to work identically to the scale in creature_template?
Archived author: Revision • Posted: 2024-06-28T15:42:00.422000+00:00
Original source
Yes, but per-model scale is nice.
Archived author: alca • Posted: 2024-06-28T15:43:42.332000+00:00
Original source
so what should happen if our creature_template scale is set to 1 but we alter the template_model displayscale to 0.25?
Archived author: alca • Posted: 2024-06-28T15:44:50.624000+00:00
Original source
right now i spawned a custom creature with a scale of 1 in the creature_template and 0.25 in the template_model table but it seems like the scale of 1 takes priority
Archived author: Revision • Posted: 2024-06-28T15:49:09.275000+00:00
Original source
As I haven't researched it I can only guess that they both affect it. The one in creature_template is global and the one in creature_template_model applies on top of that. I'm probably wrong though, looking at the code would tell you.
Archived author: alca • Posted: 2024-06-28T15:53:00.068000+00:00
Original source
yea that would make the most sense, this recent update seems to have set all creature_template entires to a scale of 1 and transferred the scale data over to the new table
Archived author: Revision • Posted: 2024-06-28T15:56:51.013000+00:00
Original source
Yeah, might be as simple as it sets the scale from creature_template_model for the model and then multiplies it with the one from creature_template (or the other way around, idk).