Gates of Arimyth http://forum.arimyth.com/ |
|
Creating your own User Interface + Stat Screen http://forum.arimyth.com/viewtopic.php?f=25&t=4281 |
Page 1 of 1 |
Author: | PureRage-DoD [ Wed Jul 20, 2011 10:50 am ] |
Post subject: | Creating your own User Interface + Stat Screen |
This covers adjusting your inventory/stat screen backgrounds and adding new stats display to your char screen See THIS topic for the basics of what it does and the additional files required. 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) The Mods text files (extract from patch_d2.mpq using an mpq editor) 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. --------------------------------------------------- You can create new health and mana bubbles the same way, the file you want for those is hlthmana.dc6. Located in data.mpq under data/global/ui/panel 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. Example: |
Author: | Pappy [ Thu Jul 21, 2011 7:47 pm ] |
Post subject: | Re: Creating your own User Interface + Stat Screen |
not sure if cursor counts, last patch kevin made me silver cursor, i really wanna make one custom for myself but cant find anything on where/how to do it this will breaking my modding cherry so K.I.S.S or i will fuck it up thanks in advance |
Author: | PureRage-DoD [ Thu Jul 21, 2011 11:14 pm ] |
Post subject: | Re: Creating your own User Interface + Stat Screen |
for cursors, the files are in data.mpq under data/global/ui/CURSOR simply extract them using winmpq, then open each one with dc6 creator and save all the images to desktop (like you do for health/mana bubbles or the stat screen background) edit then with GIMP or whatever, then save them like in the tutorial above. The saved files should go in data/global/ui/CURSOR. You can also repack them into patch_d2.mpq if you like. |
Author: | PmP [ Sat Jul 23, 2011 12:38 pm ] |
Post subject: | Re: Creating your own User Interface + Stat Screen |
can we get a universal one that comes with the mod install? would add a nice customness to the mod. Everyone who sees the artwork would know, thats HU |
Author: | ki4m [ Sun Jul 24, 2011 1:02 pm ] |
Post subject: | Re: Creating your own User Interface + Stat Screen |
I am working on a custom UI atm: |
Author: | ki4m [ Wed Aug 31, 2011 2:05 pm ] |
Post subject: | Re: Creating your own User Interface + Stat Screen |
skill paths, as .psd download, for those of you who want to create a new UI for highres with new skilltrees http://www.megaupload.com/?d=3TKDR4PF |
Author: | GameLucky21 [ Wed Aug 31, 2011 8:16 pm ] |
Post subject: | Re: Creating your own User Interface + Stat Screen |
ki4m wrote: skill paths, as .psd download, for those of you who want to create a new UI for highres with new skilltrees http://www.megaupload.com/?d=3TKDR4PF You know i will, thanks |
Author: | n0ga [ Thu Sep 01, 2011 3:45 am ] |
Post subject: | Re: Creating your own User Interface + Stat Screen |
Will this last patch include the arrows on the skill tree? since now they aren't on it, right? Highres skins aren't still completed? or did i mess up with something when installing the mod ? edit:I forgot, for those like me who wont mess up with this affair, is there a place to download those custom skins that hardworker ppl like you all made? |
Author: | ki4m [ Thu Sep 01, 2011 7:47 am ] |
Post subject: | Re: Creating your own User Interface + Stat Screen |
n0ga wrote: Will this last patch include the arrows on the skill tree? since now they aren't on it, right? Highres skins aren't still completed? or did i mess up with something when installing the mod ? edit:I forgot, for those like me who wont mess up with this affair, is there a place to download those custom skins that hardworker ppl like you all made? viewtopic.php?f=25&t=4404&start=150 skilltrees are done, baerk only needs to addd them to the next patch |
Author: | n0ga [ Thu Sep 01, 2011 10:15 am ] |
Post subject: | Re: Creating your own User Interface + Stat Screen |
I appologize, didn't saw that thread then. What about sharing custom "skins"? from the creative guys we have in here? |
Author: | PureRage-DoD [ Thu Sep 01, 2011 12:42 pm ] |
Post subject: | Re: Creating your own User Interface + Stat Screen |
Custom skins would be awesome, but some may want to keep their skin so they have a unique UI specific to them. Would be neat if some custom ones were released in the future for folks to choose from. Too much image editing for me though. I might make 1. |
Author: | ki4m [ Thu Sep 01, 2011 12:51 pm ] |
Post subject: | Re: Creating your own User Interface + Stat Screen |
I am planning to create a few custom UIs... and with D2SE we would even have the possibility to use the language feature to switch between different UIs(and high/low res).... |
Author: | Baerk [ Thu Sep 01, 2011 2:27 pm ] |
Post subject: | Re: Creating your own User Interface + Stat Screen |
Well the Structure for the norm/high res switch is already in place. It would be a very simple matter to just add further UI's to D2SE for me. |
Page 1 of 1 | All times are UTC - 5 hours |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |