-
January 9th, 2023, 08:48 #11
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
-
January 9th, 2023, 09:59 #12
- Join Date
- Mar 2020
- Posts
- 74
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
-
January 9th, 2023, 10:31 #13
- Join Date
- Mar 2020
- Posts
- 74
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 hehLast edited by Calibre2112; January 9th, 2023 at 10:35.
-
January 9th, 2023, 11:43 #14
-
January 9th, 2023, 11:49 #15
- Join Date
- Mar 2020
- Posts
- 74
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
-
January 9th, 2023, 11:56 #16Code:
<?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>
-
January 9th, 2023, 11:59 #17
- Join Date
- Mar 2020
- Posts
- 74
Thanks! My fellow coder and I will analyze.
Cal
-
January 9th, 2023, 14:36 #18
To load up a new campaign.
getting-started.jpg
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks