Fantasy Grounds Fridays Pre
  1. #1

    Question regarding what XML to copy into an extension

    I was following Damned's video, 5E Character Sheet Extension, and like many of his videos, he deletes certain XML. I get that you want to streamline code, and eliminate potential issues. But, I can't, without watching the video to see exactly what he is deleting, determine what exactly TO delete. Since, eventually, this is going to get to me making my own stuff, not just following videos, Any advice as to what to delete when working on extensions?

    BTW Damned, another great video

    Thanks
    Amatiste

  2. #2
    damned's Avatar
    Join Date
    Mar 2011
    Location
    Australia
    Posts
    22,117
    Blog Entries
    1
    Which video exactly Amatiste?

    Generally include only the absolute minimum amount from the source.
    Usually you are modifying an existing behaviour or removing something or adding something small.

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

  3. #3
    Trenloe's Avatar
    Join Date
    May 2011
    Location
    Newcastle, UK (for a bit)
    Posts
    27,288
    Remove all but the "stuff" your extension actually uses. Extensions layer on top of existing code. So, in general, you only want to include what is required to make your change.
    FG Con 16 Fantasy Grounds Online RPG Convention - Postponed New date To Be Confirmed.
    Register at www.fg-con.com for all the latest info.

    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!

  4. #4
    Quote Originally Posted by damned View Post
    Which video exactly Amatiste?
    The one about adding the Sanity stat. I am trying to be able to make a character sheet in Core Only complaint i have is you didnt show till the second script file what top put in the extension.xml I kept trying to use includefile You actually decribed a lot better in this one what to remove, I was just wondering the whys and whats to delete for when I build something

Thread Information

Users Browsing this Thread

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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Joshua Stream Pre

Log in

Log in