September 29, 200223 yr Hi, I have createf a gmax object and converted it to api with fsregen. When I place the gmax object directly, crash detection works fine, but when placed as api with FSSC, no crash detection at all.Any ideas? David
September 30, 200223 yr Commercial Member That's correct, the crash detection is in the *.asm file, while FsRegen reads the object data from the *_0.asm file.Or you can use SCASM code to add the crash detection to the macro or you can paste the BGLC crash code in the *_0.asm file. Of course you need to make sure in that case that all jumps are set correct etc.ArnoMember Netherlands 2000 Scenery Team[a href=http://home.wanadoo.nl/arno.gerretsen]http://home.wanadoo.nl/arno.gerretsen/banner.jpg[/a] Arno If the world should blow itself up, the last audible voice would be that of an expert saying it can't be done. FSDeveloper.com | Former Microsoft FS MVP | Blog
September 30, 200223 yr Author Commercial Member Hi Arno,Does that method of pasting code from the *.asm into the *_0.asm work for eliminating shadows for ground polys as well? I've got a couple of polys that I'd like to use in airport, but can't get the hang of how to make an API that doesn't have a shadow call.thanks, Bill Womack ------------------------------------------------------------------------------------------------------------------------------------------------------ Visit my FS Blog or follow me on Twitter (username: bwomack). Intel i7-950 OC to 4GHz | 6GB DDR3 RAM | Nvidia GTX460 1gb | 2x 120GB SSDs | Windows 7 Ultimate 64Bit
September 30, 200223 yr Commercial Member No, it will not work for the shadow problem, as you want to remove some code there and not add it :).Here is an example of how the API should look for an object without shadowcall:Area( 5 %1 %2 22 )LayerCall( :L1 8 )Jump( : ):L1mif( %11 )RefPoint( 2 :E1 %4 %1 %2 E= %11 v1= %10 %13 %14 )melseRefPoint( 7 :E1 %4 %1 %2 v1= %10 %13 %14 )mifendRotatedCall ( :R1 0 0 %5 )Return:R1CallLibObj( 0 12345678 12345678 12345678 12345678 ):E1ReturnEndAThe parameter 8 in the LayerCall command is the layer and of course you need to add your own ID.ArnoMember Netherlands 2000 Scenery Team[a href=http://home.wanadoo.nl/arno.gerretsen]http://home.wanadoo.nl/arno.gerretsen/banner.jpg[/a] Arno If the world should blow itself up, the last audible voice would be that of an expert saying it can't be done. FSDeveloper.com | Former Microsoft FS MVP | Blog
October 1, 200223 yr Author Commercial Member Thanks, Arno. I'll give that a try. Bill Womack ------------------------------------------------------------------------------------------------------------------------------------------------------ Visit my FS Blog or follow me on Twitter (username: bwomack). Intel i7-950 OC to 4GHz | 6GB DDR3 RAM | Nvidia GTX460 1gb | 2x 120GB SSDs | Windows 7 Ultimate 64Bit
Create an account or sign in to comment