Hi all !
I've manually changed SS6.4 from 1TPY to 2TPY. Everything works fine, including ageing, except 2 things:
- BGR4 recap scripts doesn't show any longer
- Impossible to alt+tab (basically I've got to ctrl+alt+del or let whatever background window opened to go back to OS)
Here's my new script if it can help
:
Code:
declare_counter semester
set_counter semester 1
monitor_event FactionTurnEnd FactionType slave
and I_CompareCounter semester > 1
console_command season summer
end_monitor
monitor_event PreFactionTurnStart FactionIsLocal ; set the season for each semester
if I_CompareCounter semester == 1 ;April, May, June, July, Aug, Sept
console_command season summer
end_if
if I_CompareCounter semester == 2 ;Oct, Nov, Dec, Jan, Feb, March
console_command season winter
end_if
inc_counter semester 1 ;advance the semester
if I_CompareCounter semester == 3 ;start a new year
set_counter semester 1
end_if
end_monitor
compared with original code:
Code:
declare_counter season
declare_counter turn
set_counter turn 0
monitor_event FactionTurnEnd FactionType slave
console_command season winter
set_counter turn 1
end_monitor
monitor_event PreFactionTurnStart I_CompareCounter turn = 1
inc_counter season 1
if I_CompareCounter season = 1
console_command season summer
end_if
if I_CompareCounter season = 2
console_command season winter
set_counter season 0
end_if
set_counter turn 0
end_monitor
I got rid of the turns counter since I didn't understand what it stood for. Any idea on this small issue
? Is my new script correct ?