Results 1 to 4 of 4

Thread: Need a bit of help!

Hybrid View

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

    Default Need a bit of help!

    I've shamelessly stolen part of the FOE script (for own use) to make more of the mission like events the mod had at the start.

    However, whenever the "mission/advice" is activated, my game crashes.

    I've been trying to figure out what is wrong, but sadly it's been no use.

    Here is what I've inserted into the background script:

    ;;; Turn 28
    console_command date -273
    console_command season summer
    if I_TurnNumber = 28
    and I_LocalFaction rome_republic

    disable_cursor
    disable_shortcuts true
    inhibit_camera_input true
    disable_shortcuts advisor_portrait_button false
    filter_all_ui_commands off

    move_strat_camera 285, 119
    reveal_tile 285, 118
    zoom_strat_camera 0.3
    campaign_wait 2
    ui_indicator 0 circle 512 275 colour 0 0 255 scale .8 ; Mastia

    enable_cursor
    disable_entire_ui
    disable_shortcuts options_button false

    disable_shortcuts advisor_dismiss_button false
    disable_shortcuts dismiss_advice false
    disable_shortcuts advisor_portrait_button false

    dismiss_advice
    while I_AdvisorVisible
    end_while
    advance_advice_thread Rebels_Lucanian_Sextus_Thread ; Spartacus

    restart_timer Campaign_Map_Timer

    ; Dismiss to continue. If not dismissed after 10 seconds, show hint.
    while I_AdvisorVisible
    monitor_conditions I_TimerElapsed Campaign_Map_Timer > 10000
    ui_flash_start advisor_dismiss_button ; uses ui_indicator slot 2
    terminate_monitor
    end_monitor
    end_while

    ui_flash_stop
    ui_indicator_remove 0

    filter_all_ui_commands on
    enable_entire_ui
    disable_shortcuts false
    inhibit_camera_input false
    end_if

    while I_TurnNumber < 29
    suspend_unscripted_advice true
    end_while


    Here is what I've added to the export_descr_advice:

    ;------------------------------------------
    AdviceThread Rebels_Lucanian_Sextus_Thread
    GameArea Campaign

    Item Rebels_Lucanian_Sextus_Text_01
    Uninhibitable
    Verbosity 3
    Threshold 1
    Attitude Normal
    Presentation Default
    Title Rebels_Lucanian_Sextus_Text_01_Title
    Text Rebels_Lucanian_Sextus_Text_01_Text1



    Here is what I've put into the export_descr_advice_enums:
    Rebels_Lucanian_Sextus_Title
    Rebels_Lucanian_Sextus_Text1



    And here is what I've added to the export_advice:

    ¬---------------------
    {Rebels_Lucanian_Sextus_Text_01_Title} The Lucanians rebel!
    {Rebels_Lucanian_Sextus__Text_01_Text1} Senators, the Lucanians have revolted! Displeased with our harsh and rightful treatment of these treacherous barbarians, after they aided the king of Epiros, has led to open rebellion. They must be put to the sword, so that we can be at peace!



    Any help in uncovering what mistake I've made would be awesome.
    Last edited by Cozur; November 19, 2009 at 11:34 AM.

  2. #2
    HouseOfHam's Avatar Primicerius
    Join Date
    Apr 2007
    Location
    Minnesota, USA
    Posts
    3,030

    Default Re: Need a bit of help!

    - There is an extra underscore in {Rebels_Lucanian_Sextus__Text_01_Text1}. Since it can't find the right tag, you get a CTD.
    - enum entries are not needed when using 1.5/1.6 - you can just remove that whole file
    RTR website/SVN admin

    - Settlement coordinate locator -for RTW/M2TW
    - EDB Validator v1.2.8 (Oct 16, 2012) - for RTW/M2TW
    - RTW scripting tutorials
    - n-turns per year script generator

  3. #3

    Default Re: Need a bit of help!

    Well, I should have seen that myself, how embarrasing.

    Thank you.

  4. #4
    Brusilov's Avatar Local Moderator
    Citizen

    Join Date
    Sep 2005
    Location
    Dublin, ROI
    Posts
    18,588

    Default Re: Need a bit of help!

    Answered & closed - enjoy your modding!

    Local Forum Moderator (Total War: Eras Technical Help, Shogun 2: Total War, RSII, RTR, World Of Tanks) - please no PMs

    War Thunder TWC Player Names: here


Posting Permissions

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