Commit Graph

943 Commits

Author SHA1 Message Date
Delta-99 90db41567d Merge pull request #7 from FlightControl-Master/master
Merge from FlightControl-Master
2017-02-12 14:54:45 -05:00
Sven Van de Velde 2f93e16566 Merge pull request #237 from FlightControl-Master/CraigOwen
Example for EventOnLand
2017-02-12 18:18:06 +01:00
CraigOwen 099697f582 Example for EventOnLand
In this example a client can land a plane in specified zones. In case of
success, there will be a message and a flaring unit.
2017-02-12 18:14:39 +01:00
Delta-99 b917e604b5 Merge pull request #6 from FlightControl-Master/master
Merge latest FlightControl-Master changes
2017-02-10 16:12:21 -05:00
Sven Van de Velde 4a89d4fc78 Merge pull request #236 from FlightControl-Master/FlightControl
Fix for AI_CAS_ZONE
2017-02-08 15:07:22 +01:00
FlightControl 903d8dd628 Static moose 2017-02-08 15:06:17 +01:00
FlightControl dd310b48d4 Fix for CAS, stopping when one plane crashed... 2017-02-08 15:04:27 +01:00
FlightControl 63d443802b Merge remote-tracking branch 'refs/remotes/origin/master' into FlightControl 2017-02-08 15:03:15 +01:00
Sven Van de Velde 48e382d999 Merge pull request #235 from FlightControl-Master/FlightControl
Fix for AI_CAP_ZONE
2017-02-08 11:59:24 +01:00
FlightControl 50f37d4dbe Fixed glitch in AI_CAP_ZONE 2017-02-08 11:58:35 +01:00
FlightControl 8c0adea841 Fixed glitch in AI_CAP 2017-02-08 10:24:50 +01:00
Delta-99 7be632ced0 Merge pull request #5 from FlightControl-Master/master
Update Delta-99 From FlightControl-Master
2017-02-07 17:37:49 -05:00
FlightControl 1d8d8b3e58 Merge remote-tracking branch 'refs/remotes/origin/master' into FlightControl 2017-02-07 22:00:37 +01:00
Sven Van de Velde 3685b9418a Merge pull request #234 from FlightControl-Master/FlightControl
Event Documentation
2017-02-07 21:54:40 +01:00
FlightControl 24c896b535 Event Documentation 2017-02-07 21:53:23 +01:00
FlightControl fa8fcfec89 Event Documentation 2017-02-07 20:20:58 +01:00
FlightControl 4b1f0014ab Merge remote-tracking branch 'refs/remotes/origin/master' into FlightControl 2017-02-07 14:36:11 +01:00
Sven Van de Velde f115ec87d4 Merge pull request #233 from FlightControl-Master/FlightControl
Updated Event Handling
2017-02-07 13:48:34 +01:00
FlightControl 20f8a98cf0 Event documentation 2017-02-07 13:46:52 +01:00
FlightControl 1441d035d7 updated event handling 2017-02-07 13:44:59 +01:00
FlightControl 3db8062583 Event Handling Optimization
-- Created a HandleEvent method
-- Created an UnHandleEvent method
2017-02-07 13:33:29 +01:00
FlightControl 154f729788 Event Handling improved 2017-02-07 10:34:16 +01:00
FlightControl e9a4429f7a Event handling presentation, first version. 2017-02-06 22:40:54 +01:00
FlightControl 3f2b47b82d Merge remote-tracking branch 'refs/remotes/origin/master' into FlightControl 2017-02-06 20:21:37 +01:00
Sven Van de Velde 8fc7609932 Merge pull request #231 from FlightControl-Master/FlightControl
Flightcontrol
2017-02-06 17:19:38 +01:00
FlightControl c512eaad04 InitRandomTemplates
test mission
2017-02-06 17:15:08 +01:00
FlightControl ec299132ad Merge remote-tracking branch 'refs/remotes/origin/master' into FlightControl 2017-02-06 17:14:43 +01:00
Sven Van de Velde 985070b5f8 Merge pull request #230 from FlightControl-Master/FlightControl
AI_CAS_ZONE fixed
-- Added separate detection loop during engagement
-- Detection during patrolling is off.
-- Engage now has several parameters that specify how to engage within
the zone.
-- Using now the EngageUnit command instead of the AttackUnit command. Is better.
-- Created several additional test missions, more to come.
2017-02-06 15:02:30 +01:00
FlightControl 93e7fab116 Fixed AI_CAS_ZONE
-- Added separate detection loop during engagement
-- Detection during patrolling is off.
-- Engage now has several parameters that specify how to engage within
the zone.
-- Created several additional test missions, more to come.
2017-02-06 14:58:19 +01:00
FlightControl 9f63184a5e Merge remote-tracking branch 'refs/remotes/origin/master' into FlightControl 2017-02-05 18:22:09 +01:00
Sven Van de Velde 7d3729e556 Merge pull request #227 from FlightControl-Master/FlightControl
Fixed AI_CAP_ZONE engage with Engage Zone issue

-- Fixed AI_CAP_ZONE: Groups not engaging when an engage was "aborted",
but was actually erroneously set to "Accomplished". Is fixed now. An
engage that cannot be accomplished (due to no unit in the Engage Zone,
will be Aborted). Groups are engaging now when an Engage Zone is set.
-- Fixed FSM: There was a big issue with delayed function scheduling.
When creating "loops", meaning an Event handler calles again itself
delayed, would start propagating multiple times when the event was
scheduled, and another schedule of the event would be planned.... Thus 2
to x events handled and would end in chaos. Implemented delayed event
scheduling accepting a negative parameter in seconds, which would
check if an event would be already scheduled. If so, no new event would
be scheduled until the event handler would have been processed. In this
way, only maximum one event can be scheduled when this is wanted (this
is not always the case by the mission designer). So providing a negative
value as the seconds would make the event being scheduled only once!
-- Added EventPriority field in EVENT logging
-- Removed logging from POSITIONABLE
-- Moved the start of the detection to the Start event handler in
AI_CAP_ZONE
2017-02-05 18:13:19 +01:00
FlightControl b9b829a09a Various fixes
-- Fixed AI_CAP_ZONE: Groups not engaging when an engage was "aborted",
but was actually erroneously set to "Accomplished". Is fixed now. An
engage that cannot be accomplished (due to no unit in the Engage Zone,
will be Aborted). Groups are engaging now when an Engage Zone is set.
-- Fixed FSM: There was a big issue with delayed function scheduling.
When creating "loops", meaning an Event handler calles again itself
delayed, would start propagating multiple times when the event was
scheduled, and another schedule of the event would be planned.... Thus 2
to x events handled and would end in chaos. Implemented delayed event
scheduling accepting a *negative* parameter in seconds, which would
check if an event would be already scheduled. If so, no new event would
be scheduled until the event handler would have been processed. In this
way, only maximum one event can be scheduled when this is wanted (this
is not always the case by the mission designer). So providing a negative
value as the seconds would make the event being scheduled only once!
-- Added EventPriority field in EVENT logging
-- Removed logging from POSITIONABLE
-- Moved the start of the detection to the Start event handler in
AI_CAP_ZONE
2017-02-05 18:06:29 +01:00
FlightControl f1755fc3a4 Merge remote-tracking branch 'refs/remotes/origin/master' into FlightControl 2017-02-05 12:08:27 +01:00
Sven Van de Velde a9101750e5 Merge pull request #226 from FlightControl-Master/FlightControl
Bugfix of EVENT prioroty handling
2017-02-05 10:27:38 +01:00
FlightControl a530cea326 Fixed glitch in EVENT with new EventPriority logic
The Init method was wrong. It is fixed now.
SPAWN and other event handling will now be correctly processed!
2017-02-05 10:26:07 +01:00
FlightControl 0adf349066 Merge remote-tracking branch 'refs/remotes/origin/master' into FlightControl 2017-02-05 09:13:36 +01:00
FlightControl 8acfb79c0e USAF agressors fix (and also for other countries with _ names in country.id)
-- reworked the DATABASE template population logic
2017-02-05 08:31:03 +01:00
Sven Van de Velde e5c3f2070f Merge pull request #225 from FlightControl-Master/FlightControl
Flightcontrol
2017-02-04 19:33:43 +01:00
FlightControl a669ba5e5b bugfix with uncontrolled 2017-02-04 19:32:54 +01:00
FlightControl 7bb66c79aa Merge remote-tracking branch 'refs/remotes/origin/master' into FlightControl 2017-02-04 15:55:45 +01:00
FlightControl f65cc1404a doc 2017-02-04 15:55:21 +01:00
Sven Van de Velde e088edcfbc Merge pull request #224 from FlightControl-Master/FlightControl
Flightcontrol
-- Fixed documentation links
-- Added SPAWN:UnControlled( true/false )
-- Fixed glitch in MENU_CLIENT_COMMAND
-- New EVENT dispatching model
-- Implemented EVENT priorities in DATABASE, SET, UNIT, GROUP
-- Added BASE:SetEventPriority() and BASE:GetEVentPriority()
-- Made new test mission for UnControlled demonstration
2017-02-04 15:31:13 +01:00
FlightControl 52f4051901 Various Fixes
-- Documentation fixes with links not working.
-- MENU_CLIENT_COMMAND had a small glitch, fixed that one too.
-- Implemented new Event Dispatcher.
--
2017-02-04 15:16:32 +01:00
FlightControl be4d51237b Improved the event handling
-- Removed the sort
-- Implemented the order in the existing table.
-- 5 levels
-- _DATABASE = 1
-- SET and SET_ derived classes = 2
-- UNIT = 3
-- GROUP = 4
-- all other = 5
2017-02-04 11:35:58 +01:00
FlightControl ab345f5ad2 New Event Dispatching based on priorities
-- First _DATABASE
-- then SETS
-- then the rest
-- changed AIRBASEPOLICE
2017-02-03 22:18:51 +01:00
FlightControl 33af2b4f95 Merge remote-tracking branch 'refs/remotes/origin/master' into FlightControl 2017-02-03 18:21:42 +01:00
FlightControl 8d2404b1e5 Update 2017-02-03 18:21:24 +01:00
Sven Van de Velde 8ba815a7ba Merge pull request #223 from Delta-99/master
Update Moose.lua for FlightControl
2017-02-03 08:02:03 +01:00
Delta-99 dc71032f7d Update Moose.lua to incorporate latest changes 2017-02-02 22:58:49 -05:00
Delta-99 e41b72196b Merge pull request #4 from FlightControl-Master/master
Update from FlighControl-Master
2017-02-02 22:55:20 -05:00