Bug in India Research AI script?
Posted: Sun Jul 07, 2019 6:11 am
So it is end of 45 and I am finishing wiping out the Allies. Actually this is a few turns before as I wanted to see what the AI was doing. In the research I noticed India has level 4 tanks and going for level 5. What!?!?!? Especially since they have no, well, tanks.
Additionally they researched level 2 heavy bomber. No sense.
Ground attack they are at level 3. Not sure why that high
In the meantime they have 0 in
command and control
infantry warfare
aerial warfare
spying and intelligence
Looking a the script (not that I am an expert) it appears to be told to do this. This number before the [] is the weight? So it dutifully fills them out but never has the money (and or capacity) for any of the items not marked with = 25 [1]
Was this intended? They don't have tanks and not enough bombers to be worth it. The aerial warfare would seem more handy as would some on the ones I noted they skipped. For reference, here is the India 1939 script.
; Infantry Weapons
#RESEARCH_ID_0= 25 [1]
; Anti-Tank Weapons
#RESEARCH_ID_1= 0 [0]
; Heavy Tanks
#RESEARCH_ID_2= 25 [1]
; Advanced Aircraft
#RESEARCH_ID_3= 25 [1]
; Heavy Bombers
#RESEARCH_ID_4= 25 [1]
; Naval Weaponry
#RESEARCH_ID_5= 0 [0]
; Long Range Aircraft
#RESEARCH_ID_6= 25 [1]
; Advanced Subs
#RESEARCH_ID_7= 0 [0]
; Artillery Weapons
#RESEARCH_ID_8= 0 [0]
; Rocket Weapons
#RESEARCH_ID_9= 0 [0]
; Ground Attack Weapons
#RESEARCH_ID_10= 25 [1]
; Motorization
#RESEARCH_ID_11= 0 [0]
; Anti-Submarine Warfare
#RESEARCH_ID_12= 0 [0]
; Anti-Aircraft Defense
#RESEARCH_ID_13= 10 [1]
; Command and Control
#RESEARCH_ID_14= 0 [0]
; Infantry Warfare
#RESEARCH_ID_15= 0 [0]
; Armored Warfare
#RESEARCH_ID_16= 0 [0]
; Aerial Warfare
#RESEARCH_ID_17= 0 [0]
; Naval Warfare
#RESEARCH_ID_18= 0 [0]
; Amphibious Warfare
#RESEARCH_ID_19= 0 [0]
; Trench Warfare
#RESEARCH_ID_20= 0 [0]
; Shell Production
#RESEARCH_ID_21= 0 [0]
; Synthetic Oil
#RESEARCH_ID_22= 0 [0]
; Spying and Intelligence
#RESEARCH_ID_23= 10 [1]
; Logistics
#RESEARCH_ID_24= 0 [0]
; Production Technology
#RESEARCH_ID_25= 25 [1]
; Industrial Technology
#RESEARCH_ID_26= 25 [1]
Additionally they researched level 2 heavy bomber. No sense.
Ground attack they are at level 3. Not sure why that high
In the meantime they have 0 in
command and control
infantry warfare
aerial warfare
spying and intelligence
Looking a the script (not that I am an expert) it appears to be told to do this. This number before the [] is the weight? So it dutifully fills them out but never has the money (and or capacity) for any of the items not marked with = 25 [1]
Was this intended? They don't have tanks and not enough bombers to be worth it. The aerial warfare would seem more handy as would some on the ones I noted they skipped. For reference, here is the India 1939 script.
; Infantry Weapons
#RESEARCH_ID_0= 25 [1]
; Anti-Tank Weapons
#RESEARCH_ID_1= 0 [0]
; Heavy Tanks
#RESEARCH_ID_2= 25 [1]
; Advanced Aircraft
#RESEARCH_ID_3= 25 [1]
; Heavy Bombers
#RESEARCH_ID_4= 25 [1]
; Naval Weaponry
#RESEARCH_ID_5= 0 [0]
; Long Range Aircraft
#RESEARCH_ID_6= 25 [1]
; Advanced Subs
#RESEARCH_ID_7= 0 [0]
; Artillery Weapons
#RESEARCH_ID_8= 0 [0]
; Rocket Weapons
#RESEARCH_ID_9= 0 [0]
; Ground Attack Weapons
#RESEARCH_ID_10= 25 [1]
; Motorization
#RESEARCH_ID_11= 0 [0]
; Anti-Submarine Warfare
#RESEARCH_ID_12= 0 [0]
; Anti-Aircraft Defense
#RESEARCH_ID_13= 10 [1]
; Command and Control
#RESEARCH_ID_14= 0 [0]
; Infantry Warfare
#RESEARCH_ID_15= 0 [0]
; Armored Warfare
#RESEARCH_ID_16= 0 [0]
; Aerial Warfare
#RESEARCH_ID_17= 0 [0]
; Naval Warfare
#RESEARCH_ID_18= 0 [0]
; Amphibious Warfare
#RESEARCH_ID_19= 0 [0]
; Trench Warfare
#RESEARCH_ID_20= 0 [0]
; Shell Production
#RESEARCH_ID_21= 0 [0]
; Synthetic Oil
#RESEARCH_ID_22= 0 [0]
; Spying and Intelligence
#RESEARCH_ID_23= 10 [1]
; Logistics
#RESEARCH_ID_24= 0 [0]
; Production Technology
#RESEARCH_ID_25= 25 [1]
; Industrial Technology
#RESEARCH_ID_26= 25 [1]