Thread: MoreCore Ruleset
-
January 12th, 2020, 02:14 #1771
Hi Jedrious
That is not in my plans for MoreCore.
You can write an extension to add another Tab for more Rolls or you could overwrite the MoreData tab with your definitions.
The required code looks like this:
Code:<list_text name="cliroller"> <anchored to="cas2"> <left offset="10" /> <top offset="30" /> <right offset="-4" /> <bottom offset="-10" /> </anchored> <newfocus>name</newfocus> <datasource>.clilist2</datasource> <class>cli_rolls</class> <acceptdrop> <class>cas</class> <class>trackers</class> <field>*</field> </acceptdrop> </list_text> <scrollbar_rolls name="scroll_2"> <anchored to="cas2" /> <target>cliroller</target> </scrollbar_rolls>
cliroller is the listname - each list needs a unique name
cas2 is the parent frame name - each list is typically in a separate frame, each frame has a unique name (in fact all named entities should have unique names)
.clilist is the node name in the database - each list needs its own node
the accept drop section is where it tells the list what datatypes to accept - trackers is largely redundant since we combined that functionality into rolls (previously called cas)
the scrollbar is for lists that overrun the frame length/height
-
January 12th, 2020, 02:29 #1772
- Join Date
- Jul 2017
- Posts
- 27
screenshot moredata.jpg Just to make sure, the highlighted section is what I would replace, correct?
-
January 12th, 2020, 02:32 #1773
Pretty much yes - You would need to anchor to data2 and update the relevant names from the code I posted.
-
January 12th, 2020, 02:32 #1774
- Join Date
- Jul 2017
- Posts
- 27
Thank you
-
January 12th, 2020, 02:51 #1775
- Join Date
- Jul 2017
- Posts
- 27
I just received an error when ctrl+scrollwheel on a roll (This is on 1.51, I have not yet saved any changes that I have in store for the panels)
Script Error: [string "scripts/parameter_manager.lua"]:21: attempt to index a nil value
-
January 12th, 2020, 03:13 #1776
You might need to add the whole
<windowclass name="cli_rolls">
from more to moredata
and remove
<windowclass name="list_trackers">
and
<windowclass name="list_newtrackers">
please note i posted only the first line of each - you would need the whole code section.
-
January 12th, 2020, 03:16 #1777
- Join Date
- Jul 2017
- Posts
- 27
This was in the More tab (and like I said, have not saved any changes to the ruleset as of yet, still deciding whether to change MoreData or add another tab)
-
January 12th, 2020, 03:21 #1778
You will need to provide more info.
Please export the character and upload it and also tell me exactly what you did to create the error.
-
January 12th, 2020, 03:31 #1779
- Join Date
- Jul 2017
- Posts
- 27
On the More Tab, for the P.P.E. roll in the personal energy panel, while hovering over the modifier, I used ctrl+scrollwheel to change the number and that gave me the error.
-
January 12th, 2020, 03:37 #1780
Come and join me in the FG discord and go thru this with me.
There is no Roll data in any of your rolls - they are all empty.
I cannot follow your direction - there is no field labelled Modifier in your rolls in PPE?
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks