Thread: Adding Tabs to Character Sheet
-
July 15th, 2006, 13:50 #1
Adding Sheet Changing 'Tabs' to Character Sheet
I am attempting to add the 'tabs' to my character sheet so you can move between the six different pages, but I'm having a few issues. From what I can find in the other character sheets you have to do a couple of things.
First you have to make sure the graphics are included in your graphics file. This I have done:
graphics.xml
Code:<framedef name="charsheet_bio"> <bitmap file="rulesets\tssi\frames\charsheet_bio.png" /> <topleft rect="0,0,0,0" /> <top rect="0,0,0,0" /> <topright rect="0,0,0,0" /> <left rect="0,0,0,0" /> <middle rect="0,0,600,685" /> <right rect="0,0,0,0" /> <bottomleft rect="0,0,0,0" /> <bottom rect="0,0,0,0" /> <bottomright rect="0,0,0,0" /> </framedef> <framedef name="charsheet_vitals"> <bitmap file="rulesets\tssi\frames\charsheet_vitals.png" /> <topleft rect="0,0,0,0" /> <top rect="0,0,0,0" /> <topright rect="0,0,0,0" /> <left rect="0,0,0,0" /> <middle rect="0,0,600,685" /> <right rect="0,0,0,0" /> <bottomleft rect="0,0,0,0" /> <bottom rect="0,0,0,0" /> <bottomright rect="0,0,0,0" /> </framedef> <framedef name="charsheet_skills"> <bitmap file="rulesets\tssi\frames\charsheet_skills.png" /> <topleft rect="0,0,0,0" /> <top rect="0,0,0,0" /> <topright rect="0,0,0,0" /> <left rect="0,0,0,0" /> <middle rect="0,0,600,685" /> <right rect="0,0,0,0" /> <bottomleft rect="0,0,0,0" /> <bottom rect="0,0,0,0" /> <bottomright rect="0,0,0,0" /> </framedef> <framedef name="charsheet_combat"> <bitmap file="rulesets\tssi\frames\charsheet_combat.png" /> <topleft rect="0,0,0,0" /> <top rect="0,0,0,0" /> <topright rect="0,0,0,0" /> <left rect="0,0,0,0" /> <middle rect="0,0,600,685" /> <right rect="0,0,0,0" /> <bottomleft rect="0,0,0,0" /> <bottom rect="0,0,0,0" /> <bottomright rect="0,0,0,0" /> </framedef> <framedef name="charsheet_gear"> <bitmap file="rulesets\tssi\frames\charsheet_gear.png" /> <topleft rect="0,0,0,0" /> <top rect="0,0,0,0" /> <topright rect="0,0,0,0" /> <left rect="0,0,0,0" /> <middle rect="0,0,600,685" /> <right rect="0,0,0,0" /> <bottomleft rect="0,0,0,0" /> <bottom rect="0,0,0,0" /> <bottomright rect="0,0,0,0" /> </framedef> <framedef name="charsheet_covers"> <bitmap file="rulesets\tssi\frames\charsheet_covers.png" /> <topleft rect="0,0,0,0" /> <top rect="0,0,0,0" /> <topright rect="0,0,0,0" /> <left rect="0,0,0,0" /> <middle rect="0,0,600,685" /> <right rect="0,0,0,0" /> <bottomleft rect="0,0,0,0" /> <bottom rect="0,0,0,0" /> <bottomright rect="0,0,0,0" /> </framedef>
Code:<windowclass name="charsheet"> <datasource name="charsheet" /> <defaultsize width="600" height="685" /> <defaultposition x="415" y="50" /> <minimize /> <nodelete /> <playercontrol /> <sheetdata> <subwindow name="1bio"> <class name="charsheet_bio" /> <activate /> </subwindow> <subwindow name="2vitals"> <class name="charsheet_vitals" /> </subwindow> <subwindow name="3skills"> <class name="charsheet_skills" /> </subwindow> <subwindow name="4combat"> <class name="charsheet_combat" /> </subwindow> <subwindow name="5gear"> <class name="charsheet_gear" /> </subwindow> <subwindow name="6covers"> <class name="charsheet_covers" /> </subwindow> <windowchangecontrol> <bounds rect="550, 37, 19, 43" /> <target name="1bio" /> </windowchangecontrol> <windowchangecontrol> <bounds rect="550, 98, 19, 84" /> <target name="2vitals" /> </windowchangecontrol> <windowchangecontrol> <bounds rect="550,203,19,84" /> <target name="3skills" /> </windowchangecontrol> <windowchangecontrol> <bounds rect="550,308,19,84" /> <target name="4combat" /> </windowchangecontrol> <windowchangecontrol> <bounds rect="550,393,19,76" /> <target name="5gear" /> </windowchangecontrol> <windowchangecontrol> <bounds rect="550,487,19,85" /> <target name="6covers" /> </windowchangecontrol> </sheetdata> </windowclass>
I can do everything else on the character sheet, but the hotspots for the character sheet changing never appear. It'll even crash FG if I try to click around there too much...
Suggestions? Did I miss a control somewhere?Last edited by mr_h; July 15th, 2006 at 19:05.
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!
-
July 15th, 2006, 19:09 #2
Speelcheck
Nevermind. It helps if you learn to speel correctly.
*Slaps himself*
*And I call myself an english major*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!
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks