02.01.2008, 04:19
Ok I'll try to explain how to work with large actors.static.
Let's take crimea's actors.static and place it in a folder where the actor tools are.
Run "extract". If all is well we have the outfiles like "outbuildings.txt" or "outchiefs.txt" and so on.
Divide one way or another the outbuildings.txt into several files, let's say 3 files are sufficient. FC suggested using the program "hjsplit" for doing that. Lets' say the 3 files are called outbuildings1.txt, outbuildings2.txt, outbuildings3.txt. Create 3 folders, Crimea1 Crimea2 and Crimea3. In crimea1 place outbuildings1.txt and all other outfiles (outchiefs etc). Rename outbuildings1.txt to inbuildings.txt and all other "out" to "in". Run create within crimea1 folder. You'll have as output MWactors.static. Rename actors1.static.
Proceed in a similar way with the other crimea2 and crimea3 folders. At the end you'll have 3 actors static: actors1.static, actors2.static and actors3.static. Copy these actors1 actors2 and actors3 in il2folder/files/maps/crimea. Add the paths in filelist.txt.
Open load.ini for crimea.
Modify such that you have
[static]
actors1.static (instead of actors.static)
Run il2 in map builder mode, open Crimea map. If the objects you need to midify are there do the modifications you need. Save.
If the objects to modify are not there:
open load.ini and modify to:
[static]
actors2.static
Proceed in FMB. If objects to modify are there modify and save. If they are not there:
open load.ini and modify to
[static]
actors3.static. Proceed with modification in FMB and save.
Now you have saved in il2root/maps/Crimea/ 3 actors.static. Copy them and place in the crimea1 and crimea2 and crimea3 folders (actors1.static inside crimea1 folder etc). Run extract in each folder. You'll have output files. Now you'll have to combine these files from the three folders into unique "in" files for example combine the three "outbuildings" into one inbuildings.txt (care with combining the other out files, such that you don't have duplicate objects). Similar with outchiefs etc. Run create will produce the final MWactors.static.
Hm, might be some easier way and sorry for this rather awkward way and possible mistakes in the explanation:mrgreen:
Let's take crimea's actors.static and place it in a folder where the actor tools are.
Run "extract". If all is well we have the outfiles like "outbuildings.txt" or "outchiefs.txt" and so on.
Divide one way or another the outbuildings.txt into several files, let's say 3 files are sufficient. FC suggested using the program "hjsplit" for doing that. Lets' say the 3 files are called outbuildings1.txt, outbuildings2.txt, outbuildings3.txt. Create 3 folders, Crimea1 Crimea2 and Crimea3. In crimea1 place outbuildings1.txt and all other outfiles (outchiefs etc). Rename outbuildings1.txt to inbuildings.txt and all other "out" to "in". Run create within crimea1 folder. You'll have as output MWactors.static. Rename actors1.static.
Proceed in a similar way with the other crimea2 and crimea3 folders. At the end you'll have 3 actors static: actors1.static, actors2.static and actors3.static. Copy these actors1 actors2 and actors3 in il2folder/files/maps/crimea. Add the paths in filelist.txt.
Open load.ini for crimea.
Modify such that you have
[static]
actors1.static (instead of actors.static)
Run il2 in map builder mode, open Crimea map. If the objects you need to midify are there do the modifications you need. Save.
If the objects to modify are not there:
open load.ini and modify to:
[static]
actors2.static
Proceed in FMB. If objects to modify are there modify and save. If they are not there:
open load.ini and modify to
[static]
actors3.static. Proceed with modification in FMB and save.
Now you have saved in il2root/maps/Crimea/ 3 actors.static. Copy them and place in the crimea1 and crimea2 and crimea3 folders (actors1.static inside crimea1 folder etc). Run extract in each folder. You'll have output files. Now you'll have to combine these files from the three folders into unique "in" files for example combine the three "outbuildings" into one inbuildings.txt (care with combining the other out files, such that you don't have duplicate objects). Similar with outchiefs etc. Run create will produce the final MWactors.static.
Hm, might be some easier way and sorry for this rather awkward way and possible mistakes in the explanation:mrgreen: