Special Aircraft Service

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: FMB lockup & Freezes: Workaround  (Read 2425 times)

0 Members and 1 Guest are viewing this topic.

SAS~Gerax

  • SAS Team
  • member
  • Offline Offline
  • Posts: 480
FMB lockup & Freezes: Workaround
« on: August 25, 2009, 12:02:39 PM »

In some installations it's not possible to edit a planes plane-tab while using the object window in FMB without having the FMB-lockup.

EDIT by Gerax:
A very quick solution to avoid the Freeze is (as posted below by Cracken, thanks for this): when you choose in the object window in FMB type: airplane then first press the show/hide button BEFORE klicking any tab!


So see the rest of this post as a hint in wich way to edit *.mis files  :D

Making missions despite of FMB lockup:

As example the Halifax:

Edit a mission in FMB with e.g. B-17E (without loadout) as placeholder for the Halifax, don't forget to set a 'player-plane' you can choose from plane0 - plane3. If you want to add also AI Halifax' you can edit them normally as Halifax', but without touching the plane-tab! The properties-tab and the waypoint-tab you can edit as usual for B-17E and in same way the AI-Halifax'.
 
Save the mission as ie xyz.mis and leave FMB.

Now use explorer and find the xyz.mis file in your \missions folder and open it with a text-editor.

Replacing the B-17E entry with the Halifax entry:

Find this lines in the xyz.mis File:

[gb0100]             (or the nation and flight you have choosed)
  Planes 3            (or the number of planes you have choosed)
  Skill 1               (or the skill-level you have choosed)
  Class air.B_17E      (that's the IL2 reference name of your B17-E)
  Fuel 100           (or the fuel quantity you have choosed)
  weapons default

replace the B_17E with the IL2 Halifax reference name HalifaxBMkIII:

[gb0100]
  Planes 3
  Skill 1
  Class air.HalifaxBMkIII
  Fuel 100
  weapons default

IL2s 'reference name' HalifaxBMkIII is this part of the Halifax air.ini entry (find it in this folder and file: \MODS\STD\com\maddox\il2\objects\air.ini):
HalifaxBMkIII     air.HalifaxBMkIII 1       NOINFO  gb01  SUMMER

As example for a better understanding: the IL2 'reference name' of the B-17E in air.ini:
B-17E             air.B_17E 1                   NOINFO  usa01 DESERT

As you can see it's allways the second part of the air.ini entry that is system relevant, here you find a very cheerful explanation about IL2 names and reference system
from Cirx:
http://specialaircraftservice.com/main/index.php/topic,524.msg5584.html#msg5584

Choosing and editing waepons loadout for the players Halifax flight:

When you load the mission you can choose the weapon loadout manually in the 'arming' menue or you can edit it in the xyz.mis file:

Copy the loadout from other AI-Halifax' (if there are some you have edited in FMB and if you want them all to have the same loadout) or copy/paste it from the weapons_ru.properties file in folder \MODS\STD\i18n. Open this file with a text-editor and find the Halifax entry and copy the favoured loadout (e.g. '24x250 lb.Bombs (RFL)') to the xyz.mis file:

Halifax' entry in the weapon_ru.property file:

################################################
# HalifaxBMkIII
################################################
HalifaxBMkIII.default                   Default
HalifaxBMkIII.16x250                    16x250 lb.Bombs
HalifaxBMkIII.24x250                    24x250 lb.Bombs (RFL)
HalifaxBMkIII.8x500                     8x500 lb.Bombs
HalifaxBMkIII.12x500                    12x500 lb.Bombs (RFL)
HalifaxBMkIII.4x1000                    4x1000 lb.Bombs
HalifaxBMkIII.6x1000                    6x1000 lb.Bombs (RFL)
HalifaxBMkIII.PathfinderRed             6xTIRed Flares
HalifaxBMkIII.PathfinderGreen           6xTIGreen Flares
HalifaxBMkIII.PathfinderYellow          6xTIYellow Flares
HalifaxBMkIII.PathfinderOrange          6xTIOrange Flares
HalifaxBMkIII.none                      Empty

Copy 24x250 and paste it in the xyz.mis file:
[gb0100]
  Planes 3
  Skill 1
  Class air.HalifaxBMkIII
  Fuel 100
  weapons 24x250


Skins:

It's easy to edit Skins in the xyz.mis file, here's a example with a 3 planes flight:

[gb0100]
  Planes 3
  Skill 1
  skin0 SkinXXX.bmp
  skin1 SkinYYY.bmp
  skin2 SkinZZZ.bmp
  Class air.HalifaxBMkIII
  Fuel 100
  weapons 24x250

Choose one of the skins  (e.g. SkinXXX.BMP) from the folder PaintSchemes\Skins\HalifaxBMkIII and copy the files name as shown in the xyz.mis file, there are 4 possible planes per flight, skins are named skin0 ..skin3. For AI planes use the same procedure.

If you want markings OFF you must put these lines in:

[gb0100]
  Planes 3
  Skill 1
  skin0 SkinXXX.bmp
  skin1 SkinYYY.bmp
  skin2 SkinZZZ.bmp
  numberOn0 0
  numberOn1 0
  numberOn2 0

  Class air.HalifaxBMkIII
  Fuel 100
  weapons 24x250

where numberOn0-3 0 is the Code for no Markings.


Pilots:

[gb0100]
  Planes 3
  Skill 1
  skin0 XXX.bmp
  pilot0 Pilotxxx.bmp
  Class air.HalifaxBMkIII
  Fuel 100
  weapons 24x250

Find the filename(s) of your pilot(s) (e.g. Pilotxxx.BMP) in the \PaintSchemes\Pilots folder.

Your Halifax Mission will now work, fly and enjoy it!




Edit 11-5-09 -G-

With all the new planes that came in the last 4 month there was requests for replacing default planes of some campaigns with new planes, e.g the Cant with new SM.79:

My advice for easy pseuso 'batch procedure':

Use all the methods from above with a simple text editor like 'EditPad' where you can open more then 100 text-docs and use the enhanced search-replace function. Mark all campaigns *.mis files in explorer and copy-paste them in EditPad. Then it's easy to do all "search 'old' planes/weapon/etc entries -
replace with new planes/weapon/etc
" edits with one-click operations. 


Gerax
Logged

Flying H

  • member
  • Offline Offline
  • Posts: 260
  • "And you can fly, high as a kite if you want to..
Re: FMB lockup & Freezes with some Mods: Possible Workaround
« Reply #1 on: September 29, 2009, 02:51:15 PM »

Wouldn´t this be possible to do with QMT (I think it´s ShiftE who´s responsible for the app) Quick Mission Tuner? If so you don´t need to do any text editing, except typing in the AC, weapons (maps countries) once, than it can be used for changing "whatever" you like in the future. (Mind you you need to figure out the sytax of the QMT_Aircraft.txt to add new ones, it might be explained in the helpfile or Überdeamon might be helpful!?)
Logged

Cracken

  • FMB addict
  • Modder
  • member
  • Offline Offline
  • Posts: 147
    • My downloads
Re: FMB lockup & Freezes with some Mods: Possible Workaround
« Reply #2 on: December 23, 2009, 02:25:33 AM »

The other solution is to press show/hide button. Whenever I do this I can select skins for planes that caused troubles with no difficulties. (e.g. Bf-109B, Ju-52 bomber) You should try it, but it worked for me.
Logged
Pages: [1]   Go Up