Hi
Thanks a lot for the effort you put into it, im highly delighted
1. As for adding new nations, why not work with the nations.pzdat, and maybe store it, so one can distinguish between beteen differet ones?
So a warning is thrown when working with different nation files.
2. As mentioned above ( by me), are you planning on a compare or merge concept or function, for different equipment files?
3. The thing with campaigns is, that the beginning scenarios are harcoded (I think in the .htm files). I was not able to start at another sccenario as poland (for the poland campaign). But this could be prevented by renaming my new scenario to "poland" and just loading my custom maps there (as .pzscn file). I realy think this is NOT dependend on the NUMBER of the scenario but on the NAME (though I am not sure).
So a workaround would be some renaming in the first scenario (check my campaign file for details
viewtopic.php?t=26817). Essentially, if not dealing with the first scenario,
just always add entries at the end of campaigns.pzdat, so that starting numbers are not disturbed (if I was mistaken

). Though for a sensible representation in the editor the scenarios might be temporary reordered (for visualisation only).
I think of something like:
- Allways add data/scenarios at the end of the file (standard case)
- For campaign beginning some workaround like shown above is needed (one time), in the campaign.pzdat (special case)
- Presentation in your editor is an ordered list of labes (scenario names), which can be dragged and dropped in the desired order, this is not the same order as in the .pzdat, but induced by the entrie's jumpoints
- labes consists of detail fields, for map names etc (entries in campaigns.pzdat)
- labes can be added (new entry appended at campaigns.pzdat)
If you save (or reorder, add something), the jumppoints in the campaigns.pzdat are modiefied, but the entries itelfe are not moved (maybe except for a new start scenario)
I hope you get my point and it is of any use
Best regards
Ranta