FG Spreadshirt Swag
Page 2 of 2 First 12
  1. #11
    damned's Avatar
    Join Date
    Mar 2011
    Location
    Australia
    Posts
    26,638
    Blog Entries
    1
    So you literally just need something like this?
    Is there a min/max value?
    Is there a default value?
    Should it show in Combat Tracker or Party Sheet?
    Should anything happen to it when double clicked?



    energy.png

  2. #12
    Hey damned,

    Yes, just show on the sheet is all we need. I realize it's just a cosmetic change and should be simple. I've gone through the code and made some progress on where it's located but that's it. There are function calls I can't locate to see if they need additions, etc and so on. The graphic there was done by one of our GM's wife who works in graphic design. She kindly mocked one up for us.

    It's just a box that we can type in any value as the Character Types each have their own way of calculating 'energy'. It does nothing else. We'll alter it as we need by just changing the value. Could set a default of 0 if you think it necessary. It does not need to go on the combat tracker and doesn't need a maximum value either.

    thanks so much!
    Cal

    PS: that color scheme you have on that sheet is awesome as well as the layout heh.
    Last edited by Calibre2112; January 9th, 2023 at 10:11. Reason: answer the questions

  3. #13
    Here is where I think it has to go with what I believe to be the 'changes'. I know you don't need me to tell you this. Just want to show that I was trying heh heh. The below is a copy from our discord code channel where I'm discussing what's needed with another Coder GM

    <number_charwounds name="wounds" source="hp.wounds">
    <anchored to="hpframe" position="insidetopright" offset="120,27" width="40" height="28" />
    <description textres="char_tooltip_wounds" />
    </number_charwounds>
    <label_fieldtop name="wounds_label">
    <anchored to="wounds" />
    <static textres="char_label_wounds" />
    </label_fieldtop>

    Starts with < of course...it got cut off in the copy

    <number_charenergy name="Energy" source="hp.energy">
    <anchored to="hpframe" position="insidetopright" offset="120,27" width="40" height="28" />
    <description textres="char_tooltip_energy" />
    </number_charenergy>
    <label_fieldtop name="energy_label">
    <anchored to="energy" />
    <static textres="char_label_energy" />
    </label_fieldtop>

    everything with 'energy' will have to be added

    His response:

    yeah. the code for HP, Temp, Wounds, Subdual should all be what we are looking for


    Cal

    PS: to go into the <---Defense---> field is what I figured. Just wondering if I was close heh
    Last edited by Calibre2112; January 9th, 2023 at 10:35.

  4. #14

  5. #15
    damned, wow man. That's fully awesome! I can't wait to fire it up.

    Hey man, was I even close with the code discussion above?

    thanks indeed
    Cal

  6. #16
    damned's Avatar
    Join Date
    Mar 2011
    Location
    Australia
    Posts
    26,638
    Blog Entries
    1
    Code:
    <?xml version="1.0" encoding="iso-8859-1"?>
    
    <root>
    	<windowclass name="charsheet_main" merge="join">
    		<sheetdata>
    			<number_energy name="energy" source="energy" insertbefore="cmd">
    				<anchored to="touchac" position="below" offset="0,20" height="28" />
    			</number_energy>
    			<label_fieldtop name="energy_label">
    				<anchored to="energy" />
    				<static text="Energy" />
    			</label_fieldtop>
    		</sheetdata>
    	</windowclass>
    
    </root>
    
    <template name="number_energy">
    	<number>
    		<frame name="fieldlight" offset="7,5,7,5" />
    	</number>
    </template>

  7. #17
    Thanks! My fellow coder and I will analyze.

    Cal

  8. #18

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