Scrolling Combat Text Library

This project has become inactive.

This project is inactive and its default file will likely not work with the most recent version of Warhammer Online: Age of Reckoning. The author may have abandoned it, or it may have outlived its usefulness.

A test mod using the sctlib

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.

You must login to post a comment. Don't have an account? Register to get one!

Facts

Date created
13 Sep 2008
Category
Last update
13 Sep 2008
Development stage
Inactive
Language
  • enUS
License
Public Domain
Curse link
Scrolling Combat Text Library
Recent file
  • R: SCTLib for Beta 3.0 on 13 Sep 2008

Authors