Fantasy Grounds Fridays Pre
Page 11 of 36 First ... 91011121321 ... Last
  1. #101
    damned's Avatar
    Join Date
    Mar 2011
    Location
    Australia
    Posts
    23,229
    Blog Entries
    1
    Many thanks psicodelix

    Alternatively if I wanted to recreate the NPC sheet completely in the Wizard how would you attach these scripts (from CoreRPG)

    Code:
    	Line 22: 		<script file="campaign/scripts/npc.lua" />
    	Line 64: 		<script file="campaign/scripts/npc_header.lua" />
    	Line 105: 		<script file="campaign/scripts/npc_main.lua" />
    	Line 139: 				<script file="campaign/scripts/npc_roll.lua" />

    MoreCore - Generic Ruleset
    --- Projects ---
    Extensions | Tutorials | MoreCore | MoreCore Themes | Call of Cthulhu | Maelstrom | FG Con

  2. #102
    The project is interesting seems promising. I was wondering if it would already support using a picture as background for the character sheet defining then boxes for variables and values to use in LUA scripting? I have tried the demo but was unable to try this.

  3. #103
    damned's Avatar
    Join Date
    Mar 2011
    Location
    Australia
    Posts
    23,229
    Blog Entries
    1
    yes you can use a picture as a background.
    first define the picture as a frame and then you can use it.

    you can place number fields where you want them and use them for scripting yes.

    MoreCore - Generic Ruleset
    --- Projects ---
    Extensions | Tutorials | MoreCore | MoreCore Themes | Call of Cthulhu | Maelstrom | FG Con

  4. #104
    Thank you damned, this is really nice.

  5. #105
    Quote Originally Posted by damned View Post
    Many thanks psicodelix

    Alternatively if I wanted to recreate the NPC sheet completely in the Wizard how would you attach these scripts (from CoreRPG)

    Code:
        Line 22:         <script file="campaign/scripts/npc.lua" />
        Line 64:         <script file="campaign/scripts/npc_header.lua" />
        Line 105:         <script file="campaign/scripts/npc_main.lua" />
        Line 139:                 <script file="campaign/scripts/npc_roll.lua" />
    You can use a Custom property to do this:

    Custom_property_npc.jpg

    I've found and fixed an error answering this, so make sure to download and install the latest 0.3.9 version before testing it.
    Ruleset Wizard
    The Ruleset Development Environment
    www.rulesetwizard.com
    Ruleset Wizard Tutorials
    Damned's Ruleset Wizard Tutorials

  6. #106
    damned's Avatar
    Join Date
    Mar 2011
    Location
    Australia
    Posts
    23,229
    Blog Entries
    1
    Using the Combat tracker example extension I see the following in

    [11/21/2020 12:03:51 AM] [WARNING] window: Unable to locate control (activateeffects) specified in insertbefore attribute for control (link) in windowclass (ct_entry)
    [11/21/2020 12:03:51 AM] [WARNING] window: Unable to locate control (targetingicon) specified in insertbefore attribute for control (name) in windowclass (ct_entry)
    [11/21/2020 12:03:51 AM] [WARNING] window: Unable to locate control (targetingicon) specified in insertbefore attribute for control (nonid_name) in windowclass (ct_entry)

    I dont see any issue with the code generated but it is causing some warnings/errors and the link_ct_entry hides behind activateeffects making it unclickable.

    MoreCore - Generic Ruleset
    --- Projects ---
    Extensions | Tutorials | MoreCore | MoreCore Themes | Call of Cthulhu | Maelstrom | FG Con

  7. #107
    Ok, in fact the ct_entry window class uses two relative anchor controls, top and right, and in the example I only created the upper anchor. Another custom control is needed to set the relative right reference for the other controls. Attached is the example updated.
    Attached Files Attached Files
    Ruleset Wizard
    The Ruleset Development Environment
    www.rulesetwizard.com
    Ruleset Wizard Tutorials
    Damned's Ruleset Wizard Tutorials

  8. #108
    I'm currently working on some options to allow an easier redesign of complex windows like combat tracker and NPC sheet, without needing to use custom anchoring controls.

    Stay tuned.
    Ruleset Wizard
    The Ruleset Development Environment
    www.rulesetwizard.com
    Ruleset Wizard Tutorials
    Damned's Ruleset Wizard Tutorials

  9. #109
    damned's Avatar
    Join Date
    Mar 2011
    Location
    Australia
    Posts
    23,229
    Blog Entries
    1
    On launching the new project example I get -

    ERROR
    Cannot load property CanGrowVert
    Object reference not set to an instance of an object

    MoreCore - Generic Ruleset
    --- Projects ---
    Extensions | Tutorials | MoreCore | MoreCore Themes | Call of Cthulhu | Maelstrom | FG Con

  10. #110
    damned's Avatar
    Join Date
    Mar 2011
    Location
    Australia
    Posts
    23,229
    Blog Entries
    1
    Followed by

    ERROR
    Cannot load property StackVertWith
    Object reference not set to an instance of an object

    And i get them both twice.

    MoreCore - Generic Ruleset
    --- Projects ---
    Extensions | Tutorials | MoreCore | MoreCore Themes | Call of Cthulhu | Maelstrom | FG Con

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

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