[HOW] Windsock

YSFlight addon development, questions, tutorials, & more!
Post Reply
User avatar
u2fly
Senior Veteran
Senior Veteran
Posts: 1485
Joined: Fri Oct 02, 2015 9:27 am
Favorite Aircraft: Antonov An-225 Mriya
Location: Ukraine
OS: Linux
Has thanked: 1051 times
Been thanked: 339 times

[HOW] Windsock

Post by u2fly »

Now, I think, there is real chance to create working windsock in YSFlight.
Main idea is in creating windsock that will consist from two objects:
1) small very lightweight vehicle (ground object or aircraft):
2) big closed ring ground object with windsock (animated similar to stock "TRACKER"), that will follow this small vehicle.

Vehicle must be placed inside this ring.
Depend on wind power this vehicle will dragg in wind direction, and windsock will follow vehicle direction too.
Thats all!
Image
Last edited by u2fly on Tue Jan 12, 2016 8:41 pm, edited 2 times in total.

U.S. Senator John McCain wrote:“Spending #NewYearsEve w/ brave #Ukrainian Marines at a forward combat outpost
- we stand w/ them in their fight against #Putin's aggression”

pic.twitter.com/vkz0gdozVV [archived]
(31 DEC 2016)
User avatar
Barr
Veteran
Veteran
Posts: 1012
Joined: Wed Mar 28, 2012 8:49 pm
Favorite Aircraft: The Boeing 757
Location: Providence, Rhode Island
OS: Windows 10/Gentoo
Has thanked: 272 times
Been thanked: 206 times

Re: [HOW] Windsock

Post by Barr »

u2fly wrote:Depend on wind power this vehicle will dragg in wind direction
Ok but how will you stop this vehicle from being pushed around outside of the segmented circle?


Random but somehow related question, is there a drag or friction variable for ground maneuvering in the dat?
Image
Beginner ATC for hire!
Current Projects:
-Pilatus PC12
-Mooney M20
-New England Scenery
Fine Print:
**Word of Caution**
My knowledge is limited. Anything I write in my posts may or may not be accurate. To be honest I think its all crap.
User avatar
Neocon
First Class Membership
First Class Membership
Posts: 3955
Joined: Wed Oct 19, 2011 5:01 am
Favorite Aircraft: Baron 58
Location: Tennessee
OS: Win 10
Has thanked: 1769 times
Been thanked: 1810 times
Contact:

Re: [HOW] Windsock

Post by Neocon »

I guess a helicopter placed directly above the windsock at an altitude of 100,000 m (so as to be out of the way of air traffic) with zero initial speed would do the trick. The questions are: Would the tracker only look at the helicopter? Would the tracker look at the correct helicopter if you had multiple wind socks.
User avatar
u2fly
Senior Veteran
Senior Veteran
Posts: 1485
Joined: Fri Oct 02, 2015 9:27 am
Favorite Aircraft: Antonov An-225 Mriya
Location: Ukraine
OS: Linux
Has thanked: 1051 times
Been thanked: 339 times

Re: [HOW] Windsock

Post by u2fly »

BARRACUZ wrote: Ok but how will you stop this vehicle from being pushed around outside of the segmented circle?
Ring must be closed, not segmented! (something like Coliseum) If make it as I imaginate, it will prevent vehicle to leave ring.
Patrick31337 wrote:I guess a helicopter placed directly above the windsock at an altitude of 100,000 m (so as to be out of the way of air traffic) with zero initial speed would do the trick. The questions are: Would the tracker only look at the helicopter? Would the tracker look at the correct helicopter if you had multiple wind socks.
Patrick, its bad idea to use flying aircraft.
While made some experiments with my "SEARCHLIGHT" (think you read my previouse posts), I discover how this task can be realised using on ground vehicle.
Try imaginate apple on plate on your kitchen. This is main idea.

U.S. Senator John McCain wrote:“Spending #NewYearsEve w/ brave #Ukrainian Marines at a forward combat outpost
- we stand w/ them in their fight against #Putin's aggression”

pic.twitter.com/vkz0gdozVV [archived]
(31 DEC 2016)
User avatar
Barr
Veteran
Veteran
Posts: 1012
Joined: Wed Mar 28, 2012 8:49 pm
Favorite Aircraft: The Boeing 757
Location: Providence, Rhode Island
OS: Windows 10/Gentoo
Has thanked: 272 times
Been thanked: 206 times

Re: [HOW] Windsock

Post by Barr »

u2fly wrote:Ring must be closed, not segmented! (something like Coliseum) If make it as I imaginate, it will prevent vehicle to leave ring.
Well Im talking about the visual area, not the physically modelled space.

So you mean having like an object within an object thats pushed around by the wind?

Patrick31337 wrote:Would the tracker only look at the helicopter?
Well wouldnt the tracker look for the closest target?
Image
Beginner ATC for hire!
Current Projects:
-Pilatus PC12
-Mooney M20
-New England Scenery
Fine Print:
**Word of Caution**
My knowledge is limited. Anything I write in my posts may or may not be accurate. To be honest I think its all crap.
User avatar
Barr
Veteran
Veteran
Posts: 1012
Joined: Wed Mar 28, 2012 8:49 pm
Favorite Aircraft: The Boeing 757
Location: Providence, Rhode Island
OS: Windows 10/Gentoo
Has thanked: 272 times
Been thanked: 206 times

Re: [HOW] Windsock

Post by Barr »

Im a filthy double poster.
Last edited by Barr on Tue Jan 12, 2016 3:12 am, edited 1 time in total.
Image
Beginner ATC for hire!
Current Projects:
-Pilatus PC12
-Mooney M20
-New England Scenery
Fine Print:
**Word of Caution**
My knowledge is limited. Anything I write in my posts may or may not be accurate. To be honest I think its all crap.
User avatar
Flake
VFA-49
VFA-49
Posts: 4375
Joined: Thu Feb 10, 2011 8:47 pm
Favorite Aircraft: Boeing F/A-18A
Location: Australia
OS: Windows 10 (x64)
Has thanked: 861 times
Been thanked: 1279 times
Contact:

Re: [HOW] Windsock

Post by Flake »

Can you MSPaint this idea? and or jimmy up a solution?
I am an accountant working full-time (and some). I'm not here as often as I would like to be. Send a message if you need me. There are a few people in the community who can get in contact with me urgently if you need - don't be afraid to ask. I just don't check here as frequently as I used to. Sorry!
User avatar
u2fly
Senior Veteran
Senior Veteran
Posts: 1485
Joined: Fri Oct 02, 2015 9:27 am
Favorite Aircraft: Antonov An-225 Mriya
Location: Ukraine
OS: Linux
Has thanked: 1051 times
Been thanked: 339 times

Re: [HOW] Windsock

Post by u2fly »

OfficerFlake wrote:Can you MSPaint this idea? and or jimmy up a solution?
I can mtPaint it!
windsock.png

U.S. Senator John McCain wrote:“Spending #NewYearsEve w/ brave #Ukrainian Marines at a forward combat outpost
- we stand w/ them in their fight against #Putin's aggression”

pic.twitter.com/vkz0gdozVV [archived]
(31 DEC 2016)
User avatar
AdityaB
Veteran
Veteran
Posts: 547
Joined: Sat Oct 17, 2015 12:40 pm
Favorite Aircraft: All
Location: India
OS: Windows 10
Has thanked: 163 times
Been thanked: 144 times

Re: [HOW] Windsock

Post by AdityaB »

First of all,
Thats an awesome Idea u2fly.....!!
I wonder where you get such amazing ideas...and awesome links/softwares....?!?! :) :) :) ;)

Does it actually happen.....I mean lightweight object pushed by the wind in YS?? :?: :?

Thanks :)
Please note that I do not mean any kind of offence in any of my posts
My Website:
YS Flight South Asia
Get full list of
my releases at:
AdityaB's Facility
:) :) :)
*temporarily unavailable further details
User avatar
ysmajor
Contributor
Contributor
Posts: 169
Joined: Tue Apr 12, 2011 7:55 am
Favorite Aircraft: Curtiss P-40B Warhawk
Location: Shanghai
Has thanked: 6 times
Been thanked: 105 times
Contact:

Re: [HOW] Windsock

Post by ysmajor »

excellent idea.
You could simply make the object invisible with an empty srf btw.

hope this will work!
User avatar
Neocon
First Class Membership
First Class Membership
Posts: 3955
Joined: Wed Oct 19, 2011 5:01 am
Favorite Aircraft: Baron 58
Location: Tennessee
OS: Win 10
Has thanked: 1769 times
Been thanked: 1810 times
Contact:

Re: [HOW] Windsock

Post by Neocon »

It looks possible.
User avatar
u2fly
Senior Veteran
Senior Veteran
Posts: 1485
Joined: Fri Oct 02, 2015 9:27 am
Favorite Aircraft: Antonov An-225 Mriya
Location: Ukraine
OS: Linux
Has thanked: 1051 times
Been thanked: 339 times

Re: [HOW] Windsock

Post by u2fly »

ysmajor wrote:excellent idea.
You could simply make the object invisible with an empty srf btw.
hope this will work!
&
Patrick31337 wrote:It looks possible.
Did you know something about dependency of wind speed (power) and object weight (wing area) in YSFlight?

U.S. Senator John McCain wrote:“Spending #NewYearsEve w/ brave #Ukrainian Marines at a forward combat outpost
- we stand w/ them in their fight against #Putin's aggression”

pic.twitter.com/vkz0gdozVV [archived]
(31 DEC 2016)
User avatar
waspe414
Staff
Staff
Posts: 1581
Joined: Thu Feb 10, 2011 9:35 pm
Favorite Aircraft: Kiowa, Mitten, Hornet
Location: Canada
Has thanked: 154 times
Been thanked: 506 times

Re: [HOW] Windsock

Post by waspe414 »

There is no such thing as a light ground object, their .dat does not specify weight. Wind does not affect anything that is landed and safely stopped, and it only affects aircrafts' position once some speed has been reached. Wind does not affect aircraft attitude. Also, elevation grids (presumably the .acp works the same way) will jump an aircraft from the bottom of a vertical face to the top without stopping it. Non .acp ground objects will simply make things explode when they touch the aircraft.

Interestingly, driveable ground objects cannot explode when contacting other ground objects, so you can safely drive a jeep into a wall at 180km/h.

Tl;dr, dynamic windsocks cannot be done currently. Using preset wind conditions and windsock positions programmed in a .ysf you can simulate it, but it's not really satisfactory.
Actual UltraViolet
Image Image
Image
I stole your turnip. Now you must come and defend your honour. ~ Hank Green
User avatar
Neocon
First Class Membership
First Class Membership
Posts: 3955
Joined: Wed Oct 19, 2011 5:01 am
Favorite Aircraft: Baron 58
Location: Tennessee
OS: Win 10
Has thanked: 1769 times
Been thanked: 1810 times
Contact:

Re: [HOW] Windsock

Post by Neocon »

waspe414 wrote:dynamic windsocks cannot be done currently.
After looking everything over, and considering the behavior of vehicles in YSF, I agree. A NPC vehicle, if it moved with the wind, would either move over the elevation grid or explode on contact.

EDIT: Unless you used an invisible vehicle set as a helicopter hovering 1 m above the windsock with zero speed and brakes turned on. It was be blown by the wind just enough that it would be the right direction before touching the ground and stopping.
User avatar
Flake
VFA-49
VFA-49
Posts: 4375
Joined: Thu Feb 10, 2011 8:47 pm
Favorite Aircraft: Boeing F/A-18A
Location: Australia
OS: Windows 10 (x64)
Has thanked: 861 times
Been thanked: 1279 times
Contact:

Re: [HOW] Windsock

Post by Flake »

My understanding of Wind in YSF is as follows:

Wind is actually just adding velocity to an object. Hence why flying INTO wind doesn't add extra lift - the indicated airspeed changes, that's about it.

What effect does this have? It's like gravity really. Every aircraft, regardless of weight, is pushed around all the same.

This experiment may work with a parabolic elevation grid container - the vehicle's weight moment will start to result in a counter force against the wind? maybe?

Let me MSPaint this shizznizzle.

---

Image

Alright alright alright.

So the green circle is the "ground object".
The orange vector line is the wind.
The blue vector line is the gravity.
The purple line is orange vector + blue vector - ie: net force.

Notice that the purple vector is perpendicular to the elevation grid surface - the vehicle would sit still.

If the wind decreses, the vehicle would fall down the parabola,

and if the wind increased, it would move up the parabola, but never over the edge (the edge is 90 degrees, and no ammount of wind force will push it over) (1/cosx = equilibrium wind force; 1/cos90 = 1/0 = Undefined, but limit approaches inifinity).
I am an accountant working full-time (and some). I'm not here as often as I would like to be. Send a message if you need me. There are a few people in the community who can get in contact with me urgently if you need - don't be afraid to ask. I just don't check here as frequently as I used to. Sorry!
User avatar
waspe414
Staff
Staff
Posts: 1581
Joined: Thu Feb 10, 2011 9:35 pm
Favorite Aircraft: Kiowa, Mitten, Hornet
Location: Canada
Has thanked: 154 times
Been thanked: 506 times

Re: [HOW] Windsock

Post by waspe414 »

OfficerFlake wrote:My understanding of Wind in YSF is as follows:

Wind is actually just adding velocity to an object. Hence why flying INTO wind doesn't add extra lift - the indicated airspeed changes, that's about it.
It doesn't quite work like that though. If you fly into a 50kt headwind with a groundspeed of 10kt, your indicated will be 60kt and you will have the lift and maneuverability constant of 60kt, not 10kt. It is functionally no different to flying at 60kt groundspeed on a calm flight, except that the ground is also moving relative to the air.

Also, elevation grids don't provide functional walls for objects moving along the ground; wind force affects aircraft as a function of airspeed, necessitating the object be moving to be affected; ground objects are not affected by wind; and ground objects have no weight.

I'm not sure what happens if you drop a ground object from 10,000ft, whether it pops to the ground immediately or if it falls and would then be affected by wind. That is something to test.
Actual UltraViolet
Image Image
Image
I stole your turnip. Now you must come and defend your honour. ~ Hank Green
Post Reply

Who is online

Users browsing this forum: No registered users and 11 guests