Just replace XXXX by what ever you want and add it just after one event block
More Sounds :
death_screen
button_click
level_up
inventory_move_item
error
enter_realm
loot_appears
no_mana
use_key
use_potion
More Event Message:
Code:
// Messages
// Crystal
var Crystal = [
"Sweet treasure awaits for powerful adventurers!",
"I think you need more people...",
"If you are not very strong, this could kill you"
];
var CrystalBroke = [
"You cracked the crystal! Soon we shall emerge! You might want to BACK AWAY..!!"
];
// Sphinx
var Sphinx = [
"At last, a Grand Sphinx will teach you to respect!",
"A Grand Sphinx is more than a match for this rabble.",
"My Grand Sphinxes will bewitch you with their beauty!"
];
var lastSphinx = [
"You festering rat-catchers! A Grand Sphinx will make you doubt your purpose!",
"Gaze upon the beauty of the Grand Sphinx and feel your last hopes drain away."
];
var SphinxDead = [
"My Grand Sphinx, she was so beautiful. I will kill you myself",
"My Grand Sphinx had lived for thousands of years!",
"you up-jumped goat herder! You shall pay for defeating my Grand Sphinx!",
"you pestiferous lout! I will not forget what you did to my Grand Sphinx!",
"you foul ruffian! Do not think I forget your defiling of my Grand Sphinx!"
];
// Hermit
var Hermit = [
"My Hermit God's thousand tentacles shall drag you to a watery grave!"
];
var HermitDead = [
"My Hermit God was more than you'll ever be",
"Without my Hermit God, Dreadstump is free to roam the seas without fear!"
];
// Ship
var Ship = [
"My Ghost Ship will terrorize you pathetic peasants!",
"A Ghost Ship has entered the Realm."
];
var ShipDead = [
"defeat my dreaded Ghost Ship?!",
"has crossed me for the last time! My Ghost Ship shall be avenged.",
"The spirits of the sea will seek revenge on your worthless soul"
];
// Skull Shrine
var Skull = [
"Your futile efforts are no match for a Skull Shrine!"
];
var SkullDead = [
"defaced a Skull Shrine! Minions, to arms!",
"razed one of my Skull Shrines -- I WILL HAVE MY REVENGE!",
"you will rue the day you dared to defile my Skull Shrine!",
"you contemptible pig! Ruining my Skull Shrine will be the last mistake you ever make!",
"you insignificant cur! The penalty for destroying a Skull Shrine is death!"
];
// Cube
var Cube = [
"Your meager abilities cannot possibly challenge a Cube God!",
"Worthless mortals! A mighty Cube God defends me!"
];
var CubeDead = [
"You have dispatched my Cube God",
"I have many more Cube Gods",
"you wretched dog! You killed my Cube God!",
"you pathetic swine! How dare you assault my Cube God!"
];
// Pentaract
var Pentaract = [
"Behold my Pentaract, and despair!",
"Ignorant fools! A Pentaract guards me still!"
];
var PentaractDead = [
"That was but one of many Pentaracts",
"you destoryed my Pentaract!",
"by destroying my Pentaract you have sealed your own doom!"
];
// Lord
var Lord = [
"Pathetic fools! My Lord of the Lost Lands will crush you all!",
"My Lord of the Lost Lands will make short work of you!",
"Cower in fear of my Lord of the Lost Lands!"
];
var LordDead = [
"How dare you foul-mouthed hooligans treat my Lord of the Lost Lands with such indignity!",
"What trickery is this?! My Lord of the Lost Lands was invincible!"
];
// lich
var finalLich = [
"My final Lich shall consume your souls!",
"My final Lich will protect me forever!"
];
Instruction :
Download the file
Extract It
Put the "18.0.0_notif" folder inside your "X:\18.0_Mod_Selector\mods" folder
;---------------------------------------------------------------------------------------------------------
;---Event-Notifier-----Code-Version:-18--Current-File-:-_-1MR\_-V-.class.asasm----------------------------
;---------------------------------------------------------------------------------------------------------
;---------------------------------------------------------------------------------------------------
;--Where-To-Insert----------------------------------------------------------------------------------
;---------------------------------------------------------------------------------------------------
; Search "spam" in the source folder
; search "execute" in the file where you found "spam"
; Just after "code" insert the entire code
;---------------------------------------------------------------------------------------------------
;--Names-To-Update----------------------------------------------------------------------------------
;---------------------------------------------------------------------------------------------------
;-----Play-a-sound----------------------------------------------------------------------------------
;---------------------------------------------------------------------------------------------------
#set audio "_-Zj" ;Package name ,search for level_up in Player.class.asasm
#set noti "_-1J8" ;Namespace,search for level_up in Player.class.asasm
;---------------------------------------------------------------------------------------------------
;-----Signal-for-Event-Found-in-Chat-BOX------------------------------------------------------------
;-For these names, just search for "spam" in the file where you have found "spam"-------------------
;---------------------------------------------------------------------------------------------------
#set chat "_-1ck" ; getproperty QName(PackageNamespace("", "_-1ck")
#set chat2 "_-BK" ; getlex QName(PackageNamespace("_-BK") (1/2)
#set chat3 "_-Fx" ; getlex QName(PackageNamespace("_-Fx") (2/2)
#set chat4 "_-0NM" ; getproperty QName(PackageNamespace(""), "_-0NM")
;---------------------------------------------------------------------------------------------------------
; Option
;---------------------------------------------------------------------------------------------------------
;-----Custom-Sound----------------------------------------------------------------------------------
#set source "enter_realm" ; ex :level_up or enter_realm - search for "play"
;---------------------------------------------------------------------------------------------------
;-----Custom-Signal---------------------------------------------------------------------------------
#set signal "**!!** EVENT FOUND **!!**" ; What ever you want
;---------------------------------------------------------------------------------------------------
;---------------------------------------------------------------------------------------------------------
getlocal1
getproperty QName(PackageNamespace(""), "text_")
callproperty QName(Namespace("https://adobe.com/AS3/2006/builtin"), "valueOf"), 0
coerce_s
setlocal 5
getlocal 5
pushstring "At last, a Grand Sphinx will teach you to respect!"
callproperty QName(Namespace("https://adobe.com/AS3/2006/builtin"), "search"), 1
pushint 0
ifge LNOTIFY
getlocal 5
pushstring "A Grand Sphinx is more than a match for this rabble."
callproperty QName(Namespace("https://adobe.com/AS3/2006/builtin"), "search"), 1
pushint 0
ifge LNOTIFY
getlocal 5
pushstring "My Grand Sphinxes will bewitch you with their beauty!"
callproperty QName(Namespace("https://adobe.com/AS3/2006/builtin"), "search"), 1
pushint 0
ifge LNOTIFY
getlocal 5
pushstring "You festering rat-catchers! A Grand Sphinx will make you doubt your purpose!"
callproperty QName(Namespace("https://adobe.com/AS3/2006/builtin"), "search"), 1
pushint 0
ifge LNOTIFY
getlocal 5
pushstring "Gaze upon the beauty of the Grand Sphinx and feel your last hopes drain away."
callproperty QName(Namespace("https://adobe.com/AS3/2006/builtin"), "search"), 1
pushint 0
ifge LNOTIFY
getlocal 5
pushstring "My Hermit God's thousand tentacles shall drag you to a watery grave!"
callproperty QName(Namespace("https://adobe.com/AS3/2006/builtin"), "search"), 1
pushint 0
ifge LNOTIFY
getlocal 5
pushstring "My Ghost Ship will terrorize you pathetic peasants!"
callproperty QName(Namespace("https://adobe.com/AS3/2006/builtin"), "search"), 1
pushint 0
ifge LNOTIFY
getlocal 5
pushstring "A Ghost Ship has entered the Realm."
callproperty QName(Namespace("https://adobe.com/AS3/2006/builtin"), "search"), 1
pushint 0
ifge LNOTIFY
getlocal 5
pushstring "Your futile efforts are no match for a Skull Shrine!"
callproperty QName(Namespace("https://adobe.com/AS3/2006/builtin"), "search"), 1
pushint 0
ifge LNOTIFY
getlocal 5
pushstring "Your meager abilities cannot possibly challenge a Cube God!"
callproperty QName(Namespace("https://adobe.com/AS3/2006/builtin"), "search"), 1
pushint 0
ifge LNOTIFY
getlocal 5
pushstring "Worthless mortals! A mighty Cube God defends me!"
callproperty QName(Namespace("https://adobe.com/AS3/2006/builtin"), "search"), 1
pushint 0
ifge LNOTIFY
getlocal 5
pushstring "Pathetic fools! My Lord of the Lost Lands will crush you all!"
callproperty QName(Namespace("https://adobe.com/AS3/2006/builtin"), "search"), 1
pushint 0
ifge LNOTIFY
getlocal 5
pushstring "My Lord of the Lost Lands will make short work of you!"
callproperty QName(Namespace("https://adobe.com/AS3/2006/builtin"), "search"), 1
pushint 0
ifge LNOTIFY
getlocal 5
pushstring "My final Lich shall consume your souls!"
callproperty QName(Namespace("https://adobe.com/AS3/2006/builtin"), "search"), 1
pushint 0
ifge LNOTIFY
getlocal 5
pushstring "My final Lich will protect me forever!"
callproperty QName(Namespace("https://adobe.com/AS3/2006/builtin"), "search"), 1
pushint 0
ifge LNOTIFY
getlocal 5
pushstring "Sweet treasure awaits for powerful adventurers!"
callproperty QName(Namespace("https://adobe.com/AS3/2006/builtin"), "search"), 1
pushint 0
ifge LNOTIFY
getlocal 5
pushstring "I think you need more people..."
callproperty QName(Namespace("https://adobe.com/AS3/2006/builtin"), "search"), 1
pushint 0
ifge LNOTIFY
getlocal 5
pushstring "If you are not very strong, this could kill you"
callproperty QName(Namespace("https://adobe.com/AS3/2006/builtin"), "search"), 1
pushint 0
ifge LNOTIFY
jump CONTINUE
LNOTIFY:
getlex QName(PackageNamespace($"audio"), $"noti")
pushstring $"source"
callpropvoid QName(PackageNamespace(""), "play"), 1
CONTINUE:
;---------------------------------------------------------------------------------------------------------
Last edited by Royce; 12-18-2013 at 09:09 PM.
The Following 18 Users Say Thank You to IziLife For This Useful Post: