Wing light on in model conversion

PJMack

Charter Member
How do you turn off the wing light in a converted model from fs9? It comes on and off sporadically.

Thank you,:running:
 
More Saved Notes

Hi PJ, these are from a different circumstance but could possibly apply to your case. These are also from bearcat 241. (I'm missing the two bat files though)

********************************************************

Meanwhile, for you Ito bird-lovers, I've cracked the mdl code in scasm for disabling the taxi lights. I changed the coding from that of normal "taxi lights" to "project taxi lights on ground only". This kills the beam in flight and on the ground as well in CFS2, but still shines the "working" lights with the plane on the ground without the beam effect.

First, you create and run a cmd *.bat to convert the FS9.mdl to a FS9.sca file and *.mdd file simultaneously (and not with the mk_MDLC interface). Next open the *.sca file with Scasm Editor. Find the lights and change their coding from "3" to "10". In the case of this F104 there are two lights to change (the F4's only have one):

Example

Light( m 3 0.0000000000 0.0000000000 0.0000000000 20 0.6000000238 0.4000000060 C0 255 192 192 0.0000000000 0.0000000000 1.0000000000 )

TO:

Light( m 10 0.0000000000 0.0000000000 0.0000000000 20 0.6000000238 0.4000000060 C0 255 192 192 0.0000000000 0.0000000000 1.0000000000 )


types of lights

0 = beacon

1 = ?

2 = ?

3 = taxi light

4 = nav light

5 = landing light

6 = strobe

9 = project landing light on ground only (FS8)

10 = proj. taxilight on ground only <<<<<<<<<<<<<<<<<<<<<<

11 = draw landing light cone only

12 = draw taxi light cone only


Save the *.sca and convert it to a *.bgl. Then create and run a cmd *.bat file to link the bgl and the *.mdd into a *.mdk file for FS8. Copy the *.mdk to the aircraft's model folder and reame it as the original mdl after backing up the original. The run mk_MDLC to convert to CFS2, fix animation and set collision bubble to "6" for a good size in the selection window.

What you got here are two *.bats: "mdl to scasm" (the first step to apply to the original mdl) and "link mdd & bgl to mdl" (the last step AFTER converting the *.sca to a bgl). This bat will create the *.mdk (FS8) file for you to rename back to the original mdl name and convert to CFS2 with mk_MDLC.

If you have scasm installed already it is defaulted (or should be) to handle any *.sca extension. This allows you to simply double-click on any *.sca file after making/saving the mods in scasm editor to automatically convert it to a bgl (I don't even have to use my "compile sca to bgl.bat" for this part of the process). At this point you run the link mdd/bgl/mdl bat to create the mdk.

Extra note: to save on typing different filenames into bats and the MDLC cmd whenever I convert something, I always name the target mdl "x.mdl" to start the entire process and rename it back to its original later. That's why the bats have this target name in them.....
********************************************************

Dave
 
Back
Top