Results 1 to 6 of 6

Thread: test_message CTD

  1. #1
    aka AggonyAdherbal Member Lord Adherbal's Avatar
    Join Date
    Oct 2004
    Location
    Belgium
    Posts
    1,014

    Default test_message CTD

    whenever I try to run the test_message command through a script I get an immediate CTD. For example:

    console_command test_message outlawed

    Is there any reason/solution for this ?
    Member of The Lordz Games Studio:
    A new game development studio focusing on historical RTS games of the sword & musket era
    http://www.thelordzgamesstudio.com

    Member of The Lordz Modding Collective:
    Creators of Napoleonic Total War I & II
    http://www.thelordz.co.uk

  2. #2

    Default Re: test_message CTD

    I can't think of one. I've use test_message (and that message in particular) successfully in the past. The only problems I've ever had was the message not appearing, because it seems only certain messages can be activated by by this command.
    .
    Epistolary Richard's modding Rules of Cool
    Cool modders make their mods with the :mod command line switch
    If they don't, then Cool mod-users use the Mod Enabler (JSGME)
    Cool modders use show_err
    Cool modders use the tutorials database Cool modders check out the Welcome to the Modding Forums! thread Cool modders keep backups Cool modders help each other out

  3. #3
    Member Member Stuie's Avatar
    Join Date
    Aug 2001
    Location
    Upper Gwynedd, PA
    Posts
    406

    Default Re: test_message CTD

    Quote Originally Posted by [cF]Adherbal
    whenever I try to run the test_message command through a script I get an immediate CTD.
    "immediate" when? When the command is triggered or when loading the script or when launching the game or something else?

  4. #4
    aka AggonyAdherbal Member Lord Adherbal's Avatar
    Join Date
    Oct 2004
    Location
    Belgium
    Posts
    1,014

    Default Re: test_message CTD

    when launching the script (the F1, click help button method). The only thing that is in the script is that line.

    so the script looks like:
    Code:
    script
    console_command test_message outlawed
    end_script
    Member of The Lordz Games Studio:
    A new game development studio focusing on historical RTS games of the sword & musket era
    http://www.thelordzgamesstudio.com

    Member of The Lordz Modding Collective:
    Creators of Napoleonic Total War I & II
    http://www.thelordz.co.uk

  5. #5
    Member Member Stuie's Avatar
    Join Date
    Aug 2001
    Location
    Upper Gwynedd, PA
    Posts
    406

    Default Re: test_message CTD

    The outlaw message is probably faction dependent, so you may need something in the script to identify which faction is being outlawed. Not sure if that could be part of the same console command (such as "console_command test_message outlawed faction = romans_julii" or something) or an event monitor wrapped around the console command.

    Not at my RTW computer right now so I can't test this out...

  6. #6

    Default Re: test_message CTD

    I've not had any joy trying to make messages more specific, the only thing that seems to work is the name in event_enums
    Epistolary Richard's modding Rules of Cool
    Cool modders make their mods with the :mod command line switch
    If they don't, then Cool mod-users use the Mod Enabler (JSGME)
    Cool modders use show_err
    Cool modders use the tutorials database Cool modders check out the Welcome to the Modding Forums! thread Cool modders keep backups Cool modders help each other out

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