Results 1 to 30 of 102

Thread: A Beginner's Guide to Scripting & Scripting "How To"s

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Default Re: A Beginner's Guide to Scripting & Scripting "How To"s

    Quote Originally Posted by Atilius
    The "show me how" button on the advisor should be dark (un-ghosted) until you click it. Is this what you see?
    Please explain "Dark" and "Ghosted/Un-Ghosted", and how this corresponds to 'greyed-out' vs. 'active'.

    I (as far as I can tell) did everything correctly according to Richard's instructions. My problem is; The "Show Me How" button is greyed out and un-clickable.

    I reset the advisor in the options, as well as changing the Advice Level to 'High', but the Show Me How button is still greyed out (and now that snotty wench pops up to tell me everything she's told me once before already).

    I'm trying to do the force_diplomacy accept thing. Here's my files:

    data\export_descr_advice.txt:
    Code:
    ;------------------------------------------
    AdviceThread Help_Campaign_Keyboard_Shortcuts_Scroll_Thread
        GameArea Campaign
    
        Item Help_Campaign_Keyboard_Shortcuts_Scroll_Text_01
            Uninhibitable
            Verbosity  0 
            Threshold  1 
            Attitude Normal
            Presentation Default
            Title Help_Campaign_Keyboard_Shortcuts_Scroll_Text_01_Title
            Script scripts\show_me\forcedip.txt
            Text Help_Campaign_Keyboard_Shortcuts_Scroll_Text_01_Text1
    data\scripts\show me\forcedip.txt:
    Code:
    script
    
    command_console force_diplomacy accept
    
    end_script
    Now, I added this script while in the middle of an Imperial Campaign, and I'm just wondering if that's the problem...

    On another subject;

    Where does this game hide the Targas? I've looked for them everywhere. There are data files that refer to them, but the targas themselves don't appear to exist anywhere. Like "roman_official_ancillary.tga" for example.

  2. #2
    Bibliophilic Member Atilius's Avatar
    Join Date
    Oct 2005
    Location
    America Medioccidentalis Superior
    Posts
    3,837

    Default Re: A Beginner's Guide to Scripting & Scripting "How To"s

    Quote Originally Posted by Tombstone
    Please explain "Dark" and "Ghosted/Un-Ghosted", and how this corresponds to 'greyed-out' vs. 'active'.
    Dark, Un-Ghosted=active
    Ghosted=greyed-out

    Your export_descr_advice.txt looks OK.

    As for the script, you have

    Code:
    command_console force_diplomacy accept
    This should be

    Code:
    console_command force_diplomacy accept
    Quote Originally Posted by Tombstone
    Where does this game hide the Targas?
    You need to unpack the files in the packs folder. There's a link to Vercingetorix's xpak in this post. Usage info here.
    The truth is the most valuable thing we have. Let us economize it. - Mark Twain



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
  •  
Single Sign On provided by vBSSO