mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
JF-17 Support (Require pydcs own data export)
This commit is contained in:
parent
e794446a54
commit
074ea5c719
10
game/db.py
10
game/db.py
@ -22,6 +22,7 @@ from game.factions.israel_2000 import Israel_2000
|
||||
from game.factions.italy_1990 import Italy_1990
|
||||
from game.factions.netherlands_1990 import Netherlands_1990
|
||||
from game.factions.north_korea_2000 import NorthKorea_2000
|
||||
from game.factions.pakistan_2015 import Pakistan_2015
|
||||
from game.factions.russia_1975 import Russia_1975
|
||||
from game.factions.germany_1944 import Germany_1944
|
||||
from game.factions.india_2010 import India_2010
|
||||
@ -78,6 +79,7 @@ PRICES = {
|
||||
MiG_29G: 18,
|
||||
MiG_31: 30,
|
||||
J_11A: 26,
|
||||
JF_17: 20,
|
||||
Su_30: 24,
|
||||
SpitfireLFMkIX:3,
|
||||
SpitfireLFMkIXCW:3,
|
||||
@ -272,6 +274,7 @@ UNIT_BY_TASK = {
|
||||
MiG_29G,
|
||||
Su_30,
|
||||
J_11A,
|
||||
JF_17,
|
||||
F_4E,
|
||||
C_101CC,
|
||||
Bf_109K_4,
|
||||
@ -564,6 +567,7 @@ FACTIONS = {
|
||||
"Sweden 1990": Sweden_1990,
|
||||
"Ukraine 2010": Ukraine_2010,
|
||||
"India 2010": India_2010,
|
||||
"Pakistan 2015": Pakistan_2015,
|
||||
"Israel 2000": Israel_2000,
|
||||
"Turkey 2005": Turkey_2005,
|
||||
"United Arab Emirates 2005": UAE_2005,
|
||||
@ -609,6 +613,12 @@ PLANE_PAYLOAD_OVERRIDES = {
|
||||
SEAD: "AGM-88*2,AIM-9*2,AIM-7,FLIR Pod,Fuel*3"
|
||||
},
|
||||
|
||||
JF_17: {
|
||||
CAS: "PL-5Ex2, 2*SD-10x2, 800L Tank",
|
||||
CAP: "PL-5Ex2, 2*GBU-12x2, BRM1x2, WMD7",
|
||||
SEAD: "PL-5Ex2, LD-10x2, 1100L Tankx2, WMD7"
|
||||
},
|
||||
|
||||
F_14B: {
|
||||
CAP: "AIM-54A-MK47*4, AIM-7M*2, AIM-9M*2, XT*2",
|
||||
Escort: "AIM-54A-MK47*4, AIM-7M*2, AIM-9M*2, XT*2",
|
||||
|
||||
38
game/factions/pakistan_2015.py
Normal file
38
game/factions/pakistan_2015.py
Normal file
@ -0,0 +1,38 @@
|
||||
from dcs.vehicles import *
|
||||
from dcs.ships import *
|
||||
from dcs.planes import *
|
||||
from dcs.helicopters import *
|
||||
|
||||
Pakistan_2015 = {
|
||||
"country": "Pakistan",
|
||||
"side": "blue",
|
||||
"units": [
|
||||
JF_17,
|
||||
F_16C_50,
|
||||
MiG_21Bis, # Standing as J-7
|
||||
MiG_19P, # Standing as J-6
|
||||
IL_78M,
|
||||
E_3A,
|
||||
|
||||
UH_1H,
|
||||
AH_1W,
|
||||
|
||||
Armor.MBT_T_80U,
|
||||
Armor.MBT_T_55, # Standing as Al-Zarrar / Type 59 MBT
|
||||
Armor.ZBD_04A,
|
||||
Armor.APC_BTR_80,
|
||||
Armor.APC_M113,
|
||||
|
||||
Unarmed.Transport_M818,
|
||||
Infantry.Infantry_M4,
|
||||
|
||||
AirDefence.SAM_SA_2_LN_SM_90, # Standing as HQ-2
|
||||
AirDefence.SAM_SA_10_S_300PS_LN_5P85C, # Standing as HQ-9
|
||||
|
||||
Armed_speedboat,
|
||||
], "shorad": [
|
||||
AirDefence.HQ_7_Self_Propelled_LN,
|
||||
AirDefence.AAA_ZU_23_Insurgent_on_Ural_375,
|
||||
AirDefence.AAA_ZU_23_Closed
|
||||
]
|
||||
}
|
||||
@ -28,6 +28,7 @@ CAP_CAPABLE = [
|
||||
|
||||
Su_27,
|
||||
J_11A,
|
||||
JF_17,
|
||||
Su_30,
|
||||
Su_33,
|
||||
|
||||
@ -72,6 +73,8 @@ CAS_CAPABLE = [
|
||||
Su_25TM,
|
||||
Su_34,
|
||||
|
||||
JF_17,
|
||||
|
||||
M_2000C,
|
||||
|
||||
A_10A,
|
||||
@ -118,6 +121,7 @@ SEAD_CAPABLE = [
|
||||
FA_18C_hornet,
|
||||
F_16C_50,
|
||||
AV8BNA,
|
||||
JF_17,
|
||||
|
||||
Su_24M,
|
||||
Su_25T,
|
||||
@ -142,6 +146,8 @@ STRIKE_CAPABLE = [
|
||||
Su_25T,
|
||||
Su_34,
|
||||
|
||||
JF_17,
|
||||
|
||||
M_2000C,
|
||||
|
||||
A_10A,
|
||||
@ -175,4 +181,5 @@ ANTISHIP_CAPABLE = [
|
||||
Su_24M,
|
||||
F_A_18C,
|
||||
AV8BNA,
|
||||
JF_17
|
||||
]
|
||||
BIN
resources/ui/units/aircrafts/JF-17_24.jpg
Normal file
BIN
resources/ui/units/aircrafts/JF-17_24.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.1 KiB |
@ -13,6 +13,7 @@ class CaucasusTheater(ConflictTheater):
|
||||
overview_image = "caumap.gif"
|
||||
reference_points = {(-317948.32727306, 635639.37385346): (278.5*4, 319*4),
|
||||
(-355692.3067714, 617269.96285781): (263*4, 352*4), }
|
||||
|
||||
landmap = load_landmap("resources\\caulandmap.p")
|
||||
daytime_map = {
|
||||
"dawn": (6, 9),
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user