Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Flyff > Flyff Private Server
You last visited: Today at 11:58

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[Request]Broom SFX

Discussion on [Request]Broom SFX within the Flyff Private Server forum part of the Flyff category.

Reply
 
Old   #1
 
banktakung's Avatar
 
elite*gold: 0
Join Date: Dec 2008
Posts: 306
Received Thanks: 59
[Request]Broom SFX

is anyone know what is broom sfx(when fly) files name please
banktakung is offline  
Old 06/07/2015, 13:07   #2
 
elite*gold: 0
Join Date: Oct 2012
Posts: 948
Received Thanks: 157
Model\etc_Tail1 and etc_Tail2

ActionMoverState2.cpp

Code:
void CActionMover::ProcessFlyParticle( float fLenSq )
{
	CMover *pMover = m_pMover;

	// ¿î¿µÀÚ Åõ¸í¸ðµå¶§´Â ÆÄƼŬ ¾È³ª¿È.
	if( (pMover->IsMode( TRANSPARENT_MODE ) ) == 0 )
	{
		ItemProp* pRideProp = prj.GetItemProp( m_pMover->m_dwRideItemIdx );		// ÇöÀç Ÿ°íÀÖ´Â Å»°ÍÀÇ ÇÁ·ÎÆÛƼ.
		// ºñÇà ÆÄƼŬ ó¸®.
		if( fLenSq > 0.01f )
		{
			if( (pMover->IsActiveMover() && g_Neuz.m_camera.m_fZoom > 2.0f) || pMover->IsActiveMover() == FALSE )		// ÀÏÁ¤¼Óµµ ÀÌ»óÀÌ µÇ¸é ²¿¸®¿¡ ÆÄƼŬÀÌ ³ª¿À±â ½ÃÀÛ.
			{
				int nType = 0;
				if( pRideProp && pRideProp->dwID == II_RID_RID_BOR_RIDINGCLOUD )
					nType = 1;
				CreateFlyParticle( pMover, pMover->GetAngleX(), nType );
			}
		}
		
		if( fLenSq > 0.001f  )
		{
			if( (pMover->IsActiveMover() && g_Neuz.m_camera.m_fZoom > 1.0f) || pMover->IsActiveMover() == FALSE )
			{
				if( pRideProp && pRideProp->dwItemKind3 == IK3_BOARD )		// º¸µå¸¸ ²¿¸®°¡ ³ª¿Â´Ù.
				{
					if( m_pTail )
					{
						if( pRideProp->dwID == II_RID_RID_BOR_RIDINGCLOUD ) // ±ÙµÎ¿îÀ϶§
						{
							if( m_pTail->GetType() != 2 )	// »ý¼ºµÇ¾ú´ø ²¿¸®°í ±ÙµÎ¿î¿ëÀÌ ¾Æ´Ï¸é
								m_pTail->ChangeTexture( D3DDEVICE, "etc_Tail2.bmp", 2 );
						} else
						{
							if( m_pTail->GetType() != 1 )	// »ý¼ºµÇ¾ú´ø ²¿¸®°í ÀϹݺ¸µå¿ëÀÌ ¾Æ´Ï¸é 
								m_pTail->ChangeTexture( D3DDEVICE, "etc_Tail1.bmp", 1 );	// ÀϹݺ¸µå¿ëÀ¸·Î ÅؽºÃÄ ±³Ã¼.
						}

							
					}
					if( m_pTail == NULL )	// ¾ÆÁ÷ ÇÒ´ç ¾ÈµÆÀ¸¸é ÇÒ´çÇÏ°í.
					{
						if( pRideProp->dwID == II_RID_RID_BOR_RIDINGCLOUD ) // ±ÙµÎ¿î...
						{
							m_pTail = (CTailEffectBelt*)g_TailEffectMng.AddEffect( g_Neuz.m_pd3dDevice, "etc_Tail2.bmp", 2 );
						}
						else
						{
							m_pTail = (CTailEffectBelt*)g_TailEffectMng.AddEffect( g_Neuz.m_pd3dDevice, "etc_Tail1.bmp", 1 );
						}
					}
					D3DXVECTOR3	vPos1, vPos2;
					D3DXVECTOR3	vLocal;
					FLOAT		fAngXZ = pMover->GetAngle();
					FLOAT		fAngH  = pMover->GetAngleX();
					
					AngleToVectorXZ( &vLocal, fAngXZ, -1.0f );

					fAngXZ -= 90.0f;
					if( fAngXZ < 0 )
						fAngXZ += 360.0f;
					AngleToVector( &vPos1, fAngXZ, -fAngH, 0.5f );
					vPos1 += pMover->GetPos();

					vPos1 += vLocal;
				
					fAngXZ = pMover->GetAngle();
					fAngH  = pMover->GetAngleX();
					
					AngleToVectorXZ( &vLocal, fAngXZ, -1.0f );

					fAngXZ += 90.0f;
					if( fAngXZ > 360.0f )
						fAngXZ -= 360.0f;
					AngleToVector( &vPos2, fAngXZ, -fAngH, 0.5f );
					vPos2 += pMover->GetPos();
					vPos2 += vLocal;
						
					if( m_pTail )
						m_pTail->CreateTail( vPos1, vPos2 );
				}
			}
		}
	} // Åõ¸í¸ðµå°¡ ¾Æ´Ò¶§
}
raventh1984 is offline  
Thanks
1 User
Reply


Similar Threads Similar Threads
How to add Flyff Mounts or Broom or Rides?
09/27/2013 - Flyff Private Server - 2 Replies
What files do i need to Open? All i need the files to open, then i will do the installing. :) :handsdown:
Keep a broom indefinatly+14 days
11/04/2008 - WoW Exploits, Hacks, Tools & Macros - 0 Replies
Ok, so this is what I did. The Rickety Broom which was dropped out of the Crudely Wrapped Gift can be kept inside of the gift and not lose time on its duration. So now I have a broom which I am using now and one inside of the Crudely Wrapped Gift in my bank to use when ever I want.
How to: remove timelimit of Swift Magic Broom
11/11/2007 - WoW Exploits, Hacks, Tools & Macros - 0 Replies
please delete - it was a displaying bug v.v



All times are GMT +2. The time now is 11:58.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2024 elitepvpers All Rights Reserved.