Reckoning Workshop

Download Mod

Install:
Put the folder 'Reckoning_Workshop', under 'C:\Program Files\World of Warcraft\Interface\AddOns', so that the full name is 'C:\Program Files\World of Warcraft\Interface\AddOns\Reckoning_Workshop'

Functions in this Add On:

  • Yells Neff's killing saying every 4% of the time you hit the killing blow to a mob
  • Yells the Raz saying every .5% of the time something hits you.
  • Puts the mob name that is killed around you in the middle of you screen, and in you chat log window.
  • Plays the Reckoning sound file from the Blood Elf Guard 20% of the time something around you dies.
  • Has a function to yell that you are firing you lobster gun. This is fun if you have the Gurubashi Dwarf Destroyer.
  • Has a function to say something in Raid or Guild chat when you are summoning someone. The things you say could be different for every class/race you summon.
  • Changes the raid icon to skull everytime you change your focus. Can be turned on using /rwsson and off using /rwssoff

Since a patch a while ago you can no longer have a mod cast a spell for you. So you will need to make a macro that casts the spall and add the following code to the next line '/script RWS_ShootMyGun()' or '/script RWS_SummonSomeone()' to either say the shoot message or say the summon message.

Important code (note the formating of this is all screwed up in most browsers, look at the code for the formatting of this):

function RWS_OnEvent()
local mob_name;
local mob_damage;
local text;

if "CHAT_MSG_COMBAT_HOSTILE_DEATH" == event then
mob_name = RWS_ParseDeathText(arg1)
if(mob_name) then
local rnum = math.random(0,100);
if(rnum>80) then
PlaySoundFile( "Sound\\Creature\\NPCBloodElfMaleMilitary\\NPCBloodElfMaleMilitaryFarewell06.wav");
end
UIErrorsFrame:AddMessage(mob_name, 1.0, 1.0, 1.0, 1.0, UIERRORS_HOLD_TIME);
DEFAULT_CHAT_FRAME:AddMessage(mob_name);
end

mob_name = RWS_ParseKillText(arg1)
if(mob_name) then
local rnum = math.random(0,100);
if(rnum>96) then
text = "Worthless" .. mob_name .. " Your friends will join you soon enough.";
SendChatMessage(text,"Yell");
end
end
end

if "CHAT_MSG_COMBAT_CREATURE_VS_SELF_HITS" == event then
mob_damage, mob_name = RWS_ParseCreatureHitText(arg1);
if(mob_damage) then
local rnum = math.random(0,1000);
if(rnum>995) then
text = "My granny, livin' down in Redridge, hits dummies harder than you, " .. mob_name .. "!";
SendChatMessage(text,"Say");
end
end
end

if "PLAYER_TARGET_CHANGED" == event then
SetRaidTargetIcon("target",8);
end

end

This is the main code that does stuff when you kill or something is killed around you. You can change the sayings here. The first second is fired when something around you dies. The second block is if you cause the killing blow and the third block is if something is hitting you. Adding you own code is fairly simple. An example is if you want to say something if a player dies around you, say if NSVMaster dies you want to say 'Scrape NSVMaster off the ground again'. The code would be:

mob_name = RWS_ParseDeathText(arg1)
if(mob_name) then
local rnum = math.random(0,100);
if(rnum>80) then
PlaySoundFile("Sound\\Creature\\NPCBloodElfMaleMilitary\\NPCBloodElfMaleMilitaryFarewell06.wav");
end
if(mob_name == "NSVMaster") then
text = "Scrape NSVMaster off the ground again.";
SendChatMessage(text,"Say");
end
UIErrorsFrame:AddMessage(mob_name, 1.0, 1.0, 1.0, 1.0, UIERRORS_HOLD_TIME);
DEFAULT_CHAT_FRAME:AddMessage(mob_name);
end

If you make a mistake WoW will not load your add on and you wont see the 'Reckoning Workshop' in your chat window when your character is loaded in.

Debugging:
When you are logged in and making changes tothe add on you can reload it using '/script ReloadUI();' This will cause the Mod to be loaded. Make sure it tells you Reckong Workshop is loaded in the chat window.



This site and all of the artwork on it is Copyright © 1993-2006 Jim Wright. All them rights reserved.