Recent content by AlanMzk

  1. A

    Old School SCASM Coder needs help with vectors

    I am in the process of making static aircraft libraries for use in FS and for some of the sources I need to re-engineer the code to add some parts (winglets) or change others (Lengthen fuselage of modify wings) The one thing I can't get my brain around is the calculations of the vectors for the...
  2. A

    Calculation of LAT/LON - can it be done?

    Hi Arno; I used a MS Excel Spread sheet to develop the formulas and did some positioning by manually using the results to create a line of taxiway lights. They line up well and so I am not worried about the world model ... I'm using FS2002 and 2004. I did use the Uvar command - I think...
  3. A

    Calculation of LAT/LON - can it be done?

    I am using SCASM to place objects from my own object library files. I wrote some code - modified from formulas from MS Excel - that calculate a new LAT/LON from and original location and a displacement. When I run the compiler I get the error message: Area( 5 $LATI $LONGI 6 ) -> illegal...
  4. A

    variables buffer overflow

    Arno; I went to the source...Manfred Moldenhauer ... and here is his response (for the benefit of all us dinosaurs still using SCASM) "this error happens when the total number of variables exceeds the maximum number. In older versions this value was 200 and the actual version handles 500...
  5. A

    variables buffer overflow

    Here is some of the code: Area( 5 %1 %2 6 ) Set( BUF 15000 ) ;BASIC Calculations ; Front/back wall dimensions mif( [ %6 > 480 ] ) ; no greater than 10 units of 48 feet each Uvar( $FBW [ 480 ] ) melse Uvar( $FBW [ %6 ] ) mifend mif( [ $FBW < 60 ] ) ; side...
  6. A

    variables buffer overflow

    I am coding a hanger with a number of dimensions calculated based on the input width and depth. While I have a number of Uvars I am no where near the 200 Uvars limit mentioned in the SCASM docs (my macro has 60). When I compile the hanger in scenery using FSSC and SCASM v2.88 I get multiple...
Top