General structure
CFbase module has several classes:
1) Highligths - contains all highlight triggers
2) Logger - has a simple script that replays your file so each its line will be processed by triggers. If you have a plain text log, you may color it using this feature. First of all, place your file into your default CMUD dir where packages resides. This is needed because CMUD only allows to open files from that directory. Then lauch the script: "Showfile your-file."
3) Prompt - contains the prompt trigger which is used to split incoming prompt and text (when CF joins them together). This is needed because many highlight triggers have patterns starting from the beggining of the line. And, after all, it look cool.
4) ConfigureClass - this alias just enables/disables class/cabal specific highlights. Typical usage:
ConfigureClass "warrior" "battle"
Colors
Colors are defined in
Highlight/Colors class. you can replace them with your colors, but mine are still better.
Combat highlights
Class
Highlights/CombatHi contains the core highlights for the combat. It has two big ass triggers to highlight your damage to enemies and enemy damage to you. And then it contains a lot of triggers to color your defensive moves like parry/dodge. There are a lot of various messages for them (screw Valg) so I'm sure something is missed, but at least the majority of them is there.
Class/cabal specific highlights
These classes define highlights specific for a class or cabal. This allows you to disable unused triggers so your slow PC will not burn from the number of triggers.
Spell/Skill/Event highlights
Many of spell/skill/event outputs are captured and sorted among these. Obviously, not all of them, because there is a lot of classes I've never played. I usually add a message I want to hightlight here and there, feel free to do the same.
Edited 7 time(s). Last edit at 09/23/2008 08:45PM by Dwoggurd.