Mount System Movement

07/08/2017 01:39 TheP10021#1
Hello i add the mount system with 0 errors but in game the mount not move someone know why?
07/09/2017 04:09 Hekmatyar#2
Code:
   int nAdjValue    = GetAdjParam( DST_SPEED );
   if( nAdjValue != 0 )
   {
#ifdef __JEFF_11
       fSrcSpeed = fSrcSpeed + ( fSrcSpeed * (nAdjValue / 100.0f) );
#endif  
   }
#ifdef __SYS_MOUNT
   if (GetMountId() > 0)
   {
       MOUNT_ANIMATION* pMountAnimation = prj.GetMountAnimation(GetMountId());
       if (pMountAnimation)
           if (IsFly())
               fSrcSpeed = pMountAnimation->fFlightSpeed;
           else
               fSrcSpeed = pMountAnimation->fGroundSpeed;
   }
#endif
#ifdef __JEFF_11
   if( fSrcSpeed < 0.0F )
       fSrcSpeed    = 0.0F;
#endif    // __JEFF_11
   return fSrcSpeed;
07/09/2017 12:37 TheP10021#3
Hey i already add the mount speed fix but not work
07/09/2017 18:06 Hekmatyar#4
u add snippet wrong??? u add mount to file wrong??? go check ^^'.
07/09/2017 23:30 TheP10021#5
But if i change the flight speed yes the mount fly but i want ground only