06.11.2011, 23:54
Is this possible? I wouldn't mind finding out about it, if it is possible that is. Sorry for the spam. I seriously want to learn.
however, basic meteorology should teach you that wind is just the air equaling in pressure between two temperatures. E.G. It is really hot in San Fierro, but cold out on the ocean, the air over the ocean is colder, therefore more dense. Air over San Fierro is warmer therefore less dense. The air will move from the ocean to San Fierro, to equal out the air pressure/temperature. If you can build some kind of code to create dynamic temperatures depending on server weather and location, then you can certainly get the direction of wind, figure out how fast that wind would be going. Then get the player's heading, and see which direction they are moving relative to wind direction.
|
however, basic meteorology should teach you that wind is just the air equaling in pressure between two temperatures. E.G. It is really hot in San Fierro, but cold out on the ocean, the air over the ocean is colder, therefore more dense. Air over San Fierro is warmer therefore less dense. The air will move from the ocean to San Fierro, to equal out the air pressure/temperature. If you can build some kind of code to create dynamic temperatures depending on server weather and location, then you can certainly get the direction of wind, figure out how fast that wind would be going. Then get the player's heading, and see which direction they are moving relative to wind direction.
|
however, basic meteorology should teach you that wind is just the air equaling in pressure between two temperatures. E.G. It is really hot in San Fierro, but cold out on the ocean, the air over the ocean is colder, therefore more dense. Air over San Fierro is warmer therefore less dense. The air will move from the ocean to San Fierro, to equal out the air pressure/temperature. If you can build some kind of code to create dynamic temperatures depending on server weather and location, then you can certainly get the direction of wind, figure out how fast that wind would be going. Then get the player's heading, and see which direction they are moving relative to wind direction.
|