DICE PACKS BUNDLE
Page 2 of 2 First 12
  1. #11
    damned's Avatar
    Join Date
    Mar 2011
    Location
    Australia
    Posts
    26,684
    Blog Entries
    1
    Doh!
    Too many things running around my head just now - yes we talked about Traps being NPCs...

    The spells thingy sounds like coding to me...

  2. #12
    Trenloe's Avatar
    Join Date
    May 2011
    Location
    Colorado, USA
    Posts
    33,404
    Quote Originally Posted by damned View Post
    The spells thingy sounds like coding to me...
    Nothing gets past you!
    Private Messages: My inbox is forever filling up with PMs. Please don't send me PMs unless they are actually private/personal messages. General FG questions should be asked in the forums - don't be afraid, the FG community don't bite and you're giving everyone the chance to respond and learn!

  3. #13
    phantomwhale's Avatar
    Join Date
    Aug 2007
    Location
    Melbourne, Australia
    Posts
    1,370
    Regarding putting these things on a wishlist; moon_wizard does maintain a list of things people want in the CoreRPG ruleset that most rulesets will soon be built on top of, as well as in Fantasy Grounds in general.

    However, if there is something that's really only relavant to Castles & Crusades, Dr. Venture started up a side list to track those: https://cncdev.idea.informer.com/

    Might be better to track C&C stuff there, esp. as I hear rumours that someone might start picking off some of those items real soon.

    Regards,
    Ben (-PW-)
    Former SW ruleset / Deadlands extension author. Now I just wanna play a few games. And maybe hack. A little.

  4. #14

  5. #15
    JohnD's Avatar
    Join Date
    Mar 2012
    Location
    Johnstown ON
    Posts
    5,320
    Blog Entries
    1
    Forgot to point out that when you have an ability that gives you a bonus to something (i.e. Fearless) you can hover your mouse pointer over the box with the basic modifier and roll the wheel and it will increase or decrease and you'll see the modifier in a small bubble. Probably not explaining it well and don't have access to a screenshot.
    "I am a Canadian, free to speak without fear, free to worship in my own way, free to stand for what I think right, free to oppose what I believe wrong, or free to choose those who shall govern my country. This heritage of freedom I pledge to uphold for myself and all mankind."

    - John Diefenbaker

    RIP Canada, February 21, 2022

  6. #16
    As I'm working through the Castles & Crusades plugin for Hero Lab, I'm at the same time working on a converter that takes Hero Lab output xml and creates an input xml for Fantasy Grounds.

    The current part I'm working on is getting gear into the inventory.

    I started with weapons and armor.

    I know I can drag stuff from the players handbook onto the character sheet...

    What I want to know is there's some way to drag an item (like a long sword) from the inventory tab, and have it appear in the combat tab.

    I know that if you drag it from the players handbook, it does this. But my XML so far only populates inventory, there's a different section for combat inventory.

    So, what happens is I'm populating inventory, but it's not appearing in the combat tab.

    It's easy enough to code this, but just wondering if there's a way to drag something from the inventory and make it appear in the combat tab.



    TL : DR
    Can you drag an item from the inventory tab and have it appear in the combat tab?


    BoomerET
    No signature needed, please leave parcel on the porch.

  7. #17
    Trenloe's Avatar
    Join Date
    May 2011
    Location
    Colorado, USA
    Posts
    33,404
    Quote Originally Posted by dberkompas View Post
    TL : DR
    Can you drag an item from the inventory tab and have it appear in the combat tab?
    I don't think you can - at least I haven't found a way to do it through the user interface.

    But, you want to do this programmatically, right?

    Look in campaign\scripts\manager_char.lua (in the C&C ruleset) and you'll find a function called addtoWeaponDB(nodeitem) - this function can be called to add an item DB record to the <weaponlist> entry in the charsheet database.

    This will give you an idea of the code and database structure used to create a <weaponlist> database entry based off the inventory item data.

    EDIT: You might be able to write a right-click function in an extension that can be used to run addtoWeaponDB for a specific inventory item??

    Or, put a flag in your original inventory list XML that indicates it is from an external source (import) and then have code in an extension that parses through the inventory items and creates the weaponlist entries with addtoWeaponDB - then remove the flag so that it only happens the first time the character sheet is opened.
    Last edited by Trenloe; March 20th, 2014 at 19:18.
    Private Messages: My inbox is forever filling up with PMs. Please don't send me PMs unless they are actually private/personal messages. General FG questions should be asked in the forums - don't be afraid, the FG community don't bite and you're giving everyone the chance to respond and learn!

  8. #18
    Trenloe,

    Thanks for all that info, wow.

    I think the best way for me to handle this is just add the weaponlist to my existing code. Don't want players/GM's to have to depend on an extension.
    (Unless of course, it makes it's way into the official package?)


    BoomerET
    No signature needed, please leave parcel on the porch.

  9. #19

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 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
  •  
STAR TREK 2d20

Log in

Log in