Newbie Spellweaver
- Joined
- Sep 8, 2011
- Messages
- 67
- Reaction score
- 252
#FuckMental. #RagezoneIsDead
Years and still no dev status.
Years and still no dev status.
Last edited:
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature currently requires accessing the site using the built-in Safari browser.
incomplete missing ProcessCollisionFly
#ifdef __FlyingPets
MoverProp* const mProp = m_pMover->GetProp();
const auto isPet = mProp ? mProp->dwAI == AII_PET || mProp->dwAI == AII_EGG : false;
if (!isPet)
#endif
switch( nAttr )
{
case HATTR_NOMOVE: // À̵¿ ±ÝÁö.
pPos->x -= vDelta.x; // À̵¿ÇÏ·Á´Â °÷ÀÌ À̵¿ ±ÝÁö ±¸¿ªÀ̸é ÁÂÇ¥¸¦ ´Ù½Ã »
break;
}
// 3. zÃà ´õÇÔ
pPos->z += vDelta.z;
pWorld->ClipZ( pPos->z );
if( pWorld->m_bFly )
nAttr = pWorld->GetHeightAttribute( pPos->x, pPos->z );
#ifdef __FlyingPets
else if (!isPet)
#else
else
#endif
nAttr = HATTR_NOFLY;
#ifdef __FlyingPets
if (!isPet)
#endif
switch( nAttr )
{
case HATTR_NOMOVE: // À̵¿ ±ÝÁö.
m_fCurrentHeight = pWorld->GetFullHeight( D3DXVECTOR3(pPos->x, pPos->y + 1.0f, pPos->z) );
#ifdef __FlyingPets
if (pPos->y > pWorld->m_fMaxHeight && !isPet)
#else
if( pPos->y > pWorld->m_fMaxHeight )
#endif
pPos->y = pWorld->m_fMaxHeight;
else
ProcessCollisionFly
Code:#ifdef __FlyingPets MoverProp* const mProp = m_pMover->GetProp(); const auto isPet = mProp ? mProp->dwAI == AII_PET || mProp->dwAI == AII_EGG : false; if (!isPet) #endif switch( nAttr ) { case HATTR_NOMOVE: // À̵¿ ±ÝÁö. pPos->x -= vDelta.x; // À̵¿ÇÏ·Á´Â °÷ÀÌ À̵¿ ±ÝÁö ±¸¿ªÀ̸é ÁÂÇ¥¸¦ ´Ù½Ã » break; } // 3. zÃà ´õÇÔ pPos->z += vDelta.z; pWorld->ClipZ( pPos->z ); if( pWorld->m_bFly ) nAttr = pWorld->GetHeightAttribute( pPos->x, pPos->z ); #ifdef __FlyingPets else if (!isPet) #else else #endif nAttr = HATTR_NOFLY; #ifdef __FlyingPets if (!isPet) #endif switch( nAttr ) { case HATTR_NOMOVE: // À̵¿ ±ÝÁö.
That'll make it work in no fly dungeons and no fly zones or if it goes out of bounds on a no move location. Original post updated. xd