Hello. would like to know how to make gunz when initiating change when loading loading ...
Say you change the picture to that percentage of the bar ...
you could do that? as?
Please ..
sorry for my English!
Hello. would like to know how to make gunz when initiating change when loading loading ...
Say you change the picture to that percentage of the bar ...
you could do that? as?
Please ..
sorry for my English!
interface/default/loading/loading.bmp ?!
i think he needs code for adding percentage instead of Loading text.
main.cpp:
zinitialloading.cppstatic const char *szDone = "100%";
ZGetInitialLoading()->SetLoadingStr(szDone);
this will help u a bit !void ZLoadingProgress::Draw()
{
float fTotalProgress = m_fTotalProgressStart + m_fThisAmount * m_fCurrentProgress;
#ifdef _DEBUG // Ȥ½Ã µÇµ¹¾Æ°¡´Â°æ¿ìÀÎÁö üũ
_ASSERT(m_fLastProgress<=fTotalProgress);
m_fLastProgress=fTotalProgress;
#endif
char cstrLoading[512];
sprintf( cstrLoading, "%d%%", (int) floor(fTotalProgress * 100.f + 0.5));
ZGetInitialLoading()->SetLoadingStr( cstrLoading );
ZGetInitialLoading()->SetPercentage( fTotalProgress * 100.f );
ZGetInitialLoading()->Draw( MODE_DEFAULT, 0 , true );
}
ok .. But as I leave the text aside and make another change loading_adult?
Last edited by juanjunio; 07-03-13 at 02:35 PM.
interface/default/loading/loading_adult.jpg
and interface/default/loading/loading_teen.jpg
You can set it so it uses Loading_adult Loading_1 Loading _2 Loading _3