modding sea zones to patrol (Full Version)

All Forums >> [Current Games From Matrix.] >> [World War II] >> WW2: Time of Wrath >> Tech Support



Message


Radar8717 -> modding sea zones to patrol (2/23/2010 4:00:46 PM)

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.




doomtrader -> RE: modding sea zones to patrol (2/23/2010 4:42:47 PM)

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




Radar8717 -> RE: modding sea zones to patrol (2/23/2010 5:13:24 PM)

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.




doomtrader -> RE: modding sea zones to patrol (2/23/2010 7:24:45 PM)

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.




Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
0.828125