912 Commits

Author SHA1 Message Date
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
Sven Van de Velde
30c7fce430 comment 2nd line that makes menu crash 2017-02-02 08:37:57 +01:00
Sven Van de Velde
e4ad046bbf commented line that crashed menu... 2017-02-02 08:31:33 +01:00
Sven Van de Velde
2767026892 Merge pull request #219 from 132nd-etcher/master
add "inner" and "outer" parameter to ZONE_RADIUS:GetRandomVec2() method
Great job @132nd-etcher ok 👌
2017-02-02 05:18:16 +01:00
Delta-99
96516760ea Merge pull request #3 from FlightControl-Master/master
Update Delta-99 master
2017-02-01 23:17:59 -05:00
Sven Van de Velde
2550638bb3 Merge pull request #218 from Delta-99/add-radio-alt-type
Add radio alt type
2017-02-02 05:11:29 +01:00
Delta-99
e723a66f62 Add an Altitude type to the AI_PATROL, AI_CAP, AI_CAS New() calls. Can pass RADIO or BARO and defaults to RADIO (or AGL) if nothing passed. 2017-01-31 22:50:42 -05:00
Delta-99
273b5fc7e5 Merge pull request #2 from FlightControl-Master/master
Merge FlightControl-Master/master to Delta-99/master
2017-01-30 16:45:08 -05:00
132nd-etcher
ac7dd8cb2f
add "inner" and "outer" parameter to ZONE_RADIUS:GetRandomVec2() method 2017-01-28 20:08:30 +01:00
FlightControl
e00e3104ab Presentations 2017-01-24 11:52:28 +01:00
FlightControl
3466f2d3b7 Merge remote-tracking branch 'refs/remotes/origin/master' into FlightControl 2017-01-24 11:27:07 +01:00
Sven Van de Velde
fd1ed374cf Merge pull request #215 from FlightControl-Master/FlightControl
-- Added SPA-017 test mission
-- Added SPAWN:InitAIOnOff()
-- Added SPAWN:InitAIOn()
-- Added SPAWN:InitAIOff()
-- Added GROUP:SetAIOnOff( AIOnOff )
-- Added GROUP:SetAIOn()
-- Added GROUP:SetAIOff()
-- Documentation
2017-01-24 11:10:57 +01:00
FlightControl
98a77e2856 Added AI Off methods in SPAWN and GROUP
-- Added SPA-017 test mission
-- Added SPAWN:InitAIOnOff()
-- Added SPAWN:InitAIOn()
-- Added SPAWN:InitAIOff()
-- Added GROUP:SetAIOnOff( AIOnOff )
-- Added GROUP:SetAIOn()
-- Added GROUP:SetAIOff()
-- Documentation
2017-01-24 11:09:55 +01:00
FlightControl
0095e53b3a Merge remote-tracking branch 'refs/remotes/origin/master' into FlightControl 2017-01-24 07:10:24 +01:00
FlightControl
0cb456ef0c Set AI On or Off when spawning
-- Added AI On or Off functions for SPAWN
-- Added AI On or Off functions for GROUP
2017-01-24 07:10:20 +01:00
Sven Van de Velde
2a928765bb Merge pull request #214 from FlightControl-Master/FlightControl
Flightcontrol
2017-01-23 15:32:37 +01:00
FlightControl
0c55d62763 Merge remote-tracking branch 'refs/remotes/origin/master' into FlightControl 2017-01-23 15:31:15 +01:00
FlightControl
81b04bdbfb Trace off for mission 2017-01-23 15:30:54 +01:00
Sven Van de Velde
d6ff4221e7 Merge pull request #213 from FlightControl-Master/FlightControl
Flightcontrol
2017-01-23 15:05:34 +01:00
FlightControl
8a1765141a Task Scores are now calculating correctly
The task scores are now working . Jippie!!!!
Demo time!!!
2017-01-23 15:04:20 +01:00
FlightControl
745e185f71 Merge remote-tracking branch 'refs/remotes/origin/master' into FlightControl 2017-01-23 14:26:10 +01:00
FlightControl
0109f011e8 Static + documentation 2017-01-23 14:17:23 +01:00
FlightControl
d4497fbf5e Cleanup of logging volume in fsm.lua
-- replaced all self:E with self:T
2017-01-23 14:16:24 +01:00
FlightControl
faa64c9f4e Tasking and Documentation
-- Added possibility to abort a TASK
-- Revised documentation of the main site.
2017-01-23 14:05:59 +01:00
FlightControl
956c71bbaa documentation 2017-01-22 15:05:49 +01:00
FlightControl
a54c3f975a doc 2017-01-22 14:55:28 +01:00
FlightControl
553fab6b51 Intellisense picture 2017-01-22 14:54:12 +01:00
FlightControl
24de4655f6 Documentation 2017-01-22 14:49:26 +01:00
FlightControl
fa97ba6ed7 lua code block, next try 2017-01-22 14:08:20 +01:00
FlightControl
ca8920a429 Documentation 2017-01-22 14:00:42 +01:00
FlightControl
83f4b35bb3 Documentation 2017-01-22 13:30:32 +01:00
FlightControl
77c706a3c6 Installation documentation 2017-01-22 08:07:06 +01:00