fake animation
Hello all
here is a way I found to round the non working animation, but perhaps there are other possibilities
When you open a mdl with Scasm, you have on top of the file:
[;SCASM source file created by MDLC Version 1.90
;MDL Converter object for Combat Flight Simulator 2.0
;Flight Simulator scenery file: TRIPLE.MDL
;Copyright (c) 2003-2006 by Ivan Hsu
;uType uOffset uLen guidParam uName
;----------------------------------------------------------------------------------------------------
;DICT_SECTION
;CHAR[12] 98 2 {DE76EABD-43D1-11D3-BA66-0000F81F5859} trimtab_elevator
;UINT32 9A 4 {FBD8EE2C-39A7-4E9C-B527-AA632FE7E50F} engine0
;FLOAT32 A0 4 {BA9EBED0-34E5-11D3-A479-00105A24D108} r_gear
;UINT32 A4 4 {747D97A8-8770-4FC7-B8F7-1D893A2544BB} r_tire
;FLOAT32 A8 4 {2A09AF32-34E5-11D3-A479-00105A24D108} l_gear
;UINT32 AC 4 {4D54624D-D897-4408-876E-1E3E38A253B0} l_tire
;FLOAT32 B0 4 {FC649DE0-34E5-11D3-A479-00105A24D108} c_gear
;UINT16 B6 2 {1F22276C-0E48-439D-864A-8C639EF0EFDC} barrel7
Set( RAW 1 )
Set( BUF 4096 )
Set( LABELS 9000 )
Set( PATCHES 9000 )
Set( LINBUF 8192 )
Set( MAXPTLST 3000 )
Set( FSVERS 0x0732 )]
Before this manipulation, the c_gear didn't work.
So I created a little cube hidden in the model named "Barrel7", and once the mdl compiled, and converted to CFS2 with mdlc, I converted it to a scasm code, cutted the line with this fake animation and pasted it at the list's end, changed its number to B6 to follow the hexadecimal suite (I'm not sure it's important to do it, but if you do it you mustchange it everywhere in all the file not to have error messages)
So, once the scasm file re-compiled, my c_gear that didn't work before was repaired
Perhaps there is a simplest way?
Cheers
Martin
