Matrix Games Forums

Forums  Register  Login  Photo Gallery  Member List  Search  Calendars  FAQ 

My Profile  Inbox  Address Book  My Subscription  My Forums  Log Out

Bug in India Research AI script?

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
  Printable Version
All Forums >> [New Releases from Matrix Games] >> Strategic Command Series >> Strategic Command WWII: World at War >> Bug in India Research AI script? Page: [1]
Login
Message << Older Topic   Newer Topic >>
Bug in India Research AI script? - 7/7/2019 9:11:49 AM   
Mercutio

 

Posts: 256
Joined: 12/26/2006
Status: offline
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]
Post #: 1
RE: Bug in India Research AI script? - 7/8/2019 3:33:51 AM   
Tanaka


Posts: 4378
Joined: 4/8/2003
From: USA
Status: offline
quote:

ORIGINAL: Mercutio

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]


I wonder if similar issues apply to other countries. Seems like a very simple way to improve the AI.

< Message edited by Tanaka -- 7/8/2019 3:34:37 AM >


_____________________________


(in reply to Mercutio)
Post #: 2
RE: Bug in India Research AI script? - 7/8/2019 3:18:28 PM   
Hubert Cater

 

Posts: 5199
Joined: 7/22/2013
Status: offline
Thanks and I've made some adjustments so that ideally they will research Command and Control, Infantry Warfare and Aerial Warfare for the next release. I've also removed the Heavy Bombers research possibility and slightly reduced the Heavy Tanks research as they can receive a Tank in game and can purchase a Tank as well.

As it is a bit random, the first number represents the random chance it will invest in that category, the second the number of chits, when it has available MPP, it could have some higher results than others from game to game which in most cases is good for variety. In some cases if their Tanks don't last long in game it might seem as an excessive effort to reach level 4 or 5, but this is again due to the randomness and the desire for some variety in the scripts.

_____________________________


(in reply to Tanaka)
Post #: 3
RE: Bug in India Research AI script? - 7/8/2019 3:19:16 PM   
Hubert Cater

 

Posts: 5199
Joined: 7/22/2013
Status: offline
Ground attack research applies to Tactical Bombers, so off hand I'm ok with their investments and returns there as well as they do have the possibility of Tactical Bombers in game as well.

_____________________________


(in reply to Hubert Cater)
Post #: 4
RE: Bug in India Research AI script? - 7/8/2019 5:29:05 PM   
Mercutio

 

Posts: 256
Joined: 12/26/2006
Status: offline
I don't think investing in level 3 ground attack over industrial or production is a good call though.

(in reply to Hubert Cater)
Post #: 5
RE: Bug in India Research AI script? - 7/8/2019 5:44:13 PM   
Hubert Cater

 

Posts: 5199
Joined: 7/22/2013
Status: offline
I don't disagree and it is just as mentioned not a prioritization, just a bit of randomness from game to game. There are ways around it to prioritize the AI research effects for nations, it just requires extra scripts and a bit of sleight of hand further manipulation on my end.

_____________________________


(in reply to Mercutio)
Post #: 6
Page:   [1]
All Forums >> [New Releases from Matrix Games] >> Strategic Command Series >> Strategic Command WWII: World at War >> Bug in India Research AI script? Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts


Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI

1.688