DICE PACKS BUNDLE
Page 8 of 11 First ... 678910 ... Last
  1. #71
    Quote Originally Posted by damned View Post
    Hola Amatiste

    I think that Top Secret would be easily achieved in MoreCore. Holler if you need help.
    Will do thanks

  2. #72
    LordEntrails's Avatar
    Join Date
    May 2015
    Location
    -7 UTC
    Posts
    17,272
    Blog Entries
    9
    Top Secret? Ooh, ah... haven't played that since puberty!

    Problems? See; How to Report Issues, Bugs & Problems
    On Licensing & Distributing Community Content
    Community Contributions: Gemstones, 5E Quick Ref Decal, Adventure Module Creation, Dungeon Trinkets, Balance Disturbed, Dungeon Room Descriptions
    Note, I am not a SmiteWorks employee or representative, I'm just a user like you.

  3. #73
    Okey, now I am kinda stuck at several places. First thing first, a combo box.

    So I've added the combo box code from CoreRpg into my extension:

    Code:
    <combobox name="checkselected">
    				<anchored to="characterinfo" position="insidetopleft" offset="25,0" width="100" height="20" />
    				<default textres="ps_default_groupability" />
    				<gmvisibleonly />
    				<script>
    					function onInit()
    						super.onInit();
    						addItems(DataCommon.psrace);
    					end
    				</script>
    </combobox>

    Then I've added the script and given it the name "DataCommon", and under "psrace" I've added the following:

    Code:
    psrace = {
    		Interface.getString("Reiklander"),
    		Interface.getString("Dwarf"),
    		Interface.getString("Elf"),
    		Interface.getString("Hafling"),
    	};
    THEN I've added some strings in my string file.

    Code:
    <root>
    		
    		<!-- Common -->
    		<string name="Reiklander">Reiklander</string>
    		<string name="Dwarf">Dwarf</string>
    		<string name="Elf">Elf</string>
    		<string name="Hafling">Hafling</string>
    		
    		<string name="ps_default_groupability">Reiklander</string>
    		
    </root>
    And now I get the following error:

    [4/22/2020 9:05:01 PM] [<color="red">ERROR</color>] Failed script initialization (DataCommon): [string "scripts/data_common.lua"]:4: attempt to index global 'Interface' (a nil value)
    I belive the strings are correct as it can find the "ps_default_groupabilty" string and add Reiklander as the default choice.
    And now I don't know where to keep on troubleshooting.

    EDIT: Just got another error:

    [4/22/2020 9:23:28 PM] [<color="red">ERROR</color>] Script execution error: [string "common/scripts/combobox.lua"]:337: bad argument #1 to 'ipairs' (table expected, got nil)
    Last edited by ShakyLuigi; April 22nd, 2020 at 20:26. Reason: New error

  4. #74
    damned's Avatar
    Join Date
    Mar 2011
    Location
    Australia
    Posts
    26,685
    Blog Entries
    1
    Hey Shaky

    I am unable to make any time to help you on this debugging right now
    FYI I will be making a Races tool, similar to Classes, for MoreCore very soon.

  5. #75
    No worries. I'm just happy you've helped me so much allready.
    I have plenty of other things I need to do with the extension, so maybe I'll get some ideas for troubleshooting through that.

  6. #76
    Damned, Quick question. I copied and renamed the file record_char_notes in Morecore/campaign to be able to change things for the Top Secret sheet I am working on, where do you put your own version for the extension? Do you make a campaign folder?
    Last edited by Amatiste; May 6th, 2020 at 00:24.

  7. #77
    damned's Avatar
    Join Date
    Mar 2011
    Location
    Australia
    Posts
    26,685
    Blog Entries
    1
    Quote Originally Posted by Amatiste View Post
    Damned, Quick question. I copied and renamed the file record_char_notes in Morecore/campaign to be able to change things for the Top Secret sheet I am working on, where do you put your own version for the extension? Do you make a campaign folder?
    Its best to replicate the file/folder structure - obviously only include the things you are changing.

  8. #78
    Quote Originally Posted by damned View Post
    Attached is the extension code up to the end of video five so you can easily access the source files if you cannot follow it completely from the videos.
    Note that the manager_custom_thac0.lua and manager_custom_dbdamage.lua are contained within MoreCore and not within the extension.
    This may be a basic question but how do I take the ext file and produce the xml and lua files?

  9. #79
    damned's Avatar
    Join Date
    Mar 2011
    Location
    Australia
    Posts
    26,685
    Blog Entries
    1
    FG uses several different file extensions

    .pak is for rulesets
    .ext is for extensions
    .mod is for modules
    .ppk is for portraits

    All of them are actually ZIP files. If you install 7zip it will recognise files as such.

  10. #80
    damned's Avatar
    Join Date
    Mar 2011
    Location
    Australia
    Posts
    26,685
    Blog Entries
    1
    Quote Originally Posted by Amatiste View Post
    Damned, Quick question. I copied and renamed the file record_char_notes in Morecore/campaign to be able to change things for the Top Secret sheet I am working on, where do you put your own version for the extension? Do you make a campaign folder?
    Amatiste I have had a little side fling and made a Top Secret extension.
    I will post it very soon and would welcome any feedback.

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
  •  
FG Spreadshirt Swag

Log in

Log in