So there's some gear I wanted to use with Dressup but it doesn't appear to be available when I assign it. So I looked at the body.lua in the Dressup folder and it looks like I can add models to it. However it seems that I need a model ID in addition to the item ID of the object. So I want to add the Erilaz surcoat to the list and I found the item ID on FFXIAH but I can't seem to find the model ID for it anywhere. Is there any way to find out what the model ID is for it?
Posted 06 November 2017 - 12:44 AM
The mapping between item IDs and model IDs is done server-side, and has to be found experimentally. The model IDs that a particular character is wearing are in memory as part of the mob array, but I don't think we've exposed that data to Lua. There are also ways to figure out the model ID if you know which .dat file contains the model, by using FTABLE.DAT to look up the file IDs for a specific .dat file and then calculating the model ID from the file ID.
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users