I need Help - AI Testing

Please post here for questions and discussion about scenario design, art and sound modding and the game editor for WITP Admiral's Edition.

Moderators: wdolson, MOD_War-in-the-Pacific-Admirals-Edition

Andy Mac
Posts: 12577
Joined: Wed May 12, 2004 8:08 pm
Location: Alexandria, Scotland

RE: I need Help - AI Testing

Post by Andy Mac »

Overall impressions and any obvious errors would be good its probably 3 generations of AI script backwards I have learned a few new tricks I am trying to incorporate now so overall issues would still be god

Thanks

Andy

(AI will always struggle in China for both sides AI is not good at continental warfare and doesn't handle non base hex defence very well so I tend to assume China will be left quiet by a player v the AI
ORIGINAL: dr. smith

I've actually been playing your Scenario 33 since December, which I think was a precursor? How much change to the AI scripts did you make recently?

I'm in May of '42. Didn't try any fortress Java, but I've had Japan blocked at Moulmein for awhile. Batavia fell on 22 April, Soerbaja's about to. Only thing left in DEI is Sabang.

China's been very quiet.

Can get you more details if this version is of any help.
Andy Mac
Posts: 12577
Joined: Wed May 12, 2004 8:08 pm
Location: Alexandria, Scotland

RE: I need Help - AI Testing

Post by Andy Mac »


Many thanks will investigate
ORIGINAL: Yaab

AndyMac, I think I found a data error.

In scen033 and scen100, almost all xAK/AK/xAP/support ships in Pearl Harbor on December 7, have unusually high crew experience in range of 50/10 for day/night. In scen001 the experience rating of these ships matches the experience of other USN and Allied ships, which is on average 15/10.


For example, AK Alchiba is 13/11 in scen 1, and 53/12 in scen 33 and 100.

OthersxAK:Laida, Florence D
AG: Antares, Aries
xAKLs: Manini, Hirondelle
xAP: St Mihael

and so on, so forth.
User avatar
traskott
Posts: 1572
Joined: Mon Jun 23, 2008 8:30 am
Location: Valladolid, Spain

RE: I need Help - AI Testing

Post by traskott »

Andy, count on me to test it. Email me at traskott-dot-gmail.com and will run anytest u need.
User avatar
PaxMondo
Posts: 10339
Joined: Fri Jun 06, 2008 3:23 pm

RE: I need Help - AI Testing

Post by PaxMondo »

2/1/42 - Rangoon falls.
2/5/42 - Clark falls.
2/7/42 IJ invades Java @ Kalidjati
2/9/42 - Manila falls.
Pax
User avatar
Yaab
Posts: 5445
Joined: Tue Nov 08, 2011 2:09 pm
Location: Poland

RE: I need Help - AI Testing

Post by Yaab »

ORIGINAL: Andy Mac


Many thanks will investigate
ORIGINAL: Yaab

AndyMac, I think I found a data error.

In scen033 and scen100, almost all xAK/AK/xAP/support ships in Pearl Harbor on December 7, have unusually high crew experience in range of 50/10 for day/night. In scen001 the experience rating of these ships matches the experience of other USN and Allied ships, which is on average 15/10.


For example, AK Alchiba is 13/11 in scen 1, and 53/12 in scen 33 and 100.

OthersxAK:Laida, Florence D
AG: Antares, Aries
xAKLs: Manini, Hirondelle
xAP: St Mihael

and so on, so forth.

I took scen100 dat file and renamed it scen28 dat file for the purpose DaBigBabes C game. Seems the contents of scen100 dat file
changed the experience levels of the Pearl Harbor ships in the DaBigBabes C game as well - there is now average 50/10 experience instead of average 15/10 experience. The ships' experience levels in Editor are 0/0 day/ night so I guess, it is the dat file that assigns exp levels to the ships at the scenario's start.

This bug is a show-stopper for me right now.
Andy Mac
Posts: 12577
Joined: Wed May 12, 2004 8:08 pm
Location: Alexandria, Scotland

RE: I need Help - AI Testing

Post by Andy Mac »

Weird wasnt aware it could do that I will investigate
Andy Mac
Posts: 12577
Joined: Wed May 12, 2004 8:08 pm
Location: Alexandria, Scotland

RE: I need Help - AI Testing

Post by Andy Mac »

Great thnaks this is what i dont get from AI v AI testing.

the AI sends 18th Brit Div to Singapore most of the time so Malaya takes longer which delays everything else.

The AI is actually moving pretty fast now - is it giving you many opportunities to massacre convoys etc ??

ORIGINAL: PaxMondo

2/1/42 - Rangoon falls.
2/5/42 - Clark falls.
2/7/42 IJ invades Java @ Kalidjati
2/9/42 - Manila falls.
Andy Mac
Posts: 12577
Joined: Wed May 12, 2004 8:08 pm
Location: Alexandria, Scotland

RE: I need Help - AI Testing

Post by Andy Mac »

How strong was the landing on java and has it covered the Invasion with CV and or SCTF's ??
User avatar
ny59giants
Posts: 9888
Joined: Mon Jan 10, 2005 12:02 pm

RE: I need Help - AI Testing

Post by ny59giants »

Is it possible for the AI to use more Fast Transport TFs? Against a human opponent its hard for the Allies to combat them as they are in and out so quickly. The warships can bombard the base before the troops land and then are like a SC TF afterwards.
[center]Image[/center]
Andy Mac
Posts: 12577
Joined: Wed May 12, 2004 8:08 pm
Location: Alexandria, Scotland

RE: I need Help - AI Testing

Post by Andy Mac »

I have no way of specifying for a script to use FT TF unfortunately wish I could but cannot
User avatar
PaxMondo
Posts: 10339
Joined: Fri Jun 06, 2008 3:23 pm

RE: I need Help - AI Testing

Post by PaxMondo »

ORIGINAL: Andy Mac

Great thnaks this is what i dont get from AI v AI testing.

the AI sends 18th Brit Div to Singapore most of the time so Malaya takes longer which delays everything else.

The AI is actually moving pretty fast now - is it giving you many opportunities to massacre convoys etc ??

ORIGINAL: PaxMondo

2/1/42 - Rangoon falls.
2/5/42 - Clark falls.
2/7/42 IJ invades Java @ Kalidjati
2/9/42 - Manila falls.
At this point, no. Too many CV TF's that I can't compete against without putting the USN into the DEI which I don't like to do so early.

And yes, the pace now isn't too bad. If you can increase the pace of Mili/Kuching/Sinkawang with either Kuching or better Sinkawang being a air base with Netties, I would say the early going is pretty good.
Pax
User avatar
Yaab
Posts: 5445
Joined: Tue Nov 08, 2011 2:09 pm
Location: Poland

RE: I need Help - AI Testing

Post by Yaab »

High exp ships again.

I tried to change AK Alchiba exp to 11/11 (this is the value I got from Tracker for an RHS game, which has no high-exp bug for Pearl Harbor ships). After reloding the turn the ship's value changed from 52/4 to 52/11 in scen 100.

Something is mixing the exp values for ships in scen33 and scen100, which in Editor have exp 0/0 and start the game in Pearl Harbor. Other ships are unaffected, like xAKL Honomu which has 0/0 exp in Editor and starts the game in San Diego and has 9/11 exp.

EDIT: this is the info from Editor's Manual

3.3.1.1 A Note on Experience (Exp Night and Exp Day Ratings)
Note that Ships given a zero (0) in either Exp Night or Exp Day will have that Experience rating set
from a table.
Japanese and British Exp Day ratings will be the table value plus a random number from
0-10.
For all other Allied ships Exp Day ratings will be 4/5 of the table value in 1941 and 1942,
and the table value in 1943 and beyond, plus a random number from 0-10.
Japanese Exp Night ratings will be the table value plus a random number from 0-5.
Allied Exp Night ratings for Submarines and PT Boats will be the table value plus a
random number from 0-10.
For all other Allied ship Exp Night ratings, the rating will be a percentage of the table value plus a random number from 0-10. The percentage increases year by year.

-----------

There is a table added. AK ships have value 10. How come it chnages to 50 in scen033 and scen100 on turn 2???
User avatar
Yaab
Posts: 5445
Joined: Tue Nov 08, 2011 2:09 pm
Location: Poland

RE: I need Help - AI Testing

Post by Yaab »

AnydMac, your dat files are OK. I just posted this exp 50 thing in the tech forum. Seems the code gives huge exp gains for ships with initial 10/10 exp who are disbanded in a port during an air attack.
User avatar
Yaab
Posts: 5445
Joined: Tue Nov 08, 2011 2:09 pm
Location: Poland

RE: I need Help - AI Testing

Post by Yaab »

I think there is a problem with additional bases in Burma.

Since LCU numbers in Burma stayed the same there is not enough LCUs to guard the new bases on Rangoon - Lashio rai line (Burma Road). Granted, you will have enough units if you keep the 1st Burma Division split, but I always combine this unit, which is still a weak LCU even if combined. There should be some local police battalions to help guard the new bases from paratroopes and "rowboat corps".

Consider waht happens if frontline is stabilised 1 hex east or Rangoon-Lashio rail. The empty bases on the rail line may auto-revert to Japanese thanks to their "rowboat corps".
User avatar
PaxMondo
Posts: 10339
Joined: Fri Jun 06, 2008 3:23 pm

RE: I need Help - AI Testing

Post by PaxMondo »

14Feb42 - Oosthaven falls.
19FEb42 - Sabang falls.
22Feb42 - Mandalay falls.
Pax
User avatar
PaxMondo
Posts: 10339
Joined: Fri Jun 06, 2008 3:23 pm

RE: I need Help - AI Testing

Post by PaxMondo »

ORIGINAL: Yaab

I think there is a problem with additional bases in Burma.

Since LCU numbers in Burma stayed the same there is not enough LCUs to guard the new bases on Rangoon - Lashio rai line (Burma Road). Granted, you will have enough units if you keep the 1st Burma Division split, but I always combine this unit, which is still a weak LCU even if combined. There should be some local police battalions to help guard the new bases from paratroopes and "rowboat corps".

Consider waht happens if frontline is stabilised 1 hex east or Rangoon-Lashio rail. The empty bases on the rail line may auto-revert to Japanese thanks to their "rowboat corps".
New bases have no garrison requirements.
They are needed to give the AI the ability to progress, otherwise it doesn't move well (like china).

So, the choice is: get the AI to fight better in Burma (and add the bases needed for that), or don't fight in Burma (and have no additional bases).

Me? I prefer the ability to have the AI fight in Burma.
Pax
User avatar
Yaab
Posts: 5445
Joined: Tue Nov 08, 2011 2:09 pm
Location: Poland

RE: I need Help - AI Testing

Post by Yaab »

You need to hold these bases for the Burma Road to be open. If one of them reverts to Jap, this closes the Burma Road until you recapture the lost base/hex. That is my only concern.
User avatar
PaxMondo
Posts: 10339
Joined: Fri Jun 06, 2008 3:23 pm

RE: I need Help - AI Testing

Post by PaxMondo »

ORIGINAL: Yaab

You need to hold these bases for the Burma Road to be open. If one of them reverts to Jap, this closes the Burma Road until you recapture the lost base/hex. That is my only concern.
Understood completely. But this is a setup for AI games ... which do you want? Without the bases, the AI under-performs. With them, you get much more effective AI advances.
Does it create a little more challenge for the human player? Sure. I'm not seeing that as a bad thing .... just my opinion though.

Pax
User avatar
PaxMondo
Posts: 10339
Joined: Fri Jun 06, 2008 3:23 pm

RE: I need Help - AI Testing

Post by PaxMondo »

25Feb42 - Bataan seige starts
1 Mar Schwebo falls.

Pax
Andy Mac
Posts: 12577
Joined: Wed May 12, 2004 8:08 pm
Location: Alexandria, Scotland

RE: I need Help - AI Testing

Post by Andy Mac »

Thanks much appreciated

Yaab re Burma I wanted to force the Allied player to some unpalatable choices insufficinet units to cover every base I think is a good challenge to face !!!
Post Reply

Return to “Scenario Design and Modding”