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 ?
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
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 CoolCool 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
"immediate" when? When the command is triggered or when loading the script or when launching the game or something else?Originally Posted by [cF]Adherbal
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
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...
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 CoolCool 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