Description
CombatGraph 1.4 Beta - December 28th, 2005
by John "Cryect" Rittenhouse
Alright I was trying to come up with some ideas for how could improve my healing by delivering information about the current fight to me better. So I came up with the idea of tracking the current DPS on the main tank in a graphical form. But first before doing that I figured I should make a mod that tracks the DPS you do in a graph and this is the result of that. Its somewhat loosely based on the mod called Gram which I used as a base since this is the first UI mod I've ever done but its almost completely rewritten from scratch and a lot better performing (http://www.curse-gaming.com/mod.php?addid=349).
All there is to it is a draggable frame that has a graph of your DPS over time and states your current average DPS. Your burst DPS is determined through a running exponetial falloff sum of damage and the falloff rate can be adjusted. The graph is displayed using gradients because well they look cool and are fully adjustable to whatever colors you want for the top and bottom (default is black on the bottom and red on top).
The easy way to change settings is just to right click on the window
Commands
/cg options - Toggles the option window
/cg toggle - Toggles whether CombatGraph is visible or not
/cg togglelock - Toggles whether CombatGraph can be moved
/cg height <frameheight> - Sets the new height of the frame (default 52 min 30 max 182)
/cg falloff <falloff> - Lets you adjust the falloff rate the higher the number the slower the falloff and the smaller the faster it adjust (range 0.1-0.95)
/cg peakdps <peakdps> - This is whatever your max peak DPS you want to see on the graph (default 500 min 5)
/cg peakhps <peakhps> - Basically whatever the max value for your peak HPS is on the graph
/cg timestep <timestep> - Lets you adjust the window size of each little bar in how much time they gather damage over (default 0.1 min 0.1 max 10) With default settings you are seeing the last 17.8 seconds of damage.
/cg window <windowsize> - Adjust the window used for adding damage in to the running DPS average
/cg hwindow <windowsize> - Adjust the window used for adding healing in to the running HPS average
/cg gradient <BottomRed> <BottomGreen> <BottomBlue> <UpperRed> <UpperGreen> <UpperBlue> - Allows you to adjust the gradient used.
/cg hgradient <BottomRed> <BottomGreen> <BottomBlue> <UpperRed> <UpperGreen> <UpperBlue> - Allows you to adjust the gradient used for the healing bars.
Code Sources - The following sources were used for some code if there is a request the appropriate section can be removed and rewritten
Gram - Initial Code base (Heavily rewritten since then)
AllInOneInventory - Function for breaking the arguments from the msg for the slash command
CombatStats - For some of the code that processes the healing events
Plans for 1.4
-Setup for correct ordering of bars for when one is higher than the other
-Allow for tracking DPS of other players or mobs to compare to yourself


