-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathatmosphere.lua
More file actions
56 lines (49 loc) · 3.09 KB
/
Copy pathatmosphere.lua
File metadata and controls
56 lines (49 loc) · 3.09 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
--[[
Script by Tobias00723 ████████
from the TGFB server ████████ ████████
Discord : https://discord.gg/hEHd4A3czx ██████ ██████
any questions? ^^ ████ ▒ ▒ █████
find me on my discord server ^^ ████ ▒▒ ▒▒▒ ███
_________________________________ ████ ▒▒▒ ▒▒▒ ███
███ ▒▒▒▒ ▒▒▒▒ ███
██ ▒▒▒▒ ▒▒▒▒▒ ███
███ ▒▒▒▒▒▒ ▒▒▒▒▒▒ ███
Script as is. ███ ▓▒▒▒▒▒▒ ▒▒▒▒▒▒▒ ███
███ ▒▒▒▒▒▒▒▒ ▓▒▒▒▒▒▒▓ ███
Enjoy The open sauce! ███ ▓▒▒▓▒▒▓▒▓ ▒▒▓▒▒▒▒▒ ███
███ ▓▒▓▓▒▓▓▒▓ ▓▓▒▓▓▓▓▓▓ ███
If used credit, is appreaciated. █ ▓▓▓▒▓ ▓▓▓▒ ▓▓▓▓ ▒▓▒▓▓ █
Happy "borrowing" :) ▓▓▓▓ ▓▓▓ ████ ▓▓▓ ▓▓▓▓
_________________________________ ▓▓▓ ▓▓ ▓▓▓▓ ▓▓ ▓▓▓
▓▓ ▓▓ ▓▓▓▓ ▓▓ ▓▓
▓▓ ▓ ▓▓▓▓ ▓ ▓▓
Copyright (c) 2025 TGFB ▓▓▓▓
All rights reserved. ▓▓▓▓
]]
do
---@meta
--classes
do
end
---atmosphere is a singleton whose functions return atmospheric data about the mission. Currently limited only to wind data.
---@class atmosphere
atmosphere = {}
--Functions
do
---Returns the temperature and pressure at a given point in 3d space. Temperature is returned in Kelvins Pressure is returned in Pascals
---https://wiki.hoggitworld.com/view/DCS_func_getTemperatureAndPressure
---@param vec3 vec3
---@return number Kelvins , number Pascals
function atmosphere.getTemperatureAndPressure(vec3) end
---Returns a velocity vector of the wind at a specified point
---https://wiki.hoggitworld.com/view/DCS_func_getWind
---@param vec3 vec3
---@return vec3
function atmosphere.getWind(vec3) end
---Returns a velocity vector of the wind at a specified point, this time factoring turbulence into the equation.
---@param vec3 vec3
---@return vec3
---https://wiki.hoggitworld.com/view/DCS_func_getWindWithTurbulence
function atmosphere.getWindWithTurbulence(vec3) end
end
end