DICE PACKS BUNDLE
Page 1 of 2 12 Last

Thread: Renaming Tabs

  1. #1
    mr_h's Avatar
    Join Date
    Dec 2005
    Location
    GMT -5 / EST
    Posts
    548

    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!

  2. #2
    mr_h's Avatar
    Join Date
    Dec 2005
    Location
    GMT -5 / EST
    Posts
    548
    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......

    Nevermind
    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!

  3. #3
    Quote Originally Posted by mr_h
    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......

    Nevermind
    Where did you find this? I still can't find it.

  4. #4
    mr_h's Avatar
    Join Date
    Dec 2005
    Location
    GMT -5 / EST
    Posts
    548
    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!

  5. #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!

  6. #6
    Quote Originally Posted by mr_h
    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?
    What you're looking for is scattered across many files.
    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.

  7. #7
    Quote Originally Posted by Toadwart
    Is it just me or does work suck ?
    If work was fun, they wouldn't have to pay you.

  8. #8
    mr_h's Avatar
    Join Date
    Dec 2005
    Location
    GMT -5 / EST
    Posts
    548
    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!

  9. #9
    Quote Originally Posted by sloejack
    If work was fun, they wouldn't have to pay you.
    Guess it's a necessary evil. How else could I afford all those gaming supplements
    Work Less, Game More!

  10. #10
    Quote Originally Posted by mr_h
    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.
    The real question I have related to this is, what font are the tab images done in? I need to replace one of the tabs with a new name for my SR ruleset but would like to keep the font. Conversely if I can't figure it out I'll probably end up redoing all of them just so they look the same.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
FG Spreadshirt Swag

Log in

Log in