• Which the release of FS2020 we see an explosition of activity on the forun and of course we are very happy to see this. But having all questions about FS2020 in one forum becomes a bit messy. So therefore we would like to ask you all to use the following guidelines when posting your questions:

    • Tag FS2020 specific questions with the MSFS2020 tag.
    • Questions about making 3D assets can be posted in the 3D asset design forum. Either post them in the subforum of the modelling tool you use or in the general forum if they are general.
    • Questions about aircraft design can be posted in the Aircraft design forum
    • Questions about airport design can be posted in the FS2020 airport design forum. Once airport development tools have been updated for FS2020 you can post tool speciifc questions in the subforums of those tools as well of course.
    • Questions about terrain design can be posted in the FS2020 terrain design forum.
    • Questions about SimConnect can be posted in the SimConnect forum.

    Any other question that is not specific to an aspect of development or tool can be posted in the General chat forum.

    By following these guidelines we make sure that the forums remain easy to read for everybody and also that the right people can find your post to answer it.

FS2004 Payload station

According the the SDK, it's A:PAYLOAD STATION WEIGHT:index in section Aircraft Miscellaneous Data for both FS2004 and FSX. A:PAYLOAD STATION COUNT gives the number of payload stations
 
Code:
aircraft.cfg                 XML

station_load.0=           (A:PAYLOAD STATION WEIGHT:1, kilogram)
station_load.1=           (A:PAYLOAD STATION WEIGHT:2, kilogram)
station_load.2=           (A:PAYLOAD STATION WEIGHT:3, kilogram)


etc
 
Thanks for that. I did try station_load.0= (A:PAYLOAD STATION WEIGHT:1,kilogram) but it didn't work perhaps because of no space.
All's ok now! I'm using the payload weight to factor in the oxygen consumption rate in order to conform to the tables. Just over 4 hours of oxygen are available but with a full compliment of pax that goes down to 3 hours!
 
I need a value for the total payload, and thus want to add up all the payload stations. I use a loop to add them up, exiting the loop when I've reached the station count. This works fine, but I would like to use a Macro to do the actual adding of the payload values. When I try to use the loop variable as the macro variable @StaLoad (G:Var8), it doesn't seem to work. Is there something I'm missing, or can you not use a variable for a macro value?
 
Is there something I'm missing, or can you not use a variable for a macro value?
You can not use variables. The parameter is just a fixed text, which will be copied to the macro literally as written. In your case (A: PAYLOAD STATION WEIGHT: @1, kilogram) will be interpreted as unusable (A: PAYLOAD STATION WEIGHT: (G:Var8), kilogram).
 
Last edited:
Too bad, thanks. I guess I'll just have to continue using my macro which has 10 different lines for up to 10 payload stations. Enough for my use.
 
Back
Top