FlightControl
f7bf997511
Implemented a new method on ZONE:BoundZone
...
Creates a visual boundary around a ZONE_* of tires with a white flag.
These tires will also move when the ZONE is "rebound".
2017-03-05 09:32:17 +01:00
FlightControl
32e52731ae
Detection Progress
2017-03-05 07:35:03 +01:00
FlightControl
942ae18290
BUGFIXES: Fixed problems
...
-- With menu
-- On destroy, sometimes the wrong target was scored. Is fixed, was
silly leftover statement that did that. Corrected.
-- Goals added.
2017-03-04 14:59:56 +01:00
FlightControl
b46d61d865
Got Task_SEAD template working with all the variations and complexity!
2017-03-04 08:51:31 +01:00
FlightControl
b75c1a92ad
Added POINT_VEC3 and POINT_VEC2 Set and Add methods + documentation
2017-03-03 13:34:10 +01:00
FlightControl
a99924d9ed
Progress on SEAD model
2017-03-03 10:27:09 +01:00
FlightControl
846edca815
Merge remote-tracking branch 'refs/remotes/origin/master' into FlightControl
...
# Conflicts:
# Moose Mission Setup/Moose Mission Update/l10n/DEFAULT/Moose.lua
# Moose Mission Setup/Moose.lua
# Moose Test Missions/SPA - Spawning/SPA-010 - Spawn Demo/SPA-010 -
Spawn Demo.miz
# Moose Test Missions/SPA - Spawning/SPA-011 - Ground Ops - Simple
Spawning/SPA-011 - Ground Ops - Simple Spawning.miz
# Moose Test Missions/SPA - Spawning/SPA-012 - Ground Ops - Multiple
Spawns/SPA-012 - Ground Ops - Multiple Spawns.miz
# Moose Test Missions/SPA - Spawning/SPA-013 - Ground Ops - Scheduled
Spawns/SPA-013 - Ground Ops - Scheduled Spawns.miz
# Moose Test Missions/SPA - Spawning/SPA-014 - Ground Ops - Scheduled
Spawns Limited/SPA-014 - Ground Ops - Scheduled Spawns Limited.miz
# Moose Test Missions/SPA - Spawning/SPA-015 - Ground Ops - Randomize
Route/SPA-015 - Ground Ops - Randomize Route.miz
# Moose Test Missions/SPA - Spawning/SPA-016 - Ground Ops - Randomize
Zones/SPA-016 - Ground Ops - Randomize Zones.miz
# Moose Test Missions/SPA - Spawning/SPA-017 - Ground Ops - Set AI
inactive while spawning/SPA-017 - Ground Ops - Set AI inactive while
spawning.miz
# Moose Test Missions/SPA - Spawning/SPA-018 - Ground Ops - Randomize
Templates/SPA-018 - Ground Ops - Randomize Templates.miz
# Moose Test Missions/SPA - Spawning/SPA-100 - CleanUp Inactive
Units/SPA-100 - CleanUp Inactive Units.miz
# Moose Test Missions/SPA - Spawning/SPA-110 - Limit Spawning/SPA-110 -
Limit Spawning.miz
# Moose Test Missions/SPA - Spawning/SPA-121 - Air Ops - Scheduled
Spawns with Repeat on Landing with Limit/SPA-121 - Air Ops - Scheduled
Spawns with Repeat on Landing with Limit.miz
# Moose Test Missions/SPA - Spawning/SPA-130 - Uncontrolled
Spawning/SPA-130 - Uncontrolled Spawning.miz
# Moose Test Missions/SPA - Spawning/SPA-200 - Randomize Unit
Types/SPA-200 - Randomize Unit Types.miz
# Moose Test Missions/SPA - Spawning/SPA-220 - Randomize Zones/SPA-220 -
Randomize Zones.miz
# Moose Test Missions/SPA - Spawning/SPA-310 - Spawn at Static
position/SPA-310 - Spawn at Static position.miz
# Moose Test Missions/SPA - Spawning/SPA-320 - Spawn at Unit
position/SPA-320 - Spawn at Unit position.miz
# Moose Test Missions/SPA - Spawning/SPA-330 - Spawn at Vec2
position/SPA-330 - Spawn at Vec2 position.miz
# Moose Test Missions/SPA - Spawning/SPA-340 - Spawn at Vec3
position/SPA-340 - Spawn at Vec3 position.miz
# Moose Test Missions/ZON - Zones/ZON-100 - Normal Zone/ZON-100 - Normal
Zone.miz
# docs/Documentation/Zone.html
2017-03-03 09:51:17 +01:00
FlightControl
5d17cde83a
Added methods to POINT_VEC3 and documented
2017-03-03 08:31:45 +01:00
FlightControl
ef5f83034b
Added API to set Goal Scores upon a condition
2017-03-03 08:08:29 +01:00
FlightControl
c476c7df27
Fix of scheduler.
...
When trace is off, the scheduler removed the link to placed schedules.
This was wrong due to a wrong weak table. Corrected.
2017-03-02 23:33:54 +01:00
FlightControl
336f1781a7
Scoring scale change
...
-- Presentation update
-- Documentation updated
-- SetScale functions instead of multiplier
-- Updated proper scoring scaling formula!
2017-03-02 17:43:46 +01:00
FlightControl
3789bf79c2
BIGFIX: Scoring Coalition change Fratricide
...
Fixed some bugs in the logging of fratricide.
2017-03-02 12:29:41 +01:00
FlightControl
7c7aa76fdd
Update to AI_Balancer
2017-03-02 09:56:47 +01:00
FlightControl
5dec4b137b
Static moose.lua
2017-02-28 18:52:34 +01:00
FlightControl
ad3baa1f0d
Static moose.lua
2017-02-28 18:50:35 +01:00
FlightControl
b9bd76f387
Progress
2017-02-28 18:16:13 +01:00
FlightControl
8edbb5ca23
Progress, a lot is working already.
2017-02-28 14:01:38 +01:00
FlightControl
1e143778bd
Scoring updates
2017-02-26 22:55:36 +01:00
FlightControl
c9c3b11b14
Updated static scores
2017-02-26 15:31:23 +01:00
FlightControl
0f7bc2b663
First draft version new scoring
2017-02-26 15:25:32 +01:00
Sven Van de Velde
490f1b47c7
SCORING new functions addons.
2017-02-26 11:58:26 +01:00
Sven Van de Velde
b8df0c433b
bugfixes and cleanup of scoring code for player to player scoring
2017-02-26 07:58:02 +01:00
Sven Van de Velde
5f6deff3fa
BUGFIX of Scoring CLIENT to CLIENT.
...
Creation of test mission to test hits and kills client to client.
2017-02-24 13:45:56 +01:00
Sven Van de Velde
152a3a789f
BIGFIX: InitRandomizeTemplate is now correctly positioning the Spawned Units.
...
-- Fixed in spawn.lua
-- InitRandomizeTemplate is now correctly positioning the spawned units
according the initial position as modeled in the mission editor.
-- When combining InitRandomizeTemplate with InitRandomizeZone, the
spawned units are still positioned at their initial position according
the position modeled in the mission editor.
-- Added test missions SPA-019 and SPA-020.
2017-02-24 13:13:24 +01:00
Sven Van de Velde
06409f6cd0
Fixed EngageZone documentation problem.
2017-02-24 12:23:42 +01:00
Sven Van de Velde
604db7e53c
BIGFIX: Reworked the code so that SCORING is working with STATIC objects.
...
The problems were in the EVENTDISPATCHER.
-- Reworked the Event Dispatcher code...
-- Added fields IniCategory and TgtCategory that indicate which Object
Category is involved in the Event.
-- Added fields IniPlayerName and TgtPlayerName that indicate which
Player Name is the initiator or Target (only when the Object Category is
a UNIT).
-- In the Event.lua, I poperly documented every field in EVENTDATA and
typed it correctly.
-- Reworked te Scoring code..
-- Incorporated the Event.* added fields into the Scoring Code.
-- Added a SCO-100 test mission
-- A shooting range with STATIC objects, so that a player can TEST the
scoring for STATIC objects in a mission.
Hope this helps.
FC
2017-02-24 12:10:27 +01:00
Sven Van de Velde
d0b0ce7483
Scoring fix
2017-02-23 08:44:54 +01:00
Sven Van de Velde
33f064141f
Reviewed all the zone test missions
2017-02-21 12:17:14 +01:00
FlightControl
d7c2e0f900
Reworked zone and vector functions
...
2017-02-08 - Reworked some vector functions.
-- POINT_VEC3:NewFromVec2( Vec2, LandHeightAdd ) added.
-- ZONE_RADIUS:GetRandomPointVec2( inner, outer ) added.
-- ZONE_RADIUS:GetRandomPointVec3( inner, outer ) added.
-- ZONE_POLYGON_BASE:GetRandomPointVec2() added.
-- ZONE_POLYGON_BASE:GetRandomPointVec3() added.
2017-02-18 22:38:31 +01:00
FlightControl
f9708de598
Progress
2017-02-18 19:51:20 +01:00
entropySG
5cae3a9600
Fix to Missile Trainer
2017-02-16 10:58:35 +01:00
FlightControl
3473076814
Fix for Delta, hopefully solves error in Event Handling.
2017-02-14 16:55:02 +01:00
FlightControl
84b5f2dd68
Added EVENTHANDLER class for generic event handling
2017-02-14 13:15:11 +01:00
FlightControl
a24717e30e
Fix for delayed __Event( DelaySeconds ) trigger
...
DelaySeconds must ALWAYS be given!
2017-02-14 10:53:46 +01:00
FlightControl
62b668029b
Updates
2017-02-14 08:49:59 +01:00
FlightControl
a47195198e
Fixes and framework stabilization
2017-02-08 22:40:26 +01:00
FlightControl
903d8dd628
Static moose
2017-02-08 15:06:17 +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
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
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
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
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
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
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
FlightControl
a669ba5e5b
bugfix with uncontrolled
2017-02-04 19:32:54 +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