LordEntrails
February 23rd, 2026, 18:23
For a ruleset that is a child of CoreRPG I'm looking to add some fields to the Combat Tracker. I'm having a couple of challenges:
1) Unable to override the name/nonid_name fields in the ct_entry and keep the space/effects/etc spacing correct. I want to override the name/nonid_name because currently the underscore is too long, it goes under all my new fields. See image, notice how the field underline extends into the new fields on the right?
66677
Current code is:
<windowclass name="ct_entry" merge="join">
<sheetdata>
<number_ct_crosslink name="initresult">
<frame name="fielddark" />
<bounds>10265,5,30,30</bounds>
<tabtarget>
<prev>nonid_name</prev>
</tabtarget>
<hideonvalue>0</hideonvalue>
<script>function update()
window.windowlist.applySort();
end
</script>
</number_ct_crosslink>
<number_ct_crosslink name="bptotal">
<frame name="fielddark" />
<bounds>10295,5,35,30</bounds>
<tabtarget>
<prev>nonid_name</prev>
</tabtarget>
<script>function update()
window.windowlist.applySort();
end
</script>
</number_ct_crosslink>
<number_ct_crosslink name="wounds">
<frame name="fielddark" />
<bounds>10330,5,35,30</bounds>
<tabtarget>
<prev>nonid_name</prev>
</tabtarget>
<hideonvalue>0</hideonvalue>
<script>function update()
window.windowlist.applySort();
end
</script>
</number_ct_crosslink>
<button_stringcycler name="mapcurrent">
<frame name="buttonup" offset="0,0,0,0" />
<bounds>10365,5,35,28</bounds>
<color>#FFFFFFFF</color>
<parameters>
<defaultlabelres>ct_entry_mapcurrent_DefaultLabel</defaultlabelres>
<labelsres>ct_entry_mapcurrent_Label__20|ct_entry_mapcurrent_ Label__40|ct_entry_mapcurrent_Label__60|ct_entry_m apcurrent_Label__80</labelsres>
<values>-20|-40|-60|-80</values>
</parameters>
</button_stringcycler>
</sheetdata>
</windowclass>
If I add in the name/nonid string fields then the Space/Target/Effects windows end up loosing their anchors and end up on top of the main entry row.
66678
How can I control the length of the name and nonid_name fields and retain the stacking?
2) How to add the default Active (attacks) and Defenses icons to the CT entry. I've only just begun to look at this in DnD 5E, but advice would be appreciated. Is their someplace simple to turn this on in the templates or do I have to add more to the ct)entry field? And at that point should I still do the merge:join or just completely overwrite the windowclass?
3) How to Add a Round Reset. I want to be able to do a Reset Round to 1. Any examples of this? It's not tied to Rests like 5E, so I'm thinking a separate action int he round right mouse menu, but where to look for examples?
4) How to Add custom Items to the CT Menu Button. I want to add some GM "reset" actions (similar to rests) for my ruleset that will reset a Destiny points (FG CounterList) on the characters on the Combat Tracker. Similar to a Rest. Where to start? As Well I want to add/enable to the Roll Initiative action like 5E has. Where to start?
5) Linking CT Fields between the PC/NPC sheets and the CT. I've tried, and failed, to do this in the past. Would like for HP to be populated from the PC/NPC sheet to the CT when added to the CT. For wounds to be tracked between both (can players edit on their sheet and on the CT?). Also have another field (MAP=Multi Action Penalty) that has a list of values I would like linked between the PC and CT (NPCs only have on the CT). Where to start?
6) Reset field value on Character Turn Start. Low priority, but while I'm here... The MAP field on the CS and CT, I would like this to reset to zero when the actor starts there turn each round. Where to start?
1) Unable to override the name/nonid_name fields in the ct_entry and keep the space/effects/etc spacing correct. I want to override the name/nonid_name because currently the underscore is too long, it goes under all my new fields. See image, notice how the field underline extends into the new fields on the right?
66677
Current code is:
<windowclass name="ct_entry" merge="join">
<sheetdata>
<number_ct_crosslink name="initresult">
<frame name="fielddark" />
<bounds>10265,5,30,30</bounds>
<tabtarget>
<prev>nonid_name</prev>
</tabtarget>
<hideonvalue>0</hideonvalue>
<script>function update()
window.windowlist.applySort();
end
</script>
</number_ct_crosslink>
<number_ct_crosslink name="bptotal">
<frame name="fielddark" />
<bounds>10295,5,35,30</bounds>
<tabtarget>
<prev>nonid_name</prev>
</tabtarget>
<script>function update()
window.windowlist.applySort();
end
</script>
</number_ct_crosslink>
<number_ct_crosslink name="wounds">
<frame name="fielddark" />
<bounds>10330,5,35,30</bounds>
<tabtarget>
<prev>nonid_name</prev>
</tabtarget>
<hideonvalue>0</hideonvalue>
<script>function update()
window.windowlist.applySort();
end
</script>
</number_ct_crosslink>
<button_stringcycler name="mapcurrent">
<frame name="buttonup" offset="0,0,0,0" />
<bounds>10365,5,35,28</bounds>
<color>#FFFFFFFF</color>
<parameters>
<defaultlabelres>ct_entry_mapcurrent_DefaultLabel</defaultlabelres>
<labelsres>ct_entry_mapcurrent_Label__20|ct_entry_mapcurrent_ Label__40|ct_entry_mapcurrent_Label__60|ct_entry_m apcurrent_Label__80</labelsres>
<values>-20|-40|-60|-80</values>
</parameters>
</button_stringcycler>
</sheetdata>
</windowclass>
If I add in the name/nonid string fields then the Space/Target/Effects windows end up loosing their anchors and end up on top of the main entry row.
66678
How can I control the length of the name and nonid_name fields and retain the stacking?
2) How to add the default Active (attacks) and Defenses icons to the CT entry. I've only just begun to look at this in DnD 5E, but advice would be appreciated. Is their someplace simple to turn this on in the templates or do I have to add more to the ct)entry field? And at that point should I still do the merge:join or just completely overwrite the windowclass?
3) How to Add a Round Reset. I want to be able to do a Reset Round to 1. Any examples of this? It's not tied to Rests like 5E, so I'm thinking a separate action int he round right mouse menu, but where to look for examples?
4) How to Add custom Items to the CT Menu Button. I want to add some GM "reset" actions (similar to rests) for my ruleset that will reset a Destiny points (FG CounterList) on the characters on the Combat Tracker. Similar to a Rest. Where to start? As Well I want to add/enable to the Roll Initiative action like 5E has. Where to start?
5) Linking CT Fields between the PC/NPC sheets and the CT. I've tried, and failed, to do this in the past. Would like for HP to be populated from the PC/NPC sheet to the CT when added to the CT. For wounds to be tracked between both (can players edit on their sheet and on the CT?). Also have another field (MAP=Multi Action Penalty) that has a list of values I would like linked between the PC and CT (NPCs only have on the CT). Where to start?
6) Reset field value on Character Turn Start. Low priority, but while I'm here... The MAP field on the CS and CT, I would like this to reset to zero when the actor starts there turn each round. Where to start?