Starfinder Playlist
  1. #1
    Mask_of_winter's Avatar
    Join Date
    Feb 2009
    Location
    USA Eastern Time Zone (GMT -5/-4)
    Posts
    2,479
    Blog Entries
    1

    Skin extension glitch?

    I believe SavageWorlds doesn't use the charselect.png graphics for the character selection window. I'm working on a skin loosely based on the savage fantasy skin with elements of the theme_dungeon. My xml files do not call for a change of any kind. Yet I get a different looking character selection window for the GM (image on the top) and a player instance through local host (image at the bottom). What's going on?

    Also, I'd appreciate if someone could shed some light on how to change the character selection window with SavageWorlds.

    Thanks!
    Writer for Just Insert Imagination and co-host of the Wild Die Podcast.
    Find me on G+ to get in on one-shots, check out my YouTube and Twitch channel and follow me on Twitter @Mask_of_Winter

  2. #2
    Trenloe's Avatar
    Join Date
    May 2011
    Location
    Colorado, USA
    Posts
    33,416
    Which windowclass is used for the character selection screen is established via the DesktopManager.registerDockShortcut2 command in desktop\scripts\desktop.lua in the buildDesktop function. For the GM (in the -- GM mode section) it displays a windowclass of charactersheets when the button is pressed. For the client side (the -- Player mode section) the windowclass used is charselect_client.

    I'll leave it up to you to examine these two windowclasses and see what the differences are.
    Private Messages: My inbox is forever filling up with PMs. Please don't send me PMs unless they are actually private/personal messages. General FG questions should be asked in the forums - don't be afraid, the FG community don't bite and you're giving everyone the chance to respond and learn!

  3. #3
    Mask_of_winter's Avatar
    Join Date
    Feb 2009
    Location
    USA Eastern Time Zone (GMT -5/-4)
    Posts
    2,479
    Blog Entries
    1
    Thanks Trenloe!
    Writer for Just Insert Imagination and co-host of the Wild Die Podcast.
    Find me on G+ to get in on one-shots, check out my YouTube and Twitch channel and follow me on Twitter @Mask_of_Winter

  4. #4
    Mask_of_winter's Avatar
    Join Date
    Feb 2009
    Location
    USA Eastern Time Zone (GMT -5/-4)
    Posts
    2,479
    Blog Entries
    1
    So I need to add two separate framedef entries in my xml file then?
    Like I said, what puzzles me is that my extension is calling for no such windowclass. I've made several skins before and that never happened.
    Writer for Just Insert Imagination and co-host of the Wild Die Podcast.
    Find me on G+ to get in on one-shots, check out my YouTube and Twitch channel and follow me on Twitter @Mask_of_Winter

  5. #5
    Trenloe's Avatar
    Join Date
    May 2011
    Location
    Colorado, USA
    Posts
    33,416
    In utility\utility_charactersheetlist.xml:

    The GM view uses the charactersheets windowclass that uses <frame>minisheet</frame> for the graphical frame.

    The player view uses the charselect_client windowclass that uses <frame>characterbox</frame> for the graphical frame.

    I'd check these frame definitions in your extension to see where they point - it is the framedefs that will control the graphical frame to display.

    Quote Originally Posted by Mask_of_winter View Post
    I've made several skins before and that never happened.
    Were these in v3 or v4 of the SW ruleset?
    Private Messages: My inbox is forever filling up with PMs. Please don't send me PMs unless they are actually private/personal messages. General FG questions should be asked in the forums - don't be afraid, the FG community don't bite and you're giving everyone the chance to respond and learn!

  6. #6
    Mask_of_winter's Avatar
    Join Date
    Feb 2009
    Location
    USA Eastern Time Zone (GMT -5/-4)
    Posts
    2,479
    Blog Entries
    1
    Got it!
    I managed to get the character selection window to match from the GM and Player side. Not sure why such design decision was made in the first place. Seems like more work than it's worth unless the reasoning behind it escapes me.

    Thanks again Martin!
    Writer for Just Insert Imagination and co-host of the Wild Die Podcast.
    Find me on G+ to get in on one-shots, check out my YouTube and Twitch channel and follow me on Twitter @Mask_of_Winter

  7. #7
    In some rulesets, there are different frames for GM and Player character selection windows. The CoreRPG ruleset was built to support these as well.

    Cheers,
    JPG

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
  •  
DICE PACKS BUNDLE

Log in

Log in