Ajouter une nouvelle carte: Capture de données : Différence entre versions

De SEOW Wiki FR
Sauter à la navigation Sauter à la recherche
(New page: (from 4Shades , Hawk_5, Goanna, Dore) === Requirements === * Have your own web server or admin level access to one. I run a web server from a second home PC on the network. Its old and s...)
 
 
(22 révisions intermédiaires par le même utilisateur non affichées)
Ligne 1 : Ligne 1 :
(from 4Shades , Hawk_5, Goanna, Dore)
+
=== <u>Configuration nécessaire</u>===
  
=== Requirements ===
 
  
* Have your own web server or admin level access to one. I run a web server from a second home PC on the network. Its old and slow (500M cpu) but it runs Scorched Earth just fine. Setting one up is reasonably simple but that is for another thread.  
+
* A local php-enabled web server & a MySQL database server (such as installed jointly by Wamp Server).
  
 
* A good graphics program such as Photoshop or Paint Shop Pro. This is needed to create the final map images and trim them to size. Multi-layer capability is a must in my books.  
 
* A good graphics program such as Photoshop or Paint Shop Pro. This is needed to create the final map images and trim them to size. Multi-layer capability is a must in my books.  
  
* A text editor program that can edit PHP files and understands the format. I started using Windows Notepad which can do the job but using a good software application designed for this type of thing makes it so much easier. I currently use a program called ConTEXT. It was a freeware download and there are so many of them it should be no problem to find one that suits you.  
+
* A text editor program that can edit PHP files and understands the format. (PSPad or ConTEXT or EditPlus).
  
* A spreadsheet application such as Microsoft Excel or Open Office Calc.  
+
* A spreadsheet application such as Microsoft Excel or Open Office Calc.
This is used to sort captured data (as 4Shades described in his post) and formatting it so it can be imported into a database management application. Which leads to;
 
  
* An MSAccess or SQL database management application. Scorched Earth can use either database types. I use SQLyog which again is a free download (like most of my software where I can help it). Navicat is another good application and there is a free trial version (at the time of writing) which can get the job done.  
+
* [http://www.flibusteairline.com/bdd/campagne/EC/SEOW_Routes_Tool_v1.2.xls SEOW_Routes_Tool_v1.2.xls] Excel spreadsheet for transforming Roads, Railways and Bridges of *.mis file data to SEOW database format.
  
* [http://www.flibusteairline.com/bdd/software/FMBplus.zip FMBplus] use 4.08 or 4.09b1m '''with''' mod for easier Data Capture (see below)
+
This is the "Toolkit" that lets you create maps but it also means you have your own functional SEOW system to run campaigns.
  
* [http://www.flibusteairline.com/bdd/campagne/EC/SEOW_Routes_Tool_v1.1.xls SEOW_Routes_Tool_v1.1.xls] Excel spreadsheet for transform Roads, Railways and Bridges of *.mis file data in SEOW data.
+
There are two main lines of effort involved in adding a map to SEOW. The first is the data capture effort for the database, and the second is the map-making effort for the MP.
  
This is the "Toolkit" that lets you create maps but it also means you have your own functional Scorched Earth system to run campaigns.
+
=== <u>Capture de données</u>===
 
 
There are two main lines of effort involved in adding a map to SEOW. The first is the data capture effort for the database, and the second is the map-making effort for the MP.
 
 
 
=== Data Capture ===
 
  
 
The following data needs to be captured from the FMB:  
 
The following data needs to be captured from the FMB:  
Ligne 38 : Ligne 32 :
 
* Railway Stations
 
* Railway Stations
  
* Blockages Routes (Railways and Roads)
+
* Route Blockages (Railways and Roads)
  
  
Ligne 48 : Ligne 42 :
  
 
* Opposing forces in Sector_Dominance
 
* Opposing forces in Sector_Dominance
 +
 +
* Movement cost parameters in Sector_Movement_Cost
 
   
 
   
 
* Recon effect parameters in Sector_Recon_Parameters
 
* Recon effect parameters in Sector_Recon_Parameters
Ligne 58 : Ligne 54 :
 
Finally, you ought to associate some of the available Airforce_Units with your new sector. Note that you cannot just make up Airforce Unit names (as you can for Army Units). This is because all Airforce Unit names are hard-coded in IL-2 so you are stuck with what is defined in the Airforce_Units table. IL-2 doesn’t even consider platoon/flotilla naming for ground/sea forces, so we are free to do that ourselves in SEOW. When you start a campaign in SEOW, you will have access to all flights for the air regiments used in your template file PLUS all flights for air regiments indicated as defaults for the sector by any entries in the Airforce_Units table.
 
Finally, you ought to associate some of the available Airforce_Units with your new sector. Note that you cannot just make up Airforce Unit names (as you can for Army Units). This is because all Airforce Unit names are hard-coded in IL-2 so you are stuck with what is defined in the Airforce_Units table. IL-2 doesn’t even consider platoon/flotilla naming for ground/sea forces, so we are free to do that ourselves in SEOW. When you start a campaign in SEOW, you will have access to all flights for the air regiments used in your template file PLUS all flights for air regiments indicated as defaults for the sector by any entries in the Airforce_Units table.
  
 +
=== <u>Capture des routes et des voies ferrées</u>===
 +
 +
 +
This is brute force work, especially for large European maps. Pacific/Asian maps have much smaller road networks.
 +
 +
* Open the map and set the SNAP value to 100 (meters) in the FMB
 +
 +
[[Image:snap.jpg]]
 +
 +
* Place a separate moving vehicle to drive along every stretch of road between each pair of intersections. In some maps this might give you several hundred moving vehicles as you cover all possible road routes between intersections.
 +
 +
* Do the same for trains. Sometimes it is very hard to get trains to stick on the map. Only 2 way points can be used for trains: Sometimes, 2 separate trains could be necessary between 2 intersections. 
 +
 +
* Save the FMB file.
 +
 +
Some advices:
 +
 +
* Choose a different color vehicle for main and secondary roads. This will be useful for recognize wooden or metal bridges: secondary roads have always wooden bridges and main roads have metal bridges.
 +
 +
[[Image:vehicleR.jpg]]  [[Image:vehicleB.jpg]]
 +
 +
* Short roads and crossroads: Sometimes when roads are too short it is necessary to add some manual way points (every road route needs at least 3 waypoints):
 +
 +
[[Image:road.jpg]]
  
 +
=== <u>Comment construire les tables Highways et Railway_Waypoints?</u>===
  
* '''How to Capture Roads and Railways'''
+
* Edit the mis file with a text editor as NotePad, only keep the following data:
 
This is brute force work, especially for large European maps. Pacific/Asian maps have much smaller road networks. The method is to open the map in FMB and place a separate moving vehicle to drive along every stretch of road between each pair of intersections. In some maps this might give you several hundred moving vehicles as you cover all possible road routes between intersections (and to the edge of the map). Do the same for trains. Sometimes it is very hard to get trains to stick on the map. Save the FMB file and open it in a spreadsheet. The road coordinates for each of the vehicle routes are shown under the "[nn_Chief_Road]" headings, like the following:  
 
  
 
Code:
 
Code:
  
 
[1_Chief_Road]  
 
[1_Chief_Road]  
   13100.00 39863.88 120.00 0 14 3.055555582046509  
+
   13100.00 39800.00 120.00 0 14 3.055555582046509  
 
   13100.00 39100.00 20.00  
 
   13100.00 39100.00 20.00  
 
   13100.00 37700.00 20.00  
 
   13100.00 37700.00 20.00  
Ligne 80 : Ligne 99 :
 
   16300.00 29700.00 20.00  
 
   16300.00 29700.00 20.00  
 
   16300.00 29300.00 20.00  
 
   16300.00 29300.00 20.00  
   16359.55 28979.78 120.00  
+
   16300.00 28900.00 120.00  
 
[2_Chief_Road]  
 
[2_Chief_Road]  
   24502.58 12659.96 120.00 0 19 3.055555582046509  
+
   24500.00 12600.00 120.00 0 19 3.055555582046509  
 
   24500.00 12900.00 20.00  
 
   24500.00 12900.00 20.00  
 
   24300.00 13100.00 20.00  
 
   24300.00 13100.00 20.00  
Ligne 100 : Ligne 119 :
 
   22100.00 18900.00 20.00  
 
   22100.00 18900.00 20.00  
 
   22100.00 19100.00 20.00  
 
   22100.00 19100.00 20.00  
   21935.15 19317.45 120.00  
+
   21900.00 19300.00 120.00  
 
+
........................
 
 
Each record has 3 values, the "highway node" (X,Y,Z) coordinates. By IL-2 convention, all road and rail nodes lie on a regular grid with coordinates of multiples of 100.0 m (usually odd multiples). In the examples above, the first and last records for each Chief are where you click the vehicle waypoint (Z=120.00), while the other records are generated by FMB to following the internal highway node locations (Z=20.00). We want to capture the complete list for each Chief with exact coordinates. Each of these Chief highway routes should be assigned a unique "Route" number and then entered into the Highways table of the database. Every route on every sector in SEOW has its OWN Route number.
 
 
 
Two useful tools to capture easier roads and railways:
 
  
*  FMBplus (use 4.08 or 4.09b1m with mod)
+
Each record has 3 values, the "highway node" (X,Y,Z) coordinates. By IL-2 convention, all road and rail nodes lie on a regular grid with coordinates of multiples of 100.0 m (usually odd multiples). In the examples above, the first and last records for each Chief are where you click the vehicle waypoint (Z=120.00), while the other records are generated by FMB to following the internal highway node locations (Z=20.00). When using SNAP = 100 (meters), data are quite ready to be used in the SEOW tables. If not, the manual WP would be e.g. 21925.88 instead of 21900.00.
  
The advantage is that coordinates (X,Y, 120) are exact. So we can keep them without modification.
 
FMBplus show also bridges'number.
 
Just unzip in MODS folder. It'll create a new .../MODS/FMB folder.
 
  
- Use "Snap function" with step between 20 or 40 meters, and it'll be easy to find roads' intersections.
+
We want to capture the complete list for each Chief with exact coordinates. Each of these Chief highway routes should be assigned a unique "Route" number and then entered into the Highways table of the database. Every route on every sector in SEOW has its OWN Route number.
 
 
--> ''Also very useful for create a template:''
 
 
- Select several objects to move, rotate or delete:
 
In EDIT menu select "ENABLE SELECT" then draw a box around objects with left mouse and LEFTALT key on.
 
  
- For move: Select one object to move all
+
* Open [http://www.flibusteairline.com/bdd/campagne/EC/SEOW_Routes_Tool_v1.2.xls SEOW_Routes_Tool_v1.2.xls]: Excel spreadsheet for transforming the *.mis file data to SEOW database format.
  
- For rotate: Put mouse cursor without click to indicate the rotating center and rotate with numericpad keys. 2D: 1 and 3 for
+
* Copy the [xx_Chief_Road] data in the SEOW_Routes_Tool_v1.2.xls as explained therein. Then, hit the "Roads & Railways" button and copy the result in a new Excel file. Add a sector name column (e.g Burma).
rotate 30°, 4 and 6 for 15°, 7 and 9 for 5°, 5 for reset
 
  
3D:
+
[[Image:tool.jpg]]
 
F1: slowly move
 
  
F2: normal move
+
* Save this file as Highways.csv (e.g. DOS format). Do the same for Railways.csv.
  
F3: faster move
+
* Keep the SEOW_Routes_Tool_v1.2.xls open, it will be use for Bridges (see below).
 
Right mouse click: XY move
 
  
F4 and Right mouse click: move Z
+
* As an example, after using SEOW_Routes_Tool_v1.2,  if we say Chief2 above represents Route 123456 in the Sector "Burma", then we would add it to the Highways table as  
 
 
F5 and Right mouse click: rotate with showing coordonates
 
 
F6 and F7 and Right mouse click: bend objects when possible
 
 
F10: remove landscape.
 
 
 
Example:
 
 
 
- Without FMBplus you obtain this in your mis file:
 
 
 
The first and last records for each Chief are where you click the vehicle waypoint (Z=120.00), while the other records are generated by FMB to following the internal highway node locations (Z=20.00).
 
 
 
[1_Chief_Road]
 
  '''13121.03 39863.88''' 120.00 0 14 3.055555582046509 (
 
  13100.00 39100.00 20.00
 
  13100.00 37700.00 20.00
 
  13300.00 37500.00 20.00
 
  13300.00 36300.00 20.00
 
  14100.00 35500.00 20.00
 
  14100.00 33300.00 20.00
 
  14900.00 32500.00 20.00
 
  14900.00 31500.00 20.00
 
  15900.00 30500.00 20.00
 
  15900.00 30100.00 20.00
 
  16300.00 29700.00 20.00
 
  16300.00 29300.00 20.00
 
  '''16359.55 28979.78''' 120.00
 
 
 
 
- With FMBplus you obtain this:
 
 
 
[1_Chief_Road]
 
  '''13100.00 39800.00''' 120.00 0 14 3.055555582046509
 
  13100.00 39100.00 20.00
 
  13100.00 37700.00 20.00
 
  13300.00 37500.00 20.00
 
  13300.00 36300.00 20.00
 
  14100.00 35500.00 20.00
 
  14100.00 33300.00 20.00
 
  14900.00 32500.00 20.00
 
  14900.00 31500.00 20.00
 
  15900.00 30500.00 20.00
 
  15900.00 30100.00 20.00
 
  16300.00 29700.00 20.00
 
  16300.00 29300.00 20.00
 
  '''16300.00 28900.00''' 120.00
 
 
 
* SEOW_Routes_Tool_v1.1.xls: Excel spreadsheet for transform *.mis file data in SEOW data.
 
 
 
As an example, after using SEOW_Routes_Tool_v1.1,  if we say Chief2 above represents Route 123456 in the Sector "Rhami Land", then we would add it to the Highways table as  
 
  
 
Code:
 
Code:
Ligne 192 : Ligne 143 :
 
Route  X_Axis      Y_Axis  Orientation Waypoint_Number Map
 
Route  X_Axis      Y_Axis  Orientation Waypoint_Number Map
  
123456  '''24500.00 12700.00 20.00'''  1    "Rhami Land"
+
123456  '''24500.00 12700.00 20.00'''  1    "Burma"
  
123456  24500.00 12900.00 20.00  2    "Rhami Land"
+
123456  24500.00 12900.00 20.00  2    "Burma"
  
123456  24300.00 13100.00 20.00  3    "Rhami Land"
+
123456  24300.00 13100.00 20.00  3    "Burma"
  
123456  24300.00 15100.00 20.00  4    "Rhami Land"
+
123456  24300.00 15100.00 20.00  4    "Burma"
  
123456  23700.00 15700.00 20.00  5    "Rhami Land"
+
123456  23700.00 15700.00 20.00  5    "Burma"
  
123456  23700.00 15900.00 20.00  6    "Rhami Land"
+
123456  23700.00 15900.00 20.00  6    "Burma"
  
123456  23700.00 16300.00 20.00  7    "Rhami Land"
+
123456  23700.00 16300.00 20.00  7    "Burma"
  
123456  23700.00 16700.00 20.00  8    "Rhami Land"
+
123456  23700.00 16700.00 20.00  8    "Burma"
  
123456  23700.00 16900.00 -4.00  9  "Rhami Land"
+
123456  23700.00 16900.00 -4.00  9  "Burma"
  
123456  23700.00 17300.00 -4.00  10  "Rhami Land"
+
123456  23700.00 17300.00 -4.00  10  "Burma"
 
   
 
   
123456  23700.00 17500.00 20.00  11    "Rhami Land"
+
123456  23700.00 17500.00 20.00  11    "Burma"
 
   
 
   
123456  23700.00 17700.00 20.00  12    "Rhami Land"
+
123456  23700.00 17700.00 20.00  12    "Burma"
 
   
 
   
123456  23100.00 18300.00 20.00  13    "Rhami Land"
+
123456  23100.00 18300.00 20.00  13    "Burma"
 
   
 
   
123456  22900.00 18300.00 20.00  14    "Rhami Land"
+
123456  22900.00 18300.00 20.00  14    "Burma"
 
   
 
   
123456  22500.00 18700.00 20.00  15    "Rhami Land"
+
123456  22500.00 18700.00 20.00  15    "Burma"
 
   
 
   
123456  22300.00 18700.00 20.00  16    "Rhami Land"
+
123456  22300.00 18700.00 20.00  16    "Burma"
 
   
 
   
123456  22100.00 18900.00 20.00  17    "Rhami Land"
+
123456  22100.00 18900.00 20.00  17    "Burma"
 
   
 
   
123456  22100.00 19100.00 20.00  18    "Rhami Land"
+
123456  22100.00 19100.00 20.00  18    "Burma"
 
   
 
   
123456  '''21900.00 19300.00 20.00'''  19    "Rhami Land"
+
123456  '''21900.00 19300.00 20.00'''  19    "Burma"
 +
 
 +
 
 +
The idea is that every route overlaps at its start and end points with other routes. The same process goes for trains for the Railway_Waypoints table. Do not bother about updating the Highway_Intersections table - that is created by running a pre-defined query in the MySQL database.
  
 +
* You may also find places on your map where the road route or the railway route is broken. For roads you can sometimes plot out your own path around this map problem, but for trains you usually cannot. The database table Route_Blockages allows you to define blockage markers for your sector, if required. These will show on your sector in the MP as black circles with a white X in them, indicating that there is no route through here.
  
The idea is that every route overlaps at its start and end points with another route. The same process goes for trains for the Railway_Waypoints table. Do not bother about updating the Highway_Intersections table - that is created by running a query in the MySQL database. For reference, I did all the roads and bridges in Khalkhin Gol in under 2 hours. But Paddington took a long time to do Gulf of Finland which is many times more complicated.
+
=== <u>Comment construire la table Bridges</u>===
You may also find places on your map where the road route or the railway route is broken. For roads you can sometimes plot out your own path around this map problem, but for trains you usually cannot. The database table Route_Blockages allows you to define blockage markers for your sector, if required. These will show on your sector in the MP as black circles with a white X in them, indicating that there is no route through here.
 
  
* '''Bridges'''
 
 
   
 
   
 
Bridges are denoted in the roads and railways data by instances where Z < 0. In the example above we have the two lines  
 
Bridges are denoted in the roads and railways data by instances where Z < 0. In the example above we have the two lines  
Ligne 246 : Ligne 199 :
 
Code:
 
Code:
  
length = SQRT((X1-X2)*(X1-X2) + (Y1-Y2)*(Y1-Y2))  
+
length = SQRT((X1-X2)² + (Y1-Y2)²)  
 +
 
 +
In our example we see that Bridge 3 has length 400 m.
  
 +
* Use the previous SEOW_Routes_Tool_v1.2.xls for bridges data.
  
In our example we see that Bridge 3 has length 400 m. The remainder of the fields in the Bridges table are easy enough to fill out, except Damage_Name. The Damage_Name is given by the BridgeID according to the corresponding entry in Bridge_Codes table.
+
* Copy data in the [http://www.flibusteairline.com/bdd/campagne/EC/Bridges_Table_Builder_v2.zip Bridges_Table_Builder_v2 Tool] and run Bridges Calculation:
With using SEOW_Routes_Tool_v1.1, you obtain directly the right Bridges SEOW data.
 
  
* '''Industrial Installations'''
+
[[Image:bridges_table.jpg]]
  
As a rule of thumb, we usually consider any factory building with 3 or more chimneys as a valid major factory installation, and any fuel dump with 6 or more fuel tanks as a valid fuel facility, but as map builder you can make your own convention about what deserves to be an installation in your map. In FMB, locate all such facilities on the map and place a stationary object INSIDE the fuel tank or factory. Save the FMB file and find the X,Y,Z coordinates of the stationaries and use them to build new records for the Industrial_Installations table. In that table you can ignore the Sm_x,Sm_y,Sm_z,Sm_h,Destruction_Code,Event_Date and Production_Points fields, but the other fields are all necessary. Every factory and fuel dump should have its own unique name. Stick to the naming conventions already in the table.
+
* Then, build the Bridge table. The Damage_Name is given by the BridgeID according to the corresponding entry in Bridge_Codes table and must be a text field:
  
* '''Tile Map Codes'''
+
[[Image:bridges_table2.jpg]]
  
This is really easy and fun. Open the map in FMB, select the Destruction tool, choose Destruction level Maximum, choose maximum Cursor width, click on the map, press "f" and move the mouse. You will paint all destroyable map tiles (green squares) over the whole map bright red. Save the FMB file. Open it up and you will see many lines of weird codes at the end of the file. You need to capture these with the new sector name into the Tile_Map_Codes table. No X,Y,Z coords needed as this information is already encoded into the tile codes.
+
=== <u>Comment construire la table Industrial Installations?</u>===
  
 +
As a rule of thumb, we usually consider any factory building with 3 or more chimneys as a valid major factory installation, and any fuel dump with 6 or more fuel tanks as a valid fuel facility, but as map builder you can make your own convention about what deserves to be an installation in your map. In FMB, locate all such facilities on the map and place a stationary object INSIDE the fuel tank or factory. Save the FMB file and find the X,Y,Z coordinates of the stationaries and use them to build new records for the Industrial_Installations table. In that table you can ignore the Sm_x,Sm_y,Sm_z,Sm_h,Destruction_Code,Event_Date and Production_Points fields, but the other fields are all necessary. Every factory and fuel dump should have its own unique name. Stick to the naming conventions already in the table.
  
* '''Airbases'''
+
An easy way to capture Industrial Installations is to use actors.static when we have it: Extract it (see [[Modify a map mod for SEOW online]]), open outBuildings.txt and you keep only House$IndustrialFactoryConstruction1 (factory with 3 chimneys) and House$IndustrialFactoryTank1 (fuel dump).
  
The idea here is to use FMB to capture landing and takeoff points for each airbase. By convention we land at the western end and takeoff at the eastern end where possible. The X,Z coords need to be entered into the Airbases table. Also identify what type of layout each airbase has (by reference to the SEOW Airbase Layouts PDF available from the download site). In some cases a new airbase is encountered, so a new Airbase Layout must be built. (see below)
+
[[Image:industrial.jpg]]
  
 +
=== <u>Comment construire la table Tile Map Codes?</u>=== 
  
 +
This is really easy and fun. Open the map in FMB, select the Destruction tool, choose Destruction level Maximum, choose maximum Cursor width, click on the map, press "f" and move the mouse. You will paint all destroyable map tiles (green squares) over the whole map bright red. Save the FMB file. Open it up and you will see many lines of weird codes at the end of the file. You need to capture these with the new sector name into the Tile_Map_Codes table. No X,Y,Z coords needed as this information is already encoded into the tile codes.
  
Now for the data defaults. Most of these can be done simply by copying data from other sector records in the tables, but some care must be given to Army_Units, Sector_Seasons and Resupply_Points.  
+
[[Image:tiles.jpg]]
  
* '''Army_Units'''
+
=== <u>Comment construire la table Airbases? </u>===
 +
 
 +
The idea here is to use FMB to capture landing and takeoff points for each airbase. By convention we land at the western end and takeoff at the eastern end where possible. The X,Z coords need to be entered into the Airbases table. Also identify what type of layout each airbase has (by reference to the SEOW Airbase Layouts PDF available from the download site). In some cases a new airbase is encountered, so a new Airbase Layout must be built. (see below).
 +
 
 +
[[Image:airbases.jpg]]
 +
 
 +
 
 +
Now for the data defaults. Most of these can be done simply by copying data from other sector records in the tables, but some care must be given to Army_Units, Sector_Seasons and Resupply_Points.
 +
 
 +
=== <u>Army_Units table</u>===
 
   
 
   
This is where you specify the names of the Allied and Axis army divisions that will be ued to name platoons in the template. The Division Names are arbitrary, but the remainder of the fields must remain in standard format. Make sure you give at least 2 or 3 divisions of each type "V","T","A" and "E" to each side. You can have the same Division_Name in different sectors if you like.  
+
This is where you specify the names of the Allied and Axis army divisions that will be used to name platoons in the template. The Division Names are arbitrary, but the remainder of the fields must remain in standard format. Make sure you give at least 2 or 3 divisions of each type "V","T","A" and "E" to each side. You can have the same Division_Name in different sectors if you like.  
  
* '''Sector_Seasons'''
+
=== <u>Sector_Seasons table</u>===
 
   
 
   
 
This table contains information about whether the sector uses the same FMB map all year around, or swaps between summer and winter forms, e.g. Moscow has a green summer map and a white winter map. This swapping is specified in SEOW by putting the respective map loader strings in the "Summer_Map" and "Winter_Map" fields. For Moscow the two map loader strings are  
 
This table contains information about whether the sector uses the same FMB map all year around, or swaps between summer and winter forms, e.g. Moscow has a green summer map and a white winter map. This swapping is specified in SEOW by putting the respective map loader strings in the "Summer_Map" and "Winter_Map" fields. For Moscow the two map loader strings are  
Ligne 283 : Ligne 250 :
 
These map loader strings are found in FMB files near the top. Sector_Seasons also contains the dates on which Summer switches to Winter, and Winter to Summer. These dates are written as numbers in MMDDhhmm format, so "04010000" means "1 April at 00:00 hours". Map summer/winter dawn and dusk times are given to regulate the use of airfield lighting throughout the year, and also to feed into the reconnaissance calculations. To help you identify which FMB maps SEOW uses for different sectors, take a look at the "Maps" link in the horizontal toolbar of the MP front page.
 
These map loader strings are found in FMB files near the top. Sector_Seasons also contains the dates on which Summer switches to Winter, and Winter to Summer. These dates are written as numbers in MMDDhhmm format, so "04010000" means "1 April at 00:00 hours". Map summer/winter dawn and dusk times are given to regulate the use of airfield lighting throughout the year, and also to feed into the reconnaissance calculations. To help you identify which FMB maps SEOW uses for different sectors, take a look at the "Maps" link in the horizontal toolbar of the MP front page.
  
* '''Resupply Points'''
+
=== <u>Resupply Points table</u>===
 +
 
 +
Again, some air, ground, rail and sea resupply points should be added to the Resupply_Points table, where appropriate. The Supply_Point field is just an arbitrary name, but all other fields must be entered strictly in format. The Point_Z field for air supply points indicates the spawn altitude of aircraft using the point. For railway supply points, the Z field indicates the direction of the railway line at the supply point location.  To get this information you must place a stationary object at the location in FMB and align it with the railway line, pointing into the map rather than exiting the map. The Z field for this object inside the .mis file is the value you need to use in the corresponding railway supply point definition in Resupply_Points table. For road and ship supply points, the Z field in the Resupply_Points table is ignored.
 +
 
 +
=== <u>Railway Stations table</u>===
 +
 
 +
For each Railway Station, you have to capture: 1st end of the station (Platform_Start_X, Platform_Start_Y), 2nd end (Platform_Finish_X, Platform_Finish_Y) and the target point (Target_X, Target_Y) Target is generally a building representing the station.
 +
 
 +
[[Image:station.jpg]]
 +
 
 +
The Station_Type is a number: 5 (for large platform) or 1 (for simple station).
 +
 
 +
=== <u>Comment construire les tables Highways and Railways Intersections</u>===
 +
 
 +
When the Highways and Railway_Waypoints Table are done, run these SQL requests:
 +
 
 +
* 1. Highways:
 +
- To rebuild Highway_Intersections:
 +
 +
drop table if exists Highway_Intersections;
 +
CREATE TABLE `Highway_Intersections` (
 +
`Map` varchar(50) default NULL,
 +
`Intersection_X_Axis` int(11) default NULL,
 +
`Intersection_Y_Axis` int(11) default NULL,
 +
`Route` int(11) default NULL,
 +
`Waypoint_Number` int(11) default NULL
 +
) TYPE=InnoDB;
 +
INSERT INTO Highway_Intersections SELECT DISTINCT * FROM (SELECT Map, X_Axis as Intersection_X_Axis, Y_Axis AS Intersection_Y_Axis, Route, Waypoint_Number FROM Highways, (SELECT Map AS Junction_Map, X_Axis AS Junction_X_Axis, Y_Axis AS Junction_Y_Axis, COUNT(Route) AS Exits FROM Highways GROUP BY CONCAT(Map,'^',X_Axis,'^',Y_Axis) HAVING COUNT(Route)>1) AS Junctions WHERE Map=Junctions.Junction_Map AND X_Axis=Junctions.Junction_X_Axis AND Y_Axis=Junction_Y_Axis ORDER BY X_Axis, Y_Axis, Route) AS Table_With_Dups;
 +
 
 +
Then check all bad intersections when WPMAX=n and 1< WP-intersection <n:
 +
 +
''SELECT HMMap AS Map, HMRoute AS Route, HM.MaxWP AS RouteMaxWP, HI.Waypoint_Number AS IntersectionWP FROM (SELECT Map AS HIMap, Route as HIRoute, Waypoint_Number FROM Highway_Intersections WHERE Waypoint_Number>1 ORDER BY Map,Route) AS HI, (SELECT Map AS HMMap, Route AS HMRoute, Max(Waypoint_Number) AS MaxWP FROM Highways GROUP BY Map, Route ORDER BY Map,Route) AS HM WHERE HI.HIMap=HM.HMMap AND HI.HIRoute = HM.HMRoute AND HI.Waypoint_Number<>HM.MaxWP;''
 +
 
 +
  
Again, some air, ground, rail and sea resupply points should be added to the Resupply_Points table, where appropriate. The Supply_Point field is just an arbitrary name, but all other fields must be entered strictly in format. The Point_Z field for air supply points indicates the spawn altitude of aircraft using the point. . For railway supply points, the Z field indicates the direction of the railway line at the supply point location.  To get this information you must place a stationary object at the location in FMB and align it with the railway line, pointing into the map rather than exiting the map. The Z field for this object inside the .mis file is the value you need to use in the corresponding railway supply point definition in Resupply_Points table. For road and ship supply points, the Z field in the Resupply_Points table is ignored.
+
* 2. Railways:
 +
- To rebuild Railway_Intersections:
  
 +
drop table if exists Railway_Intersections;
 +
CREATE TABLE `Railway_Intersections` (
 +
`Map` varchar(50) default NULL,
 +
`Intersection_X_Axis` int(11) default NULL,
 +
`Intersection_Y_Axis` int(11) default NULL,
 +
`Route` int(11) default NULL,
 +
`Waypoint_Number` int(11) default NULL
 +
) TYPE=InnoDB;
 +
INSERT INTO Railway_Intersections SELECT DISTINCT * FROM (SELECT Map, X_Axis as Intersection_X_Axis, Y_Axis AS Intersection_Y_Axis, Route, Waypoint_Number FROM Railway_Waypoints, (SELECT Map AS Junction_Map, X_Axis AS Junction_X_Axis, Y_Axis AS Junction_Y_Axis, COUNT(Route) AS Exits FROM Railway_Waypoints GROUP BY CONCAT(Map,'^',X_Axis,'^',Y_Axis) HAVING COUNT(Route)>1) AS Junctions WHERE Map=Junctions.Junction_Map AND X_Axis=Junctions.Junction_X_Axis AND Y_Axis=Junction_Y_Axis ORDER BY X_Axis, Y_Axis, Route) AS Table_With_Dups;
  
OK, that is about it for data capture. Airbases and roads are usually the hardest parts. Next, we will talk about the MP mapping side of things: [[Add a new map: Maps and php]]
+
Then check all bad intersections when WPMAX=n and 1< WP-intersection <n:
 +
 
 +
''SELECT HMMap AS Map, HMRoute AS Route, HM.MaxWP AS RouteMaxWP, HI.Waypoint_Number AS IntersectionWP FROM (SELECT Map AS HIMap, Route as HIRoute, Waypoint_Number FROM Railway_Intersections WHERE Waypoint_Number>1 ORDER BY Map,Route) AS HI, (SELECT Map AS HMMap, Route AS HMRoute, Max(Waypoint_Number) AS MaxWP FROM Railway_Waypoints GROUP BY Map, Route ORDER BY Map,Route) AS HM WHERE HI.HIMap=HM.HMMap AND HI.HIRoute = HM.HMRoute AND HI.Waypoint_Number<>HM.MaxWP;''
 +
 
 +
=== <u>Airbases Layouts table</u>===
 +
 
 +
Airbases Layouts are built for the right location of the airbase objects: Free berths for static planes (ACHS), runway lights (CF or RL), balloons (BALLOON), searchlights (SL), flags (FLAG), airbase fuel reserves (e.g. AB_Fuel1_120), AAA emplacements (AAA).
 +
 
 +
Choose an available airbase layout type: See this page [[SE Airbase Layouts]]
 +
 
 +
Here is an example:
 +
 
 +
[[Image:layout.jpg]]
 +
 
 +
* Copy data in the [http://www.flibusteairline.com/bdd/campagne/EC/Airbase_Layout_Builder_v1.2.zip Airbase_Layout Builder_v1.2 Tool] and run Airbase_Layouts Calculation:
 +
 
 +
 
 +
'''IMPORTANT:'''
 +
 
 +
When the sector database and MP will be done, you will have to run a "night checking mission": This will check that all your airbase layouts are correct: Initialize a template (night time, e.g. 02:00) with airplanes available in all airbases. Then, order a mission for 1 plane from each airbase (Only 6 WP are needed). In SEDCS activate all environmental options: 100% idle aircraft parked, 100% of runway lights, balloons and searchlights at all airfields.  (Some planes will stay on the free berths for checking your ACHS data). Download the mission and check each airbase in the FMB: lights, balloons, searchlights, static planes ....
 +
 
 +
  
(from 4Shades , Hawk_5, Goanna, Dore)
+
OK, that is about it for data capture. Airbases and roads are usually the hardest parts. Next, we will talk about the MP mapping side of things: [[Ajouter une nouvelle carte: Cartes et php]]
 +
----
 +
(from 4Shades , Hawk_5, Goanna, Dore) 2012/12/17, mises à  jour [[User:PA-Dore|C6_Dore]] 2008 - 2014

Version actuelle datée du 3 février 2014 à 17:20

Configuration nécessaire

  • A local php-enabled web server & a MySQL database server (such as installed jointly by Wamp Server).
  • A good graphics program such as Photoshop or Paint Shop Pro. This is needed to create the final map images and trim them to size. Multi-layer capability is a must in my books.
  • A text editor program that can edit PHP files and understands the format. (PSPad or ConTEXT or EditPlus).
  • A spreadsheet application such as Microsoft Excel or Open Office Calc.
  • SEOW_Routes_Tool_v1.2.xls Excel spreadsheet for transforming Roads, Railways and Bridges of *.mis file data to SEOW database format.

This is the "Toolkit" that lets you create maps but it also means you have your own functional SEOW system to run campaigns.

There are two main lines of effort involved in adding a map to SEOW. The first is the data capture effort for the database, and the second is the map-making effort for the MP.

Capture de données

The following data needs to be captured from the FMB:

  • Roads and Railways (all of them!)
  • Bridges (defined by Road and Railway data)
  • Industrial Installations (factories and fuel dumps)
  • Tile Map Codes (from the Destruction Viewer in FMB)
  • Airbases
  • Railway Stations
  • Route Blockages (Railways and Roads)


Additionally, the following data defaults need to be added for the new Sector in the respective database tables:

  • Army divisions in Army_Units
  • Climatic settings in Sector_Climate
  • Opposing forces in Sector_Dominance
  • Movement cost parameters in Sector_Movement_Cost
  • Recon effect parameters in Sector_Recon_Parameters
  • FMB map strings and seasonal changes in Sector_Seasons
  • Resupply locations in Resupply_Points


Finally, you ought to associate some of the available Airforce_Units with your new sector. Note that you cannot just make up Airforce Unit names (as you can for Army Units). This is because all Airforce Unit names are hard-coded in IL-2 so you are stuck with what is defined in the Airforce_Units table. IL-2 doesn’t even consider platoon/flotilla naming for ground/sea forces, so we are free to do that ourselves in SEOW. When you start a campaign in SEOW, you will have access to all flights for the air regiments used in your template file PLUS all flights for air regiments indicated as defaults for the sector by any entries in the Airforce_Units table.

Capture des routes et des voies ferrées

This is brute force work, especially for large European maps. Pacific/Asian maps have much smaller road networks.

  • Open the map and set the SNAP value to 100 (meters) in the FMB
Erreur lors de la création de la miniature : Impossible d'enregistrer la vignette sur la destination
  • Place a separate moving vehicle to drive along every stretch of road between each pair of intersections. In some maps this might give you several hundred moving vehicles as you cover all possible road routes between intersections.
  • Do the same for trains. Sometimes it is very hard to get trains to stick on the map. Only 2 way points can be used for trains: Sometimes, 2 separate trains could be necessary between 2 intersections.
  • Save the FMB file.

Some advices:

  • Choose a different color vehicle for main and secondary roads. This will be useful for recognize wooden or metal bridges: secondary roads have always wooden bridges and main roads have metal bridges.
Erreur lors de la création de la miniature : Impossible d'enregistrer la vignette sur la destination
Erreur lors de la création de la miniature : Impossible d'enregistrer la vignette sur la destination
  • Short roads and crossroads: Sometimes when roads are too short it is necessary to add some manual way points (every road route needs at least 3 waypoints):
Erreur lors de la création de la miniature : Impossible d'enregistrer la vignette sur la destination

Comment construire les tables Highways et Railway_Waypoints?

  • Edit the mis file with a text editor as NotePad, only keep the following data:

Code:

[1_Chief_Road]

 13100.00 39800.00 120.00 0 14 3.055555582046509 
 13100.00 39100.00 20.00 
 13100.00 37700.00 20.00 
 13300.00 37500.00 20.00 
 13300.00 36300.00 20.00 
 14100.00 35500.00 20.00 
 14100.00 33300.00 20.00 
 14900.00 32500.00 20.00 
 14900.00 31500.00 20.00 
 15900.00 30500.00 20.00 
 15900.00 30100.00 20.00 
 16300.00 29700.00 20.00 
 16300.00 29300.00 20.00 
 16300.00 28900.00 120.00 

[2_Chief_Road]

 24500.00 12600.00 120.00 0 19 3.055555582046509 
 24500.00 12900.00 20.00 
 24300.00 13100.00 20.00 
 24300.00 15100.00 20.00 
 23700.00 15700.00 20.00 
 23700.00 15900.00 120.00 
 23700.00 16300.00 20.00 
 23700.00 16700.00 20.00 
 23700.00 16900.00 -4.00 
 23700.00 17300.00 -4.00 
 23700.00 17500.00 20.00 
 23700.00 17700.00 20.00 
 23100.00 18300.00 20.00 
 22900.00 18300.00 20.00 
 22500.00 18700.00 20.00 
 22300.00 18700.00 20.00 
 22100.00 18900.00 20.00 
 22100.00 19100.00 20.00 
 21900.00 19300.00 120.00 

........................

Each record has 3 values, the "highway node" (X,Y,Z) coordinates. By IL-2 convention, all road and rail nodes lie on a regular grid with coordinates of multiples of 100.0 m (usually odd multiples). In the examples above, the first and last records for each Chief are where you click the vehicle waypoint (Z=120.00), while the other records are generated by FMB to following the internal highway node locations (Z=20.00). When using SNAP = 100 (meters), data are quite ready to be used in the SEOW tables. If not, the manual WP would be e.g. 21925.88 instead of 21900.00.


We want to capture the complete list for each Chief with exact coordinates. Each of these Chief highway routes should be assigned a unique "Route" number and then entered into the Highways table of the database. Every route on every sector in SEOW has its OWN Route number.

  • Copy the [xx_Chief_Road] data in the SEOW_Routes_Tool_v1.2.xls as explained therein. Then, hit the "Roads & Railways" button and copy the result in a new Excel file. Add a sector name column (e.g Burma).
Erreur lors de la création de la miniature : Impossible d'enregistrer la vignette sur la destination
  • Save this file as Highways.csv (e.g. DOS format). Do the same for Railways.csv.
  • Keep the SEOW_Routes_Tool_v1.2.xls open, it will be use for Bridges (see below).
  • As an example, after using SEOW_Routes_Tool_v1.2, if we say Chief2 above represents Route 123456 in the Sector "Burma", then we would add it to the Highways table as

Code:

Route X_Axis Y_Axis Orientation Waypoint_Number Map

123456 24500.00 12700.00 20.00 1 "Burma"

123456 24500.00 12900.00 20.00 2 "Burma"

123456 24300.00 13100.00 20.00 3 "Burma"

123456 24300.00 15100.00 20.00 4 "Burma"

123456 23700.00 15700.00 20.00 5 "Burma"

123456 23700.00 15900.00 20.00 6 "Burma"

123456 23700.00 16300.00 20.00 7 "Burma"

123456 23700.00 16700.00 20.00 8 "Burma"

123456 23700.00 16900.00 -4.00 9 "Burma"

123456 23700.00 17300.00 -4.00 10 "Burma"

123456 23700.00 17500.00 20.00 11 "Burma"

123456 23700.00 17700.00 20.00 12 "Burma"

123456 23100.00 18300.00 20.00 13 "Burma"

123456 22900.00 18300.00 20.00 14 "Burma"

123456 22500.00 18700.00 20.00 15 "Burma"

123456 22300.00 18700.00 20.00 16 "Burma"

123456 22100.00 18900.00 20.00 17 "Burma"

123456 22100.00 19100.00 20.00 18 "Burma"

123456 21900.00 19300.00 20.00 19 "Burma"


The idea is that every route overlaps at its start and end points with other routes. The same process goes for trains for the Railway_Waypoints table. Do not bother about updating the Highway_Intersections table - that is created by running a pre-defined query in the MySQL database.

  • You may also find places on your map where the road route or the railway route is broken. For roads you can sometimes plot out your own path around this map problem, but for trains you usually cannot. The database table Route_Blockages allows you to define blockage markers for your sector, if required. These will show on your sector in the MP as black circles with a white X in them, indicating that there is no route through here.

Comment construire la table Bridges

Bridges are denoted in the roads and railways data by instances where Z < 0. In the example above we have the two lines Code:

 23700.00 16900.00 -4.00 
 23700.00 17300.00 -4.00 


The two lines give the start and end coordinates of the bridge. The Z value is converted into the Bridge ID number by BridgeID = -Z-1. So for our example, BridgeID = -(-4)-1 = 4-1 = 3, i.e. Bridge 3. The length of the bridge is given by Code:

length = SQRT((X1-X2)² + (Y1-Y2)²)

In our example we see that Bridge 3 has length 400 m.

  • Use the previous SEOW_Routes_Tool_v1.2.xls for bridges data.
Erreur lors de la création de la miniature : Impossible d'enregistrer la vignette sur la destination
  • Then, build the Bridge table. The Damage_Name is given by the BridgeID according to the corresponding entry in Bridge_Codes table and must be a text field:
Erreur lors de la création de la miniature : Impossible d'enregistrer la vignette sur la destination

Comment construire la table Industrial Installations?

As a rule of thumb, we usually consider any factory building with 3 or more chimneys as a valid major factory installation, and any fuel dump with 6 or more fuel tanks as a valid fuel facility, but as map builder you can make your own convention about what deserves to be an installation in your map. In FMB, locate all such facilities on the map and place a stationary object INSIDE the fuel tank or factory. Save the FMB file and find the X,Y,Z coordinates of the stationaries and use them to build new records for the Industrial_Installations table. In that table you can ignore the Sm_x,Sm_y,Sm_z,Sm_h,Destruction_Code,Event_Date and Production_Points fields, but the other fields are all necessary. Every factory and fuel dump should have its own unique name. Stick to the naming conventions already in the table.

An easy way to capture Industrial Installations is to use actors.static when we have it: Extract it (see Modify a map mod for SEOW online), open outBuildings.txt and you keep only House$IndustrialFactoryConstruction1 (factory with 3 chimneys) and House$IndustrialFactoryTank1 (fuel dump).

Erreur lors de la création de la miniature : Impossible d'enregistrer la vignette sur la destination

Comment construire la table Tile Map Codes?

This is really easy and fun. Open the map in FMB, select the Destruction tool, choose Destruction level Maximum, choose maximum Cursor width, click on the map, press "f" and move the mouse. You will paint all destroyable map tiles (green squares) over the whole map bright red. Save the FMB file. Open it up and you will see many lines of weird codes at the end of the file. You need to capture these with the new sector name into the Tile_Map_Codes table. No X,Y,Z coords needed as this information is already encoded into the tile codes.

Erreur lors de la création de la miniature : Impossible d'enregistrer la vignette sur la destination

Comment construire la table Airbases?

The idea here is to use FMB to capture landing and takeoff points for each airbase. By convention we land at the western end and takeoff at the eastern end where possible. The X,Z coords need to be entered into the Airbases table. Also identify what type of layout each airbase has (by reference to the SEOW Airbase Layouts PDF available from the download site). In some cases a new airbase is encountered, so a new Airbase Layout must be built. (see below).

Erreur lors de la création de la miniature : Impossible d'enregistrer la vignette sur la destination


Now for the data defaults. Most of these can be done simply by copying data from other sector records in the tables, but some care must be given to Army_Units, Sector_Seasons and Resupply_Points.

Army_Units table

This is where you specify the names of the Allied and Axis army divisions that will be used to name platoons in the template. The Division Names are arbitrary, but the remainder of the fields must remain in standard format. Make sure you give at least 2 or 3 divisions of each type "V","T","A" and "E" to each side. You can have the same Division_Name in different sectors if you like.

Sector_Seasons table

This table contains information about whether the sector uses the same FMB map all year around, or swaps between summer and winter forms, e.g. Moscow has a green summer map and a white winter map. This swapping is specified in SEOW by putting the respective map loader strings in the "Summer_Map" and "Winter_Map" fields. For Moscow the two map loader strings are Code: Summer: Moscow/sload.ini Winter: Moscow/load.ini


These map loader strings are found in FMB files near the top. Sector_Seasons also contains the dates on which Summer switches to Winter, and Winter to Summer. These dates are written as numbers in MMDDhhmm format, so "04010000" means "1 April at 00:00 hours". Map summer/winter dawn and dusk times are given to regulate the use of airfield lighting throughout the year, and also to feed into the reconnaissance calculations. To help you identify which FMB maps SEOW uses for different sectors, take a look at the "Maps" link in the horizontal toolbar of the MP front page.

Resupply Points table

Again, some air, ground, rail and sea resupply points should be added to the Resupply_Points table, where appropriate. The Supply_Point field is just an arbitrary name, but all other fields must be entered strictly in format. The Point_Z field for air supply points indicates the spawn altitude of aircraft using the point. For railway supply points, the Z field indicates the direction of the railway line at the supply point location. To get this information you must place a stationary object at the location in FMB and align it with the railway line, pointing into the map rather than exiting the map. The Z field for this object inside the .mis file is the value you need to use in the corresponding railway supply point definition in Resupply_Points table. For road and ship supply points, the Z field in the Resupply_Points table is ignored.

Railway Stations table

For each Railway Station, you have to capture: 1st end of the station (Platform_Start_X, Platform_Start_Y), 2nd end (Platform_Finish_X, Platform_Finish_Y) and the target point (Target_X, Target_Y) Target is generally a building representing the station.

Erreur lors de la création de la miniature : Impossible d'enregistrer la vignette sur la destination

The Station_Type is a number: 5 (for large platform) or 1 (for simple station).

Comment construire les tables Highways and Railways Intersections

When the Highways and Railway_Waypoints Table are done, run these SQL requests:

  • 1. Highways:

- To rebuild Highway_Intersections:

drop table if exists Highway_Intersections; CREATE TABLE `Highway_Intersections` ( `Map` varchar(50) default NULL, `Intersection_X_Axis` int(11) default NULL, `Intersection_Y_Axis` int(11) default NULL, `Route` int(11) default NULL, `Waypoint_Number` int(11) default NULL ) TYPE=InnoDB; INSERT INTO Highway_Intersections SELECT DISTINCT * FROM (SELECT Map, X_Axis as Intersection_X_Axis, Y_Axis AS Intersection_Y_Axis, Route, Waypoint_Number FROM Highways, (SELECT Map AS Junction_Map, X_Axis AS Junction_X_Axis, Y_Axis AS Junction_Y_Axis, COUNT(Route) AS Exits FROM Highways GROUP BY CONCAT(Map,'^',X_Axis,'^',Y_Axis) HAVING COUNT(Route)>1) AS Junctions WHERE Map=Junctions.Junction_Map AND X_Axis=Junctions.Junction_X_Axis AND Y_Axis=Junction_Y_Axis ORDER BY X_Axis, Y_Axis, Route) AS Table_With_Dups;

Then check all bad intersections when WPMAX=n and 1< WP-intersection <n:

SELECT HMMap AS Map, HMRoute AS Route, HM.MaxWP AS RouteMaxWP, HI.Waypoint_Number AS IntersectionWP FROM (SELECT Map AS HIMap, Route as HIRoute, Waypoint_Number FROM Highway_Intersections WHERE Waypoint_Number>1 ORDER BY Map,Route) AS HI, (SELECT Map AS HMMap, Route AS HMRoute, Max(Waypoint_Number) AS MaxWP FROM Highways GROUP BY Map, Route ORDER BY Map,Route) AS HM WHERE HI.HIMap=HM.HMMap AND HI.HIRoute = HM.HMRoute AND HI.Waypoint_Number<>HM.MaxWP;


  • 2. Railways:

- To rebuild Railway_Intersections:

drop table if exists Railway_Intersections; CREATE TABLE `Railway_Intersections` ( `Map` varchar(50) default NULL, `Intersection_X_Axis` int(11) default NULL, `Intersection_Y_Axis` int(11) default NULL, `Route` int(11) default NULL, `Waypoint_Number` int(11) default NULL ) TYPE=InnoDB; INSERT INTO Railway_Intersections SELECT DISTINCT * FROM (SELECT Map, X_Axis as Intersection_X_Axis, Y_Axis AS Intersection_Y_Axis, Route, Waypoint_Number FROM Railway_Waypoints, (SELECT Map AS Junction_Map, X_Axis AS Junction_X_Axis, Y_Axis AS Junction_Y_Axis, COUNT(Route) AS Exits FROM Railway_Waypoints GROUP BY CONCAT(Map,'^',X_Axis,'^',Y_Axis) HAVING COUNT(Route)>1) AS Junctions WHERE Map=Junctions.Junction_Map AND X_Axis=Junctions.Junction_X_Axis AND Y_Axis=Junction_Y_Axis ORDER BY X_Axis, Y_Axis, Route) AS Table_With_Dups;

Then check all bad intersections when WPMAX=n and 1< WP-intersection <n:

SELECT HMMap AS Map, HMRoute AS Route, HM.MaxWP AS RouteMaxWP, HI.Waypoint_Number AS IntersectionWP FROM (SELECT Map AS HIMap, Route as HIRoute, Waypoint_Number FROM Railway_Intersections WHERE Waypoint_Number>1 ORDER BY Map,Route) AS HI, (SELECT Map AS HMMap, Route AS HMRoute, Max(Waypoint_Number) AS MaxWP FROM Railway_Waypoints GROUP BY Map, Route ORDER BY Map,Route) AS HM WHERE HI.HIMap=HM.HMMap AND HI.HIRoute = HM.HMRoute AND HI.Waypoint_Number<>HM.MaxWP;

Airbases Layouts table

Airbases Layouts are built for the right location of the airbase objects: Free berths for static planes (ACHS), runway lights (CF or RL), balloons (BALLOON), searchlights (SL), flags (FLAG), airbase fuel reserves (e.g. AB_Fuel1_120), AAA emplacements (AAA).

Choose an available airbase layout type: See this page SE Airbase Layouts

Here is an example:

Erreur lors de la création de la miniature : Impossible d'enregistrer la vignette sur la destination


IMPORTANT:

When the sector database and MP will be done, you will have to run a "night checking mission": This will check that all your airbase layouts are correct: Initialize a template (night time, e.g. 02:00) with airplanes available in all airbases. Then, order a mission for 1 plane from each airbase (Only 6 WP are needed). In SEDCS activate all environmental options: 100% idle aircraft parked, 100% of runway lights, balloons and searchlights at all airfields. (Some planes will stay on the free berths for checking your ACHS data). Download the mission and check each airbase in the FMB: lights, balloons, searchlights, static planes ....


OK, that is about it for data capture. Airbases and roads are usually the hardest parts. Next, we will talk about the MP mapping side of things: Ajouter une nouvelle carte: Cartes et php


(from 4Shades , Hawk_5, Goanna, Dore) 2012/12/17, mises à jour C6_Dore 2008 - 2014