46 Commits

Author SHA1 Message Date
FlightControl
cd4d4af559 Last Updates 2016-09-12 12:29:20 +02:00
FlightControl
dac29f6356 Cargo Group is working... 2016-09-01 12:52:02 +02:00
Sven Van de Velde
167b0dd598 Branch release for first test with community members
Gents, please have a look at this development:
2016-08-21

- Made a new STATEMACHINE_CONTROLLABLE object, which models a base state
machine class to be inherited by AI controllable classes.
-- Created the class as such that intherited AI classes become "finite
state machines".
-- Each STATEMACHINE_CONTROLLABLE class contains a Controllable object,
which is one Unit, Client or Group object.
-- Added state transition functions that are called before and after the
state transition.
-- Event functions are automatically added to the class, based on the
FSMT.
-- Added immediate and delayed event processing as part of the
STATEMACHINE_CONTROLLABLE class.
--- Events that start with __Event are processed with a delay. The delay
is given in seconds as a parameter.

- Created a new AI_PATROLZONE class, which inherites
STATEMACHINE_CONTROLLABLE.
-- This class implements a complete new revamped patrol zone AI pattern.
-- Created a new test directory: Moose_Test_AI_PATROLZONE with test
missions.

2016-08-15

- Removed the old classes and moved into an "Old" folder in the
Moose/Development folder.
-- Cleaned Moose.lua + Documented class types
-- Cleaned Create_Moose.bat + Documented class types

- Extend the ZONE_BASE class with a probability randomization factor,
that can be used for zone randomization purposes.

- Documented the Zone module classes.

- Changed and removed the POINT_VEC3 SmokeColor and FlareColor
structure. Replaced with SMOKECOLOR and FLARECOLOR types.
-- Replaced also code in test missions with SMOKECOLOR and FLARECOLOR
references.

- Added change logs of API changes in MOOSE documentation.

- Added ZONE_BASE:GetName() method.

- Added ZONE_BASE:GetZoneProbability() method.

- Added ZONE_BASE:SetZoneProbability() method.

- Added ZONE_BASE:GetZoneMaybe() method.

- Added SPAWN:InitRandomizeZones() method.

- Renamed SPAWN:CleanUp() method to SPAWN:InitCleanUp() method.

- Reviewed documentation of the PatrolZone module and PATROLZONE class.

2016-08-14

- Changed Spawn APIs to express Group position and Unit position
randomization.

- Changed the API protocol of SpawnInZone() method.
-- Removed OuterRadius and InnerRadius parameters !!!

- Changed the API protocol of SpawnFromUnit() method.
-- Removed OuterRadius and InnerRadius parameters !!!

- Added InitRandomizeUnits() method, taking 3 parameters:
-- RandomizeUnits given the value true, will randomize the units upon
spawning, false (default) will not randomize the untis.
-- OuterRadius is the outer radius of the band where the units will be
spawned, if RandomizeUnits is true.
-- InnerRadius is the inner radius of the band where the units will not
be spawned, if RandomizeUnits is true.

- Removed SpawnFunction() method.

- Added OnSpawnGroup() method as the new official CallBack function
method to catch when a new function will be called.
-- Documented OnSpawnGroup() method.

- Renamed Limit() method to InitLimit() method.

- Renamed Array() method to InitArray() method.

- Renamed RandomizeRoute() method to InitRandomizeRoute() method.

- Renamed RandomizeTemplate() method to InitRandomizeTemplate() method.

- Renamed UnControlled() method to InitUnControlled method.

- Reviewed all test missions for the changes executed and made adaptions
where necessary + re-tests.

2016-08-12

- Temporary release of the new cargo handling.
-- Released available functionality to handle one CARGO_UNIT loading,
boarding, unloading.
-- Created CARGO_UNIT test missions.

- Added Translate() method in POINT_VEC3, translating a 3D point over
the horizontal plane with a Distance and Angle coordinate.
2016-08-23 07:12:31 +02:00
Sven Van de Velde
a800531ea0 Progress on the AI_PATROLZONE!!! Working test mission!!! 2016-08-21 10:56:56 +02:00
Sven Van de Velde
3861362ed9 Progress
- Added SPAWN:InitRandomizeZones() method.

- Renamed SPAWN:CleanUp() method to SPAWN:InitCleanUp() method.

- Reviewed documentation of the PatrolZone module and PATROLZONE class.

- Reviewed all test missions
2016-08-16 10:17:35 +02:00
Sven Van de Velde
0c15f92210 Progress
- Added change logs of API changes in MOOSE documentation.

- Added ZONE_BASE:GetName() method.

- Added ZONE_BASE:GetZoneProbability() method.

- Added ZONE_BASE:SetZoneProbability() method.

- Added ZONE_BASE:GetZoneMaybe() method.

- Added SPAWN:InitRandomizeZones() method.
2016-08-15 18:44:04 +02:00
Sven Van de Velde
7cda194f45 Progress
- Removed the old classes and moved into an "Old" folder in the
Moose/Development folder.
-- Cleaned Moose.lua + Documented class types
-- Cleaned Create_Moose.bat + Documented class types

- Extend the ZONE_BASE class with a probability randomization factor,
that can be used for zone randomization purposes.

- Documented the Zone module classes.

- Changed and removed the POINT_VEC3 SmokeColor and FlareColor
structure. Replaced with SMOKECOLOR and FLARECOLOR types.
-- Replaced also code in test missions with SMOKECOLOR and FLARECOLOR
references.

- Renamed UnControlled() method to InitUnControlled method.
2016-08-15 12:30:36 +02:00
Sven Van de Velde
c000675471 Progress, changed and reworked protocols
2016-08-14

- Changed Spawn APIs to express Group position and Unit position
randomization.

- Changed the API protocol of SpawnInZone() method.
-- Removed OuterRadius and InnerRadius parameters !!!

- Changed the API protocol of SpawnFromUnit() method.
-- Removed OuterRadius and InnerRadius parameters !!!

- Added InitRandomizeUnits() method, taking 3 parameters:
-- RandomizeUnits given the value true, will randomize the units upon
spawning, false (default) will not randomize the untis.
-- OuterRadius is the outer radius of the band where the units will be
spawned, if RandomizeUnits is true.
-- InnerRadius is the inner radius of the band where the units will not
be spawned, if RandomizeUnits is true.

- Removed SpawnFunction() method.

- Added OnSpawnGroup() method as the new official CallBack function
method to catch when a new function will be called.
-- Documented OnSpawnGroup() method.

- Renamed Limit() method to InitLimit() method.

- Renamed Array() method to InitArray() method.

- Renamed RandomizeRoute() method to InitRandomizeRoute() method.

- Renamed RandomizeTemplate() method to InitRandomizeTemplate() method.

- Reviewed all test missions for the changes executed and made adaptions
where necessary + re-tests.
2016-08-14 21:37:11 +02:00
Sven Van de Velde
66e1b02898 Added briefing to method ESCORT:New()
-- If no EscortBriefing is given, the New() method will show the default
briefing.
2016-08-08 06:00:55 +02:00
Sven Van de Velde
daef3e415f Added documentation in SPAWN
-- Added documentation for methods GetFirstAliveGroup,
GetNextAliveGroup, GetLastAliveGroup.
-- Added code snippets to the documentation for the methods
GetFirstAliveGroup, GetNextAliveGroup, GetLastAliveGroup.
2016-07-29 08:22:57 +02:00
FlightControl
e55a7716fb Added MENU_MISSION classes and fixed bug in SCORING
-- Added class MENU_MISSION
-- Added class MENU_MISSION_COMMAND
-- Revised documentation of Menu
-- Fixed bug in SCORING class to set the scoring menu
2016-07-23 10:57:10 +02:00
FlightControl
ede7813a94 Updated documentation 2016-07-23 10:32:41 +02:00
FlightControl
a4fb512ad9 Updated menu documentation and restructured some of the menu functions...
- Updated documentation.
- _COMMAND:New methods now accept variable parameters.
- Revised some code.
2016-07-22 17:20:52 +02:00
FlightControl
d5671a5f65 Working version of the DETECTION classes 2016-07-19 18:12:26 +02:00
FlightControl
0938fc6d80 Added 3 new test missions and updated and fixed some documentation issues. 2016-07-06 08:17:36 +02:00
FlightControl
49dd2b6f2a Added a couple of function to allow Respawning of GROUPS more efficiently. 2016-07-05 08:29:16 +02:00
FlightControl
c581fe1551 Implemented DETECTION and FAC first classes 2016-06-25 08:53:19 +02:00
FlightControl
c8443f8798 Updates and fixes
- Replaced range test for unit to range test for players.
- Ensure that players database is properly populated.
- Fixed some documentation.
- Removed smoke from trigger.
- Fixed name of RandomPointVec2 to RandomVec2 and fixed in all usages.
2016-06-20 13:12:51 +02:00
FlightControl
e0b32fe5d5 Finalized the AIBALANCER class + PATROLZONE class 2016-06-19 15:03:50 +02:00
FlightControl
ffbc4a838e PATROLZONE class + integration of PATROLZONE class in AIBALANCER class + documentation. 2016-06-18 23:13:33 +02:00
FlightControl
87313a9204 Finetuned AIBALANCER documentation 2016-06-18 00:00:27 +02:00
FlightControl
c211f4f603 Documentation 2016-06-17 23:53:08 +02:00
FlightControl
8edfb49358 Finalization for publishing 2016-06-17 23:27:27 +02:00
FlightControl
f2407e357a Updated documentation + small bugfix SCHEDULER. 2016-06-15 06:42:22 +02:00
FlightControl
8de64bc95a ESCORT Updated 2016-06-14 15:04:08 +02:00
FlightControl
9e881530d8 Documentation 2016-06-09 13:04:27 +02:00
FlightControl
a0250cfdc4 Message documentation 2016-06-09 13:01:18 +02:00
FlightControl
cf80a89af0 Style 2016-06-09 12:55:54 +02:00
FlightControl
be8e76e7f1 Updates
- MESSAGE class finished and now properly documented. Changed New()
function API.
- Reworked Include.File lines. No Include.File line anymore in the
Modules. All included in Moose.lua for dynamic loading.
2016-06-09 12:47:15 +02:00
FlightControl
f7eef96c94 Updated SET_GROUP and SET 2016-06-08 17:53:06 +02:00
FlightControl
fcfa91f700 SET_GROUP publish preparation 2016-06-07 12:24:31 +02:00
FlightControl
92e9f57b66 SET_GROUP is working! 2016-06-07 12:23:24 +02:00
FlightControl
2565939889 Group Set progresss
need to fix some bugs still
2016-06-07 00:32:53 +02:00
FlightControl
e82ba13b8b Publishing a working version :-) 2016-06-06 13:43:32 +02:00
FlightControl
8777f516af Preparing for presentation 2016-06-05 11:27:18 +02:00
FlightControl
0d42c1670e Documentation + Zone functions
Implemented zone functions for GROUP and UNIT
Documentation improvement for GROUP, UNIT, CLIENT.
2016-06-05 09:37:27 +02:00
FlightControl
d8790ad2f1 First test mission with ZONE_POLYGON working! 2016-06-05 00:03:27 +02:00
FlightControl
8da59c4395 Documentation 2016-06-03 12:19:22 +02:00
FlightControl
a34e4c68d0 Added lots of functions in GROUP 2016-06-02 14:49:10 +02:00
FlightControl
ade8135b5a Revert "Added lots of new GROUP functions"
This reverts commit 8b01579a425814eaa0f6b9e4d4f455961ccc03c7.
2016-06-02 14:47:14 +02:00
FlightControl
8b01579a42 Added lots of new GROUP functions 2016-06-02 14:47:05 +02:00
FlightControl
ac1d9485cd Small bugfixes in GroupSet.lua 2016-05-27 14:22:56 +02:00
FlightControl
41375f4491 Small bugfixes and documentation update for GroupSet.lua 2016-05-27 13:53:06 +02:00
FlightControl
3173dfb42a Documentations 2016-05-27 13:41:51 +02:00
FlightControl
9afe0acd8d SCHEDULER:New() implemented and routines.scheduleFunction removed 2016-05-25 16:54:09 +02:00
FlightControl
6a43e9da80 New Moose Structure + Created New Update Mission Method 2016-05-25 11:00:30 +02:00