Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Flyff > Flyff Private Server > Flyff PServer Guides & Releases
You last visited: Today at 16:13

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

Advertisement



[Tut] Change the position of the NPC in Guilde Siege

Discussion on [Tut] Change the position of the NPC in Guilde Siege within the Flyff PServer Guides & Releases forum part of the Flyff Private Server category.

Reply
 
Old   #1
 
Kailun1's Avatar
 
elite*gold: 0
Join Date: Nov 2012
Posts: 9
Received Thanks: 5
[Tut] Change the position of the NPC in Guilde Siege

Hi everyone !

You would change the position of the NPC in Guilde Siege ?

Ok, it's gone!

Go in :

__Common -> eveschool.cpp

Search :

Code:
void CGuildCombat::SetNpc( void )
After you see :

Code:
void CGuildCombat::SetNpc( void )
{
	CMover* pMover	= (CMover*)CreateObj( D3DDEVICE, OT_MOVER, MI_MADA_ACHABEN );
	lstrcpy( pMover->m_szCharacterKey, "Mada_Guildcombatshop" );
	pMover->InitNPCProperty();
	pMover->InitCharacter( pMover->GetCharacter() );
	pMover->SetPos( D3DXVECTOR3(1343, 94, 1215) );
	pMover->InitMotion( MTI_STAND );
	pMover->UpdateLocalMatrix();
	CWorld* pWorld	= g_WorldMng.GetWorld( WI_WORLD_GUILDWAR );
	if( pWorld )
		pWorld->ADDOBJ( pMover, TRUE, nDefaultLayer );
	
	CMover* pMover1	= (CMover*)CreateObj( D3DDEVICE, OT_MOVER, MI_MADA_ACHABEN );
	lstrcpy( pMover1->m_szCharacterKey, "Mada_Guildcombatshop" );
	pMover1->InitNPCProperty();
	pMover1->InitCharacter( pMover1->GetCharacter() );
	pMover1->SetPos( D3DXVECTOR3(1288, 98, 1356) );
	pMover1->InitMotion( MTI_STAND );
	pMover1->UpdateLocalMatrix();
	if( pWorld )
		pWorld->ADDOBJ( pMover1, TRUE, nDefaultLayer );
}
You would change the NPC ?

Ok, its this :

Code:
	lstrcpy( pMover->m_szCharacterKey, "Mada_Guildcombatshop" );
You would a buff pang ? change the line by :

Code:
	lstrcpy( pMover->m_szCharacterKey, "MaFl_Helper_ver12" );
It's ok ?

But now you want to change their position.

Ok, it's this line :

Code:
	pMover->SetPos( D3DXVECTOR3(1343, 94, 1215) );
How can you make the X, Y, Z axis ?

Go in game, in your menu, go in debug and you have this !

If you have one problem whit this, say me this
Kailun1 is offline  
Old 03/28/2013, 11:17   #2
 
elite*gold: 10
Join Date: Feb 2011
Posts: 1,760
Received Thanks: 501
If you use the buff pang there is a problem.
At offical flyff the npc's are invisible if you died and you only could use them before the guildwar starts.
Velmore is offline  
Reply


Similar Threads Similar Threads
Can u change time for Siege???!!!!!!!
07/15/2013 - Dekaron Private Server - 10 Replies
so, is there any way to change the time for siege/ritual? :)
Change icons position
11/09/2012 - Flyff Private Server - 0 Replies
Hi, someone know how I change the icons position, v19 theme make icons in bad positions...
How to change Stall sitting position?
05/29/2012 - EO PServer Hosting - 0 Replies
Im make custom stall.. but I dont know how to change its sitting position. some 1 can help me:) .
Hi How To Change Siege Time ?
04/09/2012 - Dekaron Private Server - 4 Replies
hello I can change the siege to be every Saturday at 8 pm? some script to change it?
[Guilde] How to change your password, If you've forgotten it?
02/04/2011 - Cabal Guides & Templates - 5 Replies
Forgot your Password? Use this website: https://www.cabalonline.com/account/usernamepwrese t.asp?action=reset You are only able to Reset your password. Your password can not be sent to you in an email. To reset your password: Enter your current username and email address Enter the new password and confirmation



All times are GMT +1. The time now is 16:17.


Powered by vBulletin®
Copyright ©2000 - 2025, 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 ©2025 elitepvpers All Rights Reserved.