- RAF_Magpie - 19.04.2008
Absolutly. Make life a lot easier. Again, I'm willing to help out in this regard if you wish
-
Gaston - 19.04.2008
No problem, Magpie... go ahead !!! And welcome on board !!!
- Hierakares - 19.04.2008
All right, I looked on all the stuff and unwrapped also the PaintSchemes folder to examine it, but I did not find any Java files.
Where exactly are those Java files situated?
- ILV_Aquila_Noctis - 20.04.2008
Oy! The download Thread is gone! Who deleted it?
- =BgAF=MiShot - 29.04.2008
Hierakares Wrote:All right, I looked on all the stuff and unwrapped also the PaintSchemes folder to examine it, but I did not find any Java files.
Where exactly are those Java files situated?
Ok I have found them but I don't how to work with them - they are hardcoded.You can find them in files.SFS and they are 22 files with names started with : com.maddox.il2.objects.air.PainScheme......to.....com.maddox.il2.objects.air.PainSchemeSpecial
I will be very glad if you break them!!!!!
- ILV_Aquila_Noctis - 30.04.2008
Now THIS sounds good....first step done towards new markings!
- FANATIC MODDER - 30.05.2008
Any progress?
- Ghost - 30.05.2008
SHVAK Wrote:SALUTE
If you download the campaign 'white sun blue sky' (flying tigers) it comes witha completly new country titled 'none'.
I do not know why he called it 'none', instead of china or whatever.....but the important thing is that you get a new country in game called 'none'.
I'm completely useless at all this but if someone could see how he did this....we might be unto something here :roll:
http://www.mission4today.com/index.php? ... ls&id=2166
Sorry, but it's all the help i can give......it's a dammened good campaign anyway, worth downloading :wink:
S.
Hi Shvak!
Tell me something, have you played that "White Sun Blue Sky" campaign with mods installed? Cause every time I try to fly it, just as I come to China I cannot fly the plane I am supposed to. Instead, the game always assigns me one of those transport planes... Did that happen to you?
- ={TTU}=Tomcat - 02.06.2008
Ok m8,i downloaded your nations and they are there in the quick mission builder but.... there are No markings 0.o
- ={TTU}=Tomcat - 02.06.2008
Here how it should be (that is a skin) the flag on the rudder isn't nesaseraly,but the board number MUST be on the back side(next to the tail as shown on the screenshot) of the tail not like the german ones from the front side(next to the cocpit)
- Tigre_dos_Pampas - 27.08.2008
I'm working on this too... any progress???
Bingo! - Tigre_dos_Pampas - 27.08.2008
I did the second step: with a class decompiler program i guess i get the information il2 uses to link default markings to nationalities. Decompiled text is such as below:
if(regiment.country() == PaintScheme.countryItaly)
{
if(k < 10)
{
changeMat(hiermesh, "Overlay2", String.valueOf(String.valueOf((new StringBuffer("psFB00ITALNUM")).append(l).append(i).append(k))), String.valueOf(String.valueOf((new StringBuffer("Russian/1")).append(k % 10).append(".tga"))), 1.0F, 1.0F, 1.0F);
changeMat(hiermesh, "Overlay3", String.valueOf(String.valueOf((new StringBuffer("psFB00ITARNUM")).append(l).append(i).append(k))), "null.tga", String.valueOf(String.valueOf((new StringBuffer("Russian/1")).append(k % 10).append(".tga"))), 1.0F, 1.0F, 1.0F, 1.0F, 1.0F, 1.0F);
} else
{
changeMat(hiermesh, "Overlay2", String.valueOf(String.valueOf((new StringBuffer("psFB00ITACNUM")).append(l).append(i).append(k))), String.valueOf(String.valueOf((new StringBuffer("Russian/1")).append(k / 10).append(".tga"))), String.valueOf(String.valueOf((new StringBuffer("Russian/1")).append(k % 10).append(".tga"))), 1.0F, 1.0F, 1.0F, 1.0F, 1.0F, 1.0F);
changeMat(hiermesh, "Overlay3", String.valueOf(String.valueOf((new StringBuffer("psFB00ITACNUM")).append(l).append(i).append(k))), String.valueOf(String.valueOf((new StringBuffer("Russian/1")).append(k / 10).append(".tga"))), String.valueOf(String.valueOf((new StringBuffer("Russian/1")).append(k % 10).append(".tga"))), 1.0F, 1.0F, 1.0F, 1.0F, 1.0F, 1.0F);
}
changeMat(hiermesh, "Overlay6", "italian3", "Italian/roundel0.tga", 0.1F, 0.1F, 0.1F);
}
- Tigre_dos_Pampas - 27.08.2008
These files are located at Files\com\maddox\il2\objects\air\PaintScheme*** to Files\com\maddox\il2\objects\air\PaintSchemeSpecial as our friend said. All are .class java files. To use them, you need to get a decompiler program in the internet to decompile files to txt format, edit files and recompile to .class again. Little programming knowledge is needed, only write the right commands in right sintax. Perhaps we can use a existing nation, copy the lines, edit names of the strings of the lines copied to new nation, and we have national markings in any nation we want. Editing MAT files to new nations is needed too i guess...
We are coming
More good news - Tigre_dos_Pampas - 27.08.2008
The decompiled Files\com\maddox\il2\objects\air\PaintScheme.class has a interesting group of lines:
public static final String countryGermany = "de".intern();
public static final String countryFinland = "fi".intern();
public static final String countryFrance = "fr".intern();
public static final String countryBritain = "gb".intern();
public static final String countryHungary = "hu".intern();
public static final String countryItaly = "it".intern();
public static final String countryJapan = "ja".intern();
public static final String countryNoName = "nn".intern();
public static final String countryPoland = "pl".intern();
public static final String countryRomania = "ro".intern();
public static final String countryRussia = "ru".intern();
public static final String countrySlovakia = "sk".intern();
public static final String countryUSA = "us".intern();
public static final char psGermanBomberLetter[][] = {
These lines would link nation codes (eg. us, de, in, ru) to nation names in lines of other paintschemes class.files, wich link to mat files. We could add new lines to this with new nation codes
- vtrelut - 28.08.2008
Gaston will be highly interested mate... and others too.
It would be nice if you could have a look at DGen.exe, maybe with your talent you could add squadrons and nationalities to this .exe file for dynamic campaigns?