might be a noobish question, but I can't fucking get the solution. I need to know the path of the materials folder (/.../game/materials) to copy files in there. Does anyone know how to get it not staticly since I don't know the accountname of every guy, lol. Thanks in advice.
Announcement
Collapse
No announcement yet.
Finding materials folder
Collapse
X
-
Finding materials folder
Hey guys,
might be a noobish question, but I can't fucking get the solution. I need to know the path of the materials folder (/.../game/materials) to copy files in there. Does anyone know how to get it not staticly since I don't know the accountname of every guy, lol. Thanks in advice.Tags: None
-
lulz.
you need an app ( gcfscape ) and the materials are stored within a gcf file.
or if you mean via code. you can use
const char* lol = m_pEngine->GetGameDirectory();
better yet:
for(int i= m_pMaterialSystem->FirstMaterial(); i < m_pMaterialSystem->GetNumMaterials(); i++)
{
IMaterial *Material = m_pMaterialSystem->GetMaterial(i);
char *name = (char*) Material->GetName();
char *group = (char*) Material->GetTextureGroupName();
---------
go forth and codens young padawan
czkb: yay but for now i still understand half of the half of the quarter of the half of what i must know.[email protected] (E-mail Address Not Verified) says:
http://www.youtube.com/user/ka0s99k#p/f/70/iK9bhyl6B_E
J says:
can we please accomplish something
Comment