Furthering the topic, the Army Field Morale system that will be included in the SSHIP in the next version is below.
In the current version of the SSHIP, there is a similar system but simpler and it concerns all difficulties. It lowers the morale while abroad and makes it higher while at home.
Description:
Army morale system[note that this system works only at the Very Hard campaign difficulty]
Each general has a trait describing current state of morale of troops under his command. If they have been in the homelands for some time, they’re likely to be Ready for Action. If the general is a Good Commander or Inspiring Speaker, they may even be Eager To Fight. In both cases they will have good morale in battles.
Once the army moves, it will lose morale after a few turns of marching and the troops will became Weary. It happens faster if they’re in enemy lands or at the sea, or they conduct a siege, or they lead by a Bad Commander. If they do campaign for very long time, they will became Despondent, Undisciplined and even Mutinous. It will result in lower morale in battles and slower movement on the campaign map. The general will also (temporarily) lose Loyalty and Command.
Anyway, for the troops to recover their morale, the army has to come back to the homelands and rest a bit, preferably in a settlement. Alternatively, it may fight ferociously stronger enemies – the victories will buoy up the spirit of every soldier!
The trait
Code:
;=========================================================================================;----- Army Campaign Morale -----------------------------
;--------------------------------------------------------
;--- levels(points): 1(4),2(8), 3(12), 4(16),5(20),6(24),7(28),8(32),9(36)
;------------------------------------------
Trait ArmyCampaignMorale
Characters family
Level ACM_Bent_On_Glory
Description ACM_Bent_On_Glory_desc
EffectsDescription ACM_Bent_On_Glory_effects_desc
Threshold 1
Effect Loyalty -2
Effect TroopMorale 3
Level ACM_Eager_To_Fight
Description ACM_Eager_To_Fight_desc
EffectsDescription ACM_Eager_To_Fight_effects_desc
LoseMessage ACM_Eager_To_Fight_lose_desc
Threshold 5
Effect TroopMorale 2
Level ACM_Ready_For_Action
Description ACM_Ready_For_Action_desc
EffectsDescription ACM_Ready_For_Action_effects_desc
Threshold 9
Effect TroopMorale 1
Level ACM_Troops_Weary
Description ACM_Troops_Weary_desc
EffectsDescription ACM_Troops_Weary_effects_desc
Threshold 13
Effect TroopMorale -1
Effect MovementPoints -1
Level ACM_Troops_Despondent
Description ACM_Troops_Despondent_desc
EffectsDescription ACM_Troops_Despondent_effects_desc
Threshold 17
Effect TroopMorale -2
Effect MovementPoints -2
Level ACM_Troops_Undisciplined
Description ACM_Troops_Undisciplined_desc
EffectsDescription ACM_Troops_Undisciplined_effects_desc
GainMessage ACM_Troops_Undisciplined_gain_desc
Threshold 21
Effect TroopMorale -3
Effect MovementPoints -3
Effect Command -1
Effect Loyalty -1
Level ACM_Troops_Desperate
Description ACM_Troops_Desperate_desc
EffectsDescription ACM_Troops_Desperate_effects_desc
GainMessage ACM_Troops_Desperate_gain_desc
Threshold 25
Effect TroopMorale -4
Effect MovementPoints -4
Effect Command -2
Effect Loyalty -2
Level ACM_Troops_Mutinous
Description ACM_Troops_Mutinous_desc
EffectsDescription ACM_Troops_Mutinous_effects_desc
GainMessage ACM_Troops_Mutinous_gain_desc
Threshold 29
Effect TroopMorale -5
Effect MovementPoints -5
Effect Command -3
Effect Loyalty -3
Level ACM_Too_Many_Years_Away
Description ACM_Too_Many_Years_Away_desc
EffectsDescription ACM_Too_Many_Years_Away_effects_desc
Threshold 33
Effect TroopMorale -5
Effect MovementPoints -5
Effect Command -3
Effect Loyalty -3
The in-game descriptions for the player
Code:
{ACM_Bent_On_Glory} Army Bent On Glory{ACM_Bent_On_Glory_desc} This General is inspiring his troops through great victories. They will follow him anywhere, even on the longest, hardest adventures. His Glory hunting is causing suspicion and resentment at home and creates dangerous thoughts about going his way alone.
{ACM_Bent_On_Glory_effects_desc} -2 Loyalty, +3 Morale for troops on the battlefield. Troops likely to keep their morale high for a long time.
{ACM_Eager_To_Fight} Troops Eager To Fight
{ACM_Eager_To_Fight_desc} His troops are eager to fight for him in a long campaign.
{ACM_Eager_To_Fight_effects_desc} +2 Morale for troops on the battlefield. Troops likely to keep their morale high for a long time.
{ACM_Eager_To_Fight_lose_desc} Strike while the iron is hot! This General is inspiring his troops, through great victories, they will follow him anywhere, even on the longest, hardest adventures!
{ACM_Ready_For_Action} Troops Ready For Action
{ACM_Ready_For_Action_desc} His troops are ready to fight for him in a campaign.
{ACM_Ready_For_Action_effects_desc} +1 Morale for troops on the battlefield
{ACM_Troops_Weary} Troops Weary
{ACM_Troops_Weary_desc} The troops need to recuperate their strenghts by resting in home lands, and even better in a settlement. A great battle won would make miracles to their morale, though.
{ACM_Troops_Weary_effects_desc} -1 Morale for troops on the battlefield, -1 movement point
{ACM_Troops_Despondent} Troops Despondent
{ACM_Troops_Despondent_desc} The army needs to rest in home lands, and even better in a settlement. A great battle won would make miracles to their morale, though.
{ACM_Troops_Despondent_effects_desc} -2 Morale for troops on the battlefield, -2 movement point
{ACM_Troops_Undisciplined} Troops Undisciplined
{ACM_Troops_Undisciplined_desc}Years on active service has taken it's toll. The army needs to rest in home lands, and even better in a settlement. A great battle won would make miracles to their morale, though.
{ACM_Troops_Undisciplined_effects_desc} -3 Morale for troops on the battlefield, -3 movement point\n -1 Command, -1 Loyalty
{ACM_Troops_Undisciplined_gain_desc}The troops need to recuperate their strenghts!
{ACM_Troops_Desperate} Troops Desperate
{ACM_Troops_Desperate_desc}Many years away from home have eroded this army's native values and discipline to a severe extent. It needs to rest in home lands, and even better in a settlement. A battle won would also help to recover morale.
{ACM_Troops_Desperate_effects_desc}-4 Morale for troops on the battlefield, -4 movement point\n -2 Command, -2 Loyalty
{ACM_Troops_Desperate_gain_desc}Many years away from home have eroded this army's native values and discipline to a severe extent. It lost it's fighting value and need to recuperate.
{ACM_Troops_Mutinous} Troops Mutinous
{ACM_Troops_Mutinous_desc}This army has not returned home for many years. It needs to rest in home lands, and even better in a settlement. A battle won would also help to recover morale.
{ACM_Troops_Mutinous_effects_desc}-5 Morale for troops on the battlefield, -5 movement point\n -3 Command, -3 Loyalty
{ACM_Troops_Mutinous_gain_desc}This army has not returned home for many years. As a matter of fact, it's unlikely to return at all.
{ACM_Too_Many_Years_Away} Too Many Years Away
{ACM_Too_Many_Years_Away_desc}This army has not returned home for many years. It needs to rest in home lands, and even better in a settlement. A battle won would also help to recover morale.
{ACM_Too_Many_Years_Away_effects_desc}-5 Morale for troops on the battlefield, -5 movement point\n -3 Command, -3 Loyalty
The triggers:
Code:
;========================================================================================= Army Campaign Morale;----- Army Campaign Morale ---------------------------
;--- levels(points): 1(1),2(5) - 3(9) - 4(13),5(17),6(21),7(25),8(29),9(33)
;----------------------------------------------------------------------- ACM safety valves
Trigger ACM_Safety_In_Case_of_Bug_Min
WhenToTest CharacterTurnStart
Condition Trait ArmyCampaignMorale < 1
and I_EventCounter DifficultyLevel = 4
Affects ArmyCampaignMorale 9 Chance 100
;------------------------------------------
Trigger ACM_Safety_In_Case_of_Bug_Max
WhenToTest CharacterTurnStart
Condition Trait ArmyCampaignMorale > 8 ; level 9 is currently not used
Affects ArmyCampaignMorale -4 Chance 100
;----------------------------------------------------------------------- ACM decrease at home (cumulative triggers)
Trigger ACM_Improve_From_High_Value_AtHome
WhenToTest CharacterTurnEnd
Condition Trait ArmyCampaignMorale > 5
and not InEnemyLands
and not EndedInEnemyZOC
Affects ArmyCampaignMorale -2 Chance 100
;------------------------------------------
Trigger ACM_Improve_From_High_Value_AtHome_Resting
WhenToTest CharacterTurnEnd
Condition Trait ArmyCampaignMorale > 5
and not InEnemyLands
and not EndedInEnemyZOC
and RemainingMPPercentage > 90
Affects ArmyCampaignMorale -2 Chance 100
;------------------------------------------
Trigger ACM_Home_Improve_In_Settlement
WhenToTest CharacterTurnEnd
Condition Trait ArmyCampaignMorale > 3
and EndedInSettlement
and not EndedInEnemyZOC
and Treasury > 0 ; the kingdom is able pay the troops for ease they woes
Affects ArmyCampaignMorale -1 Chance 100
;------------------------------------------
Trigger ACM_Home_Improve_In_Settlement_Resting
WhenToTest CharacterTurnEnd
Condition Trait ArmyCampaignMorale > 3
and not InEnemyLands
and not EndedInEnemyZOC
and RemainingMPPercentage > 80
Affects ArmyCampaignMorale -1 Chance 100
;------------------------------------------
Trigger ACM_Home_Improve_GoodCommander
WhenToTest CharacterTurnEnd
Condition Trait ArmyCampaignMorale > 2 ; goes to level "Eager Troops"
and not InEnemyLands
and not EndedInEnemyZOC
and Trait GoodCommander > 0
and Trait FitForOffice > 1 ; not insane or ill
Affects ArmyCampaignMorale -1 Chance 50
;------------------------------------------
Trigger ACM_Home_Improve_Before_Expedition_GoodSpeaker
WhenToTest CharacterTurnEnd
Condition Trait ArmyCampaignMorale > 2
and Trait ArmyCampaignMorale < 3
and not InEnemyLands
and not EndedInEnemyZOC
and Trait InspiringSpeaker > 1
and Trait FitForOffice > 1
Affects ArmyCampaignMorale -1 Chance 33
;----------------------------------------------------------------------- ACM decrease due to battles won
Trigger ACM_Improve_Clear_Victory
WhenToTest PostBattle
Condition IsGeneral
and WonBattle
and BattleOdds < 1
and BattleSuccess >= clear
and PercentageEnemyKilled > 40
and Trait ArmyCampaignMorale > 1 ; may get to Bent on Glory, especially if other triggers fire
and CharacterIsLocal
Affects ArmyCampaignMorale -2 Chance 100
;------------------------------------------
Trigger ACM_Improve_Average_Victory
WhenToTest PostBattle
Condition IsGeneral
and WonBattle
and BattleOdds < 1
and BattleSuccess >= average
and PercentageEnemyKilled > 40
and Trait ArmyCampaignMorale > 1
and CharacterIsLocal
Affects ArmyCampaignMorale -2 Chance 100
;------------------------------------------
Trigger ACM_Improve_Close_Victory
WhenToTest PostBattle
Condition IsGeneral
and WonBattle
and BattleOdds < 1.4
and PercentageEnemyKilled > 40
and Trait ArmyCampaignMorale > 1
and CharacterIsLocal
Affects ArmyCampaignMorale -1 Chance 100
;------------------------------------------
Trigger ACM_Improve_Any_Victory
WhenToTest PostBattle
Condition IsGeneral
and WonBattle
and PercentageEnemyKilled > 40
and Trait ArmyCampaignMorale > 1
and CharacterIsLocal
Affects ArmyCampaignMorale -1 Chance 100
;------------------------------------------
Trigger ACM_Improve_SettlementCapture
WhenToTest GeneralCaptureSettlement
Condition CharacterIsLocal
and Trait ArmyCampaignMorale > 1
Affects ArmyCampaignMorale -2 Chance 100
;----------------------------------------------------------------------- ACM increase (cumulative!)
Trigger ACM_Deteriorate_Troops_Moving
WhenToTest CharacterTurnEnd
Condition Trait ArmyCampaignMorale < 6 ; moving won't make troops mutinous
and RemainingMPPercentage < 80
and FactionIsLocal
and I_EventCounter DifficultyLevel = 4
Affects ArmyCampaignMorale 1 Chance 100
;------------------------------------------
Trigger ACM_Deteriorate_Troops_Abroad
WhenToTest CharacterTurnEnd
Condition Trait ArmyCampaignMorale < 8
and InEnemyLands ; also at sea
and I_EventCounter DifficultyLevel = 4
Affects ArmyCampaignMorale 1 Chance 50
;------------------------------------------
Trigger ACM_Deteriorate_BadCommander
WhenToTest CharacterTurnEnd
Condition Trait ArmyCampaignMorale < 8
and InEnemyLands
and Trait NaturalMilitarySkill < 1
and Trait BadCommander > 0 ; also low Military / Pagan education is thus taken into account
and I_EventCounter DifficultyLevel = 4
Affects ArmyCampaignMorale 1 Chance 50
;------------------------------------------
Trigger ACM_Deteriorate_EnemyContact
WhenToTest CharacterTurnEnd
Condition Trait ArmyCampaignMorale < 8
and InEnemyLands
and EndedInEnemyZOC ; also besieging
and I_EventCounter DifficultyLevel = 4
Affects ArmyCampaignMorale 1 Chance 50
;------------------------------------------
Trigger ACM_Deteriorate_AnyDefeat
WhenToTest PostBattle
Condition IsGeneral
and not WonBattle
and Trait ArmyCampaignMorale < 8
and CharacterIsLocal
and I_EventCounter DifficultyLevel = 4
Affects ArmyCampaignMorale 2 Chance 100
;------------------------------------------
Trigger ACM_Deteriorate_Defeat_Woeful
WhenToTest PostBattle
Condition IsGeneral
and not WonBattle
and BattleOdds > 1.2
and Trait ArmyCampaignMorale < 8
and CharacterIsLocal
and I_EventCounter DifficultyLevel = 4
Affects ArmyCampaignMorale 2 Chance 100