mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
compat for adr-97 (#3728)
* Added compat_adr_97 and realisticnames p90 cyka blyat * typo * Added Balistics stuff for p90 compat * 2 spaces to 4 spaces * styled my shit * Name for Hex variants, firemodes for the civilian variant * Also changed the magzine names * fixed ubc warning * fixed my style once again * my stuff looks even better now ... * ...
This commit is contained in:
parent
52ea640c4b
commit
37068a5247
1
optionals/compat_adr_97/$PBOPREFIX$
Normal file
1
optionals/compat_adr_97/$PBOPREFIX$
Normal file
@ -0,0 +1 @@
|
||||
z\ace\addons\compat_adr_90
|
14
optionals/compat_adr_97/CfgAmmo.hpp
Normal file
14
optionals/compat_adr_97/CfgAmmo.hpp
Normal file
@ -0,0 +1,14 @@
|
||||
class CfgAmmo {
|
||||
class BulletBase;
|
||||
class B_570x28_Ball: BulletBase {
|
||||
ACE_caliber = 5.7;
|
||||
ACE_bulletLength = 21.6; // http://blog.thejustnation.org/2011/04/5-7x28mm-ammo-review/
|
||||
ACE_bulletMass = 2; // based on the SS190
|
||||
ACE_ballisticCoefficients[] = {0.177}; //http://m.delphiforums.com/autogun/messages/5267/7
|
||||
ACE_velocityBoundaries[] = {};
|
||||
ACE_standardAtmosphere = "ASM"; // 50/50 chance to get it right
|
||||
ACE_dragModel = 7;
|
||||
ACE_muzzleVelocities[] = {716,776};
|
||||
ACE_barrelLengths[] = {264,407};
|
||||
};
|
||||
};
|
7
optionals/compat_adr_97/CfgMagazines.hpp
Normal file
7
optionals/compat_adr_97/CfgMagazines.hpp
Normal file
@ -0,0 +1,7 @@
|
||||
class CfgMagazines {
|
||||
class CA_Magazine;
|
||||
class 50Rnd_570x28_SMG_03: CA_Magazine {
|
||||
displayName = CSTRING(P90_Mag_Name);
|
||||
descriptionShort = CSTRING(P90_Mag_DescriptionShort);
|
||||
};
|
||||
};
|
67
optionals/compat_adr_97/CfgWeapons.hpp
Normal file
67
optionals/compat_adr_97/CfgWeapons.hpp
Normal file
@ -0,0 +1,67 @@
|
||||
class CfgWeapons {
|
||||
|
||||
class Rifle_Base_F;
|
||||
class SMG_03_TR_BASE: Rifle_Base_F {
|
||||
ACE_barrelTwist = 228.6; // 1:9 inch twist
|
||||
ACE_barrelLenght = 407;
|
||||
ACE_twistDirection = 1;
|
||||
modes[]= {
|
||||
"Single"
|
||||
};
|
||||
};
|
||||
class SMG_03_TR_black: SMG_03_TR_BASE{
|
||||
displayName = CSTRING(PS90_TR_Black_Name);
|
||||
};
|
||||
class SMG_03_TR_khaki: SMG_03_TR_black {
|
||||
displayName = CSTRING(PS90_TR_Khaki_Name);
|
||||
};
|
||||
class SMG_03_TR_camo: SMG_03_TR_black {
|
||||
displayName = CSTRING(PS90_TR_Camo_Name);
|
||||
};
|
||||
class SMG_03_TR_hex: SMG_03_TR_BASE {
|
||||
displayName = CSTRING(PS90_TR_Hex_Name);
|
||||
};
|
||||
class SMG_03_black: SMG_03_TR_BASE {
|
||||
displayName = CSTRING(PS90_Black_Name);
|
||||
};
|
||||
class SMG_03_khaki: SMG_03_black {
|
||||
displayName = CSTRING(PS90_Khaki_Name);
|
||||
};
|
||||
class SMG_03_camo: SMG_03_black {
|
||||
displayName = CSTRING(PS90_Camo_Name);
|
||||
};
|
||||
class SMG_03_hex: SMG_03_black {
|
||||
displayName = CSTRING(PS90_Hex_Name);
|
||||
};
|
||||
class SMG_03C_BASE: SMG_03_TR_BASE {
|
||||
ACE_barrelLenght = 264;
|
||||
modes[]= {
|
||||
"Single",
|
||||
"FullAuto"
|
||||
};
|
||||
};
|
||||
class SMG_03C_TR_black: SMG_03C_BASE {
|
||||
displayName = CSTRING(P90_TR_Black_Name);
|
||||
};
|
||||
class SMG_03C_TR_khaki: SMG_03C_TR_black {
|
||||
displayName = CSTRING(P90_TR_Khaki_Name);
|
||||
};
|
||||
class SMG_03C_TR_camo: SMG_03C_TR_black {
|
||||
displayName = CSTRING(P90_TR_Camo_Name);
|
||||
};
|
||||
class SMG_03C_TR_hex: SMG_03C_TR_black {
|
||||
displayName = CSTRING(P90_TR_Hex_Name);
|
||||
};
|
||||
class SMG_03C_black: SMG_03C_Base {
|
||||
displayName = CSTRING(P90_Black_Name);
|
||||
};
|
||||
class SMG_03C_khaki: SMG_03C_black {
|
||||
displayName = CSTRING(P90_Khaki_Name);
|
||||
};
|
||||
class SMG_03C_camo: SMG_03C_black {
|
||||
displayName = CSTRING(P90_Camo_Name);
|
||||
};
|
||||
class SMG_03C_hex: SMG_03C_black {
|
||||
displayName = CSTRING(P90_Hex_Name);
|
||||
};
|
||||
};
|
16
optionals/compat_adr_97/config.cpp
Normal file
16
optionals/compat_adr_97/config.cpp
Normal file
@ -0,0 +1,16 @@
|
||||
#include "script_component.hpp"
|
||||
|
||||
class CfgPatches {
|
||||
class ADDON {
|
||||
units[] = {};
|
||||
weapons[] = {};
|
||||
requiredVersion = REQUIRED_VERSION;
|
||||
requiredAddons[] = {"A3_Weapons_F_Mod"};
|
||||
author[] = {"Nic547"};
|
||||
VERSION_CONFIG;
|
||||
};
|
||||
};
|
||||
|
||||
#include "CfgWeapons.hpp"
|
||||
#include "CfgAmmo.hpp"
|
||||
#include "CfgMagazines.hpp"
|
5
optionals/compat_adr_97/script_component.hpp
Normal file
5
optionals/compat_adr_97/script_component.hpp
Normal file
@ -0,0 +1,5 @@
|
||||
#define COMPONENT compat_adr_97
|
||||
|
||||
#include "\z\ace\addons\main\script_mod.hpp"
|
||||
|
||||
#include "\z\ace\addons\main\script_macros.hpp"
|
221
optionals/compat_adr_97/stringtable.xml
Normal file
221
optionals/compat_adr_97/stringtable.xml
Normal file
@ -0,0 +1,221 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project name="ACE">
|
||||
<Package name="Compat_ADR_97">
|
||||
<Key ID="STR_ACE_Compat_ADR_97_P90_TR_Black_Name">
|
||||
<English>P90 TR (Black)</English>
|
||||
<Czech>P90 TR (Černá)</Czech>
|
||||
<French>P90 TR (Noir)</French>
|
||||
<Spanish>P90 TR (Negro)</Spanish>
|
||||
<Russian>P90 TR (Чёрный)</Russian>
|
||||
<Polish>P90 TR (czarny)</Polish>
|
||||
<German>P90 TR (Schwarz)</German>
|
||||
<Italian>P90 TR (Nero)</Italian>
|
||||
<Hungarian>P90 TR (Fekete)</Hungarian>
|
||||
<Portuguese>P90 TR (Preto)</Portuguese>
|
||||
</Key>
|
||||
<Key ID="STR_ACE_Compat_ADR_97_P90_TR_Khaki_Name">
|
||||
<English>P90 TR (Khaki)</English>
|
||||
<Czech>P90 TR (Khaki)</Czech>
|
||||
<French>P90 TR (Kaki)</French>
|
||||
<Spanish>P90 TR (Caqui)</Spanish>
|
||||
<Russian>P90 TR (Хаки)</Russian>
|
||||
<Polish>P90 TR (khaki)</Polish>
|
||||
<German>P90 TR (Khaki)</German>
|
||||
<Italian>P90 TR (Khaki)</Italian>
|
||||
<Hungarian>P90 TR (Khaki)</Hungarian>
|
||||
<Portuguese>P90 TR (Caqui)</Portuguese>
|
||||
</Key>
|
||||
<Key ID="STR_ACE_Compat_ADR_97_P90_TR_Camo_Name">
|
||||
<English>P90 TR (Camo)</English>
|
||||
<Czech>P90 TR (Kamufláž)</Czech>
|
||||
<French>P90 TR (Camo)</French>
|
||||
<Spanish>P90 TR (Camuflaje)</Spanish>
|
||||
<Russian>P90 TR (Камо)</Russian>
|
||||
<Polish>P90 TR (kamuflaż)</Polish>
|
||||
<German>P90 TR (Camo)</German>
|
||||
<Italian>P90 TR (Camo)</Italian>
|
||||
<Hungarian>P90 TR (Terepmintás)</Hungarian>
|
||||
<Portuguese>P90 TR (Camuflagem)</Portuguese>
|
||||
</Key>
|
||||
<Key ID="STR_ACE_Compat_ADR_97_P90_TR_Hex_Name">
|
||||
<English>P90 TR (Hex)</English>
|
||||
<Czech>P90 TR (Hex)</Czech>
|
||||
<French>P90 TR (Hex)</French>
|
||||
<Spanish>P90 TR (Hex)</Spanish>
|
||||
<Russian>P90 TR (Гекс)</Russian>
|
||||
<German>P90 TR (Hex)</German>
|
||||
<Polish>P90 TR (hex)</Polish>
|
||||
<Italian>P90 TR (Hex)</Italian>
|
||||
<Hungarian>P90 TR (Hex)</Hungarian>
|
||||
<Portuguese>P90 TR (Hex)</Portuguese>
|
||||
</Key>
|
||||
<Key ID="STR_ACE_Compat_ADR_97_P90_Black_Name">
|
||||
<English>P90 (Black)</English>
|
||||
<Czech>P90 (Černá)</Czech>
|
||||
<French>P90 (Noir)</French>
|
||||
<Spanish>P90 (Negro)</Spanish>
|
||||
<Russian>P90 (Чёрный)</Russian>
|
||||
<Polish>P90 (czarny)</Polish>
|
||||
<German>P90 (Schwarz)</German>
|
||||
<Italian>P90 (Nero)</Italian>
|
||||
<Hungarian>P90 (Fekete)</Hungarian>
|
||||
<Portuguese>P90 (Preto)</Portuguese>
|
||||
</Key>
|
||||
<Key ID="STR_ACE_Compat_ADR_97_P90_Khaki_Name">
|
||||
<English>P90 (Khaki)</English>
|
||||
<Czech>P90 (Khaki)</Czech>
|
||||
<French>P90 (Kaki)</French>
|
||||
<Spanish>P90 (Caqui)</Spanish>
|
||||
<Russian>P90 (Хаки)</Russian>
|
||||
<Polish>P90 (khaki)</Polish>
|
||||
<German>P90 (Khaki)</German>
|
||||
<Italian>P90 (Khaki)</Italian>
|
||||
<Hungarian>P90 (Khaki)</Hungarian>
|
||||
<Portuguese>P90 (Caqui)</Portuguese>
|
||||
</Key>
|
||||
<Key ID="STR_ACE_Compat_ADR_97_P90_Camo_Name">
|
||||
<English>P90 (Camo)</English>
|
||||
<Czech>P90 (Kamufláž)</Czech>
|
||||
<French>P90 (Camo)</French>
|
||||
<Spanish>P90 (Camuflaje)</Spanish>
|
||||
<Russian>P90 (Камо)</Russian>
|
||||
<Polish>P90 (kamuflaż)</Polish>
|
||||
<German>P90 (Camo)</German>
|
||||
<Italian>P90 (Camo)</Italian>
|
||||
<Hungarian>P90 (Terepmintás)</Hungarian>
|
||||
<Portuguese>P90 (Camuflagem)</Portuguese>
|
||||
</Key>
|
||||
<Key ID="STR_ACE_Compat_ADR_97_P90_Hex_Name">
|
||||
<English>P90 (Hex)</English>
|
||||
<Czech>P90 (Hex)</Czech>
|
||||
<French>P90 (Hex)</French>
|
||||
<Spanish>P90 (Hex)</Spanish>
|
||||
<Russian>P90 (Гекс)</Russian>
|
||||
<German>P90 (Hex)</German>
|
||||
<Polish>P90 (hex)</Polish>
|
||||
<Italian>P90 (Hex)</Italian>
|
||||
<Hungarian>P90 (Hex)</Hungarian>
|
||||
<Portuguese>P90 (Hex)</Portuguese>
|
||||
</Key>
|
||||
<Key ID="STR_ACE_Compat_ADR_97_PS90_TR_Black_Name">
|
||||
<English>PS90 TR (Black)</English>
|
||||
<Czech>PS90 TR (Černá)</Czech>
|
||||
<French>PS90 TR (Noir)</French>
|
||||
<Spanish>PS90 TR (Negro)</Spanish>
|
||||
<Russian>PS90 TR (Чёрный)</Russian>
|
||||
<Polish>PS90 TR (czarny)</Polish>
|
||||
<German>PS90 TR (Schwarz)</German>
|
||||
<Italian>PS90 TR (Nero)</Italian>
|
||||
<Hungarian>PS90 TR (Fekete)</Hungarian>
|
||||
<Portuguese>PS90 TR (Preto)</Portuguese>
|
||||
</Key>
|
||||
<Key ID="STR_ACE_Compat_ADR_97_PS90_TR_Khaki_Name">
|
||||
<English>PS90 TR (Khaki)</English>
|
||||
<Czech>PS90 TR (Khaki)</Czech>
|
||||
<French>PS90 TR (Kaki)</French>
|
||||
<Spanish>PS90 TR (Caqui)</Spanish>
|
||||
<Russian>PS90 TR (Хаки)</Russian>
|
||||
<Polish>PS90 TR (khaki)</Polish>
|
||||
<German>PS90 TR (Khaki)</German>
|
||||
<Italian>PS90 TR (Khaki)</Italian>
|
||||
<Hungarian>PS90 TR (Khaki)</Hungarian>
|
||||
<Portuguese>PS90 TR (Caqui)</Portuguese>
|
||||
</Key>
|
||||
<Key ID="STR_ACE_Compat_ADR_97_PS90_TR_Camo_Name">
|
||||
<English>PS90 TR (Camo)</English>
|
||||
<Czech>PS90 TR (Kamufláž)</Czech>
|
||||
<French>PS90 TR (Camo)</French>
|
||||
<Spanish>PS90 TR (Camuflaje)</Spanish>
|
||||
<Russian>PS90 TR (Камо)</Russian>
|
||||
<Polish>PS90 TR (kamuflaż)</Polish>
|
||||
<German>PS90 TR (Camo)</German>
|
||||
<Italian>PS90 TR (Camo)</Italian>
|
||||
<Hungarian>PS90 TR (Terepmintás)</Hungarian>
|
||||
<Portuguese>PS90 TR (Camuflagem)</Portuguese>
|
||||
</Key>
|
||||
<Key ID="STR_ACE_Compat_ADR_97_PS90_TR_Hex_Name">
|
||||
<English>PS90 TR (Hex)</English>
|
||||
<Czech>PS90 TR (Hex)</Czech>
|
||||
<French>PS90 TR (Hex)</French>
|
||||
<Spanish>PS90 TR (Hex)</Spanish>
|
||||
<Russian>PS90 TR (Гекс)</Russian>
|
||||
<German>PS90 TR (Hex)</German>
|
||||
<Polish>PS90 TR (hex)</Polish>
|
||||
<Italian>PS90 TR (Hex)</Italian>
|
||||
<Hungarian>PS90 TR (Hex)</Hungarian>
|
||||
<Portuguese>PS90 TR (Hex)</Portuguese>
|
||||
</Key>
|
||||
<Key ID="STR_ACE_Compat_ADR_97_PS90_Black_Name">
|
||||
<English>PS90 (Black)</English>
|
||||
<Czech>PS90 (Černá)</Czech>
|
||||
<French>PS90 (Noir)</French>
|
||||
<Spanish>PS90 (Negro)</Spanish>
|
||||
<Russian>PS90 (Чёрный)</Russian>
|
||||
<Polish>PS90 (czarny)</Polish>
|
||||
<German>PS90 (Schwarz)</German>
|
||||
<Italian>PS90 (Nero)</Italian>
|
||||
<Hungarian>PS90 (Fekete)</Hungarian>
|
||||
<Portuguese>PS90 (Preto)</Portuguese>
|
||||
</Key>
|
||||
<Key ID="STR_ACE_Compat_ADR_97_PS90_Khaki_Name">
|
||||
<English>PS90 (Khaki)</English>
|
||||
<Czech>PS90 (Khaki)</Czech>
|
||||
<French>PS90 (Kaki)</French>
|
||||
<Spanish>PS90 (Caqui)</Spanish>
|
||||
<Russian>PS90 (Хаки)</Russian>
|
||||
<Polish>PS90 (khaki)</Polish>
|
||||
<German>PS90 (Khaki)</German>
|
||||
<Italian>PS90 (Khaki)</Italian>
|
||||
<Hungarian>PS90 (Khaki)</Hungarian>
|
||||
<Portuguese>PS90 (Caqui)</Portuguese>
|
||||
</Key>
|
||||
<Key ID="STR_ACE_Compat_ADR_97_PS90_Camo_Name">
|
||||
<English>PS90 (Camo)</English>
|
||||
<Czech>PS90 (Kamufláž)</Czech>
|
||||
<French>PS90 (Camo)</French>
|
||||
<Spanish>PS90 (Camuflaje)</Spanish>
|
||||
<Russian>PS90 (Камо)</Russian>
|
||||
<Polish>PS90 (kamuflaż)</Polish>
|
||||
<German>PS90 (Camo)</German>
|
||||
<Italian>PS90 (Camo)</Italian>
|
||||
<Hungarian>PS90 (Terepmintás)</Hungarian>
|
||||
<Portuguese>PS90 (Camuflagem)</Portuguese>
|
||||
</Key>
|
||||
<Key ID="STR_ACE_Compat_ADR_97_PS90_Hex_Name">
|
||||
<English>PS90 (Hex)</English>
|
||||
<Czech>PS90 (Hex)</Czech>
|
||||
<French>PS90 (Hex)</French>
|
||||
<Spanish>PS90 (Hex)</Spanish>
|
||||
<Russian>PS90 (Гекс)</Russian>
|
||||
<German>PS90 (Hex)</German>
|
||||
<Polish>PS90 (hex)</Polish>
|
||||
<Italian>PS90 (Hex)</Italian>
|
||||
<Hungarian>PS90 (Hex)</Hungarian>
|
||||
<Portuguese>PS90 (Hex)</Portuguese>
|
||||
</Key>
|
||||
<Key ID="STR_ACE_Compat_ADR_97_P90_Mag_Name">
|
||||
<English>5.7mm 50Rnd Mag</English>
|
||||
<Hungarian>5,7mm 50-as Tár</Hungarian>
|
||||
<German>5,7mm 50-Patronen-Magazin</German>
|
||||
<Spanish>Cargador de 50 balas SD de 5,7mm</Spanish>
|
||||
<French>Ch. 5,7mm 50Cps</French>
|
||||
<Polish>Magazynek 5,7mm 50rd</Polish>
|
||||
<Czech>5.7mm 50náb. Zásobník</Czech>
|
||||
<Portuguese>Carregador de 50 projéteis de 5.7mm</Portuguese>
|
||||
<Italian>Caricatore 5.7mm 50Rnd</Italian>
|
||||
<Russian>Магазин из 50-ти 5,7 мм</Russian>
|
||||
</Key>
|
||||
<Key ID="STR_ACE_Compat_ADR_97_P90_Mag_DescriptionShort">
|
||||
<English>Caliber: 5.7mm<br />Rounds: 50<br />Used in: P90</English>
|
||||
<German>Kaliber: 5,7mm<br />Patronen: 50<br />Eingesetzt von: P90</German>
|
||||
<Polish>Kaliber: 5,7mm<br />Pociski: 50<br />Używany w: P90</Polish>
|
||||
<French>Calibre: 5.7mm<br />Cartouches: 50<br />Utilisé avec: P90</French>
|
||||
<Spanish>Calibre: 5.7mm<br />Balas: 50<br />Se usa en: P90</Spanish>
|
||||
<Russian>Калибр: 5,7 мм<br />Патронов: 50<br />Используются с: P90</Russian>
|
||||
<Italian>Calibro: 5.7mm<br />Munizioni: 50<br />In uso su: P90</Italian>
|
||||
<Czech>Ráže: 5.7mm<br />Nábojů: 50<br />Použití u: P90</Czech>
|
||||
<Portuguese>Calibre: 5.7mm<br />Cartuchos: 50<br />Usado em: P90</Portuguese>
|
||||
<Hungarian>Kaliber: 5,7mm<br />Lövedékek: 50<br />Használható: P90</Hungarian>
|
||||
</Key>
|
||||
</Package>
|
||||
</Project>
|
Loading…
Reference in New Issue
Block a user