i've helped so many people, shared this source almost with everyone on MSN, might as well just post it
Code:
ObjectCreateStruct ocs;
ocs.Clear();
ocs.m_ObjectType = OT_MODEL;
sprintf_s(ocs.m_Filename, "CHARS_M_BODY\\BOSS_MODEL.LTB");
SAFE_STRCPY(ocs.m_RenderStyleNames[1], "RS\\NINJA_TRANSLUCENT.LTB");
//sprintf_s(ocs.m_SkinName, "");
ocs.m_Pos = LTVector(myPos.x, myPos.y, myPos.z);
ocs.m_Flags = FLAG_VISIBLE;
HOBJECT mObj = g_LTClient->CreateObject(&OCS);
(there might be a bug in how thats coded)
How to find the link to LTB/DTX file
Get a program called RezXtract (google it, its on mpgh somewhere in rez modding section)
Extract the Rez File in the game folder you want to find the model of
Once you find it, simply put it in there as is
Code:
sprintf_s(ocs.m_Filename, "CHARS_M_BODY\\BOSS_MODEL.LTB");
bugs with this hack
textures don't apply even if link is right.
RS File doesn't seem to apply
credits for some help
Ch40zz
Xipher
me for fixing this so people actually know how to use it