Dan Albert
a1886e37f8
Fix save issues after aborting mission.
...
When the mission is aborted the pending mission is still in the event
list, which is part of the game option. That event has a reference to
the operation, which in turn contains all the mission generator
objects. Two of these objects are the radio/TACAN allocators, which
use a generator to track the next free channel. Generators cannot be
picked, so because these are transitively part of the game object the
game cannot be saved.
Aside from the briefing generator, none of those objects are
actually needed outside the generation function itself, so just make
them locals instead.
This probably needs a larger refactor at some point. It doesn't look
like we need so many calls into the operation type (it has an
initialize, a prepare, and a generate, and it doesn't seem to need
anything but the last one). The only reason breifinggen needs to
remain a part of the class is because the briefing title and
description are filled in from the derived class, where title and
description should probably be overridden properties instead. I'm also
not sure if we need to make the event list a part of game at all, and
also don't think that the mission needs to be one of these events.
2020-10-05 19:20:57 +02:00
Khopa
7dd3367203
Version number for release 2.1.4
2020-10-03 16:50:56 +02:00
Khopa
e72c82521a
Forgot the changelog for 2.1.4
2020-10-03 16:45:21 +02:00
C. Perreau
aca415db23
Merge pull request #179 from Khopa/develop
...
Release 2.1.4
2020-10-03 16:33:26 +02:00
David Pierron
98b2d8b3b9
typo in the generate_initial_units function name
2020-10-02 13:15:40 -07:00
David Pierron
f8ef5db5a3
bug when continuing an old campaign save
2020-10-02 13:15:40 -07:00
Dan Albert
a44cbe5972
Tone down failure message for missing plugin file.
...
This looked an awful lot like an error, but it's the common case.
2020-10-01 23:57:53 -07:00
C. Perreau
2066a2e9bc
Merge pull request #167 from Khopa/develop
...
Release 2.1.3
2020-10-01 23:23:06 +02:00
Khopa
f381bf85a4
Fixed JTAC script not working after changes made to lua files
2020-10-01 23:17:32 +02:00
Khopa
44dcdcc8bb
Changelog update
2020-10-01 23:17:08 +02:00
Khopa
01220800f3
Fixed Viggen icon
2020-10-01 22:47:58 +02:00
Khopa
8ecb4cdcf4
Added more ground vehicles icons.
2020-10-01 21:09:05 +02:00
Khopa
8402d108c0
Pydcs location
2020-10-01 20:22:11 +02:00
Khopa
75af2d468e
Fix A-10C_II icon
2020-10-01 19:38:43 +02:00
Khopa
72ce37f008
Added custom payloads for A-10C II
2020-10-01 19:33:46 +02:00
Khopa
e48e884286
Added A-10C_2. Changed bluefor factions' country to "Combined Joint Task Forces Blue" instead of "USA" (support more units)
2020-10-01 19:20:25 +02:00
Khopa
f9d5c1f8de
Update pydcs location
2020-10-01 19:07:06 +02:00
Khopa
0873dcab0a
Gitmodule points to pydcs
2020-10-01 19:06:38 +02:00
C. Perreau
a1343c2849
Merge pull request #166 from DanAlbert/build-canaries
...
Build and archive binaries on push/PR.
2020-10-01 12:53:35 +02:00
Dan Albert
f732cc54d0
Build and archive binaries on push/PR.
...
Not building a full release, but this makes it easier to test someone
else's PR, or for players to get at pre-release builds.
2020-09-30 21:03:12 -07:00
David Pierron
473a7d5fa4
added a 'mkrelease' config for VS.Code
2020-09-30 19:47:02 -07:00
David Pierron
8054a0b62f
removed useless link.cmd.sample file
2020-09-30 19:47:02 -07:00
Dan Albert
7f9cba5d37
Fix more None ATC bugs.
...
Fixes https://github.com/Khopa/dcs_liberation/issues/164
2020-09-30 19:20:50 -07:00
C. Perreau
f68e6387e6
Merge pull request #161 from VEAF/make-mission-portable
...
Make mission portable
2020-09-29 23:50:34 +02:00
Khopa
f032001bee
Limit number of aircraft that can be bought at a Control Point.
2020-09-29 23:47:57 +02:00
David Pierron
3bae591c04
corrected and enhanced mission portability
2020-09-29 20:46:22 +02:00
Khopa
18a1f0af94
Added credits to new contributor to about dialog.
2020-09-29 20:03:07 +02:00
David Pierron
afbd4a4716
Make mission portable
...
use inline json.lua and write to %LIBERATION_EXPORT_DIR%, %TEMP%
or the DCS working directory
2020-09-29 17:27:35 +02:00
David Pierron
a98da14c6f
Merge pull request #1 from Khopa/master
...
Merge from base
2020-09-29 15:14:55 +02:00
Khopa
a2a70213a7
Update pydcs location
2020-09-28 00:55:02 +02:00
Khopa
8b0f877041
Verrsion string updated to 2.1.2
2020-09-28 00:42:27 +02:00
Khopa
bf7ad4cad2
Merge remote-tracking branch 'khopa/master' into develop
2020-09-28 00:27:25 +02:00
C. Perreau
66b659c0af
Merge pull request #152 from VEAF/introduced-scripts-plugins
...
Introduced LUA scripts plugins
2020-09-28 00:26:26 +02:00
Khopa
8709ea948f
Merge remote-tracking branch 'khopa/master' into develop
2020-09-28 00:21:33 +02:00
Khopa
7236c10403
Changelog update
2020-09-28 00:21:12 +02:00
C. Perreau
dde703ec41
Merge pull request #154 from VEAF/add-tanker-type-to-tanker-name
...
add tanker type to tanker name
2020-09-28 00:06:49 +02:00
Khopa
aa2e9b123c
Fix : AI is not planning flights for Tornado.
2020-09-28 00:03:01 +02:00
Khopa
737e04d09e
Merge branch 'master' into develop
2020-09-27 19:16:34 +02:00
C. Perreau
0fe59efd72
Merge pull request #157 from DanAlbert/fix-none
...
Fix None dereference.
2020-09-27 19:10:31 +02:00
C. Perreau
ddb50e6254
Merge pull request #151 from VEAF/UHF-intraflight-frequency-for-Player-and-Clients-A-10C
...
UHF Intraflight Frequency for Player and Clients A-10C
2020-09-27 19:09:33 +02:00
Dan Albert
72e6ae4186
Fix None dereference.
2020-09-26 16:32:02 -07:00
David Pierron
4d510f643a
add tanker type to tanker name
2020-09-25 17:11:17 +02:00
David Pierron
66f607b5e6
added a comment that links to my forum post
2020-09-25 11:33:07 +02:00
David Pierron
1a125c62e7
added sample __plugins.lst file
2020-09-25 11:21:23 +02:00
David Pierron
84da44a27b
Introduced LUA scripts plugins
...
In order to be able to customize the scripts that can be injected in the
mission, a __plugin.lst file is read and the scripts mentionned in this
file are injected (through DoScriptFile and not DoScript).
A mechanism checks if a standard script (Mist, JTACAutolase) has
already been loaded, to avoid loading them twice.
2020-09-25 11:06:25 +02:00
David Pierron
5e35efcaef
UHF Intraflight Frequency for Player and Clients A-10C
...
In the mission editor, using a VHF frequency for a Player or
Client A-10C results in an error. Changed the radio definitions
to use AN/ARC-164 for intraflight comms.
2020-09-25 10:36:18 +02:00
Khopa
83f221c5e3
Use latest data-export
2020-09-25 01:23:05 +02:00
Khopa
e86a10e9ba
JF-17 radio frequency fix.
2020-09-25 01:13:59 +02:00
C. Perreau
7eea328706
Merge pull request #149 from Khopa/develop
...
2.1.1
2020-09-25 01:06:09 +02:00
Khopa
aa9dcec0ad
Version number
2020-09-25 00:58:11 +02:00