Code: Select all
SelectFaction = $USA
StartEvent = evt_nam_USA_Sickness_West|999|1|NULL|NULL|NULL|NULL
Conditions
MinDate = 1861/06/01
Probability = 50
PickUnit = $West;1;$Regular
GenMsg
EvalUnitSel = NULL
Actions
GenMsg
DescEvent = evt_desc_USA_Epidemics_West
ChgGroupHealth = -10
EndEvent
Basically, I took the 'epidemics' event and modified it so it could happen every turn, and increased the probability to 50 and reduced the cohesion loss (I don't want units to fight with less efficiency, just have a constant drain on manpower and resources).
The 999 represents that this event keeps on triggering turn after turn, with the region being the area that the event effects.
Regular, I assume, targets 'combat stacks' as I have seen all combat forces face reduction, but not supply units (they don't fit under regular, I suppose).
Change Group Health affects the entire stack.
--FIRST ATTEMPT--
I was hoping to have an event similar to unit upgrades, so that a single element in a brigade may experience losses at different rates than other units in the element (similarly to how regiments upgrade from early to late infantry), however it doesn't seem to work. I would perfer this event to the one above, as the frequency is lower (appears to only affect one unit per region, unless I make multiple events) plus it affects every element and unit in the stack.
Here it is... (the event that does nothing)
Code: Select all
SelectFaction = $USA
SelectRegion = $Prince George's, MD
StartEvent = evt_nam_USA_GeneralSicknessInfantry|999|0|NULL|NULL|$Prince George's, MD|NULL
Conditions
MinDate = 1861/06/01
Actions
GenMsg
DescEvent = evt_desc_USA_Epidemics_Deep_South
SelectSubUnits = Models $mdl_USA_InfBM1 $mdl_USA_InfBM2 $mdl_USA_InfBM3 $mdl_USA_InfBM4 $mdl_USA_InfBM5 $mdl_USA_InfBM6 $mdl_USA_InfBM7 $mdl_USA_InfBM8 $mdl_USA_InfBM9 $mdl_USA_InfBM10 $mdl_USA_InfBM11 $mdl_USA_InfBM12 $mdl_USA_InfBM13 $mdl_USA_InfBM14 $mdl_USA_InfBM15 $mdl_USA_InfBM16 $mdl_USA_InfBM17 $mdl_USA_InfBM18 $mdl_USA_InfBM19
AlterCuSubUnit = ApplyToList;probability 20;ChgHealth -10
EndEvent
Any clue as to why my last event doesn't affect element health?
--EXTENSIONS--
I want to do an event representing desertions, especially when cohesion gets very low, or when NM is below a certain rate.