Showing results 1 to 7 of 7
Search took 0.00 seconds.
Search: Posts Made By: TOM_RUS
Forum: Legion Beta archived threads 05-21-16, 03:49 PM
Replies: 74
Views: 41,746
Posted By TOM_RUS
foreach (auto cdi in CreatureDisplayInfo.db2) { ...

foreach (auto cdi in CreatureDisplayInfo.db2)
{
auto cmd = CreatureModelData.db2[cdi->m_modelID];
printf("[%u] = %u,", cdi->m_ID, cmd->m_FileDataId);
}
Forum: Legion Beta archived threads 05-21-16, 01:47 PM
Replies: 74
Views: 41,746
Posted By TOM_RUS
CreatureDisplayInfo id to FileData id as lua...

CreatureDisplayInfo id to FileData id as lua table: click (https://gist.githubusercontent.com/tomrus88/d2497ca7b36102fda18caf906157d266/raw/bea11cb8e42d3134a4439e73b69b690a83e49747/cdifiledata.lua).
Forum: Legion Beta archived threads 05-21-16, 10:45 AM
Replies: 74
Views: 41,746
Posted By TOM_RUS
You don't need modelpath if you have filedataid,...

You don't need modelpath if you have filedataid, they are essentially same thing, just different representation (string vs integer).
Forum: Legion Beta archived threads 05-21-16, 10:29 AM
Replies: 74
Views: 41,746
Posted By TOM_RUS
So the only difference is that you can no longer...

So the only difference is that you can no longer group models by m2 file? It's not a big deal I think. You can still do everything else as before. You can also try to suggest them to add GetModel...
Forum: Legion Beta archived threads 05-21-16, 09:42 AM
Replies: 74
Views: 41,746
Posted By TOM_RUS
Are you talking about actual *.skin files or...

Are you talking about actual *.skin files or *.blp textures? Because *.skin files were never referenced in CreatureDisplayInfo.db2. Also it still works exact same way in legion, except there's now...
Forum: Legion Beta archived threads 05-15-16, 06:10 AM
Replies: 74
Views: 41,746
Posted By TOM_RUS
There's also SetCreature, SetItem,...

There's also SetCreature, SetItem, SetItemAppearance, SetDisplayInfo along with SetModel. Those API's cover a broad range of models. Also you don't need any GetXXX API's at all, since that widget...
Forum: Legion Beta archived threads 05-14-16, 02:28 PM
Replies: 74
Views: 41,746
Posted By TOM_RUS
Why you need path?

Why you need path?
Showing results 1 to 7 of 7