More and more often I saw the request for the plane and weapons entries.
This explanation by SAS~CirX will help all those who needs this entries
for the "look"of the their game (I am one of this players
) and wants
to edit this entries. It also shows what is possible if you don't want such
technical names like Fw-190A-8U1R4. Maybe you want names like
'Pretty-Queen-Abby'
: Plane- and weapons_ru.properties - are they essential?
and, how to edit them?You find this two files in the \MODS\STD\i18n or in files \i18 folder.
Those two files are "cosmetic" files. In other words, they will, if needed, give you a more nice looking and descriptive name, and in the cases of planes with many complicated loadouts, it will give descriptive names to those loadouts, so you know better what it going on when playing the game.
But they are actually not "required", and in the case of a plane like this, with very simple loadout options, and a very simple unconfusing name, not really even wanted so much.
Here is how the reference system works:
In your air.ini file, the game uses that entry to load the plane.
It looks like this:
Bf-109G-2 air.BF_109G2 2 g01 SUMMER
The second part of the entry (air.BF_109G2) is the important part.
It tells the game which classfile to load.
The first part you can name anything you like.
You can name it "Pretty-Queen-Abby".
So it will read:
Pretty-Queen-Abby air.BF_109G2 2 g01 SUMMER
That name, "Pretty-Queen-Abby ", the game will then go look for it in plane_ru. If it does not find it, it will move on with no errors, and in QMB, the plane will be called Pretty-Queen-Abby.
-on a side note, the skin folder the game will use for the plane, will always be called the first part of the air-ini entry. So, in this case, you will have to put your skins in a skin folder called Pretty-Queen-Abby
In plane_ru, there may be an entry like this:
Pretty-Queen-Abby Bf-109G-2 kissed my ass
Then, all this does is make the name of the plane
as it appears in QMB, into:
Bf-109G-2 kissed my ass
Usually the name will have a relevant year or so in it, like
Bf-109G-2, 1942
Then the games uses that first part of the air.ini entry
(Pretty-Queen Abby)
And it goes into weapons_ru, looking for an entry for that name. If it does not find one, then it will call the weapons loadout options for the plane whatever they are called inside the plane's classfile.
But if it finds an entry like
###############################################
# Pretty-Queen-Abby
###############################################
Pretty-Queen-Abby.default Default
Pretty-Queen-Abby.R1-SC250 R1: 1xSC 250
Pretty-Queen-Abby.R1-SC500 R1: 1xSC 500
Pretty-Queen Abby.none Empty
It will use the second entry in a line (like "Empty") to describe the loadout option in your mission builder, instead of the word "none" which is what "Empty" is called in the classfile.
That's it. Many thanks to SAS~Cirx and Pretty-Queen Abby
(I don't know her but she seems to be a very important person -
I used the search function and found that she is mentioned
3426 times on this site!?
).
Gerax