Commit Graph

104 Commits

Author SHA1 Message Date
FlightControl 42b04dedaa Optimized boarding logic. Now it works correct.
Adjust speed at the end to ensure that vehicles park closer to the cargo when carriers are in formation.
2018-08-30 06:07:26 +02:00
funkyfranky 52f429a991 DCS, Detection, Controllable, Group 2018-07-27 15:08:28 +02:00
funkyfranky 6aa30f91e6 Debug output 2018-07-18 17:41:21 +02:00
funkyfranky 72343bce29 Improved TaskOnRoad logic
- direct route if path length on route is less than 5%
2018-07-12 23:23:00 +02:00
funkyfranky fda061d8c8 Improved GroundOnRoad functions 2018-07-10 23:47:12 +02:00
funkyfranky 19197bf234 Min Fuel Fixes
AI_A2A and AI_Patrol:
Changed average fuel for controllable to new min fuel function. Hopefully provides better RTB behavior.

CONTROLLABLE:
Added GetFuelMin and GetFuelAve functions to ensure polymorphic behavior.

UNIT:
Added GetFuelMin and GetFuelAve functions for completeness and potential polymorphism.
2018-06-18 23:13:21 +02:00
funkyfranky d5d2de7577 Controllable alarm state
ships don't have option to change alarm state to other than green
2018-06-10 23:41:07 +02:00
funkyfranky 8b667071b7 ARTY v0.9.92
- adjusted DB
- other minor fixes and improvements
2018-06-05 00:28:52 +02:00
funkyfranky 8ff3530916 Merge branch 'develop' into FF/Develop 2018-06-03 09:40:46 +02:00
funkyfranky 0d246d3f49 ARTY v0.9.9
ARTY:
Fixed CTD bug. Caused by group:ClearTasks() when no task is assigned (group arrived).
Many other improvements
Cleared up function location.
MESSAGES:
Added optional clear screen parameter.
2018-06-03 00:58:24 +02:00
FlightControl_Master 43a4052dc8 Documentation cleanup 2018-06-01 16:00:42 +02:00
FlightControl_Master f556077ff6 Cleanup 2018-06-01 06:52:36 +02:00
FlightControl_Master 43b320ca90 New versions with documentation 2018-05-29 22:34:33 +02:00
funkyfranky ad75a7ddb5 RANGE v1.2 and other changes
RANGE:
-Optimized performance. Bombs are now only tracked if the player is within a certain distance of the range.

CONTROLLABLE:
- Added speed unit to @param description. Sometimes it was unclear if speed needs to be given in m/s or km/h.
- Fixed some default speed and conversions.
COORDINATE:
- Cleaned up some speed unit stuff.
- Reintroduced PathOnRoad function to contain the full path. Useful as interface to DCS API function.
- Fixed some default speed and conversions.

AI_CARGO_APC:
Speed is not fixed any more but set to 50% of the max speed a given unit can move at.
2018-05-26 14:46:23 +02:00
funkyfranky d98f207bcf Merge branch 'develop' into FF/Develop 2018-05-24 19:39:48 +02:00
FlightControl_Master 1b39f5d6e6 Optimized comments and documentation set 2018-05-23 10:42:27 +02:00
Frank 25e4d171ab Added GetSpeedMax function 2018-05-21 21:43:19 +02:00
FlightControl_Master 25a6cbcf6d Helicopter AI_CARGO_DISPATCHER working (almost).
Queueing at deploy locations working.
2018-05-12 08:37:27 +02:00
funkyfranky fc852e0386 Merge branch 'develop' into FF/Develop 2018-05-07 17:52:33 +02:00
FlightControl_Master dd636939bb Documentation and performance fix. 2018-05-07 06:11:58 +02:00
FlightControl_Master 19b3dcec21 # Conflicts:
#	Moose Development/Moose/AI/AI_Cargo_APC.lua
#	Moose Development/Moose/Wrapper/Controllable.lua
2018-05-06 07:36:58 +02:00
FlightControl_Master 810d900d7e Working with Transporting mode on or off. 2018-05-02 22:18:07 +02:00
funkyfranky e5268a29cf ARTY v0.3
First working version. But still WIP.
2018-04-30 12:05:51 +02:00
FlightControl_Master c999389cda Handler for unloading too. 2018-04-23 06:51:49 +02:00
FlightControl_Master fea2f55fbb Lots of optimizations 2018-04-12 13:59:55 +02:00
FlightControl_Master 4eb596f5bf Finish Cargo/FC/Transport 2018-04-09 12:56:11 +02:00
FlightControl_Master 7735120f25 Progress on AI_CARGO_TROOPS 2018-04-07 14:21:34 +02:00
FlightControl_Master c60dda2545 Cargo Crate transportation working :-) 2018-04-05 15:06:36 +02:00
FlightControl_Master 93640b1d8e -- Further fixes for TASK_CARGO_TRANSPORT 2018-03-29 12:02:07 +02:00
FlightControl_Master e7518d69e6 Cargo Troops 2018-03-26 07:39:55 +02:00
FlightControl_Master 706aea01ca Cleanup of documentation of AI 2018-03-20 10:34:53 +01:00
FlightControl_Master 7c2c6daf3e Tracify comments 2018-03-18 11:17:37 +01:00
Sven Van de Velde 3ce5d71fc9 Fixing issue #799 2018-02-18 11:44:01 +01:00
funkyfranky 6f6db6d26f Added last waypoint to RouteGroundOnRoad function if that is not on road. 2018-02-11 17:17:13 +01:00
funkyfranky f69f666deb Added new ways to find routes using roads.
COORDINATE class: added two new functions to find the nearest road and coordinates to a destination using roads.

CONTROLLABLE class: added new function to route a controllable using roads.
2018-02-11 16:40:03 +01:00
FlightControl_Master f18b18187b Optimizing Scoring and Controllable 2017-12-10 14:28:58 +01:00
FlightControl_Master 7fd2500db4 Fixed issue with SpawnInAir 2017-12-08 14:58:22 +01:00
funkyfranky 3a0f60adc9 Suppression Fire and Alarm State 2017-10-12 00:36:21 +02:00
FlightControl_Master e1f4bdc24b Improvements on Patrol 2017-09-25 12:55:12 +02:00
FlightControl_Master 27e8226330 Added Patrol methods
* CONTROLLABLE has received the following new methods:
* :PatrolRoute()
* :PatrolRouteRandom( Speed, Formation )
* :PatrolZones( ZoneList, Speed, Formation )
2017-09-24 08:17:28 +02:00
FlightControl_Master fcce06c3f1 Error handling 2017-09-08 10:30:52 +02:00
FlightControl_Master 6959f50777 First fixes 2017-09-08 10:19:48 +02:00
FlightControl_Master 1cf2383dfd First version 2017-08-15 17:44:09 +02:00
FlightControl_Master d558c5be21 Updates 2017-08-13 17:04:04 +02:00
FlightControl_Master e16e5d9a81 Fixes 2017-08-08 21:37:12 +02:00
FlightControl_Master 3dde62a550 Fixed key problem in TaskFunction() 2017-08-08 18:08:40 +02:00
FlightControl_Master 8a334b6671 Documentation 2017-08-08 16:11:31 +02:00
FlightControl_Master 386777930e Updates of tasking 2017-08-08 15:54:44 +02:00
FlightControl_Master 2aecf45316 Many Fixes 2017-08-08 09:42:42 +02:00
FlightControl_Master 9054a493f9 Updated defects in dispatcher 2017-08-01 17:35:53 +02:00