Howto:Transmit properties over MP: Difference between revisions

Jump to navigation Jump to search
+ Related content
m (→‎-set.xml: works fine here)
(+ Related content)
Line 1: Line 1:
{{stub}}
{{stub}}
This wiki article will teach you '''how to transmit properties over a network'''.


Certain [[Property Tree|properties]] (eg. rudder deflection, flaps setting and gear position) are transmitted by default over the [[Howto: Multiplayer|multiplayer network]]. However there are still lots of (mostly [[aircraft]] specific) properties that are not. Due to this limitation, certain animations (eg. opening of a door or landing lights) won't be visible for a pilot's virtual-colleagues.  
Certain [[Property Tree|properties]] (eg. rudder deflection, flaps setting and gear position) are transmitted by default over the [[Howto: Multiplayer|multiplayer network]]. However there are still lots of (mostly [[aircraft]] specific) properties that are not. Due to this limitation, certain animations (eg. opening of a door or landing lights) won't be visible for a pilot's virtual-colleagues.  
This wiki article will teach you '''how to transmit properties over a network'''.


The number of properties that can be sent over MP is limited. If you have properties that do not need to be sent frequently (e.g. only when a certain event happens) these can be sent more efficiently using mp_broadcast.nas in $FG_ROOT/Nasal, please see [[Howto:Using mp_broadcast.nas]], or using the time-sharing (TDM) or bit-packed components (SwitchEncoder/Decoder) for booleans in Aircraft/Generic/DualControl/dual-control-tools.nas.
The number of properties that can be sent over MP is limited. If you have properties that do not need to be sent frequently (e.g. only when a certain event happens) these can be sent more efficiently using mp_broadcast.nas in $FG_ROOT/Nasal, please see [[Howto:Using mp_broadcast.nas]], or using the time-sharing (TDM) or bit-packed components (SwitchEncoder/Decoder) for booleans in Aircraft/Generic/DualControl/dual-control-tools.nas.
Line 63: Line 63:


<property alias="../../params/lighting/landing-light-l/property"/>
<property alias="../../params/lighting/landing-light-l/property"/>
== Related content ==
* [[Aircraft properties reference]]
* [[Multiplayer protocol]]
* [[Howto:Using mp broadcast.nas]]


[[Category:Aircraft enhancement]]
[[Category:Aircraft enhancement]]

Navigation menu