Matrix Games Forums

Forums  Register  Login  Photo Gallery  Member List  Search  Calendars  FAQ 

My Profile  Inbox  Address Book  My Subscription  My Forums  Log Out

modding sea zones to patrol

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

Logged in as: Guest
Users viewing this topic: none
  Printable Version
All Forums >> [Current Games From Matrix.] >> [World War II] >> WW2: Time of Wrath >> Tech Support >> modding sea zones to patrol Page: [1]
Login
Message << Older Topic   Newer Topic >>
modding sea zones to patrol - 2/23/2010 4:00:46 PM   
Radar8717

 

Posts: 32
Joined: 8/3/2007
From: Minnesota
Status: offline
From the ai_data

How do you interpret the following numbers from 1939 Great Britain?

SeaZonesToPatrol;2;0;3;0;4;0;5;0;6;0;7;0;73;0;74;0;75;0;;;;;;

Does each number refer to a particular sea zone? What do the actual numbers mean, perhaps a percentage?
I wish to modify a sea zone's number to make sure it is, or is not patrolled. Thanks for a great game.
Post #: 1
RE: modding sea zones to patrol - 2/23/2010 4:42:47 PM   
doomtrader


Posts: 5321
Joined: 7/22/2008
From: Poland
Status: offline
Every name indicates a sea zone and behavior of the fleet in there.
Name of the sea zones can be found in sea_nodes.csv.
Trough events you can define which sea zones should be covered by AI in certain situations

_____________________________


(in reply to Radar8717)
Post #: 2
RE: modding sea zones to patrol - 2/23/2010 5:13:24 PM   
Radar8717

 

Posts: 32
Joined: 8/3/2007
From: Minnesota
Status: offline
These are the first 10 listed in the 1939 sea_nodes file:

1;1;Baltic sea;1030;719;-1;-1
2;1;North sea;660;742;-1;-1
3;1;North East Atlantic;230;800;-1;-1
4;1;Central East Atlantic;260;1200;-1;-1
5;1;West Mediterranean Sea;703;1255;-1;-1
6;1;Central Mediterranean Sea;1032;1310;-1;-1
7;1;East Mediterranean Sea;1279;1395;-1;-1
8;1;Black Sea;1385;1187;-1;-1
9;0;Helsinki;1186;598;161;44
10;0;Leningrad;1307;621;172;44

How do they (above) correspond by sequence into the ai_data 1939 Great Britain file (below)?

SeaZonesToPatrol;2;0;3;0;4;0;5;0;6;0;7;0;73;0;74;0;75;0;;;;;;

There are 18 sea zones defined in the 1939 scenario and there are 18 sequential numbers in the ai_data 1939 Great Britain. How do I match them up? For example which one is the North Sea in the SeaZonesToPatrol ? Thanks again.

(in reply to doomtrader)
Post #: 3
RE: modding sea zones to patrol - 2/23/2010 7:24:45 PM   
doomtrader


Posts: 5321
Joined: 7/22/2008
From: Poland
Status: offline
The AI data file might be translated to something like that:
SeaZonesToPatrol;North sea;Regular;North East Atlantic;Regular;Central East Atlantic;Regular;(...)
Which means that AI will send ships to the Sea zones IDs as regular ships.

In other words the numbers are paired and the first number in pair is responsible for Sea Zone ID (first number in sea_zones.csv), and the second one is responsible for setting fleet behavior (regular or rider).

For example if you will change the entry to something like that:
SeaZonesToPatrol;2;1;
then it will means that the AI will send ships only to North sea in raider mode.

_____________________________


(in reply to Radar8717)
Post #: 4
Page:   [1]
All Forums >> [Current Games From Matrix.] >> [World War II] >> WW2: Time of Wrath >> Tech Support >> modding sea zones to patrol 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.234