Mangudai wrote:How easy is it to tweak the AI? I'm thinking specifically of changing the AI's perspective of the VP's of certain objective locations so that the AI would value them more.
In most of my Union Campaigns the AI does not do enough to defend the Richmond, Fredericksburg, Mannassas corridor. It frequently sends a large force to Grafton and beyond.
That's rather easy since weeks with the introduction of new scripting command. i've done that for CSA AI in my SVF mod and I plan to add the same for Union in the future.
Here's a part
SelectFaction = $CSA
SelectRegion = $Richmond, VA
StartEvent = evt_nam_CSA_AIsettings|1|0|NULL|NULL|$Richmond, VA|NULL
Conditions
MinDate = 1861/04/10
MaxDate = 1862/04/25
probability = 75
Actions
AI.ChgLocalInterest = $New York, NY|50|$Rockland, NJ|50|$Philadelphia, PA|50|$Cuyahoga, OH|50|$Hendricks, IN|50|$Chicago, IL|50|$Racine, WI|50|$Dubuque, IA|50|$Westmoreland, PA|60
EndEvent
SelectFaction = $CSA
SelectRegion = $Richmond, VA
StartEvent = evt_nam_CSA_AIsettings38|1|0|NULL|NULL|$Richmond, VA|NULL
Conditions
MinDate = 1861/04/10
MaxDate = 1862/02/25
probability = 90
Actions
AI.ChgLocalInterest = $Ardana, IL|5|$Morrison, IL|5|$Monmouth, IL|5|$Rock, IL|5|$Dixon, IL|5|$Sycamore, IL|5|$Woodstock, IL|5|$Carthage, IL|5|$Gales, IL|5|$Rochelle, IL|5|$Bureau, IL|5|$Aurora, IL|5|$Joliet, IL|5|$Quincy, IL|5|$Sterling, IL|5|$Lewis, IL|5|$Peoria, IL|5|$Bushnell, IL|5|$Pontiac, IL|5|$Kantakee, IL|5|$Gilead, IL|5|$Carroll, IL|5|$Jackson, IL|5|$Bath, IL|5|$Bloomington, IL|5|$Alton, IL|5|$Carlin, IL|5|$Rookhouse, IL|5|$Springfield, IL|5|$Decatur, IL|5|$La Salle, IL|5|$Gilman, IL|5|$Belleville, IL|5|$Fenron, IL|5|$Carlyle, IL|5|$Pana, IL|5|$French, IL|5|$Toledo, IL|5|$Herbert, IL|5|$Danville, IL|5|$Chester, IL|5|$Ward, IL|5|$Pinckney, IL|5|$Salem, IL|5|$Howard, IL|5|$Mattoon, IL|5|$Effingham, IL|5|$Greenup, IL|5|$Terre Haute, IL|5|$Palestine, IL|5|$Alexander, IL|5|$Benton, IL|5|$McLean, IL|5|$Kinsale, IL|5|$Elizabeth, IL|5|$Carnie, IL|5|$Laporte, IL|5|$Lasalle Run|5|$Joliet Landing|5
AI.ChgLocalInterest = $Lake, IN|5|$Newton, IN|5|$Starke, IN|5|$Marshall, IN|5|$La Grange, IN|5|$Benton, IN|5|$Jasper, IN|5|$Whitley, IN|5|$Allen, IN|5|$Fountain, IN|5|$Tippecanoe, IN|5|$Carroll, IN|5|$Wabash, IN|5|$Adams, IN|5|$Vigo, IN|5|$Clay, IN|5|$Hendricks, IN|5|$Owen, IN|5|$Montgomery, IN|5|$Johnson, IN|5|$Wayne, IN|5|$Knox, IN|5|$Pike, IN|5|$Lawrence, IN|5|$Brown, IN|5|$Shelby, IN|5|$Rush, IN|5|$Posey, IN|5|$Warrick, IN|5|$Dubois, IN|5|$Perry, IN|5|$Orange, IN|5|$Harrison, IN|5|$Scott, IN|5|$Jefferson, IN|5|$Dearborn, IN|5
EndEvent
SelectFaction = $CSA
SelectRegion = $Richmond, VA
StartEvent = evt_nam_CSA_AIsettings2|1|0|NULL|NULL|$Richmond, VA|NULL
Conditions
MinDate = 1861/07/01
MaxDate = 1866/04/01
EvalForeignEntry =>;85
EvalEvent = evt_nam_CSA_AIsettings;=;1
Actions
AI.ChgLocalInterest = $New York, NY|100|$Rockland, NJ|100|$Philadelphia, PA|100|$Cuyahoga, OH|100|$Hendricks, IN|100|$Chicago, IL|100|$Racine, WI|100|$Dubuque, IA|100|$Westmoreland, PA|100
EndEvent
SelectFaction = $CSA
SelectRegion = $Richmond, VA
StartEvent = evt_nam_CSA_AIsettings29|1|0|NULL|NULL|$Richmond, VA|NULL
Conditions
MinDate = 1861/07/01
MaxDate = 1866/04/01
EvalForeignEntry <=;60
EvalEvent = evt_nam_CSA_AIsettings2;=;1
Actions
AI.ChgLocalInterest = $New York, NY|-100|$Rockland, NJ|-100|$Philadelphia, PA|-100|$Cuyahoga, OH|-100|$Hendricks, IN|-100|$Chicago, IL|-100|$Racine, WI|-100|$Dubuque, IA|-100|$Westmoreland, PA|-100
EndEvent