PAYLOAD STATION WEIGHT propagated ?

Any questions regarding JoinFS.
Post Reply
simskunkworks.com
Posts: 32
Joined: Wed Nov 23, 2016 8:12 pm

PAYLOAD STATION WEIGHT propagated ?

Post by simskunkworks.com »

Hi Peter,
It seems that JoinFS is able to propagate (A:PAYLOAD STATION WEIGHT, Pounds) among the net.
Is that true for all stations enumerated in aircraft.cfg ?
If true is a great news and can completely solve the IS USER SIM issue.
warm rgards
/Mario
User avatar
Peter
Site Admin
Posts: 2281
Joined: Fri Sep 23, 2016 8:51 am
Contact:

Re: PAYLOAD STATION WEIGHT propagated ?

Post by Peter »

Hi Mario,

What makes you think that that variable is being propagated?

I'll need to do a bit of research on these .mdl variables, it's all a bit new to me I'm afraid.

Peter
simskunkworks.com
Posts: 32
Joined: Wed Nov 23, 2016 8:12 pm

Re: PAYLOAD STATION WEIGHT propagated ?

Post by simskunkworks.com »

Peter wrote:Hi Mario,
What makes you think that that variable is being propagated?
I'll need to do a bit of research on these .mdl variables, it's all a bit new to me I'm afraid.
Peter
Hi Peter,
take a look at this piece of xml code contained into our Tornado .mdl file, a bit counter intuitive since is in RPN, however should be enough clear to explain itself.

Code: Select all

 <PartInfo>
    <Name>tank_right_vis_tag</Name>
    <Visibility>
      <Parameter>
        <Code>
        (A:IS USER SIM, bool) if{  (A:PAYLOAD STATION WEIGHT:5, Pounds) 575 == }
        els{ 0  }
        </Code>
      </Parameter>
    </Visibility>
  </PartInfo>
This code is related with right underwing tank visibility tag, tank will be visible or not pending on how is evaluated the code.
The code evaluates "true" (tank visible) if IS USER SIM is true and the station:5 is loaded with 575 pounds.
Since i can see the Tornado underwing tank in third person into JoinFs net while in first person i have uploaded a different aircraft, it means that (A:PAYLOAD STATION WEIGHT:5, Pounds) is propagated into JoinFS net, this not happens in P3D multiplayer, station weights are not tagged as "All aircraft" and thus not propagated.
It's weird since it seems you do not achieved such result intentionally :-)
/Mario
Post Reply