September 6, 200322 yr Hi! How do I make a macro for the defualt oil rig in fs2004? I would like to add it in some other spots. Thanks Geoff Sutherland
September 6, 200322 yr Author Commercial Member The first thing you need to do is to find the GUID of the object. Once you have that you must copy it into this macro template:[tt]Area( 4 %1 %2 22 )IfVarRange( : 346 %12 5 )PerspectiveCall( :L1 )ShadowCall( :L1 )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 6dc7e21e 4f0c4d73 95488dac 102499a1 ):E1ReturnEndA[/tt]Where you replace the GUID that is there now (6dc7e21e 4f0c4d73 95488dac 102499a1) with the GUID of your object. 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 6, 200322 yr And that's the tricky part. Finding the GUID. Correct me if I'm wrong, but isn't the upcoming SDK the only way to get a complete list of them? (apart from the new autogen and some old object carryovers from earlier versions)?
September 6, 200322 yr Author Commercial Member Yes, at the moment it is. For the Fs2002 objects we could just decompile the library and read the GUIDs from the source. But the new format of Fs2004 can not be read yet. So we have to wait for more info from MS I think. 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