132nd-etcher
9fe51587a1
Add function BASE:IsInstanceOf( className )
...
This method checks if a Moose object is an instance of a given className.
2017-07-12 14:55:25 +02:00
132nd-etcher
82fd08521f
Add UTILS.IsInstanceOf = function( object, className )
...
This function takes any object and check if it is an instance of className.
The object can be either a MOOSE class or a basic lua type.
2017-07-12 14:55:15 +02:00
132nd-etcher
2f416ea98e
Update BASE:GetParent( Child ) so that it returns nil when called on BASE class
...
We need to know if that the BASE class has no parent.
2017-07-12 14:55:01 +02:00
FlightControl
33916c2631
Merge remote-tracking branch 'refs/remotes/origin/master-release'
...
# Conflicts:
# Moose Mission Setup/Moose.lua
# Release 2.1.md
2017-07-11 16:56:17 +02:00
FlightControl
a0befeb34f
Fixed a bug in the removal of GROUP objects in SET_GROUP
...
Upon a DEAD or CRASH event processing in a SET_GROUP, the GROUP object
would be removed regardless of how many UNITs are still in the GROUP
object.
The fix is that upon a DEAD or CRASH event in a SET_GROUP, it will be
checked if there is only one UNIT left in the GROUP, and only then the
GROUP will be removed from the SET_GROUP.
2.1.6
2017-07-11 16:20:15 +02:00
Rob Graham
0501959ab9
Merge pull request #619 from FlightControl-Master/RobGraham
...
Added Knots to Kmph
2017-07-11 17:08:00 +10:00
robgrahamau
764beb7c22
Added Knots to Kmph
2017-07-11 16:46:14 +10:00
FlightControl
1d939311c3
Removed trace
2017-07-08 14:17:43 +02:00
FlightControl
47f1b8ae66
Event Handling
2017-07-08 14:10:33 +02:00
FlightControl
cff8522922
Size
2017-07-08 13:04:37 +02:00
FlightControl
d78547aa33
Added picture
2017-07-08 13:02:51 +02:00
FlightControl
ab33d6b272
CLEANUP_AIRBASE documentation
2017-07-08 13:00:18 +02:00
FlightControl
388103afea
Fixes
...
-- when carrier containing cargo goes to spectators, it was not handled
correctly. now it is
-- removed "unassigned" message when task is cancelled from group. It is
useless.
2017-07-08 12:40:56 +02:00
FlightControl
85975c01a4
Optimizations
2017-07-08 09:20:42 +02:00
FlightControl
3fe573926b
Fixed scoring format
2017-07-08 06:35:06 +02:00
FlightControl
8e2aef17e7
Fixes to resolve exceptions in multi player situations
2017-07-08 05:54:33 +02:00
FlightControl
367c4d74af
Fixes imperial / metric menu option setting
2017-07-08 05:00:47 +02:00
FlightControl
06e063d594
Fixes cargo
2017-07-07 18:45:32 +02:00
FlightControl
7ebf7a2bee
Fixed #611
2017-07-07 18:20:58 +02:00
FlightControl
b5c53baf67
Fixed #592
2017-07-07 18:19:37 +02:00
132nd-etcher
536934390c
Reduce AI CAP logging noise ( #609 )
...
Replace calls to E by calls to F in order to reduce the amount of log spam during an ongoing AI CAP patrol.
2017-07-07 12:07:27 +02:00
FlightControl
1e6035b282
Optimized CARGO
...
- Smoke position upon arrival at pickup zone
- Solved problem with deploy, deploy function was not called.
- Added Smoke to CARGO
- Moved Smoke to POSITIONABLE
2017-07-07 11:46:08 +02:00
FlightControl
5bbe5fca60
Fix to get correct parent class
2017-07-07 10:41:16 +02:00
Sven Van de Velde
4c5aad51b3
Merge pull request #608 from FlightControl-Master/Performance
...
Fixed performance issue
2017-07-07 08:23:52 +02:00
FlightControl
688875dca5
Fixed performance issue
...
Problem was in BASE. I added a field "ParentClass", which was a
mistake...
at every deepcopy it started to copy ParentClass contents too! My god!
No wonder it suddenly went all slow.
2017-07-07 08:23:22 +02:00
Sven Van de Velde
b4c8fbf75a
Merge pull request #607 from FlightControl-Master/601-Respawn-Cargo
...
601 respawn cargo
2017-07-06 21:49:09 +02:00
FlightControl
edb53013b2
Progress
2017-07-06 21:47:02 +02:00
FlightControl
70f48a3d53
Progress
2017-07-06 19:13:15 +02:00
FlightControl
532a311db6
Cargo is now respawning correctly when:
...
The cargo is destroyed
The carrier crashes with cargo on board
The player exits the carrier with cargo on board.
2017-07-06 17:00:53 +02:00
FlightControl
71da9933d7
Cargo auto respawn first part is working
...
When all CARGO UNITS of a CARGO_GROUP are destroyed, then when
RespawnOnDestroyed( true ) is used, the CARGO will respawn
automatically.
2017-07-06 11:23:04 +02:00
FlightControl
9f5b9ab04c
Progress
2017-07-06 08:51:08 +02:00
Sven Van de Velde
f76ac1e03a
Merge pull request #606 from FlightControl-Master/596-CARGO-TRANSPORT-Limits
...
Implemented Cargo limits
2017-07-06 07:33:15 +02:00
FlightControl
b84541f232
Implemented Cargo limits
...
Cargo is only allowed to be boarded or a route can only be done if the
limit of the cargo has not been reached! A few additional methods have
been added like IsDeployed. CARGO_GROUP gets the deployed status if it
is transported.
2017-07-06 07:32:44 +02:00
Sven Van de Velde
6115e12309
Merge pull request #604 from FlightControl-Master/603-AI-A2A-GCICAP
...
Created AI_A2A_GCICAP
2017-07-05 12:54:56 +02:00
FlightControl
c22bc1c57f
Created AI_A2A_GCICAP
2017-07-05 10:11:34 +02:00
FlightControl
84055e9798
Updates fixing cargo stuff
2017-07-04 16:34:00 +02:00
FlightControl
ccfcca8f9a
Tweaks for the settings system
...
- Player settings are located at the group level. Only the first player
that joins the group will be able to configure the settings.
- Default system settings are located at the group of the commend
center. Thus, the COMMANDCENTER class will contain the default system
settings menu. You need to join the command center unit (ALT-J) as a
game master to be able to configure these settings.
2017-07-04 10:55:45 +02:00
FlightControl
c043eef5eb
Added method CLEANUP:CleanMissilesOn()
2017-07-04 07:05:33 +02:00
FlightControl
2db0265ae6
Fixed first line of task report
2017-07-03 12:11:06 +02:00
FlightControl
3cd787fb1e
Fix issue with deployment
2017-07-03 08:46:17 +02:00
FlightControl
8825b26b36
New version
2017-07-02 23:16:35 +02:00
FlightControl
300ee0a16a
Fix trace amount and performance
2017-07-02 17:59:56 +02:00
FlightControl
1283caf80b
OK. fixed
2017-07-02 12:55:29 +02:00
FlightControl
af230d9874
Fixed goal problem in TASK_CARGO_TRANSPORT more or less, needs further investigation
2017-07-02 12:44:27 +02:00
FlightControl
f221047eba
Updated various functions for tasking.
2017-07-02 12:14:41 +02:00
FlightControl
e7b3aa82f9
SWEEP tasks should fall under the SWEEP menu, not INTERCEPT menu
2017-07-02 01:08:00 +02:00
FlightControl
33c6290864
Fixed error with __
...
Had to test for the presence in raw format, not using __Index
2017-07-02 00:29:17 +02:00
FlightControl
9006e17c25
Fixed problem with BASE:GetParent method
2017-07-01 19:00:44 +02:00
FlightControl
22b02cd3ee
Made __ methods invisible
2017-07-01 13:12:52 +02:00
FlightControl
507e4ef25a
Made CleanUpScheduler private
2017-07-01 13:02:49 +02:00