Total War italia forum

12 turni in un anno

  • Messaggi
  • OFFLINE
    DavideCostantini
    Post: 139
    Registrato il: 31/10/2013
    Città: CASSINETTA DI LUGAGNANO
    Età: 26
    Sesso: Maschile
    Moderatore
    optio
    modder di medieval 2
    00 05/11/2013 18:34
    Impostando il timescale nel descr_strat a 0.0835 si ottengono 12 turni per anno.
    Purtroppo i personaggi continuano ad invecchiare comunque di 1 anno ogni 2 turni (come se un turno corrispondesse a 6 mesi anzichè 1).

    uno script però trasforma anche ogni singolo turno in uno specifico mese e quindi regola anche le stagioni. Il PROBLEMA di questo script è che funziona unicamente per il single player, mentre invece non funziona sulle hotseat!
    Lo script è questo

    declare_counter month
    set_counter month 1 ;Set to January

    monitor_event FactionTurnStart FactionIsLocal ; set the season for each month
    if I_CompareCounter month == 1 ;January
    console_command season winter
    end_if

    if I_CompareCounter month == 2 ;February
    console_command season winter
    end_if

    if I_CompareCounter month == 3 ;March
    console_command season summer
    end_if

    if I_CompareCounter month == 4 ;April
    console_command season summer
    end_if

    if I_CompareCounter month == 5 ;May
    console_command season summer
    end_if

    if I_CompareCounter month == 6 ;June
    console_command season summer
    end_if

    if I_CompareCounter month == 7 ;July
    console_command season summer
    end_if

    if I_CompareCounter month == 8 ;August
    console_command season summer
    end_if

    if I_CompareCounter month == 9 ;September
    console_command season summer
    end_if

    if I_CompareCounter month == 10 ;October
    console_command season winter
    end_if

    if I_CompareCounter month == 11 ;November
    console_command season winter
    end_if

    if I_CompareCounter month == 12 ;December
    console_command season winter
    end_if

    inc_counter month 1 ;advance the month
    if I_CompareCounter month == 13 ;start a new year
    set_counter month 1
    end_if
    end_monitor

    monitor_event FactionTurnEnd FactionType slave
    and I_CompareCounter month < 12
    console_command season summer
    end_monitor

    wait_monitors

    end_script

    Premetto che lo script io non l'ho mai usato, l'avevo letto sul forum mtwitalia
    Il loro silenzio è un'eloquente affermazione
    (Marco Tullio Cicerone)

    Domandare non costa che un istante di imbarazzo, non domandare è essere imbarazzati per tutta la vita
    proverbio Giapponese
  • RikiTW
    00 05/11/2013 20:41
    Funziona solo per med 2, giusto?
  • OFFLINE
    DavideCostantini
    Post: 139
    Registrato il: 31/10/2013
    Città: CASSINETTA DI LUGAGNANO
    Età: 26
    Sesso: Maschile
    Moderatore
    optio
    modder di medieval 2
    00 05/11/2013 21:34
    È fatto per med 2, non so se funziona anche con rome
    Il loro silenzio è un'eloquente affermazione
    (Marco Tullio Cicerone)

    Domandare non costa che un istante di imbarazzo, non domandare è essere imbarazzati per tutta la vita
    proverbio Giapponese
  • OFFLINE
    DavideCostantini
    Post: 139
    Registrato il: 31/10/2013
    Città: CASSINETTA DI LUGAGNANO
    Età: 26
    Sesso: Maschile
    Moderatore
    optio
    modder di medieval 2
    00 05/11/2013 21:38
    Scusate per il doppio topic, ero col telefono e ho cliccato due volte
    Il loro silenzio è un'eloquente affermazione
    (Marco Tullio Cicerone)

    Domandare non costa che un istante di imbarazzo, non domandare è essere imbarazzati per tutta la vita
    proverbio Giapponese
  • OFFLINE
    DavideCostantini
    Post: 139
    Registrato il: 31/10/2013
    Città: CASSINETTA DI LUGAGNANO
    Età: 26
    Sesso: Maschile
    Moderatore
    optio
    modder di medieval 2
    00 03/07/2014 20:54
    24 turni per anno!!!
    Cari amici, grazie a questo script ne ho potuto fare un altro che consente di avere 24 turni per anno!
    Eccolo:

    script
    declare_counter month
    set_counter month 1 ;Set to January

    monitor_event FactionTurnStart FactionIsLocal ; set the season for each month
    if I_CompareCounter month == 1 ;Gennaio 1
    console_command season winter
    end_if

    if I_CompareCounter month == 2 ;Gennaio 2
    console_command season winter
    end_if

    if I_CompareCounter month == 3 ;Febbraio 1
    console_command season winter
    end_if

    if I_CompareCounter month == 4 ;Febbraio 2
    console_command season winter
    end_if

    if I_CompareCounter month == 5 ;Marzo 1
    console_command season winter
    end_if

    if I_CompareCounter month == 6 ;Marzo 2
    console_command season summer
    end_if

    if I_CompareCounter month == 7 ;Aprile 1
    console_command season summer
    end_if

    if I_CompareCounter month == 8 ;Aprile 2
    console_command season summer
    end_if

    if I_CompareCounter month == 9 ;Maggio 1
    console_command season summer
    end_if

    if I_CompareCounter month == 10 ;Maggio 2
    console_command season summer
    end_if

    if I_CompareCounter month == 11 ;Giugno 1
    console_command season summer
    end_if

    if I_CompareCounter month == 12 ;Giugno 2
    console_command season summer
    end_if

    if I_CompareCounter month == 13 ;Luglio 1
    console_command season summer
    end_if

    if I_CompareCounter month == 14 ;Luglio 2
    console_command season summer
    end_if

    if I_CompareCounter month == 15 ;Agosto 1
    console_command season summer
    end_if

    if I_CompareCounter month == 16 ;Agosto 2
    console_command season summer
    end_if

    if I_CompareCounter month == 17 ;Settembre 1
    console_command season summer
    end_if

    if I_CompareCounter month == 18 ;Settembre 2
    console_command season winter
    end_if

    if I_CompareCounter month == 19 ;Ottobre 1
    console_command season winter
    end_if

    if I_CompareCounter month == 20 ;Ottobre 2
    console_command season winter
    end_if

    if I_CompareCounter month == 21 ;Novembre 1
    console_command season winter
    end_if

    if I_CompareCounter month == 22 ;Novembre 2
    console_command season winter
    end_if

    if I_CompareCounter month == 23 ;Dicembre 1
    console_command season winter
    end_if

    if I_CompareCounter month == 24 ;Dicembre 2
    console_command season winter
    end_if
    inc_counter month 1 ;advance the month
    if I_CompareCounter month == 25 ;Inizia un nuovo anno
    set_counter month 1
    end_if
    end_monitor

    monitor_event FactionTurnEnd FactionType slave
    and I_CompareCounter month < 24
    console_command season summer
    end_monitor


    Ovviamente dopo dovrete anche aprire il descr_strat e dopo le date di inizio e fine mettete il timescale a 0.0416
    esempio:

    start_date 1853 winter
    end_date 1856 winter
    timescale 0.0416
    Il loro silenzio è un'eloquente affermazione
    (Marco Tullio Cicerone)

    Domandare non costa che un istante di imbarazzo, non domandare è essere imbarazzati per tutta la vita
    proverbio Giapponese