Multiple WindSocks

Home Forums Support Multiple WindSocks

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #2099
    aeronauta
    Participant

    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

    #2102
    12bPilot
    Keymaster

    Hi 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

    #2110
    aeronauta
    Participant

    I 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

    #2111
    aeronauta
    Participant

    Re 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

    #2112
    12bPilot
    Keymaster

    See 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.

    EDP

    #2115
    aeronauta
    Participant

    Well ..that is elegant!!! great , thank you, now to work…

    Jorge

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.