Eventually we need to create some better visuals of the retardant on the ground. I think a shader would be well suited for this.
That hose animation is quite impressive.
with this technique it is possible to have a proper animation of the cables for the gliders towing.
I finally figured out a decent way to hack Thorsten's flexhose code to allow for a really nice, plausible swing on the initial remote drop of the sniffer head from an AGL where the head won't hit the ground.
wlbragg wrote in Sun Jul 30, 2017 11:16 pm:I finally figured out a decent way to hack Thorsten's flexhose code to allow for a really nice, plausible swing on the initial remote drop of the sniffer head from an AGL where the head won't hit the ground.
I would like to please you to be able to publish the link with the current effects.
what the coordinates of the place where you make the flight test with the helicopter
<submodel>
<name>Shipping Container 1</name>
<model>Models/shipping-container-big.xml</model>
<trigger>controls/release-cargo1</trigger>
<speed>0</speed>
<repeat>false</repeat>
<delay>0</delay>
<count>1000</count>
<x-offset>-2.5</x-offset>
<y-offset>0</y-offset>
<z-offset>-11</z-offset>
<yaw-offset>0</yaw-offset>
<pitch-offset>0</pitch-offset>
<buoyancy>0</buoyancy>
<cd>0.6</cd>
<eda>160</eda>
<weight>2000</weight>
<life>100</life>
<!--wind>true</wind-->
<impact>true</impact>
<impact-reports>/ai/models/ballistic/impact</impact-reports>
</submodel>
<submodel>
<name>Shipping Container 2</name>
<model>Models/shipping-container-big.xml</model>
<trigger>controls/release-cargo2</trigger>
<speed>0</speed>
<repeat>false</repeat>
<delay>0</delay>
<count>1000</count>
<x-offset>-2.5</x-offset>
<y-offset>0</y-offset>
<z-offset>-11</z-offset>
<yaw-offset>0</yaw-offset>
<pitch-offset>0</pitch-offset>
<buoyancy>0</buoyancy>
<cd>0.6</cd>
<eda>160</eda>
<weight>2000</weight>
<life>100</life>
<!--wind>true</wind-->
<impact>true</impact>
<impact-reports>/ai/models/ballistic/impact</impact-reports>
</submodel>
<submodel>
<name>Shipping Container 3</name>
<model>Models/shipping-container-big.xml</model>
<trigger>controls/release-cargo3</trigger>
<speed>0</speed>
<repeat>false</repeat>
<delay>0</delay>
<count>1000</count>
<x-offset>-2.5</x-offset>
<y-offset>0</y-offset>
<z-offset>-11</z-offset>
<yaw-offset>0</yaw-offset>
<pitch-offset>0</pitch-offset>
<buoyancy>0</buoyancy>
<cd>0.6</cd>
<eda>160</eda>
<weight>2000</weight>
<life>100</life>
<!--wind>true</wind-->
<impact>true</impact>
<impact-reports>/ai/models/ballistic/impact</impact-reports>
</submodel>
<submodel>
<name>Cub</name>
<model>Models/cub.xml</model>
<trigger>controls/release-cargo4</trigger>
<speed>0</speed>
<repeat>false</repeat>
<delay>0</delay>
<count>1000</count>
<x-offset>-2.5</x-offset>
<y-offset>0</y-offset>
<z-offset>-11</z-offset>
<yaw-offset>0</yaw-offset>
<pitch-offset>0</pitch-offset>
<buoyancy>0</buoyancy>
<cd>0.6</cd>
<eda>160</eda>
<weight>2000</weight>
<life>100</life>
<!--wind>true</wind-->
<impact>true</impact>
<impact-reports>/ai/models/ballistic/impact</impact-reports>
</submodel>
<model>
<path>Models/shipping-container-big.xml</path>
<name>shipping-container-big</name>
<condition>
<or>
<property>sim/model/cargo1-onhook</property>
<property>sim/model/cargo2-onhook</property>
<property>sim/model/cargo3-onhook</property>
</or>
</condition>
<offsets>
<x-m>-2.5</x-m>
<y-m>0</y-m>
<z-m>-3.85</z-m>
<pitch-deg>0</pitch-deg>
</offsets>
</model>
<animation>
<type>noshadow</type>
<object-name>shipping-container-big</object-name>
<condition>
<not>
<or>
<property>sim/model/cargo1-onhook</property>
<property>sim/model/cargo2-onhook</property>
<property>sim/model/cargo3-onhook</property>
</or>
</not>
</condition>
</animation>
<model>
<path>Models/cub.xml</path>
<name>cub</name>
<condition>
<property>sim/model/cargo4-onhook</property>
</condition>
<offsets>
<x-m>-2.5</x-m>
<y-m>0</y-m>
<z-m>-3.85</z-m>
<pitch-deg>0</pitch-deg>
</offsets>
</model>
<animation>
<type>noshadow</type>
<object-name>cub</object-name>
<condition>
<not>
<property>sim/model/cargo4-onhook</property>
</not>
</condition>
</animation>
<?xml version="1.0"?>
<PropertyList>
<scenario>
<description>
"Thanks to Moyes Dragonfly, Flug's Bombable and Vivian's Ballistic for inspiration and code base."
Haul cargo with the AirCrane.
</description>
<entry>
<!-- callsigns need to be distinct if multiple cargos are used, but always cargo[#]-->
<callsign>cargo1</callsign>
<type>aircraft</type>
<model>Aircraft/AirCrane/Models/shipping-container-big.ac</model>
<flightplan>cargo1.xml</flightplan>
<repeat>1</repeat>
</entry>
<entry>
<callsign>cargo2</callsign>
<type>aircraft</type>
<model>Aircraft/AirCrane/Models/shipping-container-big.ac</model>
<flightplan>cargo2.xml</flightplan>
<repeat>1</repeat>
</entry>
<entry>
<callsign>cargo3</callsign>
<type>aircraft</type>
<model>Aircraft/AirCrane/Models/shipping-container-big.ac</model>
<flightplan>cargo3.xml</flightplan>
<repeat>1</repeat>
</entry>
<entry>
<callsign>cargo4</callsign>
<type>aircraft</type>
<model>Aircraft/AirCrane/Models/cub.ac</model>
<flightplan>cargo4.xml</flightplan>
<repeat>1</repeat>
</entry>
</scenario>
</PropertyList>
<?xml version="1.0"?>
<PropertyList>
<flightplan>
<wpt>
<name>END</name>
<lat>37.771</lat>
<lon>-96.823</lon>
<alt>-9999.000000</alt>
<ktas>0</ktas>
<on-ground>1</on-ground>
</wpt>
<wpt>
<name>END</name>
</wpt>
</flightplan>
</PropertyList>
Users browsing this forum: No registered users and 8 guests