Give a man a fish... you know the rest
Ok, quick tutorial on adjusting it to your own needs:
Before you start, open data/global/excel and look for d2newstats.bin and delete it. every time you want to check your changes in game, just delete this file and join a game with a sp char.
You will need:
an excel program
GIMP/Photoshop/an image editing program
a .tbl editor (link is provided below)
DC6Creator (link provided below)
first thing you want to do is open the D2NewStats.txt with excel or something similar.
Columns explinations:
StrOnly: boolean (1=yes 0 = no) asking if its showing text
Stat only: same as above but asks if its showing the value of a stat.
TblIDx: the name of the string in the .tbl files (what text you want displayed on the screen)
Font: long story short, 12 is the small text I used in the screenie 1 is the large text I used in the old version
color: 1= white, 2=red 3=blue, etc etc.
xleft/xright: the horizontal co-ordinates of the stat/text (these must be the same). smaller numbers = further left, larger numbers = further right (in pixels)
Y: the height of the stat/text. (lower numbers = higher up on the screen, higher numbers = further down)
stat: the name of the stat from itemstatcost.txt you want to display the value of (used in conjunction with a 1 in the "stat only" column)
font/color: same as above
Rin: "red if negative", 1 for yes, 0 for no
xright/xleft: same as above
Y: same as above
so to move a stat around, you just change the Y column and the leftx/rightx
------------------------------------------
Adding a new stat:
to add a new stat, first open itemstatocst.txt and look for the stat you want to add. Lets use FCR as an example. The stat name for FCR is item_fastercastrate
so, create a new line in D2NewStats.txt and put the name as FCR (or whatever, its not used by the game, just for reference)
StrOnly = 1 (we will start with the name display for the stat)
TblIDx = fcrstatdesc (this can be whatever you like, we will create a string in the .tbl file for the stat and use this name there)
Font = 12 (keeps it small)
Color = your choice, i used 8 (orange) but you can go through them and pick the one you want.
xleft/xright = depends whare you want it, if you adjust it a little then enter a game, you can see how much you are moving it, you may need to join a game a few times till you get it whare you want it.
Once its in position, we need to add the string.
here is a string editor that you will use to add the strings so the stats dont show up as "an evil force"
Start the tbl editor and click open, navigate to your HU folder and go to data/local/lng/eng
open string.tbl.
click add and type the name you entered in the tblIDx column. now in the box on the right, type what you want displayed on the char screen (in this case FCR).
click save and go into a game to make sure it worked.
-----------------------------------------------------
Now the stat:
create a new line in d2newstats.txt and set statonly to 1
in the stat column add item_fastercastrate
Font = 12 (keeps it small)
color = up to you
xleft/xright = the same as your discriptions xleft/right (if you want the stat below the name)
Y: 10ish higher than the Y used in the description (means it'll be 10 pixels lower than the name of the stat).
save and check in game to make sure its whare you want it.
---------------------------------------------------
repeat those steps for any stats you want displayed and adjust the entries for the current stats to suit.
----------------------------------------------------
The background:
here is DC6Creator. you will need this to extract the stat screen backgrounds.
Start it up and set the pallete to units (this is very important when saving to avoid messy graphics)
click open and go to data/global/ui/panel/
open invchar6.dc6
This will open the dc6 and you will see the char inventory and stats screen split up into parts.
Click export all and select whare you want to export the images too.
Once exported, open up GIMP or Photoshop (whatever you prefer) and select the stat screen images. Now its just a matter of copying parts of boxes and moving them around the screen till you are happy with how it is layed out. You can copy the whole thing over an image you like and erase the marble effect parts to reveal the image below, then select the box you pasted over the image and copy it back over the original image. (to get a funky background)
Once you are happy, save it.
If you exported them all and edited them all, you can simply click INI->DC6 and select the INI in the same folder you extracted the images too. That will import them all. (remember to set the pallete to units). then click save.
---------------------------------------------------
all done, just move your stats a little to make sure they are in the right places for your boxes and save.
Good luck and enjoy.
![Smile :)](./images/smilies/icon_e_smile.gif)