304 Commits

Author SHA1 Message Date
FlightControl
d62acf421e Progress 2016-12-15 14:51:08 +01:00
FlightControl
74cee904cd Updated the Static moose 2016-12-15 11:24:46 +01:00
FlightControl
02d4bbf3ff Getting somewhere, with the new schedulers, the TASK logic works now much better!
- Schedulers are stopped when the parent object is destroyed.
- Parent objects are garbage cleaned.
- Destructors are called.

Jippie! Results!!!
2016-12-13 13:05:21 +01:00
FlightControl
2582e7a90a Work in progress
- problem with UNIT tables... Unit not alive... Need to fix CLIENTs...
CLIENTs need to be copied into UNITs...
2016-12-09 14:48:49 +01:00
FlightControl
50e69e07fb Undone the Templating crap. It is much better now. Users will understand ... 2016-12-09 12:34:28 +01:00
FlightControl
d17a637515 Test missions updated with new MOOSE static loader... pre release... 2016-12-07 19:18:11 +01:00
FlightControl
35ac87109b Starting to harmonize the new TASK logic with the old DETECTION_DISPATCHER 2016-11-23 18:37:12 +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
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
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
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
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
cf9bbc9ba7 Progress 2016-08-11 10:08:22 +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
92f1f08d5f Progress 2016-08-05 09:26:34 +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
26c01cba60 Commit moose.lua 2016-08-01 18:52:27 +02:00
Sven Van de Velde
72a76ecfd6 Updated Moose.lua 2016-07-31 13:38:48 +02:00
Sven Van de Velde
4abdfcafeb Created Moose.lua 2016-07-31 09:06:28 +02:00
FlightControl
a6da2ba441 Redo commit 2016-07-23 20:27:21 +02:00
FlightControl
c10e293ff7 Fixed bug in Scheduler (a real nasty one) and SET_UNIT 2016-07-23 20:26:08 +02:00
FlightControl
dc486be872 Fixed error in Scheduler (due to add Scheduler function this mornin) 2016-07-23 17:22:58 +02:00
FlightControl
9cd45e7abe Test 2016-07-23 16:49:08 +02:00
FlightControl
a466daf1aa ensuring in missiletrainer that smoke is on the ground of missile getting destructed. 2016-07-23 12:36:37 +02:00
FlightControl
a76ec08499 Bugfix Missile trainer 2016-07-23 12:32:50 +02:00
FlightControl
5f02b5f764 Added tracing in the EVENT class 2016-07-23 12:14:24 +02:00
FlightControl
ea048ade54 Static loading 2016-07-23 11:30:53 +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
2befd34681 Merge remote-tracking branch 'refs/remotes/origin/master' into Detection 2016-07-23 10:38:15 +02:00
FlightControl
231b382df1 New SPAWN class methods
-- Added SpawnFromVec3
-- Added SpawnFromVec2
-- Revised SpawnFromUnit
-- Revised SpawnFromZone
-- Added POINT_VEC3:GetVec2()
-- Added POINT_VEC3:GetRandomVec2InRadius()
-- Added POINT_VEC2:NewFromVec2()
-- Revised the STATIC class working with POISITIONABLE
-- Revised ZONE_RADIUS:GetPointVec3
--
2016-07-23 10:31:52 +02:00
FlightControl
b283406274 Updated Scheduler and documentation.
-- Added SCHEDULER.Schedule method.
-- Reworked SCHEDULER.New method.
-- Renamed Mechanic to Mechanist.
2016-07-23 07:10:59 +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
ce789b9703 Commit 2016-07-21 21:44:50 +02:00
FlightControl
70651777c5 Updated some of the MOOSE functions 2016-07-21 20:14:11 +02:00
FlightControl
2eeaf7b92d Added JTAC to DETECTION_DISPATCHER
Added Process_JTAC to coordinate this activity during a CAS or BAI.
Removed TASK_CAS and TASK BAI into a generic TASK_A2G task.
2016-07-21 15:28:53 +02:00
FlightControl
38f18d7b28 commit 2016-07-20 18:25:50 +02:00
FlightControl
5e77d30caa Fixed a bug in the event handler due to a stupid added trace. removed the trace. 2016-07-19 22:03:39 +02:00
FlightControl
9b15ec1988 Removed flushes 2016-07-19 18:18:49 +02:00
FlightControl
d5671a5f65 Working version of the DETECTION classes 2016-07-19 18:12:26 +02:00
FlightControl
86b283c7f0 SEAD working correctly + readjust test missions not to loose anything. 2016-07-13 09:08:08 +02:00
FlightControl
17abcb7b7f Updated detection algorithm
Now the detected sets are kept consistent to previous sets. New
algorithm developed. This is important to keep assigned tasks consistent
with the detected sets.
2016-07-10 09:11:05 +02:00
FlightControl
40a9c1f7d1 Improved it 2016-07-08 18:02:22 +02:00