Skip to content

Commit

Permalink
Merge pull request #83 from Khopa/develop
Browse files Browse the repository at this point in the history
Version 2.1.0
  • Loading branch information
Khopa authored Aug 21, 2020
2 parents 04b95c9 + 2d47df9 commit 515d1d0
Show file tree
Hide file tree
Showing 52 changed files with 1,579 additions and 167 deletions.
26 changes: 25 additions & 1 deletion changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,27 @@
# 2.1.0

## Features/Improvements :

* **[Campaign Generator]** Added Syria map
* **[Campaign Generator]** Added 5 campaigns for the Syria map
* **[Campaign Generator]** Added 2 small scale campaign for Persian Gulf map
* **[Units/Factions]** Added factions for Syria map : Syria 2011, Arab Armies 1982, 1973, 1968, 1948, Israel 1982, 1973, 1948
* **[Base Menu]** Budget is visible in recruitment menu. (Thanks to Github contributor root0fall)
* **[Misc]** Added error message in mission when the state file can not be written
* **[Units/Factions]** China, Pakistan, UAE will now use the new WingLoong drone as JTAC instead of the MQ-9 Reaper
* **[Units/Factions]** Minor changes to Syria 2011 and Turkey 2005 factions
* **[UI]** Version number is shown in about dialog

## Fixed issues :

* **[Mission Generator]** Caucasus terrain improvement on exclusions zone (added forests between Vaziani and Beslan to exclusion zones)
* **[Mission Generator]** The first unit of every base defenses group could not be controlled with Combined Arms.
* **[Mission Generator]** Reduced generated helicopter altitude for CAS missions
* **[Mission Generator]** F-16C default CAS payload was asymmetric, fixed.
* **[Mission Generator]** AH-1W couldn't be bought, and added default payloads.
* **[UI/UX]** Fixed Mi-28N missing thumbnail
* **[UI/UX]** Fixed list of flights not refreshing when changing the mission departure (T+).

# 2.0.11

## Features/Improvements :
Expand Down Expand Up @@ -42,7 +66,7 @@
* **[Mission Generator]** The briefing will now contain the carrier ATC frequency
* **[Mission Generator]** The briefing contains a small situation update.
* **[Mission Generator]** Previously destroyed units are visible in the mission. (And added a performance settings to disable this behaviour)
* **[Mission Generator]** Basic JTAC on Frontlines
* **[Mission Generator]*c* Basic JTAC on Frontlines
* **[Campaign Generator]** Added Tarawa in caucasus campaigns
* **[Campaign Generator]** Tuned the various existing campaign parameters
* **[Campaign Generator]** Added small campaign : "Russia" on Caucasus Theater
Expand Down
69 changes: 54 additions & 15 deletions game/db.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@
from game.factions.insurgent import Insurgent
from game.factions.insurgent_modded import Insurgent_modded
from game.factions.iran_2015 import Iran_2015
from game.factions.israel_1948 import Israel_1948
from game.factions.israel_1973 import Israel_1973, Israel_1973_NO_WW2_UNITS, Israel_1982
from game.factions.israel_2000 import Israel_2000
from game.factions.italy_1990 import Italy_1990
from game.factions.italy_1990_mb339 import Italy_1990_MB339
Expand All @@ -45,6 +47,7 @@
from game.factions.russia_2010 import Russia_2010
from game.factions.spain_1990 import Spain_1990
from game.factions.sweden_1990 import Sweden_1990
from game.factions.syria import Syria_2011, Syria_1967, Syria_1967_WW2_Weapons, Syria_1973, Arab_Armies_1948, Syria_1982
from game.factions.turkey_2005 import Turkey_2005
from game.factions.uae_2005 import UAE_2005
from game.factions.uk_1944 import UK_1944
Expand Down Expand Up @@ -140,6 +143,7 @@
MiG_29A: 18,
MiG_29S: 20,
MiG_29G: 18,
MiG_25PD: 20,
MiG_31: 30,
J_11A: 26,
JF_17: 20,
Expand Down Expand Up @@ -171,6 +175,7 @@
F_15C: 22,
F_15E: 24,
F_16C_50: 20,
F_16A: 14,
F_14B: 24,
Tornado_IDS: 20,
Tornado_GR4: 20,
Expand Down Expand Up @@ -208,25 +213,30 @@
B_1B: 50,

# special
IL_76MD: 13,
An_26B: 13,
An_30M: 13,
Yak_40: 13,
S_3B_Tanker: 13,
IL_78M: 13,
KC_135: 13,
KC130: 13,

A_50: 8,
E_3A: 8,
C_130: 8,
IL_76MD: 30,
An_26B: 25,
An_30M: 25,
Yak_40: 25,
S_3B_Tanker: 20,
IL_78M: 25,
KC_135: 25,
KC130: 25,

A_50: 50,
E_3A: 50,
C_130: 25,

# WW2
P_51D_30_NA: 18,
P_51D: 16,
P_47D_30: 18,
B_17G: 30,

# Drones
MQ_9_Reaper: 12,
RQ_1A_Predator: 6,
WingLoong_I: 6,

# Modded
Rafale_M: 26,
Rafale_A_S: 26,
Expand Down Expand Up @@ -390,17 +400,19 @@
UNIT_BY_TASK = {
CAP: [
F_5E_3,
MiG_23MLD,
Su_27,
Su_33,
MiG_19P,
MiG_21Bis,
MiG_23MLD,
MiG_25PD,
MiG_29A,
MiG_29S,
MiG_31,
FA_18C_hornet,
F_15C,
F_14B,
F_16A,
F_16C_50,
M_2000C,
Mirage_2000_5,
Expand Down Expand Up @@ -457,7 +469,11 @@
Ju_88A4,
B_17G,
MB_339PAN,
Rafale_A_S
Rafale_A_S,
WingLoong_I,
MQ_9_Reaper,
RQ_1A_Predator,
AH_1W
],
Transport: [
IL_76MD,
Expand Down Expand Up @@ -767,6 +783,16 @@
"Italy 1990 (With MB339)": Italy_1990_MB339,

"Israel 2000": Israel_2000,
"Israel 1982": Israel_1982,
"Israel 1973 (WW2 Pack)": Israel_1973,
"Israel 1973": Israel_1973_NO_WW2_UNITS,
"Israel 1948": Israel_1948,

"Arab Armies 1982": Syria_1982,
"Arab Armies 1973": Syria_1973,
"Arab Armies 1967 (WW2 Pack)": Syria_1967_WW2_Weapons,
"Arab Armies 1967": Syria_1967,
"Arab League 1948": Arab_Armies_1948,

"China 2010": China_2010,

Expand All @@ -788,6 +814,9 @@

"Libya 2011": Libya_2011,

"Syria 2011": Syria_2011,


"Pakistan 2015": Pakistan_2015,

"Iran 2015": Iran_2015,
Expand Down Expand Up @@ -925,6 +954,11 @@
Rafale_M: COMMON_OVERRIDE,
Rafale_A_S: COMMON_OVERRIDE,
OH_58D: COMMON_OVERRIDE,
F_16A: COMMON_OVERRIDE,
MQ_9_Reaper: COMMON_OVERRIDE,
RQ_1A_Predator: COMMON_OVERRIDE,
WingLoong_I: COMMON_OVERRIDE,
AH_1W: COMMON_OVERRIDE,

AH_64D:{
CAS: "AGM-114K*16"
Expand Down Expand Up @@ -982,7 +1016,11 @@
"Modern - Summer [2010]": datetime(2010, 6, 1),
"Modern - Fall [2010]": datetime(2010, 10, 1),
"Georgian War [2008]": datetime(2008, 8, 7),
"Syrian War [2011]": datetime(2011, 8, 7),
"Syrian War [2011]": datetime(2011, 3, 15),
"6 days war [1967]": datetime(1967, 6, 5),
"Yom Kippour War [1973]": datetime(1973, 10, 6),
"Lebanon War [1982]": datetime(1982, 6, 6),
"Arab-Israeli War [1948]": datetime(1948, 5, 15),
}

REWARDS = {
Expand Down Expand Up @@ -1030,6 +1068,7 @@
SA342Mistral
]


"""
---------- END OF CONFIGURATION SECTION
"""
Expand Down
5 changes: 4 additions & 1 deletion game/factions/china_2010.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
A_50,

Mi_8MT,
Mi_28N,

AirDefence.SAM_SA_10_S_300PS_LN_5P85C, # Standing as HQ-9+
AirDefence.SAM_SA_6_Kub_LN_2P25,
Expand Down Expand Up @@ -73,5 +74,7 @@
"002 Shandong",
], "boat":[
"Type54GroupGenerator"
], "has_jtac": True
],
"has_jtac": True,
"jtac_unit": WingLoong_I
}
4 changes: 3 additions & 1 deletion game/factions/germany_1944.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,9 @@

Infantry.Infantry_Mauser_98,
AirDefence.AAA_8_8cm_Flak_36,
],
],"requirements":{
"WW2 Asset Pack": "https://www.digitalcombatsimulator.com/en/products/other/wwii_assets_pack/",
},
"shorad": [
AirDefence.AAA_8_8cm_Flak_36,
],
Expand Down
4 changes: 3 additions & 1 deletion game/factions/germany_1944_easy.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,9 @@

Infantry.Infantry_Mauser_98,
AirDefence.AAA_8_8cm_Flak_36,
],
],"requirements":{
"WW2 Asset Pack": "https://www.digitalcombatsimulator.com/en/products/other/wwii_assets_pack/",
},
"shorad":[
AirDefence.AAA_8_8cm_Flak_36,
],
Expand Down
4 changes: 3 additions & 1 deletion game/factions/insurgent.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,13 @@
AirDefence.AAA_ZU_23_Insurgent_on_Ural_375,

Armor.APC_Cobra,
Armor.APC_MTLB,
Armor.ARV_BRDM_2,

Unarmed.Transport_Ural_375,
Unarmed.Transport_UAZ_469,
Infantry.Soldier_AK,
Infantry.Infantry_Soldier_Insurgents,
Infantry.Soldier_RPG,

Bulk_cargo_ship_Yakushev,
Dry_cargo_ship_Ivanov,
Expand Down
33 changes: 33 additions & 0 deletions game/factions/israel_1948.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
from dcs.planes import *
from dcs.ships import *
from dcs.vehicles import *

Israel_1948 = {
"country": "Israel",
"side": "blue",
"units":[
SpitfireLFMkIXCW,
SpitfireLFMkIX,
P_51D,
P_51D_30_NA,
Bf_109K_4, # Standing as Avia S-199
B_17G,

Armor.MT_M4A4_Sherman_Firefly,
Armor.APC_M2A1,
Armor.MT_M4_Sherman,
Armor.LAC_M8_Greyhound,

Unarmed.Transport_M818,
Infantry.Infantry_SMLE_No_4_Mk_1,

AirDefence.AAA_Bofors_40mm,
Armed_speedboat,
],"requirements":{
"WW2 Asset Pack": "https://www.digitalcombatsimulator.com/en/products/other/wwii_assets_pack/",
},
"shorad": [
AirDefence.AAA_Bofors_40mm
], "boat": [
], "has_jtac": False
}
Loading

0 comments on commit 515d1d0

Please sign in to comment.