mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
Make weapon groups explicit and moddable.
The only parts of the old weapon data that worked well (didn't commonly result in empty pylons) did this implicitly, so make the grouping explicit. This also moves the data out of Python and into the resources, which both makes the data moddable and isolates us from a huge amount of effort and a save compat break whenever ED changes weapon names. I didn't auto migrate the old data since the old groups were not explict and there's no way to infer the grouping. Besides, since most of the weapons were *not* grouped, the old data did more harm than good in my experience. I've handled the AIM-120 and AIM-7 for now, but will get at least all the fox 3 missiles before we ship.
This commit is contained in:
5
resources/weapons/a2a-missiles/AIM-120B-2X.yaml
Normal file
5
resources/weapons/a2a-missiles/AIM-120B-2X.yaml
Normal file
@@ -0,0 +1,5 @@
|
||||
name: 2xAIM-120B
|
||||
year: 1994
|
||||
fallback: AIM-7MH
|
||||
clsids:
|
||||
- "LAU-115_2*LAU-127_AIM-120B"
|
||||
7
resources/weapons/a2a-missiles/AIM-120B.yaml
Normal file
7
resources/weapons/a2a-missiles/AIM-120B.yaml
Normal file
@@ -0,0 +1,7 @@
|
||||
name: AIM-120B
|
||||
year: 1994
|
||||
fallback: AIM-7MH
|
||||
clsids:
|
||||
- "{C8E06185-7CD6-4C90-959F-044679E90751}"
|
||||
- "{LAU-115 - AIM-120B}"
|
||||
- "{LAU-115 - AIM-120B_R}"
|
||||
5
resources/weapons/a2a-missiles/AIM-120C-2X.yaml
Normal file
5
resources/weapons/a2a-missiles/AIM-120C-2X.yaml
Normal file
@@ -0,0 +1,5 @@
|
||||
name: 2xAIM-120C
|
||||
year: 1996
|
||||
fallback: 2xAIM-120B
|
||||
clsids:
|
||||
- "LAU-115_2*LAU-127_AIM-120C"
|
||||
7
resources/weapons/a2a-missiles/AIM-120C.yaml
Normal file
7
resources/weapons/a2a-missiles/AIM-120C.yaml
Normal file
@@ -0,0 +1,7 @@
|
||||
name: AIM-120C
|
||||
year: 1996
|
||||
fallback: AIM-120B
|
||||
clsids:
|
||||
- "{40EF17B7-F508-45de-8566-6FFECC0C1AB8}"
|
||||
- "{LAU-115 - AIM-120C}"
|
||||
- "{LAU-115 - AIM-120C_R}"
|
||||
5
resources/weapons/a2a-missiles/AIM-7E.yaml
Normal file
5
resources/weapons/a2a-missiles/AIM-7E.yaml
Normal file
@@ -0,0 +1,5 @@
|
||||
name: AIM-7E
|
||||
year: 1963
|
||||
clsids:
|
||||
- "{AIM-7E}"
|
||||
- "{LAU-115 - AIM-7E}"
|
||||
8
resources/weapons/a2a-missiles/AIM-7F.yaml
Normal file
8
resources/weapons/a2a-missiles/AIM-7F.yaml
Normal file
@@ -0,0 +1,8 @@
|
||||
name: AIM-7F
|
||||
year: 1976
|
||||
fallback: AIM-7E
|
||||
clsids:
|
||||
- "{SHOULDER AIM-7F}"
|
||||
- "{BELLY AIM-7F}"
|
||||
- "{AIM-7F}"
|
||||
- "{LAU-115 - AIM-7F}"
|
||||
8
resources/weapons/a2a-missiles/AIM-7M.yaml
Normal file
8
resources/weapons/a2a-missiles/AIM-7M.yaml
Normal file
@@ -0,0 +1,8 @@
|
||||
name: AIM-7M
|
||||
year: 1982
|
||||
fallback: AIM-7F
|
||||
clsids:
|
||||
- "{SHOULDER AIM-7M}"
|
||||
- "{BELLY AIM-7M}"
|
||||
- "{8D399DDA-FF81-4F14-904D-099B34FE7918}"
|
||||
- "{LAU-115 - AIM-7M}"
|
||||
8
resources/weapons/a2a-missiles/AIM-7MH.yaml
Normal file
8
resources/weapons/a2a-missiles/AIM-7MH.yaml
Normal file
@@ -0,0 +1,8 @@
|
||||
name: AIM-7MH
|
||||
year: 1987
|
||||
fallback: AIM-7M
|
||||
clsids:
|
||||
- "{SHOULDER AIM-7MH}"
|
||||
- "{BELLY AIM-7MH}"
|
||||
- "{AIM-7H}"
|
||||
- "{LAU-115 - AIM-7H}"
|
||||
4
resources/weapons/pods/atflir.yaml
Normal file
4
resources/weapons/pods/atflir.yaml
Normal file
@@ -0,0 +1,4 @@
|
||||
name: AN/ASQ-228 ATFLIR
|
||||
year: 2003
|
||||
clsids:
|
||||
- "{AN_ASQ_228}"
|
||||
5
resources/weapons/pods/litening.yaml
Normal file
5
resources/weapons/pods/litening.yaml
Normal file
@@ -0,0 +1,5 @@
|
||||
name: AN/AAQ-28 LITENING
|
||||
year: 1999
|
||||
clsids:
|
||||
- "{A111396E-D3E8-4b9c-8AC9-2432489304D5}"
|
||||
- "{AAQ-28_LEFT}"
|
||||
Reference in New Issue
Block a user