Applevangelist
c770f4cb68
#ZONE Docu fixes
2023-12-07 13:46:32 +01:00
Applevangelist
f342ba758e
Merge remote-tracking branch 'origin/master' into develop
2023-12-07 12:15:56 +01:00
Thomas
6f473faa92
Update Message.lua
...
#2059 fixed
2023-12-07 12:14:59 +01:00
Applevangelist
018d8eecf6
Merge remote-tracking branch 'origin/master' into develop
2023-12-07 11:22:20 +01:00
Applevangelist
88e1bbd60d
#SET
...
* Repaired SET_UNIT:GetCoordinate()
2023-12-07 11:20:43 +01:00
Applevangelist
d0491b3b5a
Merge remote-tracking branch 'origin/master' into develop
2023-12-06 08:43:09 +01:00
Applevangelist
e078e48853
#SPAWN
...
* Fix for a Link16 flight having a non-NATO callsign as number
2023-12-06 08:42:07 +01:00
Frank
f789fbac70
Update Zone.lua
...
- Fixed ZONE_POLYGON:New called without initial points
2023-12-05 17:48:34 +01:00
Frank
cca5a5d55d
Fixes
...
- Fixed A/C starting on ALERT5
- Fixed nil check for DrawID in UndrawZone
2023-12-03 20:51:19 +01:00
Applevangelist
3243c92331
Merge remote-tracking branch 'origin/master' into develop
2023-12-03 15:35:17 +01:00
Applevangelist
49191fb144
clarifications
2023-12-03 15:34:55 +01:00
Applevangelist
eab37d5e48
Merge remote-tracking branch 'origin/master' into develop
2023-12-03 12:39:34 +01:00
Applevangelist
f739062463
#ZONE_OVAL - fix documentation and intellisense
2023-12-03 12:39:08 +01:00
Applevangelist
e838431b28
Merge remote-tracking branch 'origin/master' into develop
2023-12-03 12:25:51 +01:00
Applevangelist
c22304f2b0
Remove demo links which were empty
2023-12-03 12:25:25 +01:00
Applevangelist
2dc9f19d78
Merge remote-tracking branch 'origin/master' into develop
2023-12-03 12:03:41 +01:00
Applevangelist
89a9d1d0a4
#CONTROLLABLE
...
* Fixed ID issue with AA Missile Attack Range option
#POINT
* Added methdo to get the BULLSEYE as coordinate
2023-12-03 12:01:50 +01:00
Applevangelist
cf7d41cd7f
#ZONE_POLYGON improvements
...
#ZONE_OVAL NEW
2023-12-03 11:42:53 +01:00
Niels Vaes
fd191be274
Added ZONE_OVAL. ( #2057 )
...
* Added ZONE_OVAL. This can be useful for simulating the area of a view zone from an object looking down at the ground for example.
Can be constructed from a Mission Editor drawing.
* add to DB
2023-12-03 11:34:52 +01:00
Thomas
31bdde130a
Update Event.lua ( #2056 )
...
Fix for playername in weapon target
2023-12-03 09:26:09 +01:00
Thomas
afe542cc63
Update Event.lua
...
Fix for playername in weapon target
2023-12-03 09:23:42 +01:00
Niels Vaes
29c0d81c27
Update on the ZONE_POLYGON class, so we can finally use it with drawings made in the Mission Editor as well.
...
Supports closed line segments, rects and freely drawn polygons.
Added the correct way of generating a point within a polygon with trial and error
Added a way to get the surface area.
Added a helper class (_ZONE_TRIANGLE), which shouldn't ever be used on its own. It's there to support the update ZONE_POLYGON.
Some test code, assuming there's a poygon drawn in the mission editor called "poly":
```Lua
-- make a new zone from a drawing
poly = ZONE_POLYGON:NewFromDrawing("poly")
-- draw the zone for everyone, include the individual triangles that make up the polygon
poly:DrawZone(-1, {1,0,0}, 1, {1,0,0}, 255, 4, false, true)
-- generate 500 random points, evenly distributed in the polygon
for i=1, 500 do
COORDINATE:NewFromVec2(poly:GetRandomVec2()):CircleToAll(1000)
end
-- remove the drawing from the game
poly:UndrawZone()
```
2023-12-02 20:33:30 +01:00
Applevangelist
1dc31cc852
spawn
2023-11-29 18:01:37 +01:00
Applevangelist
52ed645f6c
-- noise
2023-11-25 18:44:38 +01:00
Applevangelist
7c8f212b03
-- noise
2023-11-25 18:44:21 +01:00
Applevangelist
9f41cc51be
Merge remote-tracking branch 'origin/master' into develop
2023-11-25 18:30:04 +01:00
Applevangelist
85c73cb0a5
#SPAWN
...
*Link16 fixes
* Wrongly created STN's will be replaced with random five digit octals with leading 0
* Voice call sign label will be the callsign's first and last letters, e.g. Enfield = ED. Navy One = NY
* Voice call sign number equals callsign minor major, e.g. Enfield 6-1 = ED 61
* Also works for A10CII which has a different entry with a four-digit octal with leading 0
* for fighter aircraft you can use :InitRandomizeCallsign() to give each spawn a random callsign
2023-11-25 18:28:59 +01:00
Applevangelist
6390b223b0
Merge remote-tracking branch 'origin/master' into develop
2023-11-24 12:17:56 +01:00
Applevangelist
b635490e47
SPAWN - Init Link16/datalink details in UNITs
2023-11-24 12:17:25 +01:00
Applevangelist
0850796368
Merge remote-tracking branch 'origin/master' into develop
2023-11-23 18:15:01 +01:00
Applevangelist
343bf05c2c
SPAWN - Set correct unit ID in the group callsign
2023-11-23 18:14:25 +01:00
Applevangelist
bbf793febe
#CLIENTMENU
2023-11-23 17:01:33 +01:00
Applevangelist
4d4f8e9d61
Merge remote-tracking branch 'origin/master' into develop
2023-11-19 12:40:45 +01:00
Applevangelist
522eb8b256
#EVENT
...
* Handler for 2.9 new events
2023-11-19 12:40:22 +01:00
Applevangelist
de380614fb
Merge remote-tracking branch 'origin/master' into develop
2023-11-18 13:23:58 +01:00
Applevangelist
4287774d9f
EVENT fix for borked target info
2023-11-18 13:23:15 +01:00
Applevangelist
f6fdff927b
Merge remote-tracking branch 'origin/master' into develop
2023-11-17 15:07:46 +01:00
Applevangelist
58ce4b001e
#PLAYERRECCE
...
* Fix issue which stops lasing though target is alive and in sight
2023-11-17 15:07:29 +01:00
Applevangelist
6bba2fec0b
Spot
2023-11-17 15:06:52 +01:00
Applevangelist
5d2656d679
SET
2023-11-17 15:05:19 +01:00
Frank
067285f870
Merge branch 'master' into develop
2023-11-16 22:32:17 +01:00
Frank
5353be482e
getCategory behaviour
...
- Fixed several classes for new `getCategory` behaviour (should be backwards compatible to earlier DCS versions).
2023-11-16 22:32:01 +01:00
Applevangelist
2044068393
Merge remote-tracking branch 'origin/master' into develop
2023-11-15 18:17:23 +01:00
Applevangelist
5f734a0d17
#MESSAGE
...
* Fixes for ToSRS() for MS Desktop
2023-11-15 18:16:46 +01:00
Applevangelist
bc454fdec2
#docu changes
2023-11-09 15:16:51 +01:00
Applevangelist
166a7ab7db
#DATABASE
...
* Register players joining CA slots as CLIENTs
2023-11-09 15:09:39 +01:00
Applevangelist
db06154ad7
#DATABASE
...
* Register players joining CA slots as CLIENTs
2023-11-09 15:09:01 +01:00
Applevangelist
f459372720
#CLIENTMENUMANAGER
...
* Added `CLIENTMENUMANAGER:InitAutoPropagation()`
#PLAYERTASK
* Some menu fixes
2023-11-09 15:08:28 +01:00
Applevangelist
500a7f938f
Merge remote-tracking branch 'origin/master' into develop
2023-11-08 11:24:00 +01:00
Applevangelist
9fafdea0bb
#EVENT #NET
...
* On a MP server, added IniPlayerUCID and TgtPlayerUCID to the EventData structure (filled in applicable Events)
2023-11-08 11:23:01 +01:00