2776 Commits

Author SHA1 Message Date
FlightControl
4816cd2c57 Got tasking working again now, with the NEW API set!!!
This is really, really great!
Now document all, and optimize the code.
And start video making.
And re-test the test mission, all...

And PUBLISH!!!
2016-11-22 12:46:28 +01:00
FlightControl
2f4eb39156 Jippie! Finally got the Sub Statemachine declaration understandable for end-users.
Reworked the hierarchical state machine processing in terms of sub
processing.
Now, the declaration and usage of subs is completely understandable and
easy to implement.
I am excited to see how end-users will see the possibilities.
2016-11-22 08:45:38 +01:00
FlightControl
07f6760039 Got the process cleanup working now, when a task has finished.
ProcessStop is called for each process that is destructed... Actually, I
need to implement destructors upon a garbage collection event. Found the
method to do that, but need to implement it ... Next time ...
2016-11-11 15:42:08 +01:00
FlightControl
1bd61837f2 Updated Task Processing logic. 2016-11-08 18:38:30 +01:00
FlightControl
764266d552 Got SEAD tasking working now with new Process Templates... 2016-11-06 11:34:32 +01:00
FlightControl
6239b6263c Progress on tasking, processes to use templates ... 2016-11-02 10:00:21 +01:00
FlightControl
cd4d4af559 Last Updates 2016-09-12 12:29:20 +02:00
Sven Van de Velde
9126c8c0b2 GNU GENERAL PUBLIC LICENSE
GNU GENERAL PUBLIC LICENSE
Version 3, 29 June 2007

Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
2016-09-04 10:52:44 +02:00
FlightControl
dac29f6356 Cargo Group is working... 2016-09-01 12:52:02 +02:00
Sven Van de Velde
0edb083d5d Progress on the new AISET_BALANCER class 2016-08-24 14:34:04 +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
91d0507b4d Progress AI_PATROLZONE 2016-08-21 14:22:05 +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
0bfac2d2ed Test missions + documentation 2016-08-15 12:57:25 +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
58124c0709 Progress 2016-08-13 07:01:28 +02:00
Sven Van de Velde
be55fdde9a Progress 2016-08-13 07:01:13 +02:00
Sven Van de Velde
e59caac2c7 Progress 2016-08-12 09:06:50 +02:00
Sven Van de Velde
d47e3183e3 Merge remote-tracking branch 'refs/remotes/origin/master' into Spawn-Randomization 2016-08-12 08:41:01 +02:00
Sven Van de Velde
aa4a487256 Merge pull request #143 from FlightControl-Master/PICKUP
Release Notes
2016-08-12 08:34:42 +02:00
Sven Van de Velde
5c8a99a412 Release Notes 2016-08-12 08:34:11 +02:00
Sven Van de Velde
fec2b39469 Merge pull request #142 from FlightControl-Master/PICKUP
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.
- Removed PointVec3 field from POINT_VEC3 class and added x, y, z coordinates.
- Removed PointVec2 field from POINT_VEC2 class and added x, y, alt coordinates.
- Added Translate method in POINT_VEC2.

2016-08-06
- Made PointVec3 and Vec3, PointVec2 and Vec2 terminology used in the code consistent.
-- Replaced method PointVec3() to Vec3() where the code manages a Vec3. Replaced all references to the method.
-- Replaced method PointVec2() to Vec2() where the code manages a Vec2. Replaced all references to the method.
-- Replaced method RandomPointVec3() to RandomVec3() where the code manages a Vec3. Replaced all references to the method.
2016-08-12 08:20:55 +02:00
Sven Van de Velde
52e473204d Static moose.lua 2016-08-12 08:01:00 +02:00
Sven Van de Velde
619efb5c08 Merge remote-tracking branch 'refs/remotes/origin/master' into New-Cargo-Handling
# Conflicts:
#	Moose Mission Setup/Moose Mission Update/l10n/DEFAULT/Moose.lua
#	Moose Mission Setup/Moose.lua
2016-08-12 08:00:28 +02:00
Sven Van de Velde
6741d978dd Progress 2016-08-12 07:56:20 +02:00
Sven Van de Velde
6c9842c691 Documentation 2016-08-12 07:16:36 +02:00
Sven Van de Velde
cf9bbc9ba7 Progress 2016-08-11 10:08:22 +02:00
Sven Van de Velde
bdbb1ea018 Progress 2016-08-11 09:01:47 +02:00
Sven Van de Velde
851ccf0a45 Publish changes done for Escort showing Briefing 2016-08-10 08:21:01 +02:00
Sven Van de Velde
9f37dde093 Progress 2016-08-10 08:15:37 +02:00
Sven Van de Velde
df90955347 Progress 2016-08-08 11:16:50 +02:00
Sven Van de Velde
152accb93d Merge remote-tracking branch 'refs/remotes/origin/master' into New-Cargo-Handling
# Conflicts:
#	Moose Development/Release Notes/2016-07 - ReleaseNotes.txt
2016-08-08 06:12:47 +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
7ec2d3425c Progress 2016-08-06 21:22:19 +02:00
Sven Van de Velde
d2efc61ddc Progress 2016-08-06 19:27:17 +02:00
Sven Van de Velde
bd62df4d28 Progress 2016-08-06 12:44:23 +02:00
Sven Van de Velde
b9a94271b2 Progress 2016-08-06 11:33:50 +02:00
Sven Van de Velde
92f1f08d5f Progress 2016-08-05 09:26:34 +02:00
Sven Van de Velde
e1610330f4 Progress 2016-08-05 06:50:30 +02:00
Sven Van de Velde
75ea07fea0 Progress 2016-08-04 08:17:15 +02:00
Sven Van de Velde
a95d4b6caf Progress 2016-08-04 08:05:30 +02:00
Sven Van de Velde
8ca74ee7db Progress 2016-08-04 07:47:36 +02:00
Sven Van de Velde
0c5e1db39c Merge remote-tracking branch 'refs/remotes/origin/master' into New-Cargo-Handling 2016-08-04 05:36:31 +02:00
Sven Van de Velde
c6eff8b1ce Merge pull request #136 from FlightControl-Master/Spawn-RandomizeTemplate
Spawn randomizetemplate
2016-08-03 20:55:18 +02:00
Sven Van de Velde
9c5e132fab Release Notes 2016-08-03 20:54:44 +02:00
Sven Van de Velde
88e280fee3 Fixed error in SPAWN:RandomizeTemplate()
-- Units started in wrong x, y position (at the template, instead of at
the master template of the SPAWN).
-- Adjusted x, y and alt to the start position of the first unit of the
master template.
-- Added a test mission Moose_Test_SPAWN_RandomizeTemplate.
-- Regenerated MOOSE.lua
2016-08-03 20:51:48 +02:00
Sven Van de Velde
2d17825268 Progress 2016-08-03 11:41:52 +02:00