Welcome Guest [Log In] [Register]
Add Reply
D2NewStats.txt
Topic Started: Apr 17 2011, 06:54 PM (222 Views)
Dav92
Member Avatar
Administrator
Explanations for the columns in that file:


  • *description - uncompiled, just for comments
  • *ID - also uncompiled
  • page - the page where the row is to be used, see notes below
  • disp_str - will a string be displayed?
  • tblIDx - the string to be displayed
  • font - the font used
  • color - the color used, see notes below
  • Xleft - the string is placed in the middle between this and the value of the Xright column
  • Xright - see above
  • Y - Y coordinate of the string
  • disp_stat - will a stat value be displayed?
  • stat - stat, whose value will be displayed
  • font2 - font used
  • color2 - color used
  • Xleft2 - the stat value is placed in the middle between this and the value of the Xright column
  • Xright2 - see above
  • Y2 - Y coordinate of the stat value
  • ValShift - ValShift of the stat defined in ItemStatCost.txt
  • enhColor - color if the stat is enhaced, through e.g. items
  • negColor - color if the stat is negative
  • curColor - color if the current value of the stat is below the standard value
  • hasMax - does the stat have a miximum?
  • maxValue - calc field, the maximum value of the stat
  • maxColor - color if the stat has reached its maximum
  • disp_pic - will a dc6 be displayed?
  • path - path to the dc6 loaded at character loading
  • X3 - X coordinate of the image
  • Y3 - Y coordinate of the image
  • *eol - the usuall end of line 0

page - Currently the values 0-3 are useable. 0 tells the game to display the row in the normal charscreen, while 1,2,3 tell it to display it at the extra pages in the charscreen.

color - This applies to all color columns in all of my txts.

  • 0 = light grey
  • 1 = red
  • 2 = light green/set
  • 3 = blue
  • 4 = gold/unique
  • 5 = grey
  • 6 = black
  • 7 = tan (unique like)
  • 8 = orange
  • 9 = yellow
  • 10 = dark green
  • 11 = purple
  • 12 = dark green (not dark as 10)
  • 13 = white

Every other value will crash the game.

This txt is used for displaying stats nearly everywhere ingame. For now it is only enabled in the charsheet, but will soon be useable nearly everywhere.
Edited by Dav92, Apr 17 2011, 07:19 PM.
Member Offline View Profile Quote Post Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
« Previous Topic · Development & Bugs · Next Topic »
Add Reply

Theme Designed by McKee91