Some errors I've found in the latest FY 1.07:
Events/RUS F5 Diplomatic Options WHI-DOWs.sct, Sun Aug 19 2012 15:20:38
ERROR: in Events/RUS F5 Diplomatic Options WHI-DOWs.sct, at (or near) line 191: line-specific or other contextual syntax error (else file doesn't end with CR/LF): #e# (0x65), #eevt_nam_GER_Freikorpvictory#
in event evt_nam_GER_Freikorpvictory_VP_loss:
182 Conditions^M
183 MinDate = 1919/01/01^M
184 EvalEvent = evt_nam_GER_Freikorpvictory;=;1^M
185 EvalEvent = evt_nam_WHI_BalticJoin_TrackerforWHIAIRegionalInterest;=;1^M
186 ^M
187 Actions^M
188 ^M
189 SetEvtOccurs = evt_nam_GER_Freikorpvictory;CuOccurs;0^M
190 ChgFacEngagementPts = -2^M
191> SetEvtOccurs = eevt_nam_GER_Freikorpvictory;CuOccurs;1^M
192 ^M
193 EndEvent^M
194 ^M
195 SelectFaction = $WHI^M
196 SelectRegion = $Riga^M
197 ^M
198 SelectFaction = $WHI^M
199 SelectRegion = $Riga^M
200 StartEvent = evt_nam_WHI_IndependanceRecognition_Generate|1|0|NULL|NULL|$Riga|NULL^M
http://www.ageod.net/agewiki/SetEvtOccurs
Syntax: SetEvtOccurs = EventName; OccParam; Value
eevt_nam_GER_Freikorpvictory (double 'e') should be evt_nam_GER_Freikorpvictory (single 'e'), of course.
Events/REDAI1918_3.sct, Thu Jan 5 2012 12:40:10
ERROR: in Events/REDAI1918_3.sct, at (or near) line 1265: line-specific or other contextual syntax error (else file doesn't end with CR/LF): #S# (0x53), #Shakhty#
in event evt_nam_RedrestAIeventsplan23fromnov18:
1256 CheckAILevel = 1^M
1257 EvalEvent = evt_nam_REDplan4southfromnov18;=;1;^M
1258 Probability = 60^M
1259 MinDate = 1918/11/01^M
1260 MaxDate = 1922/12/01^M
1261 ^M
1262 Actions^M
1263 ^M
1264 ChgEvtOccurs = evt_nam_REDplan4southfromnov18;CuOccurs;-1;^M
1265> AI.SetLocalInterest = $Chertkovo;5;$Glubokiy ;5;$Viochenskaya;5;$Balashov;5;$Serafimovich;5;$Kletskiy;5;$Perelazovski;5;$Chernyshkovskiy;5;$Morozovsk;5;$Nizhniy Chir;5;Shakhty;5;$Tsimlyansk;5;$Logovskiy;5;$Yashalta;5;$Zimovniki;5;$Maloorlovskiy;5;$Solenovskaya;5;$Semikarakorski;5;$Bataisk;5;$Azov;5;$Zernograd;5;$Stefanidinodar;5;$Salsk;5;$Don Estuary;5;$Lower Donets;5;$Don River;5;$Khoper Confluent;5;$Middle Don;5;$Orlovskiy;5;$Tikhiy;5;$Belaya-Kalitva;5;$Kugoyeyskaya;5;^M
1266 AI.SetLocalInterest = $Novocherkassk;5;$Rostov;5;$Taganrog;5;$Donetsk ;5;$Makeievka ;5;^M
1267 ^M
1268 EndEvent^M
1269 ^M
1270 ^M
1271 ^M
1272 SelectFaction = $RED^M
1273 StartEvent = evt_nam_RedrestAIeventsplan23fromnov18a|999|0|NULL|NULL|NULL|NULL^M
1274 ^M
http://www.ageod.net/agewiki/AI.SetLocalInterest
Syntax: AI.SetLocalInterest = RegionUID1|Coeff1|RegionUID2|Coeff2 ..
Missing '$' before Shakhty.
ERROR: in Events/REDAI1918_3.sct, at (or near) line 1480: line-specific or other contextual syntax error (else file doesn't end with CR/LF): #S# (0x53), #Shakhty#
in event evt_nam_REDplan4southfromnov18:
1471 CheckAILevel = 1^M
1472 ^M
1473 EvalRgnOwned = $Voronezh^M
1474 ^M
1475 EvalRgnOwned = $Liski^M
1476 MinDate = 1918/10/01^M
1477 MaxDate = 1922/12/01^M
1478 ^M
1479 Actions^M
1480> AI.SetLocalInterest = $Chertkovo;200;$Glubokiy ;200;$Viochenskaya;200;$Balashov;200;$Serafimovich;200;$Kletskiy;200;$Perelazovski;200;$Chernyshkovskiy;200;$Morozovsk;200;$Nizhniy Chir;200;Shakhty;200;$Tsimlyansk;200;$Logovskiy;200;$Yashalta;200;$Zimovniki;200;$Maloorlovskiy;200;$Solenovskaya;200;$Semikarakorski;200;$Bataisk;200;$Azov;200;$Zernograd;200;$Stefanidinodar;200;$Salsk;200;$Don Estuary;200;$Lower Donets;200;$Don River;200;$Khoper Confluent;200;$Middle Don;200;$Orlovskiy;200;$Tikhiy;200;$Belaya-Kalitva;200;$Kugoyeyskaya;200;^M
1481 AI.SetLocalInterest = $Novocherkassk;200;$Rostov;200;$Taganrog;200;$Donetsk ;200;$Makeievka ;200;^M
1482 ^M
1483 EndEvent^M
1484 ^M
1485 SelectFaction = $RED^M
1486 StartEvent = evt_nam_REDplan4southfromnov18a|1|0|NULL|NULL|NULL|NULL^M
1487 ^M
1488 Conditions^M
1489 TurnIndex = 7;13;19^M
http://www.ageod.net/agewiki/AI.SetLocalInterest
Syntax: AI.SetLocalInterest = RegionUID1|Coeff1|RegionUID2|Coeff2 ..
Same error as before.
Events/RUS F6 Options Various.sct, Mon Aug 6 2012 10:40:00
ERROR: in Events/RUS F6 Options Various.sct, at (or near) line 164: line-specific or other contextual syntax error (else file doesn't end with CR/LF): #e# (0x65), #evt_RED_nam_PetrogradTankTimer#
in event evt_nam_RED_PetrogradTankFactoryCompleted:
155 ^M
156 SelectFaction = $RED^M
157 SelectRegion = $Petrograd^M
158 StartEvent = evt_nam_RED_PetrogradTankFactoryCompleted|1|2|evt_txt_RED_PetrogradTankFactoryCompleted|Event-img_RED_TankFactoryCompleted|$Petrograd|NULL^M
159 ^M
160 Conditions^M
161 MinDate = 1919/06/01^M
162 ^M
163 EvalRgnOwned = $Petrograd^M
164> EvalEvent = evt_RED_nam_PetrogradTankTimer;=;10^M
165 ^M
166 Actions^M
167 DescEvent = evt_desc_RED_PetrogradTankFactoryCompleted^M
168 ^M
169 CreateStruc^M
170 SetType = $TANKFACTORY^M
171 SetName = Kirov Armor Works^M
172 Apply^M
173 RemDynGraphic = $Petrograd;Icon_IndusConstr.png^M
http://www.ageod.net/agewiki/EvalEvent
Syntax: EvalEvent = EventName; Condition; NumOccurs
evt_RED_nam_PetrogradTankTimer should instead be evt_nam_RED_PetrogradTankTimer.
There are many more instances of that error.
ERROR: in Events/RUS F6 Options Various.sct, at (or near) line 1539: line-specific or other contextual syntax error (else file doesn't end with CR/LF): #e# (0x65), #evt_WHI_nam_TaganrogTankTimer#
in event evt_nam_WHI_TaganrogTankFactoryCompleted:
1530 ^M
1531 SelectFaction = $WHI^M
1532 SelectRegion = $Taganrog^M
1533 StartEvent = evt_nam_WHI_TaganrogTankFactoryCompleted|1|2|evt_txt_WHI_TaganrogTankFactoryCompleted|Event-img_WHI_TankFactoryCompleted|$Taganrog|NULL^M
1534 ^M
1535 Conditions^M
1536 MinDate = 1919/01/01^M
1537 ^M
1538 EvalRgnOwned = $Taganrog^M
1539> EvalEvent = evt_WHI_nam_TaganrogTankTimer;=;10^M
1540 ^M
1541 Actions^M
1542 DescEvent = evt_desc_WHI_TaganrogTankFactoryCompleted^M
1543 ^M
1544 CreateStruc^M
1545 SetType = $TANKFACTORY^M
1546 SetName = Taganrog Tankadrome^M
1547 Apply^M
1548 RemDynGraphic = $Taganrog;Icon_IndusConstr.png^M
http://www.ageod.net/agewiki/EvalEvent
Syntax: EvalEvent = EventName; Condition; NumOccurs
Similar error. evt_WHI_nam_TaganrogTankTimer should instead be evt_nam_WHI_TaganrogTankTimer.
Many instances of that error also.
More errors of that general type still. Run dochk, and reference the chklint*_rpt.txt error report.
Events/Redleaders.sct, Thu Dec 22 2011 18:53:42
ERROR: in Events/Redleaders.sct, at (or near) line 46: line-specific or other contextual syntax error (else file doesn't end with CR/LF): #l# (0x6c), #ldr_RED_Snesarev1#
in event evt_nam_RED_PromotionsC:
37 ^M
38 SelectFaction = $RED^M
39 StartEvent = evt_nam_RED_PromotionsC|1|1|NULL|NULL|NULL|NULL^M
40 ^M
41 Conditions^M
42 CheckAILevel = 1^M
43 MinDate = 1918/09/01^M
44 MaxDate = 1922/02/12^M
45 Probability = 25^M
46> SelectSubUnits = Models ldr_RED_Snesarev1^M
47 ^M
48 ^M
49 EvalSubUnitSel = NULL^M
50 ^M
51 Actions^M
52 AltercuSubUnit = Convert TechUpg^M
53 ^M
54 ^M
55 EndEvent^M
http://www.ageod.net/agewiki/SelectSubUnits
Syntax: SelectSubUnits = Region <RgnUID>;Area <AreaUID>;Families <Fam1> <Fam2> ...;Models <Mdl1> <Mdl2> ... ;FactionTags <Tag1> <Tag2> ... ;Domains <_domLand> <_domNav> <_domAir>;<Attributes>;Generations <ModelGen1> <ModelGen2> ...
Missing '$' before ldr_RED_Snesarev1.
GameData/Models/14RED_Model_Name_RED_Chekists.mdl, Sat Jun 23 2012 08:53:14
ERROR: in GameData/Models/14RED_Model_Name_RED_Chekists.mdl, at (or near) line 60: mistaken #
51 IsSupport = 0^M
52 SupplyUsage = 2^M
53 SupplyStore = 4^M
54 AmmoUsage = 2^M
55 AmmoStore = 4^M
56 ShareSupply = 1^M
57 SupHitPen = 25^M
58 SupMovePen = 25^M
59 SupCbtPen = 50^M
60> Attributes = #PoliticalUnit#^M
61 Ability0 = $Strong_Morale^M
62 Ability1 = $Political_Unit^M
63 VPValue = 4^M
64 POLValue = 0^M
65 Money = 5^M
66 Conscript = 7^M
67 WarSupply = 0^M
68 Days = 30^M
69 Morale = 0^M
Not #PoliticalUnit#, should be *PoliticalUnit*.
There are several more instances of that error.
GameData/Models/1903Bisherakovgroup.mdl, Tue Aug 7 2012 14:01:44
ERROR: in GameData/Models/1903Bisherakovgroup.mdl, at (or near) line 4: line-specific or other contextual syntax error (else file doesn't end with CR/LF): #$# (0x24), #$mdl_RED_Cav6bish#
1 UID = 1903^M
2 NationTag = RED^M
3 Name = Caucasian Cavalry^M
4> Alias = $mdl_RED_Cav6bish^M
5 ShortName = Cavalry^M
6 Text = $mdl_txt_WHI_Cav7^M
7 To&E = $mdl_toe_WHI_Cav7^M
8 Family = $famCavalry^M
9 ImageID = symbol_cav.png^M
10 NatoSize = $sizNatoRgt^M
11 Color = $colWHIRegular ^M
12 Sound_FactionTag = RUS^M
13 Portrait = mdl_RUS_Cav9.png^M
There should
not be a '$' before the mdl_... in Alias = $mdl_RED_Cav6bish.
GameData/Models/940REDL. Trotsky.mdl, Thu Dec 22 2011 22:20:36
ERROR: in GameData/Models/940REDL. Trotsky.mdl, at (or near) line 59: line-specific or other contextual syntax error (else file doesn't end with CR/LF): #*# (0x2a), #*Trotskyst*#
50 IsSupport = 1^M
51 SupplyUsage = 0^M
52 SupplyStore = 0^M
53 AmmoUsage = 0^M
54 AmmoStore = 0^M
55 ShareSupply = 1^M
56 SupHitPen = 0^M
57 SupMovePen = 0^M
58 SupCbtPen = 0^M
59> Attributes = *PoliticalUnit* *Trotskyst*^M
60 Ability0 = $Genius_Trotsky^M
61 Ability1 = $Political_Unit^M
62 Ability2 = $Trotsky_Strong_Discipline^M
63 Ability3 = $Trotsky_Defensive_Analyst^M
64 Ability4 = $Trotsky_Train_Signal^M
65 Ability5 = $Trotsky_Train_Logistics^M
66 Ability6 = $Trotsky_Great_Strategist^M
67 Ability7 = $Trotsky_HQ^M
68 Ability8 = $Trotsky_Propagandist^M
Syntax: Attributes = <Attrib> [|<Attrib>] ...
Missing '|' between Attributes = *PoliticalUnit* *Trotskyst*.
GameData/Units/394FIN_Unit_Name_FIN_Div1.uni, Sat Jun 23 2012 09:00:38
ERROR: in GameData/Units/394FIN_Unit_Name_FIN_Div1.uni, at (or near) line 9: line-specific or other contextual syntax error (else file doesn't end with CR/LF): #$# (0x24), #$mdl_FIN_Art4#
1 UID = 394^M
2 NationTag = FIN^M
3 Name = $Unit_Name_FIN_Div1^M
4 Alias = uni_FIN_Div1^M
5 ForcePool = 10^M
6 ShortName = $Unit_ShortName_FIN_Div1^M
7 Text = $uni_txt_FIN_Infantry^M
8 Color = $colFINRegular ^M
9> DoubleLength = $mdl_FIN_Art4|1^M
10 SymbolID = symbol_DivInf.png^M
11 ModelType0 = $mdl_FIN_Inf2|3^M
12 ModelType1 = $mdl_FIN_Inf2|3^M
13 ModelType2 = $mdl_FIN_Art3|1^M
14 ModelType3 = $mdl_FIN_Art4|1^M
15 ModelType4 = $mdl_FIN_Pio|1^M
16 FamilyType0 = $famLine|6^M
17 FamilyType1 = $famMedArty|2^M
18 FamilyType2 = $famEngineer|1^M
Syntax: DoubleLength = Value
Looks like it should be instead: DoubleLength = 1
Several more errors of that type.
There are other errors, but I am not entirely sure whether they are false positives or not. But I think the above errors are all legitimate.
Those are just the chklint errors. There are also the chklint warnings, and errors reported in the other files.
Hope this helps.
[Oh, and please excuse the ^M -- artifacts of my working in Linux.]