Page 2 of 2 FirstFirst 12
Results 21 to 31 of 31

Thread: [PItalica2] Preview : Winter script

  1. #21
    Hister's Avatar Domesticus
    Join Date
    Sep 2006
    Location
    Slovenia
    Posts
    2,233

    Default Re: A Notice on the Winter script

    Sigg, if I remember correctly that part is hardcoded.
    PROUD MEMBER OF PAENINSULA ITALICA TEAM

    For M2TW PI forum click here.
    For RTW PI forum click here.

  2. #22
    Opifex
    Join Date
    Feb 2005
    Location
    New York, USA
    Posts
    15,154

    Default Re: A Notice on the Winter script

    Nope, it is perfectly available. I don't think I'll have time to insert it into the current patch, as I'm assembling it at the very moment, but probably with the next one.


    "If ye love wealth greater than liberty,
    the tranquility of servitude greater than
    the animating contest for freedom, go
    home from us in peace. We seek not
    your counsel, nor your arms. Crouch
    down and lick the hand that feeds you,
    and may posterity forget that ye were
    our countrymen."
    -Samuel Adams

  3. #23
    Hister's Avatar Domesticus
    Join Date
    Sep 2006
    Location
    Slovenia
    Posts
    2,233

    Default Re: A Notice on the Winter script

    Oh good to hear then.
    PROUD MEMBER OF PAENINSULA ITALICA TEAM

    For M2TW PI forum click here.
    For RTW PI forum click here.

  4. #24

    Icon1 Re: A Notice on the Winter script

    SigniferOne: This might be of some interest to you. It’s a script that fines the player if they are campaigning in winter. For each captain or general left outside a settlement when the winter turned starts and ends the player is fined:
    Spoiler Alert, click show to read: 
    Code:
    campaign_script:
    
    ;###### Winter Campaigning Script 0.1 #######
    
    declare_counter winter_campaigning
    
    	monitor_event CharacterTurnEnd CharacterIsLocal
    		and CharFactionType romani
    		and AgentType >= general
    		and not EndedInSettlement
    		and I_EventCounter quarter = 4
    		inc_counter winter_campaigning 1
    	end_monitor
    
    	monitor_event CharacterTurnEnd CharacterIsLocal
    		and CharFactionType romani
    		and AgentType >= general
    		and not EndedInSettlement
    		and I_EventCounter quarter = 1
    		inc_counter winter_campaigning 1
    	end_monitor
    
    	monitor_event FactionTurnStart FactionIsLocal
    		if I_CompareCounter winter_campaigning = 1
    		historic_event winter_campaigning_debt_level_1
    	end_if
    		if I_CompareCounter winter_campaigning = 2
    		historic_event winter_campaigning_debt_level_2
    	end_if
    		if I_CompareCounter winter_campaigning = 3
    		historic_event winter_campaigning_debt_level_3
    	end_if
    		if I_CompareCounter winter_campaigning = 4
    		historic_event winter_campaigning_debt_level_4
    	end_if
    		if I_CompareCounter winter_campaigning = 5
    		historic_event winter_campaigning_debt_level_5
    	end_if
    		if I_CompareCounter winter_campaigning = 6
    		historic_event winter_campaigning_debt_level_6
    	end_if
    		if I_CompareCounter winter_campaigning = 7
    		historic_event winter_campaigning_debt_level_7
    	end_if
    		if I_CompareCounter winter_campaigning = 8
    		historic_event winter_campaigning_debt_level_8
    	end_if
    		if I_CompareCounter winter_campaigning = 9
    		historic_event winter_campaigning_debt_level_9
    	end_if
    		if I_CompareCounter winter_campaigning = 10
    		historic_event winter_campaigning_debt_level_10
    	end_if
    		if I_CompareCounter winter_campaigning = 11
    		historic_event winter_campaigning_debt_level_11
    	end_if
    		if I_CompareCounter winter_campaigning = 12
    		historic_event winter_campaigning_debt_level_12
    	end_if
    		if I_CompareCounter winter_campaigning = 13
    		historic_event winter_campaigning_debt_level_13
    	end_if
    		if I_CompareCounter winter_campaigning = 14
    		historic_event winter_campaigning_debt_level_14
    	end_if
    		if I_CompareCounter winter_campaigning = 15
    		historic_event winter_campaigning_debt_level_15
    	end_if
    		if I_CompareCounter winter_campaigning = 16
    		historic_event winter_campaigning_debt_level_16
    	end_if
    		if I_CompareCounter winter_campaigning = 17
    		historic_event winter_campaigning_debt_level_17
    	end_if
    		if I_CompareCounter winter_campaigning = 18
    		historic_event winter_campaigning_debt_level_18
    	end_if
    		if I_CompareCounter winter_campaigning = 19
    		historic_event winter_campaigning_debt_level_19
    	end_if
    		if I_CompareCounter winter_campaigning = 20
    		historic_event winter_campaigning_debt_level_20
    	end_if
    	end_monitor
    
    	monitor_event FactionTurnStart FactionIsLocal
    		and FactionType romani
    		while I_CompareCounter winter_campaigning > 0
    		add_money romani -500
    		inc_counter winter_campaigning -1
    	end_while
    	end_monitor
    
    historic_events:
    
    {WINTER_CAMPAIGNING_DEBT_LEVEL_1_BODY}Consul, the expense of campaigning into winter has cost the republic 500 gold pieces.	
    {WINTER_CAMPAIGNING_DEBT_LEVEL_1_TITLE}Winter Campaigning
    {WINTER_CAMPAIGNING_DEBT_LEVEL_2_BODY}Consul, the expense of campaigning into winter has cost the republic 1,000 gold pieces.
    {WINTER_CAMPAIGNING_DEBT_LEVEL_2_TITLE}Winter Campaigning
    {WINTER_CAMPAIGNING_DEBT_LEVEL_3_BODY}Consul, the expense of campaigning into winter has cost the republic 1,500 gold pieces.
    {WINTER_CAMPAIGNING_DEBT_LEVEL_3_TITLE}Winter Campaigning
    {WINTER_CAMPAIGNING_DEBT_LEVEL_4_BODY}Consul, the expense of campaigning into winter has cost the republic 2,000 gold pieces.
    {WINTER_CAMPAIGNING_DEBT_LEVEL_4_TITLE}Winter Campaigning
    {WINTER_CAMPAIGNING_DEBT_LEVEL_5_BODY}Consul, the expense of campaigning into winter has cost the republic 2,500 gold pieces.
    {WINTER_CAMPAIGNING_DEBT_LEVEL_5_TITLE}Winter Campaigning
    {WINTER_CAMPAIGNING_DEBT_LEVEL_6_BODY}Consul, the expense of campaigning into winter has cost the republic 3,000 gold pieces.
    {WINTER_CAMPAIGNING_DEBT_LEVEL_6_TITLE}Winter Campaigning
    {WINTER_CAMPAIGNING_DEBT_LEVEL_7_BODY}Consul, the expense of campaigning into winter has cost the republic 3,500 gold pieces.
    {WINTER_CAMPAIGNING_DEBT_LEVEL_7_TITLE}Winter Campaigning
    {WINTER_CAMPAIGNING_DEBT_LEVEL_8_BODY}Consul, the expense of campaigning into winter has cost the republic 4,000 gold pieces.
    {WINTER_CAMPAIGNING_DEBT_LEVEL_8_TITLE}Winter Campaigning
    {WINTER_CAMPAIGNING_DEBT_LEVEL_9_BODY}Consul, the expense of campaigning into winter has cost the republic 4,500 gold pieces.
    {WINTER_CAMPAIGNING_DEBT_LEVEL_9_TITLE}Winter Campaigning
    {WINTER_CAMPAIGNING_DEBT_LEVEL_10_BODY}Consul, the expense of campaigning into winter has cost the republic 5,000 gold pieces.
    {WINTER_CAMPAIGNING_DEBT_LEVEL_10_TITLE}Winter Campaigning
    {WINTER_CAMPAIGNING_DEBT_LEVEL_11_BODY}Consul, the expense of campaigning into winter has cost the republic 5,500 gold pieces.
    {WINTER_CAMPAIGNING_DEBT_LEVEL_11_TITLE}Winter Campaigning
    {WINTER_CAMPAIGNING_DEBT_LEVEL_12_BODY}Consul, the expense of campaigning into winter has cost the republic 6,000 gold pieces.
    {WINTER_CAMPAIGNING_DEBT_LEVEL_12_TITLE}Winter Campaigning
    {WINTER_CAMPAIGNING_DEBT_LEVEL_13_BODY}Consul, the expense of campaigning into winter has cost the republic 6,500 gold pieces.
    {WINTER_CAMPAIGNING_DEBT_LEVEL_13_TITLE}Winter Campaigning
    {WINTER_CAMPAIGNING_DEBT_LEVEL_14_BODY}Consul, the expense of campaigning into winter has cost the republic 7,000 gold pieces.
    {WINTER_CAMPAIGNING_DEBT_LEVEL_14_TITLE}Winter Campaigning
    {WINTER_CAMPAIGNING_DEBT_LEVEL_15_BODY}Consul, the expense of campaigning into winter has cost the republic 7,500 gold pieces.
    {WINTER_CAMPAIGNING_DEBT_LEVEL_15_TITLE}Winter Campaigning
    {WINTER_CAMPAIGNING_DEBT_LEVEL_16_BODY}Consul, the expense of campaigning into winter has cost the republic 8,000 gold pieces.
    {WINTER_CAMPAIGNING_DEBT_LEVEL_16_TITLE}Winter Campaigning
    {WINTER_CAMPAIGNING_DEBT_LEVEL_17_BODY}Consul, the expense of campaigning into winter has cost the republic 8,500 gold pieces.
    {WINTER_CAMPAIGNING_DEBT_LEVEL_17_TITLE}Winter Campaigning
    {WINTER_CAMPAIGNING_DEBT_LEVEL_18_BODY}Consul, the expense of campaigning into winter has cost the republic 9,000 gold pieces.
    {WINTER_CAMPAIGNING_DEBT_LEVEL_18_TITLE}Winter Campaigning
    {WINTER_CAMPAIGNING_DEBT_LEVEL_19_BODY}Consul, the expense of campaigning into winter has cost the republic 9,500 gold pieces.
    {WINTER_CAMPAIGNING_DEBT_LEVEL_19_TITLE}Winter Campaigning
    {WINTER_CAMPAIGNING_DEBT_LEVEL_20_BODY}Consul, the expense of campaigning into winter has cost the republic 10,000 gold pieces.
    {WINTER_CAMPAIGNING_DEBT_LEVEL_20_TITLE}Winter Campaigning

  5. #25
    alhoon's Avatar Comes Rei Militaris
    Moderator Emeritus

    Join Date
    Apr 2008
    Location
    Chania, Greece
    Posts
    24,758

    Default Re: A Notice on the Winter script

    We have something a bit simpler in mind. Of course it's SO's call of how or what would be implemented.
    Thank you though, it's a very good script.
    alhoon is not a member of the infamous Hoons: a (fictional) nazi-sympathizer KKK clan. Of course, no Hoon would openly admit affiliation to the uninitiated.
    "Angry Uncle Gordon" describes me well.
    _______________________________________________________
    Beta-tester for Darthmod Empire, the default modification for Empire Total War that does not ask for your money behind patreon.
    Developer of Causa Belli submod for Darthmod, headed by Hammeredalways and a ton of other people.
    Developer of LtC: Random maps submod for Lands to Conquer (that brings a multitude of random maps and other features).

  6. #26

    Icon1 Re: A Notice on the Winter script

    That script I posted doesn't quite work as intended I think the problem has something to do with it being integrating with the 4tpy script. Here a new version which is independent of the 4tpy script:
    Spoiler Alert, click show to read: 
    Code:
    campaign_script:
    
    ; #############################################################################	
    ; ##############################  4TPY SCRIPT  ################################
    ; #############################################################################	
    
    declare_counter quarter
    set_counter quarter 1
    
    	monitor_event PreFactionTurnStart FactionIsLocal
    		if I_CompareCounter quarter = 1
    		console_command season summer
    	end_if	
    		if I_CompareCounter quarter = 2
    		console_command season summer
    	end_if	
    		if I_CompareCounter quarter = 3
    		console_command season summer
    	end_if	
    		if I_CompareCounter quarter = 4
    		console_command season winter
    	end_if	
    		inc_counter quarter 1
    		if I_CompareCounter quarter = 5
    		set_counter quarter 1
    	end_if
    	end_monitor
    
    monitor_event FactionTurnEnd FactionType slave
    	and I_CompareCounter quarter > 1
    	console_command season summer
    end_monitor
    
    ;###### Winter Campaigning Script 0.4 #######
    
    declare_counter winter_campaigning
    set_event_counter time_of_year 1
    
    	monitor_event FactionTurnEnd FactionType slave
    		inc_event_counter time_of_year 1
    		if I_EventCounter time_of_year = 5
    		set_event_counter time_of_year 1
    	end_if
    	end_monitor
    
    	monitor_event CharacterTurnEnd CharacterIsLocal
    		and CharFactionType romani
    		and AgentType >= general
    		and I_EventCounter time_of_year = 3
    		and not EndedInSettlement
    		inc_counter winter_campaigning 1
    	end_monitor
    
    	monitor_event CharacterTurnEnd CharacterIsLocal
    		and CharFactionType romani
    		and AgentType >= general
    		and I_EventCounter time_of_year = 4
    		and not EndedInSettlement
    		inc_counter winter_campaigning 1
    	end_monitor
    
    	monitor_event FactionTurnStart FactionIsLocal
    		if I_CompareCounter winter_campaigning = 1
    		historic_event winter_campaigning_debt_level_1
    	end_if
    		if I_CompareCounter winter_campaigning = 2
    		historic_event winter_campaigning_debt_level_2
    	end_if
    		if I_CompareCounter winter_campaigning = 3
    		historic_event winter_campaigning_debt_level_3
    	end_if
    		if I_CompareCounter winter_campaigning = 4
    		historic_event winter_campaigning_debt_level_4
    	end_if
    		if I_CompareCounter winter_campaigning = 5
    		historic_event winter_campaigning_debt_level_5
    	end_if
    		if I_CompareCounter winter_campaigning = 6
    		historic_event winter_campaigning_debt_level_6
    	end_if
    		if I_CompareCounter winter_campaigning = 7
    		historic_event winter_campaigning_debt_level_7
    	end_if
    		if I_CompareCounter winter_campaigning = 8
    		historic_event winter_campaigning_debt_level_8
    	end_if
    		if I_CompareCounter winter_campaigning = 9
    		historic_event winter_campaigning_debt_level_9
    	end_if
    		if I_CompareCounter winter_campaigning = 10
    		historic_event winter_campaigning_debt_level_10
    	end_if
    		if I_CompareCounter winter_campaigning = 11
    		historic_event winter_campaigning_debt_level_11
    	end_if
    		if I_CompareCounter winter_campaigning = 12
    		historic_event winter_campaigning_debt_level_12
    	end_if
    		if I_CompareCounter winter_campaigning = 13
    		historic_event winter_campaigning_debt_level_13
    	end_if
    		if I_CompareCounter winter_campaigning = 14
    		historic_event winter_campaigning_debt_level_14
    	end_if
    		if I_CompareCounter winter_campaigning = 15
    		historic_event winter_campaigning_debt_level_15
    	end_if
    		if I_CompareCounter winter_campaigning = 16
    		historic_event winter_campaigning_debt_level_16
    	end_if
    		if I_CompareCounter winter_campaigning = 17
    		historic_event winter_campaigning_debt_level_17
    	end_if
    		if I_CompareCounter winter_campaigning = 18
    		historic_event winter_campaigning_debt_level_18
    	end_if
    		if I_CompareCounter winter_campaigning = 19
    		historic_event winter_campaigning_debt_level_19
    	end_if
    		if I_CompareCounter winter_campaigning = 20
    		historic_event winter_campaigning_debt_level_20
    	end_if
    	end_monitor
    
    	monitor_event FactionTurnStart FactionIsLocal
    		and FactionType romani
    		while I_CompareCounter winter_campaigning > 0
    		add_money romani -500
    		inc_counter winter_campaigning -1
    	end_while
    	end_monitor
    
    historic_events:
    
    {WINTER_CAMPAIGNING_DEBT_LEVEL_1_BODY}Consul, the expense of campaigning into winter has cost the republic 500 gold pieces.	
    {WINTER_CAMPAIGNING_DEBT_LEVEL_1_TITLE}Winter Campaigning
    {WINTER_CAMPAIGNING_DEBT_LEVEL_2_BODY}Consul, the expense of campaigning into winter has cost the republic 1,000 gold pieces.
    {WINTER_CAMPAIGNING_DEBT_LEVEL_2_TITLE}Winter Campaigning
    {WINTER_CAMPAIGNING_DEBT_LEVEL_3_BODY}Consul, the expense of campaigning into winter has cost the republic 1,500 gold pieces.
    {WINTER_CAMPAIGNING_DEBT_LEVEL_3_TITLE}Winter Campaigning
    {WINTER_CAMPAIGNING_DEBT_LEVEL_4_BODY}Consul, the expense of campaigning into winter has cost the republic 2,000 gold pieces.
    {WINTER_CAMPAIGNING_DEBT_LEVEL_4_TITLE}Winter Campaigning
    {WINTER_CAMPAIGNING_DEBT_LEVEL_5_BODY}Consul, the expense of campaigning into winter has cost the republic 2,500 gold pieces.
    {WINTER_CAMPAIGNING_DEBT_LEVEL_5_TITLE}Winter Campaigning
    {WINTER_CAMPAIGNING_DEBT_LEVEL_6_BODY}Consul, the expense of campaigning into winter has cost the republic 3,000 gold pieces.
    {WINTER_CAMPAIGNING_DEBT_LEVEL_6_TITLE}Winter Campaigning
    {WINTER_CAMPAIGNING_DEBT_LEVEL_7_BODY}Consul, the expense of campaigning into winter has cost the republic 3,500 gold pieces.
    {WINTER_CAMPAIGNING_DEBT_LEVEL_7_TITLE}Winter Campaigning
    {WINTER_CAMPAIGNING_DEBT_LEVEL_8_BODY}Consul, the expense of campaigning into winter has cost the republic 4,000 gold pieces.
    {WINTER_CAMPAIGNING_DEBT_LEVEL_8_TITLE}Winter Campaigning
    {WINTER_CAMPAIGNING_DEBT_LEVEL_9_BODY}Consul, the expense of campaigning into winter has cost the republic 4,500 gold pieces.
    {WINTER_CAMPAIGNING_DEBT_LEVEL_9_TITLE}Winter Campaigning
    {WINTER_CAMPAIGNING_DEBT_LEVEL_10_BODY}Consul, the expense of campaigning into winter has cost the republic 5,000 gold pieces.
    {WINTER_CAMPAIGNING_DEBT_LEVEL_10_TITLE}Winter Campaigning
    {WINTER_CAMPAIGNING_DEBT_LEVEL_11_BODY}Consul, the expense of campaigning into winter has cost the republic 5,500 gold pieces.
    {WINTER_CAMPAIGNING_DEBT_LEVEL_11_TITLE}Winter Campaigning
    {WINTER_CAMPAIGNING_DEBT_LEVEL_12_BODY}Consul, the expense of campaigning into winter has cost the republic 6,000 gold pieces.
    {WINTER_CAMPAIGNING_DEBT_LEVEL_12_TITLE}Winter Campaigning
    {WINTER_CAMPAIGNING_DEBT_LEVEL_13_BODY}Consul, the expense of campaigning into winter has cost the republic 6,500 gold pieces.
    {WINTER_CAMPAIGNING_DEBT_LEVEL_13_TITLE}Winter Campaigning
    {WINTER_CAMPAIGNING_DEBT_LEVEL_14_BODY}Consul, the expense of campaigning into winter has cost the republic 7,000 gold pieces.
    {WINTER_CAMPAIGNING_DEBT_LEVEL_14_TITLE}Winter Campaigning
    {WINTER_CAMPAIGNING_DEBT_LEVEL_15_BODY}Consul, the expense of campaigning into winter has cost the republic 7,500 gold pieces.
    {WINTER_CAMPAIGNING_DEBT_LEVEL_15_TITLE}Winter Campaigning
    {WINTER_CAMPAIGNING_DEBT_LEVEL_16_BODY}Consul, the expense of campaigning into winter has cost the republic 8,000 gold pieces.
    {WINTER_CAMPAIGNING_DEBT_LEVEL_16_TITLE}Winter Campaigning
    {WINTER_CAMPAIGNING_DEBT_LEVEL_17_BODY}Consul, the expense of campaigning into winter has cost the republic 8,500 gold pieces.
    {WINTER_CAMPAIGNING_DEBT_LEVEL_17_TITLE}Winter Campaigning
    {WINTER_CAMPAIGNING_DEBT_LEVEL_18_BODY}Consul, the expense of campaigning into winter has cost the republic 9,000 gold pieces.
    {WINTER_CAMPAIGNING_DEBT_LEVEL_18_TITLE}Winter Campaigning
    {WINTER_CAMPAIGNING_DEBT_LEVEL_19_BODY}Consul, the expense of campaigning into winter has cost the republic 9,500 gold pieces.
    {WINTER_CAMPAIGNING_DEBT_LEVEL_19_TITLE}Winter Campaigning
    {WINTER_CAMPAIGNING_DEBT_LEVEL_20_BODY}Consul, the expense of campaigning into winter has cost the republic 10,000 gold pieces.
    {WINTER_CAMPAIGNING_DEBT_LEVEL_20_TITLE}Winter Campaigning

    Because of the new script and the changes I made to the existing 4tpy script, I had to rewrite the ‘NonWinterBonus’ and ‘WinterPenalty’ traits, and their triggers:
    Spoiler Alert, click show to read: 
    Code:
    export_descr_character_traits:
    
    ;------------------------------------------
    Trait TimeOfYear
        Characters all
    		Hidden
        
        Level SummerTime
            Description SummerTime_desc
            EffectsDescription SummerTime_effects_desc
            Threshold  1 
            
            Effect MovementPoints  50 
    
        Level WinterTime
            Description WinterTime_desc
            EffectsDescription WinterTime_effects_desc
            Threshold  2 
            
            Effect MovementPoints  -11
    
    ;------------------------------------------
    Trigger time_of_year_summer_a
    	WhenToTest CharacterTurnEnd
    	Condition I_EventCounter time_of_year = 4
    		and Trait TimeOfYear = 0
        		and not AgentType = spy
        		and not AgentType = assassin
        		and not AgentType = diplomat
        		and not AgentType = admiral
        		and not AgentType = merchant
    
    	Affects TimeOfYear  1  Chance  100
    
    ;------------------------------------------
    Trigger time_of_year_summer_b
    	WhenToTest CharacterTurnEnd
    	Condition I_EventCounter time_of_year = 4
    		and Trait TimeOfYear = 2
        		and not AgentType = spy
        		and not AgentType = assassin
        		and not AgentType = diplomat
        		and not AgentType = admiral
        		and not AgentType = merchant
    
    	Affects TimeOfYear  -1  Chance  100
    
    ;------------------------------------------
    Trigger Adoption_summer_a
        	WhenToTest OfferedForAdoption
        	Condition I_EventCounter time_of_year <= 3
    		and Trait TimeOfYear = 0
    
    	Affects TimeOfYear  1  Chance  100
    
    ;------------------------------------------
    Trigger adoption_summer_b
        	WhenToTest OfferedForAdoption
        	Condition I_EventCounter time_of_year <= 3
    		and Trait TimeOfYear = 2
    
    	Affects TimeOfYear  -1  Chance  100
    
    ;------------------------------------------
    
    Trigger lesser_adoption_summer_a
        	WhenToTest LesserGeneralOfferedForAdoption
        	Condition I_EventCounter time_of_year <= 3
    		and Trait TimeOfYear = 0
    
    	Affects TimeOfYear  1  Chance  100
    
    ;------------------------------------------
    Trigger lesser_adoption_summer_b
        	WhenToTest LesserGeneralOfferedForAdoption
        	Condition I_EventCounter time_of_year <= 3
    		and Trait TimeOfYear = 2
    
    	Affects TimeOfYear  -1  Chance  100
    
    ;------------------------------------------
    Trigger comes_of_Age_summer_a
        	WhenToTest CharacterComesOfAge
       	Condition I_EventCounter time_of_year <= 3
    		and Trait TimeOfYear = 0
    
    	Affects TimeOfYear  1  Chance  100
    
    ;------------------------------------------
    Trigger comes_of_age_summer_b
        	WhenToTest CharacterComesOfAge
       	Condition I_EventCounter time_of_year <= 3
    		and Trait TimeOfYear = 2
    
    	Affects TimeOfYear  -1  Chance  100
    
    ;------------------------------------------
    Trigger time_of_year_winter_a
    	WhenToTest CharacterTurnEnd
    	Condition I_EventCounter time_of_year = 3
    		and Trait TimeOfYear = 0
        		and not AgentType = spy
        		and not AgentType = assassin
        		and not AgentType = diplomat
        		and not AgentType = admiral
        		and not AgentType = merchant
    
    	Affects TimeOfYear  2  Chance  100
    
    ;------------------------------------------
    Trigger time_of_year_winter_b
    	WhenToTest CharacterTurnEnd
    	Condition I_EventCounter time_of_year = 3
    		and Trait TimeOfYear = 1
        		and not AgentType = spy
        		and not AgentType = assassin
        		and not AgentType = diplomat
        		and not AgentType = admiral
        		and not AgentType = merchant
    
    	Affects TimeOfYear  1  Chance  100
    
    ;------------------------------------------
    Trigger adoption_winter_a
        	WhenToTest OfferedForAdoption
        	Condition I_EventCounter time_of_year = 4
    		and Trait TimeOfYear = 0
    
    	Affects TimeOfYear  2  Chance  100
    
    ;------------------------------------------
    Trigger adoption_winter_b
        	WhenToTest OfferedForAdoption
        	Condition I_EventCounter time_of_year = 4
    		and Trait TimeOfYear = 1
    
    	Affects TimeOfYear  1  Chance  100
    
    ;------------------------------------------
    
    Trigger lesser_adoption_winter_a
        	WhenToTest LesserGeneralOfferedForAdoption
        	Condition I_EventCounter time_of_year = 4
    		and Trait TimeOfYear = 0
    
    	Affects TimeOfYear  2  Chance  100
    
    ;------------------------------------------
    Trigger lesser_adoption_winter_b
        	WhenToTest LesserGeneralOfferedForAdoption
        	Condition I_EventCounter time_of_year = 4
    		and Trait TimeOfYear = 1
    
    	Affects TimeOfYear  1  Chance  100
    
    ;------------------------------------------
    Trigger comes_of_age_winter_a
        	WhenToTest CharacterComesOfAge
       	Condition I_EventCounter time_of_year = 4
    		and Trait TimeOfYear = 0
    
    	Affects TimeOfYear  2  Chance  100
    
    ;------------------------------------------
    Trigger comes_of_age_winter_b
        	WhenToTest CharacterComesOfAge
       	Condition I_EventCounter time_of_year = 4
    		and Trait TimeOfYear = 1
    
    	Affects TimeOfYear  1  Chance  100
    
    export_vnvs:
    
    {SummerTime}Non Winter Bonus
    {SummerTime_desc}Improves movement speed during non-winter seasons.
    {SummerTime_effects_desc}Improves movement speed during non-winter seasons.
    {WinterTime}Winter Penalty
    {WinterTime_desc}Snow, cold weather and lack of food makes marching difficult.
    {WinterTime_effects_desc}Drastically reduces movement speed.

    The thought did occur to me that if another two levels were added to the ‘TimeOfYear’ trait you could set a movement speed for each season of the year.

    Also if you add the ‘TimeOfYear’ trait to the characters in the ‘descr_strat’ file they will have the right amount of movement points in the first turn.
    Last edited by TNZ; June 18, 2011 at 02:42 AM.

  7. #27

    Default Re: A Notice on the Winter script

    I really like mods were winter gives move penalties, though I feel the difference between armies led by a general and armies led by a captain is quite harsh, the difference is a little too big. IMO the move distance of captained forces should be doubled.

  8. #28
    alhoon's Avatar Comes Rei Militaris
    Moderator Emeritus

    Join Date
    Apr 2008
    Location
    Chania, Greece
    Posts
    24,758

    Default Re: A Notice on the Winter script

    I agree. Once the mod is out, I'll make a personal preferences mod that would have that.
    alhoon is not a member of the infamous Hoons: a (fictional) nazi-sympathizer KKK clan. Of course, no Hoon would openly admit affiliation to the uninitiated.
    "Angry Uncle Gordon" describes me well.
    _______________________________________________________
    Beta-tester for Darthmod Empire, the default modification for Empire Total War that does not ask for your money behind patreon.
    Developer of Causa Belli submod for Darthmod, headed by Hammeredalways and a ton of other people.
    Developer of LtC: Random maps submod for Lands to Conquer (that brings a multitude of random maps and other features).

  9. #29
    The Roman Republic's Avatar Alea iacta est
    Citizen Content Emeritus

    Join Date
    Apr 2011
    Location
    Lost in History.
    Posts
    3,396

    Default Re: [PItalica2] Preview : Winter script

    could this be transpired into RTW??

  10. #30
    alhoon's Avatar Comes Rei Militaris
    Moderator Emeritus

    Join Date
    Apr 2008
    Location
    Chania, Greece
    Posts
    24,758

    Default Re: [PItalica2] Preview : Winter script

    Not sure. I don't know which script conditions exist in RTW. I never scripted anything for that game.
    However, I would say that 70% it could be transfered into RTW even if it needs a bit more effort.
    alhoon is not a member of the infamous Hoons: a (fictional) nazi-sympathizer KKK clan. Of course, no Hoon would openly admit affiliation to the uninitiated.
    "Angry Uncle Gordon" describes me well.
    _______________________________________________________
    Beta-tester for Darthmod Empire, the default modification for Empire Total War that does not ask for your money behind patreon.
    Developer of Causa Belli submod for Darthmod, headed by Hammeredalways and a ton of other people.
    Developer of LtC: Random maps submod for Lands to Conquer (that brings a multitude of random maps and other features).

  11. #31
    Semisalis
    Join Date
    Sep 2011
    Location
    New Zealand
    Posts
    412

    Default Re: [PItalica2] Preview : Winter script

    Bug report - a very minor one

    In export_descr_character_traits.txt there are two triggers that have the same name AdoptionWinter

    Effect is very minor: one of the triggers might not fire so the nonwinterbonus will not be added that turn but the following year
    Last edited by Col.KanKrusha; August 26, 2014 at 11:10 PM.
    ~ Too soon old, too late smart ~

Page 2 of 2 FirstFirst 12

Posting Permissions

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