Jump to content

Quests Sound Effects System


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 12
  • Eyes 1
  • Lmao 1
  • Good 3
  • Love 13
Link to comment
Share on other sites

  • 6 months later...
  • 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
Share on other sites

  • 9 months later...

Announcements



×
×
  • 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.