This is a library mod that you can use to make scrolling combat text messages in your mod. It overrides point gain events to let use create our own messages. You can chose from light, dark and normal shades of green, red, yellow, brown, blue, purple, grey, orange and a big version of each. The big versions are done in the same font as critical hits.
To use put this in your interface\addons folder and add this to your mod's .mod file's dependencies.
<Dependency name="SCTLib" />
Then you can create a message using
SCTLib.SCTText(objectnumber, "your message", colourcode)
example
SCTLib.SCTText(GameData.Player.worldObjNum, "testing", SCTLib.DarkGreenBig
That will create "testing" over your head in big dark green letters.
Full list of colours
SCTLib.Black
SCTLib.BlackBig
SCTLib.White
SCTLib.WhiteBig
SCTLib.LightGrey
SCTLib.LightGreyBig
SCTLib.Grey
SCTLib.GreyBig
SCTLib.DarkGrey
SCTLib.DarkGreyBig
SCTLib.LightRed
SCTLib.LightRedBig
SCTLib.Red
SCTLib.RedBig
SCTLib.DarkRed
SCTLib.DarkRedBig
SCTLib.LightGreen
SCTLib.LightGreenBig
SCTLib.Green
SCTLib.GreenBig
SCTLib.DarkGreen
SCTLib.DarkGreenBig
SCTLib.LightBlue
SCTLib.LightBlueBig
SCTLib.Blue
SCTLib.BlueBig
SCTLib.DarkBlue
SCTLib.DarkBlueBig
SCTLib.LightYellow
SCTLib.LightYellowBig
SCTLib.Yellow
SCTLib.YellowBig
SCTLib.DarkYellow
SCTLib.DarkYellowBig
SCTLib.LightOrange
SCTLib.LightOrangeBig
SCTLib.Orange
SCTLib.OrangeBig
SCTLib.DarkOrange
SCTLib.DarkOrangeBig
SCTLib.LightPurple
SCTLib.LightPurpleBig
SCTLib.Purple
SCTLib.PurpleBig
SCTLib.DarkPurple
SCTLib.DarkPurpleBig
SCTLib.LightBrown
SCTLib.LightBrownBig
SCTLib.Brown
SCTLib.BrownBig
SCTLib.DarkBrown
SCTLib.DarkBrownBig
This should work with any SCT mod that does not override the PointGain's SetupText method.
Also, I assume that giving it an object number other than the player will make the notices appear above other players, mobs and objects. Think of the possibilities.
Installation Guide
- Exit "Warhammer Online" completely
- Download the mod you want to install
- Make a folder on your desktop called "My Mods"
- Save the .zip/.rar files to this folder.
- If, when you try to download the file, it automatically "opens" it... you need to RIGHT click on the link and "save as..." or "Save Target As".
- Extract the file - commonly known as 'unzipping'
Do this ONE FILE AT A TIME!
- Windows
- Windows XP has a built in ZIP extractor. Double click on the file to open it, inside should be the file or folders needed. Copy these outside to the "My Mods" folder.
- WinRAR: Right click the file, select "Extract Here"
- WinZip: You MUST make sure the option to "Use Folder Names" is CHECKED or it will just extract the files and not make the proper folders how the Authors designed
- Verify your WAR Installation Path
That is where you are running WAR from and THAT is where you need to install your mods.
- Move to the Addon folder
- Open your Warhammer Online folder. (default is C:\Program Files\Warhammer Online\)
- Go into the "Interface" folder.
- Go into the "AddOns" folder.
- In a new window, open the "My Mods" folder.
- The "My Mods" folder should have the "Addonname" folder in it.
- Move the "Addonname" folder into the "AddOns" folder
- Start Warhammer Online
Translations
When you download a mod, please be sure that the mod is compatible with your translation of WAR. Some mods only work on the US versions, while some only work on some of the various European versions. These variations are called "Localizations".
Directory Structure
Warhammer Online
|_ Interface
|_AddOns
|_*AddonName*
|_ *AddonName*.mod
|_ *AddonName*.lua
|_ (possibly others as well)...