616 Commits

Author SHA1 Message Date
Frank
5185ea35fe
Merge pull request #1415 from acrojason/naval-cargo
Multiple ship types, set default cargobay limit, fixed doc bug
2021-01-01 02:21:41 +01:00
acrojason
ec039f2999 Multiple ship types, set default cargobay limit, fixed doc bug 2020-12-31 17:04:21 -08:00
Frank
57bc6de12b
Merge pull request #1414 from acrojason/naval-cargo
Naval cargo
2020-12-31 20:38:30 +01:00
acrojason
1b80d68f50 Add support for naval logistics 2020-12-31 10:15:32 -08:00
Frank
08ba001b45 Update AI_Air_Engage.lua
Issue #1403
2020-12-19 01:18:01 +01:00
Frank
ee6954a4b9 Update AI_Air_Engage.lua
- Changed :Count to :CountAlive for AttackSetUnit. Issue #1393
2020-12-17 13:54:59 +01:00
Applevangelist
ff4927dbb7
Update AI_Air.lua 2020-11-25 12:38:31 +01:00
Applevangelist
5842562ce1
Update AI_Air.lua
Resolves AI reeping low back to base, and possible also issue #1305
2020-11-24 16:23:22 +01:00
Frank
b34b537a26 Update AI_Formation.lua
- Issue #1358
2020-10-28 09:46:03 +01:00
Frank
9cb3111dd5 Github issues addressed
- Fixes #1342
- Fixes #1333
- Fixes #1331
2020-10-26 09:13:49 +01:00
acrojason
4b8b13dd68 Initial changes to support Naval Cargo 2020-09-23 09:40:42 -07:00
Frank
15cb9bec40 Updates, new classes and fixes
**AI_FORMATION**
- Performance improvents. This also affects the **RESCUEHELO** class.

**EVENT**
- Added events when object is of category BASE.

**FSM**
- Removed a few tracing calls.
- Updated docs.

**POINT**
- Added Update Vec functions to COORDINATE.
- Added *overwrite* option to COORDINATE:Translate() function.
- Removed second COORDINATE:Translate() function.
- Optimized COORDINATE:GetClosestAirbase() function.
- Added *Offset* parameter to COORDINATE:IsLOS() function.

**RADIO**
- Updated BEACON type and system enums.

**RADIOQUEUE**
- Use Vec3 instead of COORDINATE. Performance improvement.

**SET**
- Added some functions.

**TIMER**
- Added new class. Little sister of SCHEDULER class.

**DCS**
- Minor changes regarding docs.

**ATIS**
- Added "Miles.ogg", "StatuteMiles.ogg", "Zulu.ogg".

**ENUMS**
- Added ENUMS.Formation.Vehicle
- Added ENUMS.AlarmState

** PROFILER**
- Added new lua profiler.

**UTILS**
- Minor changes and additions.

**AIRBASE**
- Improved Registration.
- Improved Parking spot handling.
- Aded :IsAirdrome(), IsHelipad(), IsShip() functions.
- Improved :GetRunwayData() for Syria airports.

**CONTROLLABLE**
- Fixed bug in :CommandSetFrequency() fuction (Hz vs. MHz).
- Updated/fixed :TaskFAC_AttackGroup() function.

**GROUP**
- Added :GetThreatLevel() function.
- Added :IsInZone() function to check if any unit is in the zone.

**MARKER**
- Added new class handling F10 markers using FSM.
2020-08-29 21:55:59 +02:00
acrojason
18fd9cdc3d Initial AI_Cargo_Dispatcher_Ship 2020-06-04 21:09:35 -07:00
acrojason
fdcdf52d9a Initial creation of AI_Cargo_Ship 2020-06-04 08:46:30 -07:00
Frank
2658230331 Update and fixes
AI_A2G_DISPATCHER
- Fixed report output.

ENUMS
- Added Morse code.
2020-05-17 00:28:12 +02:00
zlinman
0b7ac754c5 only type error corrected, spaces deleted 2020-05-04 12:53:09 +02:00
Frank
b25697e261 Merge branch 'develop' into FF/Develop 2020-04-24 16:57:40 +02:00
Frank
da05c41c27 Update AI_Air_Engage.lua
Should fix #1206
2020-04-24 00:40:54 +02:00
Frank
3c428723f8 Update AI_Air.lua
Should fix issue #1205
2020-04-24 00:16:18 +02:00
Frank
909c028e48 Update AI_A2A_Patrol.lua
Fixes issue #1307
2020-04-23 16:04:50 +02:00
Frank
36aebd3c04
Merge pull request #1299 from FlightControl-Master/thebgpikester-ai_Patrol_Baro
change default to "BARO"
2020-04-20 22:02:43 +02:00
Frank
007831bb9a
Merge pull request #1298 from FlightControl-Master/thebgpikester-Dispatcherchanges
Changing default altitude to BARO
2020-04-20 21:57:13 +02:00
Frank
4b369fae95 A2G Dispatcher
Fixes issue #1303
2020-04-08 11:54:09 +02:00
Pikes
6d75b25f57
change default to "BARO"
addition on AI_A2A_Patrol already done
2020-04-02 13:50:41 +01:00
Pikes
bfb3ae33f4
Changing default altitude to BARO
to avoid DCS AI stopping engaging or even flying int he right direction.
2020-04-02 13:26:03 +01:00
Frank
1e1154d190 controllable 2020-01-19 22:14:45 +01:00
Frank
fcfcfeae00 Misc 2020-01-06 00:15:44 +01:00
Frank
aa6515e1ca AI_AIR
- Fixed onafterRefuel
2020-01-02 22:50:35 +01:00
Frank
d5b8ed62ae AI_AIR
- Fixed call to .Resume function if AI_A2A_CAP is calling.
2020-01-02 20:15:42 +01:00
Frank
9fb311bf7d Update AI_A2A_Patrol.lua 2019-12-29 23:10:49 +01:00
Frank
6dd73dba44 AI_AIR
Fixed task in onafterPatrolRoute function
2019-12-28 19:53:02 +01:00
Frank
389931fbf0 AI_PATROL
- output fix
2019-12-21 01:09:59 +01:00
Frank
5b9978e390 A2A Dispatcher fixes
- Increased engage distance.
2019-12-17 00:09:24 +01:00
Frank
0d57ad5584 ATIS v0.6.0
- Added altimeter QNH calculation
2019-12-11 21:10:23 +01:00
Frank
1c99e474b2 SPAWN AI_Balancer
SPAWN
- Added :InitAirbase()

AI_BALANCER
- Fixed bug in Return function.
2019-12-10 20:11:49 +01:00
Frank
4b6612e114 Cargo fixes 2019-12-04 22:17:51 +01:00
Frank
169c5a674c Fixes
AI_PATROL:
- Target unit is nil. Issue #1234
DETECTION:
- ReportFriendliesNearBy ForEachPlayer added nil check.
CONTROLLABLE:
- Added IsHelicopter()
- Added OptionRestrictBurner()
AI_A2A_Cap
- AtteckUnit not nil check.
AI_A2A_Dispatcher:
- DefenderGroup not nil and alive check #1228
AI_A2A_GCICAP:
- AttackCoordinate nil check
2019-11-25 11:50:07 +01:00
Frank
f1c16def9a Update AI_Air_Patrol.lua
- fixed bug that route is not called for racetrack
2019-10-22 23:25:30 +02:00
Frank
21a7594134 Update AI_Air_Patrol.lua
- fixed bug that altitude and speed are not defined for racetrack patterns
2019-10-22 22:53:04 +02:00
FlightControl
ad2ce8df78 Improvements to A2A and A2G Dispatchers 2019-09-30 10:35:29 +02:00
FlightControl
4ea44308bc Fix for older A2A dispatcher CAP api altitude problem during takeoff ... 2019-09-26 19:36:42 +03:00
FlightControl
5cdaf53727 - Added a NoTrace option to the scheduler, so for those schedulers that have a schedule in microseconds, you may wanna use the function NoTrace(), to avoid spamming the dcs.log.
- Started with the implementation of multiple languages of speech. Got now a Russian and English prototype working.
- Moved radio frequency settings to a squadron, so multiple squadrons can communicate in their own radio frequency.
2019-09-25 17:53:11 +03:00
FlightControl
fb875077d7 Speech optimizations for A2A dispatcher 2019-09-22 20:30:59 +02:00
FlightControl
c579aad606 API V2 of the A2A and A2G dispatchers. Now a more fine grained attack is possible. You can now tweak the altitude and speed when units engage the target. Especially useful for ground attacks when SEAD, CAS or BAI.You can model low altitude approaches. Added 2 new test missions under the IAD - A2G API v2. Please report any bugs. 2019-09-22 08:23:28 +02:00
FlightControl
8c54b7298d Tuning A2A AI dispatcher to work with new sound speech system. 2019-09-15 18:36:27 +02:00
FlightControl
b309c25619 Speech Engine Prototype 2019-09-15 18:02:45 +02:00
FlightControl
e23ebd622a - Fixing repetition of Patrolling in A2G dispatcher. 2019-09-09 20:24:51 +03:00
FlightControl
1fd9cbec1f - Added A2G voice overs to some of the basic events during defender flight. More to come, like multiple languages, and also more voice overs concerning some of the more detailed events, like:
- Damage
  - Firing
  - Enemy location
  - Callsigns
  - Numbers for distance and degrees.
2019-09-09 11:17:45 +02:00
FlightControl
1aedcf1ae4 Radio Queue 2019-09-09 08:19:48 +02:00
FlightControl
e0075cc9ac - Added a new UTILS.kpairs iterator, which will base the iteration on a different key, which can be determined before the iteration starts. eg. the key should be a sort in ascending order on the distance of the information in the set, and it should return the distance + item in the set for each element in the set.
- Resolved for TASK_CAPTURE_ZONES the whole logic of determining correctly the player and AI defense zones, as to be displayed in the information panel, this was a very difficult exercise for me.
2019-09-08 08:38:33 +02:00