FSDS to sca file........scasm bgl....etc....
If you are trying to do destructible infrastructure objects.............
try dissassembling AtlanticWall bunkers with.....
SCDIS: MSFS Scenery Disassembler for SCASM/FreeSCVersion 2.3
Copyright (C) 1996-2003 by Takuya Murakami
Can get both at
www.flightsim.com
it will give you *.sca code............
I have since been told to lay off the freeware, model, and object, scenery.........i.e........Hi, I am Rockster........recovering CFS2 addict...etc.
I have packed away all my code........so I can find nor remember exactly how ........
but here are some things I remember.........
Header.......and SetCrashCode
ObjID( 001DF863 333DA750 02C1A141 023BA1CC )
LibObj( PWR 0 SIZE 50000 SCALE 0.001000 TYPE 0x0 PROP 0 NAME "inf_AtlanticWall_Bunker9" )
IfVarAnd( :L00000AFB 24 40 )
I_96( :L00000127 -15536 )
I_98( :L00000121 0 0 0 -15536 -15536 -15536 0 0 0 )
SetCrashCode( 20 )
:L00000121
Call( :L00000127 )
Return
:L00000127
Call32( :L0000014D )
Call32( :L0000025B )
Call32( :L000004E5 )
Call32( :L00000551 )
Call32( :L00000691 )
Call32( :L00000A1F )
Return
Understand how that works...........namely IfVarAnd....send you to the non damaged model code..........damage code comes first.... Calls32
then if variable is crashcode.......then goes to L00000AFB which is the start of the Non damaged model
use FSDS to create damaged and non *.sca code .........cut and paste *.sca code into this format, then assemble........
I think???