DICE PACKS BUNDLE
  1. #1771
    damned's Avatar
    Join Date
    Mar 2011
    Location
    Australia
    Posts
    26,649
    Blog Entries
    1
    Quote Originally Posted by Jedrious View Post
    Yes, I would like the panels in the MoreData tab to be able to display and use rolls just like the panels in the MoreCore tab
    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

  2. #1772
    screenshot moredata.jpg Just to make sure, the highlighted section is what I would replace, correct?

  3. #1773

  4. #1774

  5. #1775
    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

  6. #1776
    damned's Avatar
    Join Date
    Mar 2011
    Location
    Australia
    Posts
    26,649
    Blog Entries
    1
    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.

  7. #1777
    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)

  8. #1778
    damned's Avatar
    Join Date
    Mar 2011
    Location
    Australia
    Posts
    26,649
    Blog Entries
    1
    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.

  9. #1779
    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.
    Attached Files Attached Files

  10. #1780
    damned's Avatar
    Join Date
    Mar 2011
    Location
    Australia
    Posts
    26,649
    Blog Entries
    1
    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 5 users browsing this thread. (0 members and 5 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
FG Spreadshirt Swag

Log in

Log in