Open General
by Luis Guzman

MODERS' F.A.Q. (Frequent Asked Questions)

If you want to support
this site, please ...
What is the units/icon limit for Open efile ?

There are no icons limit. Efile items can grow right now up to 8000 items and names total size can be up to 262144 chars But no problem to increase if needed

What is the units limit, per side, for Open scenario ?

Total number of units is limited to 800 and this limit is assigned according number of players, so for 2 player scenarios, you could have, up to 400 units per side, and 200 if 4 players..

How to add a unit, to player's core, later during campaign ? I mean in scenario other than first.

Edit the scenario with latest Suite.
Go to Units View
Select the unit you want to make core on that scenario.
Be sure unit is not on a DH
There is a check box labelled "Core"
Check it and that unit will be added to your core when this scenario is loaded as part of a campaign.
That added core unit will count against the cap, as if you had bought it.

How could I define bridges over ocean hexes ?

You need to set scenario option to "Allow roads on any terrain.." and then enable ocean hexes to use it, by adding 1 as the 4th parameter for OCEAN entry in TerrainEx.txt ...
a line like:

OCEAN, 0, 99, 999, 1
See "TerrainEx.txt" entry in: ConfigFiles
Is a 3rd player AI possible in OpenGen right now ?

Yes up to 4 players can be defined in either campaign or standalone modes, and except the first player, rest of players can be commanded by AI.

How could attach pictures for the descriptions of the scenarios\campaigns ?

You only need to put a jpg/png file with same file-name than campaign/scenario file-name to see that image when picking campaigns/scenarios.

You can also put a jpg/png file with same file-name than scenario's intro (.ply or defined defined in campaign), to see intro with both text and image.

Recommended size for picture is 310x310, you can make bigger but image will be stretched to fit in available room.

How leaders' names are assigned ?

Leader's names (including the general name) are searched in Names.txt file.

This file include 31 lines (leader's names) for each country, being firts 31 lines for not used country#0 (but 31 dummy lines are needed), so country#1 will use lines from 32 to 62, and so on.

When a name is needed, engine will roll a dice to pick a random line to get the leader's name

how can I add flags, or replace flags in my EFile ?

Each flag in the flag_med.png should be 21x14 px, and 12x9 px in two rows (so 12x18) in the flag_small.png. These two png files are defined in the local opendat folder. The exact dimensions of the opendat elements are defined at Graphics Specs

The number of total flags (basicaly the number of the used nations) is defined by the nations.txt, thus if you want to add a new flag, you should update also your EFile's Nations.txt adding a line with the country name for your new flag, at the end of the countries listed below the line: * Nations.
If you replace a nation, e.g. added "thailand" instead of "czechosloviakia",you should edit the line having Czechosloviakia and retype as Thailand
The point is the number of nations in the Nations.txt and the used graphical elements in the opendat file should be syncronized.

If you need emtpy template files, just download Templates.7z (made by Csaba Zsadányi-Nagy) including a collection of transparent png files with gridlines that you can use as a tool to edit the different graphics files, including flags. Just don't forget to remove this drigline layer and the alpha channel transparency at the end of the procedure, as opengen supports PNG files as 24-bit with no alpha channel.

See also Suggested Topics at JP's forum