April 22, 200323 yr I have request : can someone produce example of "rotating tree" single poligon in gMax. As I understand from the previous posts, it requires small modification od *.asm file. Despite all my efforts, I cannot make it to work. Hence my request for help. Thank you.ted
April 23, 200323 yr Commercial Member You can make a small change to the ASM file or to the API macro if you want to place it with a macro.For the macro I would use something like this:Area( 5 %1 %2 22 )PerspectiveCall( :L1 )ShadowCall( :L2 )Jump( : ):L1Perspective:L2mif( %11 )RefPoint( 2 :E1 0.6 %1 %2 E= %11 v1= %10 %13 %14 )melseRefPoint( 7 :E1 0.6 %1 %2 v1= %10 %13 %14 )mifendRotateToAircraft( :R1 0 0 0 0 0 1 0 0 0 )Return:R1CallLibObj( 0 00000001 11111979 14122000 06012003 ):E1ReturnEndAFor the ASM file you need to make the following changes. Replace these lines:OBJECT_0_SCALE label BGLCODESCALE_AGL OBJECT_0_RETURN, 10000, 167, 131072, 00043D426h, 038E4h, 0E38E38E3h, 08E39h, 0, 0BGL_CALL OBJECT_0_BEGINOBJECT_0_RETURN label wordWith:OBJECT_0_SCALE label BGLCODESCALE_AGL OBJECT_0_RETURN, 10000, 167, 131072, 00043D426h, 038E4h, 0E38E38E3h, 08E39h, 0, 0SPRITE_VICALL OBJECT_0_BEGIN, 0, 0, 0, 0, 0, 0, 0, 1, 0OBJECT_0_RETURN label word 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
Create an account or sign in to comment