Matrix Games Forums

Forums  Register  Login  Photo Gallery  Member List  Search  Calendars  FAQ 

My Profile  Inbox  Address Book  My Subscription  My Forums  Log Out

Changing the AI first turn?

 
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] >> Gary Grigsby's War in the East Series >> Scenario Design and Modding >> Changing the AI first turn? Page: [1]
Login
Message << Older Topic   Newer Topic >>
Changing the AI first turn? - 3/6/2012 4:13:42 PM   
Daveion Steel

 

Posts: 47
Joined: 8/27/2009
Status: offline
As the title says, how do I make my own script for the Axis AI first turn?

I know it is here somewhere as I have read it once before but I just cannot seem to find the thread right now.

It is most likely looking right back at me but I cannot see it for looking! anyone have a link?

D...
Post #: 1
RE: Changing the AI first turn? - 3/7/2012 5:24:02 AM   
bcgames


Posts: 2527
Joined: 6/2/2010
From: Bramble Rose Farm, KS
Status: offline
Editor Manual, Page 47:

4.14. SCRIPTING THE AI
Scenario designers can employ AI scripts in their scenarios that will tell the computer-controlled units where to move or make offensive thrusts. You record them by playing your scenario in human-versus-human mode. Here’s how to do it. Open up your scenario as a human versus human game and then play the first side’s turn like you would want the AI to do it. The game will automatically track your moves and attacks as a script. Once the turn is ended, select the end turn button and save the game. The game saves the scripting information in its own file (scriptRec.dat) in the Dat folder of the GGWITE game directory. Now exit out of your game, open up the editor and load your scenario. Go to the MAIN tab and select ‘Load Recorded Script’. The editor will automatically load the script that you just generated.

IMPORTANT NOTE: GGWITE only saves the scriptRec.dat file for the latest turn you’ve played; you need to immediately go into the editor to input the script file. If you don’t, the scriptRec.dat file will get overwritten the next time you save a game turn.

Save the scenario in the editor and then run the scenario as a game and see if the AI script works out to your satisfaction. If it does not, note what you want to improve and then play the scenario again as a game to correct the deficiencies. Repeat this process until you are satisfied with the performance of the AI in your scenario.

_____________________________


(in reply to Daveion Steel)
Post #: 2
RE: Changing the AI first turn? - 3/7/2012 8:01:53 AM   
Daveion Steel

 

Posts: 47
Joined: 8/27/2009
Status: offline
Thanks very much Bcg, I did actually find it shortly after posting but got carried away testing and playing and then got called into work etc.

D...


(in reply to bcgames)
Post #: 3
RE: Changing the AI first turn? - 3/9/2012 1:31:14 PM   
Redmarkus5


Posts: 4456
Joined: 12/1/2007
From: 0.00
Status: offline
So even with this feature the AI can't be made to take Riga on Turn 1 etc?

_____________________________

WitE2 tester, WitW, WitP, CMMO, CM2, GTOS, GTMF, WP & WPP, TOAW4, BA2

(in reply to bcgames)
Post #: 4
RE: Changing the AI first turn? - 3/10/2012 9:52:59 AM   
Apollo11


Posts: 24082
Joined: 6/7/2001
From: Zagreb, Croatia
Status: offline
Hi all,

The 1st turn in Grand Campaign 1941-1945 is scripted - we told you that on several occasions guys...


This was done by one of the very best WitE ALPHA/BETA grandmaster players (for both sides) - our Andy "Sabre21" after several weeks of hard work (remember that AI script must work for various difficulty settings)!


BTW, one can try creating his very own AI script (there is info about it in manual) and try beating the current AI opening!


So... why not create you very own great AI script that takes Riga on 1st turn and does the Lvov pocket...


If it is good we can retrofit it into official WitE with some future update...


Leo "APollo11"

_____________________________



Prior Preparation & Planning Prevents Pathetically Poor Performance!

A & B: WitW, WitE, WbtS, GGWaW, GGWaW2-AWD, HttR, CotA, BftB, CF
P: UV, WitP, WitP-AE

(in reply to Redmarkus5)
Post #: 5
RE: Changing the AI first turn? - 3/19/2012 9:54:59 AM   
AFV


Posts: 435
Joined: 12/24/2011
From: Dallas, Texas
Status: offline
Apollo, I think that was Red's point, it seems like with this feature, a script could be made that would outperform the current one (no offense to anyone intended), and be incorporated into the game. We all know that the first turn is scripted.
Certainly, at least the opening in the south appears weak.
I might try my hand at making my own script, it sounds challenging, but not sure I want to spend a lot of time at it (kinda why I paid money for the game, so someone else could build it!).

(in reply to Apollo11)
Post #: 6
RE: Changing the AI first turn? - 3/31/2012 10:58:44 PM   
Joel Billings


Posts: 32265
Joined: 9/20/2000
From: Santa Rosa, CA
Status: offline
The AI script cannot react to setbacks when executing like a human player would. If a reserve unit comes in at the wrong time, it can destroy an attack. For the human player he'll find a way around it, but for the AI script this is a serious problem. The AI is probably not capable of making a Lvov pocket opening and holding the pocket closed, not without a play level advantage, which we cannot count on when building the script. It's not as easy as you might think. Of course, you're free to try to improve things. As for Riga, it was never considered an important target on turn 1, at least not for the AI.

_____________________________

All understanding comes after the fact.
-- Soren Kierkegaard

(in reply to AFV)
Post #: 7
RE: Changing the AI first turn? - 4/21/2012 9:17:16 AM   
Redmarkus5


Posts: 4456
Joined: 12/1/2007
From: 0.00
Status: offline

quote:

ORIGINAL: AFV

Apollo, I think that was Red's point, it seems like with this feature, a script could be made that would outperform the current one (no offense to anyone intended), and be incorporated into the game. We all know that the first turn is scripted.
Certainly, at least the opening in the south appears weak.
I might try my hand at making my own script, it sounds challenging, but not sure I want to spend a lot of time at it (kinda why I paid money for the game, so someone else could build it!).


The AI opening in the south is a joke. So, either the AI script wasn't properly developed, or the feature for creating a scripted AI first turn doesn't work very well.

_____________________________

WitE2 tester, WitW, WitP, CMMO, CM2, GTOS, GTMF, WP & WPP, TOAW4, BA2

(in reply to AFV)
Post #: 8
RE: Changing the AI first turn? - 4/21/2012 9:20:38 AM   
Redmarkus5


Posts: 4456
Joined: 12/1/2007
From: 0.00
Status: offline
I should script my own AI first turn if I'm not happy with the one present in the game I paid for??? Do I hear you correctly?

I'm waiting to hear my garage tell me, "Sir, if you don't like the way we tuned your engine, we suggest you go tune it yourself." LOL

_____________________________

WitE2 tester, WitW, WitP, CMMO, CM2, GTOS, GTMF, WP & WPP, TOAW4, BA2

(in reply to Apollo11)
Post #: 9
RE: Changing the AI first turn? - 11/2/2018 11:23:37 AM   
alexrain

 

Posts: 8
Joined: 9/16/2005
Status: offline
how do I open the scriptrec.dat? What language and file format is it????

(in reply to Redmarkus5)
Post #: 10
Page:   [1]
All Forums >> [New Releases from Matrix Games] >> Gary Grigsby's War in the East Series >> Scenario Design and Modding >> Changing the AI first turn? 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

2.797