Thread: Renaming Tabs
-
June 30th, 2007, 00:27 #1
Renaming Tabs
Been looking around for this and haven't been able to find it. I am modifying the default d20 character sheet as a start for my own rulesets charsheet. I would like to rename the tabs on the side, so that instead of saying Main, Combat, Skills, Abilities, Inventory, Spells, and Notes they say something like: Bio, Vitals, Skills, Combat, Gear, and Covers.
I can not for the life of me find what script or xml thing handles the naming portion of the tabs. Any help out there?
Thanks
H
(Sure to have many, many more questions :b)DM: For reference sake, when a bad guys dies, I'll turn their token over. So an upside down 'A' or 'B' means it's a corpse.
PC 1: So if we kill a 'M' is it reincarnated as a 'W'?
PC 2: That damn 'O' just won't die!
-
June 30th, 2007, 00:40 #2
Ya know, it never fails. I ask a question, then I turn back to look at the code and viola, the answer is staring right back at me......
NevermindDM: For reference sake, when a bad guys dies, I'll turn their token over. So an upside down 'A' or 'B' means it's a corpse.
PC 1: So if we kill a 'M' is it reincarnated as a 'W'?
PC 2: That damn 'O' just won't die!
-
February 28th, 2008, 01:34 #3Originally Posted by mr_h
-
February 28th, 2008, 01:37 #4
Wow, it's been a long time since I toyed with it. When I get a chance I'll dive into my files and take a look and see if I Can tell ya.
DM: For reference sake, when a bad guys dies, I'll turn their token over. So an upside down 'A' or 'B' means it's a corpse.
PC 1: So if we kill a 'M' is it reincarnated as a 'W'?
PC 2: That damn 'O' just won't die!
-
February 28th, 2008, 04:27 #5
Yeah I can't recall exactly where they live either but if worst comes to worst just open each xml file and search for the name of one of the tabs. Might take awhile if you get a lot of hits but eventually you'll come across the bit of code you are looking for
Hmm, actually now I think about it I think they might be static images. Have a look in the icons folder and see if there are images for them, then search for those filenames in graphics_icons.xml, and finally search the other xml files for the name used for those images...
I'd do it for ya but I'm stuchk at work.
Is it just me or does work suck ?Work Less, Game More!
-
February 28th, 2008, 05:07 #6Originally Posted by mr_h
charsheet.xml -> points to the various xml files that containe the contents of the various sub windows those tabs reference. If you're changing the names of the tabs and the names of the files they are built with, you'll need to update the includefile entries.
charsheet_toplevel.xml -> This is where the subwindows and tabs are defined. Note that the tabcontrol section references the previously defined subwindow (subwindow targeting the defined class in the afore mentioned charsheet.xml includes) and the icon.
graphics.xml -> has the definitions for the tab icons (names) [starting around line 210], and so you'll need to create new graphics with which to label the tabs with the new names for your ruleset.
Hope that helps.
-
February 28th, 2008, 05:07 #7Originally Posted by Toadwart
-
February 28th, 2008, 12:28 #8
Yeah, I think sloejack has it. The tabs were images, so you had to redo those.
The file 'charsheet.xml' is where the tabs 'sheets' are named.
With his info above, that should get you where you need to be.DM: For reference sake, when a bad guys dies, I'll turn their token over. So an upside down 'A' or 'B' means it's a corpse.
PC 1: So if we kill a 'M' is it reincarnated as a 'W'?
PC 2: That damn 'O' just won't die!
-
February 28th, 2008, 18:44 #9Originally Posted by sloejackWork Less, Game More!
-
February 28th, 2008, 22:22 #10Originally Posted by mr_h
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks