
Originally Posted by
Code X
So now, I am here to ask it again about how to increase the speed of cs pet that has a complete code and simply to add. Just give me the right code for it and where to put it, that would really great for me.
With that attitude, you're lucky to get ANY help...
Either way, all the help given in that thread is pretty clear if you read it properly.
The following way is something that was not mentioned on that thread, but it gets the job done:
1. Open CreateObj.cpp in _Common folder
2. Look for this:
Code:
#if __VER >= 9 //__AI_0509
MoverProp* pProp = pMover->GetProp();
if( pProp->dwAI == AII_MONSTER )
{
pMover->m_pActMover->m_fSpeed /= 2.0F;
// if( pProp->dwClass == RANK_SUPER )
// pMover->m_pActMover->m_fSpeed *= 1.5F;
}
3. Underneath it add this:
Code:
if( pProp->dwAI == AII_PET )
pMover->m_pActMover->m_fSpeed *= 5;
The value in red will multiply the base movement speed of the CS pet.
Recompile it and you're done.