- This topic has 5 replies, 2 voices, and was last updated 6 years, 2 months ago by aeronauta.
-
AuthorPosts
-
25. January 2018 at 01:17 #2099aeronautaParticipant
Hi I am creating windsocks for OZx scenery , there are close to 400 airfields and I am doing it slowly as I fly to them, my question is : is there a way to have a single file , say per region , with several windsocks ? I understand each WS must have its environmental data probe unique placement and SimObject placement , but I am always using the same models one Pole and 4 socks.
Thank you
Jorge
25. January 2018 at 09:59 #210212bPilotKeymasterHi Jorge,
Yes, you can put multiple data probes and windsocks into a single file. The SimObject names of those just need to be individual.
There is a limit on how many data probes SODE can handle within a square of roughly 50NM side lengths -> 64 EDPs.
Tipp: If you want to use the same windsock on the same airfield twice or more, you can use following short-hand notation in the xml.
The trick is to put multiple “Placement” tags within the same “SimObject” node. This way, the same SimObject with the exact same behaviour will be placed multiple times.<SimObject Name="Wind Sock"> <Placement Lat="47.1821" Lon="7.4188" Alt="0#AGL" Hdg="0.0"/> <Placement Lat="47.1823" Lon="7.4198" Alt="0#AGL" Hdg="0.0"/> <Model SimTitle="12bPilot_SODE_Windsock_Slow"> <VariableDrivenRotation Variable="WindDirection" Axis="HEADING" Animated="No"/> <ConditionalVisibility Variable="WindSpeed" Value="0-14"/> </Model> <Model SimTitle="12bPilot_SODE_Windsock_Medium_Speed"> <VariableDrivenRotation Variable="WindDirection" Axis="HEADING" Animated="No"/> <ConditionalVisibility Variable="WindSpeed" Value="15-28"/> </Model> <Model SimTitle="12bPilot_SODE_Windsock_Fast"> <VariableDrivenRotation Variable="WindDirection" Axis="HEADING" Animated="No"/> <ConditionalVisibility Variable="WindSpeed" Value="29-60"/> </Model> </SimObject>
-Jeffrey
25. January 2018 at 20:48 #2110aeronautaParticipantI see, this will allow me to place two or more windsocks in the area of influence of the environmental data probe (EDP), good at least I only need one xml per Airport , but my question was more as to can I somehow incorporate more than one EDP in one xml to reduce the overall number of xml’s?? like
<SODE>
<windsock.01> <<<<this parameter<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
<!– EnvironmentalDataProbe –>
<SimObject Name=”OZx_WS_Or”>
<Placement Lat=”-35.285790″ Lon=”138.496610″ Alt=”0.0#AGL” Hdg=”0.0″/>
<Model SimTitle=”12bPilot_SODE_Environmental_Data_Probe”>
<EnvironmentalDataProbe ClientList=”OZx_Pole;OZx_WSock”/>
</Model>
</SimObject><!– Windsock Pole–>
<SimObject Name=”OZx_Pole”>
<Placement Lat=”-35.285790″ Lon=”138.496610″ Alt=”0.0#AGL” Hdg=”0.0″/>
<Model SimTitle=”OZx WS Mast P3D”>
<TargetSim ID=”FSX;P3DV3;P3Dv4″ SimTitle=”OZx WS Mast P3D”/>
</Model>
</SimObject><!– Windsock Cone –>
<SimObject Name=”OZx_WSock”>
<Placement Lat=”-35.285790″ Lon=”138.496610″ Alt=”0.0#AGL” Hdg=”0.0″/><Model SimTitle=”OZx WSock or0″>
<TargetSim ID=”FSX;P3Dv3;P3Dv4″ SimTitle=”OZx WSock or0″/>
<VariableDrivenRotation Variable=”WindDirection” Axis=”HEADING” Animated=”No”/>
<ConditionalVisibility Variable=”WindSpeed” Value=”0″/>
</Model><Model SimTitle=”OZx WSock or5″>
<TargetSim ID=”FSX;P3Dv3;P3Dv4″ SimTitle=”OZx WSock or5″/>
<VariableDrivenRotation Variable=”WindDirection” Axis=”HEADING” Animated=”No”/>
<ConditionalVisibility Variable=”WindSpeed” Value=”1-5″/>
</Model><Model SimTitle=”OZx WSock or15″>
<TargetSim ID=”FSX;P3Dv3;P3Dv4″ SimTitle=”OZx WSock or15″/>
<VariableDrivenRotation Variable=”WindDirection” Axis=”HEADING” Animated=”No”/>
<ConditionalVisibility Variable=”WindSpeed” Value=”6-15″/>
</Model><Model SimTitle=”OZx WSock or90″>
<TargetSim ID=”FSX;P3Dv3;P3Dv4″ SimTitle=”OZx WSock or90″/>
<VariableDrivenRotation Variable=”WindDirection” Axis=”HEADING” Animated=”No”/>
<ConditionalVisibility Variable=”WindSpeed” Value=”16-90″/>
</Model></SimObject>
</Windsock.01> <<<<<<<<<<<<<<<<<<<<<<<<<<
<WEindsock.02>
etc etc…
</Windsock.02>
</SODE>and so on…as we do with sim.cfg?
Jorge
25. January 2018 at 21:11 #2111aeronautaParticipantRe reading your msg , I see I could put multiple EDP’s in a file , now , how do I relate the edp to the windsock? say an EDP is at LATx,LONx and another at LATY LONY , i set WS at xx and yy , will they relate by location or how??
I did already one with 2 WS in the same airport and works OK.
Jorge
25. January 2018 at 21:50 #211212bPilotKeymasterSee image.
You need to hook up the Windsock(-cluster) with the relevant EDP.
So you’ll have a relationship between the EDP and the Windsocks at each airport. For each airport, you can have several Windsock placements.This is the most elegant way in SODE xml.
25. January 2018 at 22:02 #2115aeronautaParticipantWell ..that is elegant!!! great , thank you, now to work…
Jorge
-
AuthorPosts
- You must be logged in to reply to this topic.