I had a few odd retreat results after Pocus exported the variables so he checked and found the error when I mentioned it to him.
I am using 1.06d yes.
http://www.ageod-forum.com/showthread.php?t=5281
================================================== ============================
Modding support
================================================== ============================
8 new variables, see the file Control&Retreat.opt in the settings directory
ctlContested = 5 // Minimum control gained upon entering a region (if not passive)
ctlAllowRetreat = 5 // Minimum control to have in a region to allow a retreat into it
ctlRetreatAdjCity = 10 // Interest in retreating toward a region with a city (per level)
ctlRetreatAdjFort = 30 // Interest in retreating toward a region with a fort (per level)
ctlRetreatAdjDepot = 25 // Interest in retreating toward a region with a depot (per level)
ctlRetreatLandLink = 15 // Interest in retreating toward a region, value per land link
ctlRetreatPrevSubSpaceCoeffH_ = 250 // Coefficient applied to the interest if the region is the one where we are coming from
ctlNoBeachHead = 10 // Minimum control to have so that a region is not a beach/riverhead if you have to cross a body of water before attacking
Cheers, Chris