dexyfex/CodeWalker

Ped Viewer doesn't load all ymt's

BuddiesTV opened this issue · 0 comments

The Ped Viewer is currently only loading this YMT file: update\x64\dlcpacks\patch2023_01\dlc.rpf\x64\models\cdimages\patch2023_01.rpf\mp_m_freemode_01.ymt. This might be due to the fact that the InitPeds function is exclusively searching for the model name with the .ymt extension. For example:

  • mp_m_freemode_01.ymt. is successfully located because it's just the model name followed by .ymt.
  • However, mp_m_freemode_01_mp_m_airraces_01.ymt. cannot be found since it includes additional elements like 'dlc' in the name before the .ymt extension.