Minion Beta! - Help us test our new AddOn updater. Get it now!
Download
(34 Kb)
Download
Updated: 07-17-10 09:32 PM
Pictures
File Info
Updated:07-17-10 09:32 PM
Created:07-17-10 09:32 PM
Downloads:1,312
Favorites:5
MD5:

Metroid Upgrade

Version: 0.1
by: shaman666 [More]

Plays the Item Upgrade sound from Super Metroid when you receive an Epic item.

This is only the first version, soon I'll add a black box to the middle of the screen that will show the item obtained, mimicking the super metroid style.

Just an addon for those who are fans of this game series.

You can also change the sound that plays, via the lua file, and I'll probably add an option to do that in-game later as well.


Metroid and The Screw Attack logo are trademarks or registered trademarks of Nintendo of America Inc. in the United States of America and elsewhere. All other trademarks are the property of their respective owners. This Addon has no affiliation with Nintendo of America Inc.

v 0.1 - First version, only sound effect
Post A Reply Comment Options
Unread 08-20-11, 12:17 AM  
krazzeekane
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
Helpful Hints:

To change the item color the addon plays on;(Like from only playing when an epic colored item is picked up to a blue or green or white or such item) just go into the MetroidUpgrade folder and open the MetroidUpgrade.lua in notepad and edit or copy paste the values like below as you wish:

For Music Playing on Legendary, Epic, Blue, and Uncommon Item Drops, respectively:

Code:
--[[
	
	Metroid Upgrade
	If you want to use another sound, just up it on the folder of the addon and rename it to MetroidUpgrade.mp3
	Or simply change the code below to match the soundfile name.
	
	Please enjoy and have fun.
	
	TODO: Write the item name in a black box in the middle of screen, Super Metroid-style.

]]
function metroid_OnEvent()
	if (event=="CHAT_MSG_LOOT" and strfind(arg1, "You receive loot") and (strfind(arg1, "cffff8000")))
		then PlaySoundFile("Interface\\AddOns\\MetroidUpgrade\\MetroidUpgrade.mp3")
	end
	if (event=="CHAT_MSG_LOOT" and strfind(arg1, "You receive loot") and (strfind(arg1, "cffa335ee")))
		then PlaySoundFile("Interface\\AddOns\\MetroidUpgrade\\MetroidUpgrade.mp3")
	end
	if (event=="CHAT_MSG_LOOT" and strfind(arg1, "You receive loot") and (strfind(arg1, "cff0070dd")))
		then PlaySoundFile("Interface\\AddOns\\MetroidUpgrade\\MetroidUpgrade.mp3")
	end
	if (event=="CHAT_MSG_LOOT" and strfind(arg1, "You receive loot") and (strfind(arg1, "cff1eff00")))
		then PlaySoundFile("Interface\\AddOns\\MetroidUpgrade\\MetroidUpgrade.mp3")
	end
end
Same as above, this is just if you prefer your code cleaner and not as long and confusing:

Code:
--[[
	
	Metroid Upgrade
	If you want to use another sound, just up it on the folder of the addon and rename it to MetroidUpgrade.mp3
	Or simply change the code below to match the soundfile name.
	
	Please enjoy and have fun.
	
	TODO: Write the item name in a black box in the middle of screen, Super Metroid-style.

]]
function metroid_OnEvent()
	if (event == "CHAT_MSG_LOOT" and strfind(arg1, "You recieve loot") and (strfind(arg1, "cffff8000")) or (strfind(arg1, "cffa335ee")) or (strfind(arg1, "cff0070dd")) or (strfind(arg1, "cff1eff00")))
		then PlaySoundFile("Interface\\AddOns\\MetroidUpgrade\\MetroidUpgrade.mp3")
	end
end


If you want to edit it yourself, just look at the above and replace the code that begins with cf-------, though make sure when you edit them that you only replace the letters after the c, do not edit or erase the c, in any of the 'or (strfind)arg1, "cf-------"))' , as it is not part of the hex code and instead tells the WoW program that it is a color, the 8 digit code afterwards denotes the hex code color of the item. Replace it with the color code of your choice from below to customize your play.

Gray - ff9d9d9d
White - ffffffff
Green - ff1eff00
Blue - ff0070dd
Purple - ffa335ee
Orange -ffff8000

Enjoy!
krazzeekane is offline Report comment to moderator  
Reply With Quote
Unread 09-25-10, 10:58 AM  
Dagonhedg
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
Can you make it so that the quality of the item required can be lowered? (i.e. a low-level player could make themselves feel good by having it play for every little green they get)
Dagonhedg is offline Report comment to moderator  
Reply With Quote
Unread 07-20-10, 09:30 PM  
Grim Notepad
A Murloc Raider
 
Grim Notepad's Avatar

Forum posts: 5
File comments: 26
Uploads: 0
a note.
I bought Harris Pilton's "Gigantique" Bag (what....it's an achievement and its a 22slot bag (and i have 3.2k in gold)....what?!) but the sound didn't go off....is it only looted items,its not when you buy an epic (cause i think it should...you did work hard to aquire it (what...yes 1200 gold is working on it :P)

i also look forward to the center text
Grim Notepad is offline Report comment to moderator  
Reply With Quote
Unread 07-19-10, 01:32 AM  
stereoprologic
A Kobold Labourer

Forum posts: 0
File comments: 20
Uploads: 0
I think I love you! Looking forward to the center text
stereoprologic is offline Report comment to moderator  
Reply With Quote
Unread 07-18-10, 06:09 AM  
shaman666
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 2
Uploads: 1
Originally posted by eThuz
You might wanna change your legal disclaimer to:

Metroid and The Screw Attack logo are trademarks or registered trademarks of Nintendo of America Inc. in the United States of America and elsewhere. All other trademarks are the property of their respective owners. This Addon has no affiliation with Nintendo of America Inc.
oh, I thought the "related material" part included the screw attack logo, but thanks for the advice ^^ I'll change it
shaman666 is offline Report comment to moderator  
Reply With Quote
Unread 07-17-10, 10:21 PM  
eThuz
TeamBPS
 
eThuz's Avatar
AddOn Author - Click to view AddOns

Forum posts: 48
File comments: 14
Uploads: 4
You might wanna change your legal disclaimer to:

Metroid and The Screw Attack logo are trademarks or registered trademarks of Nintendo of America Inc. in the United States of America and elsewhere. All other trademarks are the property of their respective owners. This Addon has no affiliation with Nintendo of America Inc.
__________________
eThuz is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: