Commit Graph

215 Commits

Author SHA1 Message Date
svenvandevelde 6c456f20db Trace Off 2016-02-26 20:14:24 +01:00
svenvandevelde a939220d20 Added functions for rescue mission. 2016-02-26 19:44:27 +01:00
svenvandevelde c7d3e44a57 Optimization of Cargo Loading behaviour
Cargo loading is a bit complex.
- Cargo should only respawn if it is not existing, and if it is not
loading to another client.
- The pickup menu should allow Cargo that was loading (but for some
reason it did not load), to retry the loading process, but only when the
Client is the Client of the active player.
- When the menus are removed, any unit that was loading but not loaded,
should become back to status none, but only when the Client is the
Client of the active player.
- Fixed a couple of errors with the Pickup-menu function.
2016-02-26 10:15:03 +01:00
svenvandevelde 6955d45840 Lots of fixes for cargo + optimization of Stage Messages 2016-02-25 14:52:16 +01:00
svenvandevelde 9c2741e758 SlingLoad cargo should never appear in the CARGO menu. It has its own mechanisms. 2016-02-22 11:22:30 +01:00
svenvandevelde c22492f051 Optimized Cargo logic 2016-02-21 23:29:44 +01:00
svenvandevelde aadd529093 Optimized Cargo Logic 2016-02-21 22:30:24 +01:00
svenvandevelde a3acab9288 Resolved bug with DeployTask cargo menu.
Cargo main menu should contain the type of the cargo, or DCS world gets
confused... (menus are hashed on the same apparently).
2016-02-21 19:42:42 +01:00
Sven Van de Velde ecf80e5209 Changes of loading and cleanup.
Added dynamic and static loading strategies for MOOSE of a mission file.
2016-02-21 19:34:48 +01:00
Sven Van de Velde 0fb88e2bab Trying with getposition, getpoint returns nil 2016-02-20 14:10:10 +01:00
Sven Van de Velde 904e5d2d20 remove trace 2016-02-20 10:05:22 +01:00
Sven Van de Velde 17118e5784 Bugfix on hit event 2016-02-20 09:36:16 +01:00
Sven Van de Velde 14a48901dc Bugfix deploymenu 2016-02-20 08:06:27 +01:00
Sven Van de Velde 9591f02a10 Bug fixes 2016-02-20 07:59:47 +01:00
svenvandevelde e550af8801 bugfix 2016-02-19 20:28:45 +01:00
svenvandevelde 0c657f00d8 bugfix 2016-02-19 20:21:07 +01:00
svenvandevelde 78efd51c2c Fixed error while modifying _AddPlayerFromUnit
Had syntax error
2016-02-19 20:12:11 +01:00
svenvandevelde 84b79b0a75 Removed Group usage from _AddPlayerFromUnit
Due to bug 1.5 in DCS world
2016-02-19 19:56:11 +01:00
svenvandevelde b8148a7950 Converted SPAWN:FromCarrier function
SPAWN:FromCarrier now spawns from a Unit instead of a Group. It was
confusing from the beginning anyway :-)
2016-02-19 19:00:40 +01:00
svenvandevelde d197e87fb5 stupid syntax error 2016-02-19 16:07:47 +01:00
svenvandevelde 9ddaeb0bbb Bug fix for 1.5 Client bug 2016-02-19 15:59:17 +01:00
svenvandevelde e3b1d79693 Bug 1.5 , fixed cargo menu problems ... 2016-02-19 15:40:22 +01:00
svenvandevelde 7861ae753d Small bug fix with cargo 2016-02-19 15:24:07 +01:00
svenvandevelde fd0d012ff5 Bug fix 1.5 2016-02-19 15:12:23 +01:00
svenvandevelde 357dd87c03 Couple of fixes for Client bug in 1.5 2016-02-19 14:59:22 +01:00
svenvandevelde 61d51fe9a5 Added a layer to resolve the Client Bug problems in 1.5 2016-02-19 14:35:59 +01:00
svenvandevelde c81e7c2488 Try to get the DCS bug in 1.5.3 resolved with :isExist for a Client Group
Client groups connected remotely to a server, are not generating any
birth events on the server. The server therefore thinks that the Group
does not exist ...

This bug is present since 1.5.

Currently building a logic to go "around" that problem using other
functions (the coalition:getPlayerUnits() is key for resolvement)
2016-02-18 15:32:29 +01:00
svenvandevelde 4a52422fe1 Added GROUP, ZONE classes to handle Tasks and Zones
GROUP will be a class abstraction for the DCS Group class, incorporating
the Controller for tasks.

ZONE will be a class abstraction for a trigger zone.

Each of these classes will have properties to further emulate tasks, and
execute all kind of actions on the object.
2016-02-17 14:58:27 +01:00
svenvandevelde 6019a2a170 Got now back a good version working with CARGO now as a separate object.
- Sling load working but dealing with the DCS bugs.
- Normal CARGO pickup and deployment is working now, but needs to be
further optimized...
2016-02-14 12:03:17 +01:00
svenvandevelde 2f7e3ffb76 Further progress, package pickup is now working... 2016-01-29 00:50:19 +01:00
svenvandevelde 7e098b050e Work in progress. Reworking complete CARGO logic... Partly working now ... 2016-01-28 16:48:22 +01:00
svenvandevelde ab6bb91069 interval 120 seconds 2016-01-23 06:52:09 +01:00
svenvandevelde 0239098f30 Fixed initialization of Cargo assigned to a client when a client spawns... 2016-01-21 23:29:47 +01:00
svenvandevelde f292c5d758 deactivated cleanup trace 2016-01-21 20:23:28 +01:00
svenvandevelde 9f830fd768 Updated errors when LFS is nil
Statfile should not be used when lfs is null.

Also, modified Moose.lua to the correct directory.
2016-01-20 20:53:44 +01:00
Sven Van de Velde a391ca6ef3 Updated some logic for scripting ... 2016-01-19 10:46:33 +01:00
Sven Van de Velde 0fffaa854d Added correct MissionScripting directory in install.bat 2016-01-18 11:30:04 +01:00
Sven Van de Velde a2703ea261 Added a readme file with an explanation. 2015-12-06 20:49:06 +01:00
svenvandevelde 8132254ff2 Deleted unnecessary comments 2015-12-04 13:43:28 +01:00
svenvandevelde 59ea091707 Fixed CleanUp 2015-12-04 13:41:41 +01:00
Sven Van de Velde 0dea644a53 Merge pull request #4 from svenvandevelde/Improve-MOOSE-to-load-from-Saved-Games-folder-or-from-Mission-File
Fixed it.
2015-12-04 13:33:33 +01:00
svenvandevelde 0bbe6156af Fixed it. 2015-12-04 13:23:01 +01:00
Sven Van de Velde 5132c2bfa7 Merge pull request #3 from svenvandevelde/Test-Moose-in-Mission-Solution
Found a solution to avoid having to install MOOSE.
2015-12-03 23:44:36 +01:00
svenvandevelde b10a59ae18 Found a solution to avoid having to install MOOSE.
Now MOOSE can be copied into the mission file, but you'll need to
include a "do file" action of moose.lua in the mission file and copy the
rest of the MOOSE files to the MIZ file.
2015-12-03 23:40:50 +01:00
svenvandevelde 92c9b27b71 Improved the CleanUp
CleanUp now works detecting if units are floating above airport runways,
and if they do, they will be destroyed.
2015-12-02 13:42:33 +01:00
svenvandevelde 921a9999cb Further CleanUp Refinements 2015-12-01 15:21:42 +01:00
svenvandevelde 3ff51bbf85 Reworkiing CleanUp and removing Statistics 2015-12-01 10:57:07 +01:00
svenvandevelde 838b801784 Updated routines to support patrol. 2015-11-13 06:20:30 +01:00
svenvandevelde c2b9bacdd1 Bug 2015-11-05 07:46:21 +01:00
svenvandevelde 18540726a9 Reactivated slingload task to try bug fix in 1.5 2015-11-05 06:46:11 +01:00