-
Posts
11,176 -
Joined
-
Last visited
Posts posted by ChrisND
-
-
Out of curiousity, how do you guys plan on solving the one-tile islands problem for the tiny but strategically important islands?
Looking forward to this mod.
Chris
-
Tried out the Garrison idea Hubert, unfortunetly even if the garrison plans are set to only one turn, they stick to their garrison plans and the AI randomly selects units and loads at Brussels as usual. I'll keep trying
-
Let me know when you get the Spain invasion script working, I'd like to see that.
I'm going to write up the Scandinavia scripts so that Germany will invade Norway, then either invade Sweden or use diplomacy.
-
I have the Italians putting a good stiff fight by themselves in Africa now, provided the AI buys the right units. But I am having a problem in that the Italian fleet seems to prefer to sit in port instead of helping. Is there any way to influence the navies?
-
That is exactly what I was planning. Although I set the Vichy France invasion to have a small chance of a pre-barbarossa invasion.
-
I have a Vichy france invasion as well, set to execute randomly.
I was planning on doing a Spain Invasion, but was waiting until after Barbarossa kicked off.
-
I am having problems with the Gibraltor scripts actually. The Italian AI assignes 2-3 units to it, even after I have specified 1, the plan is always active even if there is an Allied unit in Gibraltor, and half of the units land in Sardinia! : :eek:
-
Yep, I get the same error. here are the scripts I used.
Since Malta is pretty much the only one-tile island on the map with amphib plans made for it, I wonder if this has anything to do with it?
; Italy prepares to attack Malta:
{
#NAME= Italy Amphib Build-Up: Malta
#POPUP=
#FLAG= 1
#TYPE= 2
#COUNTRY_ID= 6
#TRIGGER= 100
#LEVEL= 0
#PLAN_ID= 2
#SIZE= 1
#LENGTH= 1
; Malta
#GOAL_POSITION= 85,30
#DATE= 1940/01/01
#STEAL= 3
; Set friendly positions:
; 1st Line - Sicily
#FRIENDLY_POSITION= 84,28
; Set variable conditions:
; 1st Line - Italy politically aligned with Axis and not surrendered
#VARIABLE_CONDITION= 6 [1] [100] [0]
; Set tactical conditions:
; 1st Line - Rome not tactically threatened
#TACTICAL_CONDITION= 83,24 [1]
; Set activate position:
; 1st Line - No Allied units left in Malta
#ACTIVATE_POSITION= 85,30 [0,0] [0,0] [2]
; Canceled if Axis units already in Malta
#CANCEL_POSITION= 85,30 [0,0] [1,1] [1]
}
; Malta Garrison
{
#NAME= Malta Garrison
#POPUP=
#FLAG= 1
#TYPE= 2
#COUNTRY_ID= 6
#TRIGGER= 100
#LEVEL= 0
#PLAN_ID= 0
#SIZE= 0
#LENGTH= 1
; Malta
#GOAL_POSITION= 85,30
#DATE= 1939/09/03
#STEAL= 3
; Set friendly positions:
; 1st Line - Malta
#FRIENDLY_POSITION= 85,30
; Set variable conditions:
; 1st Line - Italy politically aligned with Axis and not surrendered
#VARIABLE_CONDITION= 6 [1] [100] [0]
; Set tactical conditions:
; 1st Line - Berlin not tactically threatened
#TACTICAL_CONDITION= 84,16 [1]
; Axis unit in Malta
#ACTIVATE_POSITION= 85,30 [0,0] [1,1] [1]
; Allied unit in Malta
#CANCEL_POSITION= 85,30 [0,0] [1,1] [2]
}
-
SC 2 is outstanding. The only reason you see so many suggestions for improvements here is becase we love SC 2 that much; we want it to be the best it can be.
-
Interesting. I am going to try that out. BTW, Hubert gave me an excellent idea on fixing the Brussels amphib staging problem, will get back to you if it works. It may even allow for multiple embarkation points for a single goal.
-
No not you, and not to everyone either. They know who they are.
-
Can we please stop the "my country is better your countries all suck" posts here... it's kind of retarded making generalizations of millions of people, regardless of whether it is America, France, or Nepal.
Or if you want to, go to the proper forum to do it.
-
Sent (First version, without above changes).
New version with above changes, and Hubert's idea on using Garrison scripts to ensure proper Norway invasion, will be sent tonight.
-
Hubert,
That's a good idea, I'll try that out. How strict is the AI when it selects units with proximity to the first FRIENDLY LOCATION flag?
Thanks.
Chris
You are the friggin man. Nowhere else can the fans have this close of contact with the game developers.
[ June 08, 2006, 08:57 PM: Message edited by: Normal Dude ]
-
And a max limit of chits assigned to a particular country!
-
Also Balkans script is having some problems... since German AI seems to want to DoW on Yugoslavia while the units slated for the invasion are still over near Paris! Hopefully I can fix that with an intermediate script.
Dropped the Italian Greece amphib invasion, AI cannot handle it correctly, gave the invasion to Germany after Yugoslavia.
-
Progress:
-Lowered chance of pre-barbarossa Sealion from 10% to 5%, since it is usually Axis suicide. However the AI will be very Sealion-aggressive later on in game.
-Italy invasion of Malta script done, set to occur if Allies abandon Malta. Did one for Gibraltor too.
-Re-did the Italian garrison scripts so the Allied don't get any free cities.
-Wrote a script to stop the Italians from walking piecemeal into Alexandria. Still getting to to work right (Is basically a bunch of garrison scripts around Tobruk, set to cancel when a threshold number of Axis reach Africa).
-Barbarossa Build-up scripts almost complete. A combo of random decision scripts, plus input from the strategic situation, will influence the AI's attack decision on the Russians. I'm going to throw in some wild stuff just to keep the player on his toes.
-I'm leaving the diplomacy, purchase, and research scripts for last at the moment. Although I am working on a script to ge the Italians to buy an HQ before they enter the war... so far cannot get them to do it 100% of the time.
-
They work fairly well for limited situations, a good interim measure until we get global variables.
These decision scripts can even be two-tiered. I have an Axis med attack plan on hold where a second set of decision scripts are activated from a garrison occupying the Med decision tile. These allow the AI to randomly choose between a land attack, or an amphib hit on Syria, but ONLY if the first tile was activated. That one is on hold though, as the AI doesnt know how to protect the amphibs yet.
And of course, the inevitable question, "what if someone accidently moves on that tile?" I haven't had that happen yet, I just choose remote tiles near a city that the AI never sends troops to, or plops down purchases. Since the scripts are Type 0 and are only checked once, past the given date the tile is free for occupying.
-
-
Oh, well in that case when the Barbarossa scripts are entered in, that should stop.
-
What the heck....? That doesn't make sense...
-
The Norway problem is beyond my control, as the current designated location is Copenhagen. I believe that problem is going to be fixed in a patch.
-
Thanks for the Malta suggestion.
When did the Axis DoW Russia? There shouldnt even BE any Russia scripts in there!
-
The friendly position for that is currently Copenhagen.
As for the Italian HQ problem, my short term solution to that is going to be a one-turn script forcing the AI to buy an HQ.
I also need to write a script that keeps those Italian forces at Tobruk until they amass enough of a force. Right now the AI just marches them piecemeal into Alexandria
Enhanced Axis AI for Pre-Barbarossa Ready - Need Testers!
in Strategic Command 2 Scenario and Mods Forum
Posted
Progress:
- North Africa scripts are now working very well. AI will wait until a sizable force is built up prior to attack.
- Gibraltor invasion script if Allies leave it alone is done. The Malta one has to wait as a bug prevents it from working.
- Norway invasion is making progress, still has problems due to AI amphib and "sticky" garrisons.
- Italian HQ purchase problem solved.
- Sealion scripts ready and working.
- Edwin is working on a Vichy France > Spain > Portugal etc script set.
- Early conquest timelines made slightly more variable.
- Garrisons for Seigfreid Line now stop after Brussels falls instead of Paris, allowing for those Corps to bypass the Maginot Line and help in attack.
All testers will get a fresh copy with the updated scripts this morning.