Just an easy one to remember and make sure of,
When converting make sure you're using Ivan Hsu MDLC version 1.90 or if using Morton's mkMDLC make sure it's version 2 along with MDLC v1.90. This 1.90 version (the last one) was tweaked to take out the g_lightstates call automatically in the conversion.
All Fs9 models do not have the crash check call in but they will have the multiple lighting calls. So by running MDLC v1.90, you're already removing one potential problem.
A lot of converted ac may be ok with just the g_lightstates removed, if not and you are using MDLC v1.90, you now know that you only have to remove the crashcheck call. Cuts down time and effort!
It shouldn't be too difficult(?) to mod the MDLC.ini/replacement DICT section to automatically remove/null the crashcheck call during the conversion. If, Ivan, you're reading this I wonder if you could comment?
Cheers Shessi
The lightstates call isn't always automatically removed by v1.90. In the early days of MDLC, most LS calls were simply links to exterior lighting on FS models, like strobes, beacons and navs. These were simple for MDLC to nullify with "userdefined0" keyframe replacements without adversely affecting the model. But there will be times when the LS call is linked to another original animation keyframe which has CFS2 convertibility, like VC controls and switches, crew animations, gear animations, park brake or even engine states. If so, the program will sometimes leave the related LS tags in the mdl and you have to manually remove them or change them to some CFS2 animation guid fitting to the related calls in scasm. I've seen this quite a bit more over the past two years as opposed to the earlier years of MDLC conversion work. Its because animations in FS modeling has become far more complex in linkages and the levels of sophistication are quickly outstripping the MDLC code. A perfect example would be the SF8_F-86EF conversion where lightstates calls were linked to the animated pilot, the landing gear and the engine state. This was a bitch to resolve and could only have been done on the stock converted model in scasm without troubling the designer to redo the model in GMAX for better convertibility.
But on your second point, Shessi, of modding the MDLC.ini/replacement DICT section, there might be a way to edit the INI file to instruct MDLC to automatically remove/replace the crash checks with "userdefine0". The
KEYFRAME_NAME_LIST section that you referred to allows the user to manually force MDLC to replace original FS keyframe names with any desired substitute CFS2 keyframes by using the format below (the FS originals are black/blue, the CFS2 subs are red -- and AFAIK the spacing and semicolons are part of the formatting):
[KEYFRAME_NAME_LIST]
keyframe_name_1=userdefined0
keyframe_name_2=userdefined0
keyframe_name_3=userdefined0
keyframe_name_4=userdefined0
keyframe_name_5=userdefined0
keyframe_name_6=userdefined0
keyframe_name_7=userdefined0
keyframe_name_8=
lever_stick_l_r ;l_aileron_key
keyframe_name_9=
lever_stick_fore_aft ;elevator_key
keyframe_name_10=
lever_pedals_l_r ;rudder_key
keyframe_name_11=
lever_stick_l_r ;r_aileron_key
keyframe_name_12=
cowling ;cowl_flaps0
keyframe_name_13=
r_canopy ;f_canopy
keyframe_name_14=
cowling ;cowl_flaps1
keyframe_name_15=crash_check ;userdefined0
keyframe_name_16=userdefined0
keyframe_name_17=userdefined0
keyframe_name_18=userdefined0
keyframe_name_19=userdefined0
keyframe_name_20=userdefined0
I haven't tested the above crash check addition yet, but the idea occurred to me after reading your post.