Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Flyff > Flyff Private Server
You last visited: Today at 14:40

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

Advertisement



[Help]How to enable npc sound ?

Discussion on [Help]How to enable npc sound ? 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
[Help]How to enable npc sound ?

I'm try to get more information about flyff. and now i see interesting thing in japan flyff

i'm try to search everything but i didn't see anything to enable this. i see .wav define in WorlDailog.txt

so please

banktakung is offline  
Old 05/17/2014, 09:06   #2
 
420twisted1's Avatar
 
elite*gold: 0
Join Date: Jan 2008
Posts: 181
Received Thanks: 23
I think it's just the normal AddPlaySound() that's already in flyff they just inserted it in the OnInitialUpdate() probably with a switch statement for which MMI it is at least that's how I would code it.

In character.inc there's something like

Code:
SetMusic( BGM_NPC_SOLEMN2);
this may be it if it's not then it will play the sound but cancel the music that is currently playing if you search for SetMusic it only appears in project.cpp you could try to do something like

Code:
			if( script.Token == "SetNPCVoice" )
			{
				script.GetToken();
				AddPlaySound( script.GetNumber() );
			}
or what ever you feel you can accomplish with your skill level you have a few options now.
420twisted1 is offline  
Old 05/17/2014, 23:18   #3
 
banktakung's Avatar
 
elite*gold: 0
Join Date: Dec 2008
Posts: 306
Received Thanks: 59
lol no luck with it.

SetMusic is just play bg music not voice

How ever i found this function in WorldDailog


Code:
void CNpcScript::mafl_is_1()
{
	switch( Random( 3 ) )
	{
		case 0:	PlaySound( 536 ); break;
		case 1:	PlaySound( 537 ); break;
		case 2:	PlaySound( 538 ); break;
	}

	LaunchQuest();
}
but i don't know how to enable it -.-!
banktakung is offline  
Old 05/17/2014, 23:52   #4
 
420twisted1's Avatar
 
elite*gold: 0
Join Date: Jan 2008
Posts: 181
Received Thanks: 23
Hmmm that should be it then did you try this?

Code:
void CNpcScript::mafl_is_1()
{

        PlaySound( 70 );

	LaunchQuest();
}
this should play the sound of leveling up if you can't get this working the first option I listed will work for sure it just requires you to do some minor coding.
420twisted1 is offline  
Old 05/18/2014, 01:57   #5
 
banktakung's Avatar
 
elite*gold: 0
Join Date: Dec 2008
Posts: 306
Received Thanks: 59
Quote:
Originally Posted by 420twisted1 View Post
Hmmm that should be it then did you try this?

Code:
void CNpcScript::mafl_is_1()
{

        PlaySound( 70 );

	LaunchQuest();
}
this should play the sound of leveling up if you can't get this working the first option I listed will work for sure it just requires you to do some minor coding.

PlaySound( 70 );

num 70 should be WorldDailog.txt line 69. what ever i will try out first.
banktakung is offline  
Old 05/18/2014, 12:56   #6
 
xTwiLightx's Avatar
 
elite*gold: 0
Join Date: Jan 2009
Posts: 1,741
Received Thanks: 1,674
Quote:
Originally Posted by banktakung View Post
PlaySound( 70 );

num 70 should be WorldDailog.txt line 69. what ever i will try out first.
You are right about the line. If you take a look in WorldDialog.txt, you will find following in 537-539:
Code:
vocNpcIs-open1.wav
vocNpcIs-open2.wav
vocNpcIs-open3.wav
xTwiLightx is offline  
Old 05/18/2014, 15:57   #7
 
420twisted1's Avatar
 
elite*gold: 0
Join Date: Jan 2008
Posts: 181
Received Thanks: 23
Lol well sh*t your right! I don't seem to any have of the vocNpc wav files though, maybe you are missing them too? that would explain why you can't get it to work.
420twisted1 is offline  
Old 05/19/2014, 00:05   #8
 
banktakung's Avatar
 
elite*gold: 0
Join Date: Dec 2008
Posts: 306
Received Thanks: 59
Quote:
Originally Posted by 420twisted1 View Post
Lol well sh*t your right! I don't seem to any have of the vocNpc wav files though, maybe you are missing them too? that would explain why you can't get it to work.
i have it all from J Flyff lol
banktakung is offline  
Old 05/19/2014, 03:41   #9
 
420twisted1's Avatar
 
elite*gold: 0
Join Date: Jan 2008
Posts: 181
Received Thanks: 23
well make sure it's searching for the correct file name, if it still doesn't work then u'll have to code a new way but that should be simple.
420twisted1 is offline  
Old 05/19/2014, 09:58   #10
 
banktakung's Avatar
 
elite*gold: 0
Join Date: Dec 2008
Posts: 306
Received Thanks: 59
Quote:
Originally Posted by 420twisted1 View Post
well make sure it's searching for the correct file name, if it still doesn't work then u'll have to code a new way but that should be simple.
Yeah i'm start to trying out. i'm found how to make voice for select character and voice for skill but for npc i'm still none-sense for this lol.
banktakung is offline  
Old 05/27/2014, 22:32   #11
 
banktakung's Avatar
 
elite*gold: 0
Join Date: Dec 2008
Posts: 306
Received Thanks: 59
any idea ?
banktakung is offline  
Old 05/25/2025, 03:57   #12
 
Tamus's Avatar
 
elite*gold: 0
Join Date: Aug 2020
Posts: 102
Received Thanks: 8
update?
Tamus is offline  
Old 05/31/2025, 14:18   #13



 
Flogolo's Avatar
 
elite*gold: 100
Join Date: Nov 2011
Posts: 4,895
Received Thanks: 800
Quote:
Originally Posted by Tamus View Post
update?
why do you push an ancient thread from 2014?
Flogolo is offline  
Reply


Similar Threads Similar Threads
Logitech G430 Surround Sound Headset, sound bricht nach spielstart + voiceprogram ab
12/06/2015 - Technical Support - 21 Replies
Hey Leute, folgendes Problem: Habe mir vor etwa nem Monat das Logitech G430 Surround Sound 7.1 Headset gekauft, der sound an sich ist echt top, gegnerortung in ego shootern is sowas von punktgenau (je nach soundengine des games) daher perfekt für esl & co. Solange ich ohne Ts3,Skype,Steamvoice etc. spiele, läuft das headset perfekt, nur sobald etwas davon läuft, damit ich mit meinem team usw. reden kann, bricht mein sound + mic ab sobald ich ein spiel starte, geht dann auch erst wieder...
German Crossfire Sound Mod - Deutscher Sound Mod
01/02/2010 - CrossFire - 26 Replies
Hey folks, I made a Sound Modification for Crossfire in German and English. There are mainly fun sounds and some elements of Postal 2 and UT therein. Readme File is also added. Scan: VirusTotal - Kostenloser online Viren- und Malwarescanner - Ergebnis Size: ~15MB Download



All times are GMT +1. The time now is 14:44.


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