c172p
c172p copied to clipboard
Shadows of other c172p models are not displayed correctly in MP
We need to transmit /position/altitude-agl-m over MP and set the MP property to use in the <effect> element that uses Effects/shadow-vol in the .xml files in Models/Effects/shadow/:
- Transmit
/position/altitude-agl-mover MP - Override
<alt_agl>,<model-pitch>, and<model-roll>in the .xml files
I tried to use in Models/Effects/shadow/3dbushdefshadow.xml:
60 <parameters>
61 <alt_agl><use>sim/multiplay/generic/float[4]</use></alt_agl>
62 <model-pitch><use>orientation/pitch-deg</use></model-pitch>
63 <model-roll><use>orientation/roll-deg</use></model-roll>
64 </parameters>
and in c172p-set.xml:
263 <float n="4" alias="/position/altitude-agl-m"/>
but that causes the shadow to be at the height of the cockpit. In MP the shadow isn't visible at all. So I'll move this issue to 3.8 release.
Screenshot of problem:

@onox @wlbragg @Juanvvc @all-others
sorry for using this space, but there is a discussion going on in the mailing list regarding our plane, about MP and console alerts. I am not familiar with MP at all, so maybe someone else can take a look at it?
This is probably obsoleted by compositor and can be closed.