Jump to content

Recommended Posts

  • Former Staff

M2 Download Center

This is the hidden content, please
( Internal )

Hello guys this is my first usefull topic in this forum

 

1#  First download this -> 

This is the hidden content, please

 

now, unpack your sound.epk/eix

after that go to game.py in root and find this

			"mall"					: self.__InGameShop_Show,

and under that write this

			#quest_songs
			"qsucc"					: self.succ_quest,
			"qfail"					: self.fail_quest,
			"qrecive"				: self.recive_quest,
			#END_OF QUEST_SONG

 

BE SURE ABOUT THE TABS

 

now go down in game.py and write this

and write this

	#quest_sound by FlyGun
	#recive_QUEST
	def recive_quest(self):
		snd.PlaySound("sound/ui/quest_receive.wav")
	#END_OF recive_QUEST
	
	#SUCC_QUEST
	def succ_quest(self):
		snd.PlaySound("sound/ui/quest_success.wav")
	#END_OF succ_QUEST
	
	#FAIL_QUEST
	def fail_quest(self):
		snd.PlaySound("sound/ui/quest_fail.wav")
	#END_OF fail_QUEST
	#END OF quest_sound by FlyGun

 

this quest is for test

quest sound_test begin
	state start begin
		when login with pc.is_gm() begin
			send_letter("sound test")
			cmdchat("qrecive")
		end
		when info or button begin
			local a = select ("quest succ", "quest fail")
			if a == 1 then
				cmdchat("qsucc")
			else
				cmdchat("qfail")
			end
		end
	end
end
        
  • Metin2 Dev 18
  • Eyes 1
  • Lmao 1
  • Good 5
  • Love 20
Link to comment
https://metin2.dev/topic/2362-quests-sound-effects-system/
Share on other sites

  • 6 months later...
  • Former Staff

Or Just Edit The Fuction :

 
send_letter
buttom - info

and add the affect for it .

this will work on just  sending  :)

success and fail ??  :P

 

btw the mp3 sound are already from metin2 ... but nobody used them 

Link to comment
https://metin2.dev/topic/2362-quests-sound-effects-system/#findComment-33169
Share on other sites

  • 1 month later...
  • Premium

 

Or Just Edit The Fuction :

 
send_letter
buttom - info

and add the affect for it .

this will work on just  sending  :)

success and fail ??  :P

 

btw the mp3 sound are already from metin2 ... but nobody used them 

 

 

 

in metin2 quests ( mission ) dont have fail , just success

 

If you're going to do something, then do it right.

Link to comment
https://metin2.dev/topic/2362-quests-sound-effects-system/#findComment-37306
Share on other sites

  • Premium

 

I want to know about this :

 

send_letter
buttom - info
 
Otherwise, at every connection I got lot of "receive_quest" sound... :x

 

Yes , For This i Think Ymir Didn't Implanted it

If you're going to do something, then do it right.

Link to comment
https://metin2.dev/topic/2362-quests-sound-effects-system/#findComment-37331
Share on other sites

I give you idea guys, just create a new state for yours quests, for ex.

 

state start begin

-- play sound

set_state(next)

end

 

state next begin

-- begin quest text etc

end

 

Now it works only once and don't spam with music, otherwise may be better option but this is the easiest and not bad.  ^_^

  • Love 1
Link to comment
https://metin2.dev/topic/2362-quests-sound-effects-system/#findComment-38026
Share on other sites

  • Former Staff

good idea .... btw i didn't create any quest i just made a test quest just for testing .... actually it's a noob How To :/ but people after reading this topic will easy know how to play sounds with quest :) (i mean those who doesn't know  )

  • Love 1
Link to comment
https://metin2.dev/topic/2362-quests-sound-effects-system/#findComment-38056
Share on other sites

  • 9 months later...

Don't use any images from : imgur, turkmmop, freakgamers, inforge, hizliresim... Or your content will be deleted without notice...
Use : https://metin2.download/media/add/

Please use https://metin2.download/ when uploading files smaller than 100MB, otherwise the approval will take longer due to manual upload.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.