PDA

View Full Version : Modify tabs in character sheet DnD 5e



gaziel79
September 4th, 2020, 02:29
Hello.

I'm working translating FGU to my party. I am very advanced, I think, but there are some questions that are difficults to me. :confused:

For example, I need to change the name of tabs in the Character sheets in D&D 5e. Anyone can help me? :D

The tabs are Main, Skills, Abilities, Inventory, Notes, Log, Actions

I want to change in Principal, Habilidades, Rasgos, Inventario, Descripción, Notas, Acciones

Thanks a lot for your help. :o

Moon Wizard
September 4th, 2020, 02:59
The tabs are actually graphic icon elements, since FG does not do rotated text. Most are located in graphics/tabs/ folder of CoreRPG ruleset; and are defined in the graphics/graphics_tabs.xml file.

Regards,
JPG

SilentRuin
September 4th, 2020, 03:03
Hello.

I'm working translating FGU to my party. I am very advanced, I think, but there are some questions that are difficults to me. :confused:

For example, I need to change the name of tabs in the Character sheets in D&D 5e. Anyone can help me? :D

The tabs are Main, Skills, Abilities, Inventory, Notes, Log, Actions

I want to change in Principal, Habilidades, Rasgos, Inventario, Descripción, Notas, Acciones

Thanks a lot for your help. :o

If you look (assuming 5E) in 5E\campaign\record_char.xml you will see the following:



<tabs_charsheet name="tabs">
<tab>
<icon>tab_main</icon>
<subwindow>main</subwindow>
</tab>
<tab>
<icon>tab_skills</icon>
<subwindow>skills</subwindow>
</tab>
<tab>
<icon>tab_abilities</icon>
<subwindow>abilities</subwindow>
</tab>
<tab>
<icon>tab_inventory</icon>
<subwindow>inventory</subwindow>
</tab>
<tab>
<icon>tab_notes</icon>
<subwindow>notes</subwindow>
</tab>
<tab>
<icon>tab_log</icon>
<subwindow>logs</subwindow>
</tab>
<tab>
<icon>tab_actions</icon>
<subwindow>actions</subwindow>
</tab>
<activate>1</activate>
</tabs_charsheet>



The <icon> name is what you'll want to look up and change. Or provide your own name and definition. Look at the current icons and you'll see what you need to do.

gaziel79
September 4th, 2020, 10:05
Thanks for all, I will go to try.

(I edit now)

Thanks, its goes. But the complet process is the next:

1) You have to search the file "base.xml" and edit it as follows:

In this entry:
<!-- Graphics -->
You have to write down this one:
<includefile source="graphics/graphics_tabs.xml" />

2) You have to create a file, into the folder graphics, (you can copy other, change the name and erase all to later write ii) named "graphics_tabs.xml"

and you have to put it as follows:

<?xml version="1.0" encoding="iso-8859-1"?>

<!--
Please see the license.html file included with this distribution for
attribution and copyright information.
-->

<root>
<!-- Vertical tab names -->
<icon name="tab_main" file="graphics/tabs/tab_main.png" />
<icon name="tab_skills" file="graphics/tabs/tab_skills.png" />
<icon name="tab_abilities" file="graphics/tabs/tab_abilities.png" />
<icon name="tab_notes" file="graphics/tabs/tab_notes.png" />
<icon name="tab_log" file="graphics/tabs/tab_log.png" />
<icon name="tab_inventory" file="graphics/tabs/tab_inventory.png" />
<icon name="tab_actions" file="graphics/tabs/tab_actions.png" />
<icon name="tab_order" file="graphics/tabs/tab_order.png" />
<icon name="tab_xp" file="graphics/tabs/tab_xp.png" />

</root>

3) you have to put your png files into the tabs folder graphics\tabs. The Png files have to be a size of 13 x 43 pixels.

and then, you save the zip file


Thanks for all.