PDA

View Full Version : I would like to create an extension however I have problems in identifying the file..



YAKO SOMEDAKY
November 29th, 2018, 22:47
I do not know if I can make myself understood.
But I would like to know which CoreRPG file I should change to change the width of the text that is directed to the column that displays the type of group that the item is and something else, what file should I change to resize the window, and so adjust the size of it so that all created buttons appear ...
25439

Moon Wizard
November 29th, 2018, 23:36
That would be the "masterindex" window; and it would change the default and/or minimum width for every campaign list window.
Look in campaign/campaign_masterindex.xml on Line 71 for CoreRPG ruleset.

To override in an extension, it might look like this:


<windowclass name="masterindex" merge="join">
<placement>
<size width="550" height="450" />
</placement>
<sizelimits>
<minimum width="550" height="450" />
<dynamic />
</sizelimits>
</windowclass>


As an alternative, you could shorten the text on the buttons (Ex: "Adv. Gear", "Melee Wpn"), and use tooltips to give the full description.

Regards,
JPG

YAKO SOMEDAKY
November 29th, 2018, 23:42
Thanks! Moon Wizard :D

YAKO SOMEDAKY
November 30th, 2018, 00:03
Moon Wizard, I would like to know if it is in this file that I change the width of the column, column that sorts the group of the item?
In the case the column that is written Armas e Acessórios de Combate

Moon Wizard
November 30th, 2018, 00:16
You would need to replace the "masterindexitem_category" template, which defines a maximum size of 150. (campaign/template_campaign.xml at Line 902) However, if you make it bigger, it will shrink the available space to display the name. So, there will be tradeoff.

Regards,
JPG

YAKO SOMEDAKY
November 30th, 2018, 00:52
Thanks! You are the guy! :D

25443

damned
December 1st, 2018, 12:55
very informative.)

Bye bye...