Matrix Games Forums

Forums  Register  Login  Photo Gallery  Member List  Search  Calendars  FAQ 

My Profile  Inbox  Address Book  My Subscription  My Forums  Log Out

_GrandStrategy vs _events scripts Question

 
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] >> WarPlan >> _GrandStrategy vs _events scripts Question Page: [1]
Login
Message << Older Topic   Newer Topic >>
_GrandStrategy vs _events scripts Question - 12/30/2019 1:12:15 AM   
ago1000


Posts: 222
Joined: 8/6/2004
From: Canada
Status: offline
not sure if anyone has played around with _events or the other scripts in the game:

I read in the manual that the _GrandStrategy script provides different AI different strategy plans. For example the AI could perform Operation Sea lion or Barbarossa. _events script effect both the AI and player.

I'm wondering if I can modify the 1939 scenario in such a way that the entry of Russia is either accelerated or delayed. If so what script should be used?

For example, using the _events script you can have an event happen given certain conditions being fulfilled.
The Winter War is an example.

Is it possible to track the number of units the German and Italian forces have in the East. For example in Poland and based on those numbers increase Russia's readiness for war? (this would be in the _events script??????)

Is it possible to set up multiple entry dates for Russia? (I'm guessing the _GrandStrategy script, plans=????)

Just wondering if this is possible or if I'm barking up the wrong tree? Having an editor is awesome.





_____________________________

A tail heavy plane flies but once!
Post #: 1
RE: _GrandStrategy vs _events scripts Question - 12/30/2019 5:05:07 AM   
Isoko

 

Posts: 82
Joined: 5/19/2017
Status: offline
I played a few times WarPlan.
German action is the same, so I checked scripts.
I'm thinking of a script for a little stronger AI.
But there are many bugs, I can't be bothered to make it.
1
Tests are not easy to play.
Need to start game every time for test play.
2
plan = number doesn't work.
There may be other scripts that cause errors.
3
randomizeplanMax = number
The value is always 0 (_event.txt)
4
$GiveUnit of _event.txt
Unit placement is error.
Place units between Axis turn and Allies turn.
So Axis units can't move this turn, but Allies units can move this turn.

These bugs are not yet fixed.

>Is it possible to track the number of units the German and Italian forces have in the East. For example in Poland and based on those numbers increase Russia's readiness for war? (this would be in the _events script??????)
I think this script.
landUnitInRadius=x,y,+units,radius,alliance ¯ returns true if the number of land units in the area is equal to or GREATER than the number from the specified alliance that are within the radius. If set to zero radius it checks the x,y hex only

>Is it possible to set up multiple entry dates for Russia? (I'm guessing the _GrandStrategy script, plans=????)
I have not checked yet
But I think that you can do it if you think normally.

(in reply to ago1000)
Post #: 2
RE: _GrandStrategy vs _events scripts Question - 12/30/2019 3:57:32 PM   
Alvaro Sousa


Posts: 5041
Joined: 7/29/2013
Status: offline
So lets take a look at one of the grand strategy orders

$GrandStrategy
if_Date=1/1/1939
lifespan=once
actionCountry=6
strategyOffense=true ----> this means the A.I. will take offensive action attacking and taking objectives making riskier attacks. false means it will only make high odds attack and defends it's own territory

randomizePlanMax=2 ----> You can have many plans. This randomizes the plans you have labeled int he game. If no plan is specified in scripts then it

$End

### Grand strategy plan example..


//setup to invade Yugoslavia
$GatherLand
if_Date=3/15/1941
if_Plan=1 ----> here is the random plan from above is 1 this script will execute. If it is plan 2 it won't simple

landUnitInRadius=167,43,5,4,Axis
lifespan=tillTrigger
actionCountry=6
targetCountry=57
landAssets=1
hqAsset
setup=0
xyArea=170,46
$End


#### testing

No testing isn't easy. It is very complex for large intricate scenarios. I am still adjusting scripts based on unforeseen outcomes. But say you design an Eastern Front scenario. Here scripts will be much easier as it is a single front line. Or the invasion of Malta will be simple. Or North African campaign.

But something like the European theater is very difficult to accomplish. I had to get very creative with scripting to make things happen without putting in special code for it.

_____________________________

Games worked on

Designer of the Strategic Command 2 products
- Brute Force (mod)
- Assault on Communism
- Assault on Democracy

Designer of the Strategic Command 3 products
- Map Image Importer

(in reply to Isoko)
Post #: 3
RE: _GrandStrategy vs _events scripts Question - 12/30/2019 8:15:04 PM   
ago1000


Posts: 222
Joined: 8/6/2004
From: Canada
Status: offline
Thank you Gentlemen. Awesome game.

_____________________________

A tail heavy plane flies but once!

(in reply to Alvaro Sousa)
Post #: 4
Page:   [1]
All Forums >> [New Releases from Matrix Games] >> WarPlan >> _GrandStrategy vs _events scripts Question 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

0.109