Increase CS Pet Speed

Results 1 to 2 of 2
  1. #1
    Enthusiast Code X is offline
    MemberRank
    Mar 2012 Join Date
    39Posts

    Increase CS Pet Speed

    I've searched google and saw one that KINGZ made a thread about this already but I am confused due to many people are suggesting and mixing together in every code people suggested.
    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.

    Here's the thread made by KINGZ - http://forum.ragezone.com/f483/speed-pick-pet-823096/


  2. #2
    Member cffazot is offline
    MemberRank
    Mar 2012 Join Date
    53Posts

    Re: Increase CS Pet Speed

    Quote Originally Posted by Code X View Post
    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.
    Last edited by cffazot; 14-04-12 at 01:08 AM.



Advertisement