Localize missing gunner positions

This commit is contained in:
A Man
2019-11-18 19:39:17 +01:00
parent 862cf39a8f
commit bd33064237
3 changed files with 918 additions and 933 deletions

View File

@@ -1,9 +1,6 @@
class Wheeled_APC : Car
{
class SpeechVariants
{
class Default
{
class Wheeled_APC : Car {
class SpeechVariants {
class Default {
speechSingular[] = {
"veh_WheeledAPC"
};
@@ -11,11 +8,8 @@ class SpeechVariants
"veh_WheeledAPCs"
};
};
class EN : Default
{
};
class CZ
{
class EN : Default {};
class CZ {
speechSingular[] = {
"veh_WheeledAPC_CZ"
};
@@ -23,8 +17,7 @@ class SpeechVariants
"veh_WheeledAPCs_CZ"
};
};
class CZ_Akuzativ
{
class CZ_Akuzativ {
speechSingular[] = {
"veh_WheeledAPC_CZ4P"
};
@@ -32,8 +25,7 @@ class SpeechVariants
"veh_WheeledAPCs_CZ4P"
};
};
class RU
{
class RU {
speechSingular[] = {
"veh_WheeledAPC_RU"
};
@@ -57,13 +49,13 @@ steerAheadPlan = 0.3;
predictTurnSimul = 0.9;
predictTurnPlan = 1;
brakeDistance = 3;
};
class GAZ_Vodnik_HMG : Wheeled_APC
{
class GAZ_Vodnik_HMG : Wheeled_APC {
wheelCircumference = 3.541;
scope = public;
model = "\ca\wheeled2\GAZ39371\GAZ39371_Vodnik_HMG.p3d";
displayname = "Vodnik (BPPU)";
displayname = $STR_VEH_NAME_VODNIK_BPPU;
picture = "\Ca\wheeled2\data\UI\Picture_GAZ39371_HMG_CA.paa";
Icon = "\Ca\wheeled2\data\UI\Icon_GAZ39371_HMG_CA.paa";
mapSize = 6.5;
@@ -75,8 +67,7 @@ maxSpeed = 100;
canFloat = 1;
fuelCapacity = 220;
terrainCoef = 2;
class Library
{
class Library {
libTextDesc = "GAZ-3937 ""Vodnik"" is a Russian high-mobility multipurpose amphibious vehicle. It can carry up to 10 people and drive at speeds up to 112 km/h (or 5 km when floating).<br/>This is equipped with a heavy machine gun.";
};
armor = 100;
@@ -86,53 +77,41 @@ threat[] = {
0.5,
0.5
};
class HitPoints : HitPoints
{
class HitLFWheel : HitLFWheel
{
class HitPoints : HitPoints {
class HitLFWheel : HitLFWheel {
armor = 0.4;
};
class HitLBWheel : HitLBWheel
{
class HitLBWheel : HitLBWheel {
armor = 0.4;
};
class HitRFWheel : HitRFWheel
{
class HitRFWheel : HitRFWheel {
armor = 0.4;
};
class HitRBWheel : HitRBWheel
{
class HitRBWheel : HitRBWheel {
armor = 0.4;
};
class HitFuel
{
class HitFuel {
armor = 1.4;
material = -1;
name = "palivo";
visual = "";
passThrough = 1;
};
class HitGlass1 : HitGlass1
{
class HitGlass1 : HitGlass1 {
armor = 0.65;
};
class HitGlass2 : HitGlass2
{
class HitGlass2 : HitGlass2 {
armor = 0.65;
};
class HitGlass3 : HitGlass3
{
class HitGlass3 : HitGlass3 {
armor = 0.65;
};
class HitGlass4 : HitGlass4
{
class HitGlass4 : HitGlass4 {
armor = 0.65;
};
};
class AnimationSources : AnimationSources
{
class recoil_source
{
class AnimationSources : AnimationSources {
class recoil_source {
source = "reload";
weapon = "2A42";
};
@@ -141,8 +120,7 @@ enableGPS = 1;
weapons[] = {
"TruckHorn2"
};
magazines[] = {
};
magazines[] = {};
transportSoldier = 2;
DriverAction = "GAZ_Driver";
driverInAction = "GAZ_Driver";
@@ -308,10 +286,8 @@ soundArmorCrash[] = {
"ArmorCrash3",
0.25
};
class SoundEvents
{
class AccelerationIn
{
class SoundEvents {
class AccelerationIn {
sound[] = {
"\ca\SOUNDS\Vehicles\Wheeled\Armored_Vehicle\int\int-AV-acce-01",
0.562341,
@@ -320,8 +296,7 @@ class SoundEvents
limit = "0.15";
expression = "engineOn*(1-camPos)*2*gmeterZ*((speed factor[1.5, 5]) min (speed factor[5, 1.5]))";
};
class AccelerationOut
{
class AccelerationOut {
sound[] = {
"\ca\SOUNDS\Vehicles\Wheeled\Armored_Vehicle\ext\ext-AV-acce-01",
0.562341,
@@ -332,10 +307,8 @@ class SoundEvents
expression = "engineOn*camPos*2*gmeterZ*((speed factor[1.5, 5]) min (speed factor[5, 1.5]))";
};
};
class Sounds
{
class Engine
{
class Sounds {
class Engine {
sound[] = {
"\ca\sounds\Vehicles\Wheeled\Armored_Vehicle\ext\ext-AV-engine-02low",
1.77828,
@@ -715,7 +688,7 @@ class GAZ_Vodnik_DZ : GAZ_Vodnik_HMG
class TransportMagazines {};
class TransportWeapons {};
model = "\ca\wheeled2\GAZ39371\GAZ39371_Vodnik.p3d";
displayname = "Vodnik (2xPK) DZ";
displayname = $STR_VEH_NAME_VODNIK_PKT;
picture = "\Ca\wheeled2\data\UI\Picture_GAZ39371_CA.paa";
Icon = "\Ca\wheeled2\data\UI\Icon_GAZ39371_CA.paa";
gunnerCanSee = "4+8+16";
@@ -748,7 +721,7 @@ class Turrets : Turrets
minTurn = -90;
maxTurn = 90;
initElev = 23;
gunnerName = "front gunner";
gunnerName = $STR_POSITION_VEH_FRONT_GUNNER;
weapons[] = {
"PKT"
};
@@ -805,7 +778,7 @@ class Turrets : Turrets
animationSourceGun = "gun_2";
selectionFireAnim = "zasleh2";
proxyIndex = 2;
gunnerName = "rear gunner";
gunnerName = $STR_POSITION_REARGUNNER;
forceHideGunner = 0;
commanding = -2;
primaryGunner = 1;
@@ -863,7 +836,7 @@ class GAZ_Vodnik_DZE : GAZ_Vodnik_HMG
class TransportMagazines {};
class TransportWeapons {};
model = "\ca\wheeled2\GAZ39371\GAZ39371_Vodnik.p3d";
displayname = "Vodnik (2xPK) AL";
displayname = $STR_VEH_NAME_VODNIK_PKT;
picture = "\Ca\wheeled2\data\UI\Picture_GAZ39371_CA.paa";
Icon = "\Ca\wheeled2\data\UI\Icon_GAZ39371_CA.paa";
gunnerCanSee = "4+8+16";
@@ -896,7 +869,7 @@ class Turrets : Turrets
minTurn = -90;
maxTurn = 90;
initElev = 23;
gunnerName = "front gunner";
gunnerName = $STR_POSITION_VEH_FRONT_GUNNER;
weapons[] = {
"PKT"
};
@@ -951,7 +924,7 @@ class Turrets : Turrets
animationSourceGun = "gun_2";
selectionFireAnim = "zasleh2";
proxyIndex = 2;
gunnerName = "rear gunner";
gunnerName = $STR_POSITION_REARGUNNER;
forceHideGunner = 0;
commanding = -2;
primaryGunner = 1;

View File

@@ -177,7 +177,7 @@ class CH_47F_EP1_DZE: CH47_base_EP1
gunEnd = "chamber_1";
weapons[] = {"M134"};
magazines[] = {};
gunnerName = "crew chief";
gunnerName = $STR_POSITION_CREWCHIEF;
gunnerOpticsModel = "\ca\weapons\optika_empty";
gunnerOutOpticsShowCursor = 1;
gunnerOpticsShowCursor = 1;
@@ -216,7 +216,7 @@ class CH_47F_EP1_DZE: CH47_base_EP1
stabilizedInAxes = "StabilizedInAxesNone";
selectionFireAnim = "zasleh_1";
proxyIndex = 2;
gunnerName = "door gunner";
gunnerName = $STR_POSITION_DOORGUNNER;
commanding = -3;
weapons[] = {"M134_2"};
gunBeg = "muzzle_2";
@@ -240,7 +240,7 @@ class CH_47F_EP1_DZE: CH47_base_EP1
stabilizedInAxes = "StabilizedInAxesNone";
selectionFireAnim = "zasleh_3";
proxyIndex = 3;
gunnerName = "rear gunner";
gunnerName = $STR_POSITION_REARGUNNER;
gunnerOpticsShowCursor = 0;
commanding = -1;
gunnerAction = "CH47_Gunner01_EP1";

View File

@@ -17937,6 +17937,18 @@
<German>HC3 Merlin Wrack</German>
</Key>
<Key ID="STR_POSITION_VEH_FRONT_GUNNER">
<English>front gunner</English>
<German>Frontschütze</German>
<Italian>Artigliere anteriore</Italian>
<Spanish>artillero delantero</Spanish>
<French>Tireur avant</French>
<Czech>Přední střelec</Czech>
<Russian>Стрелок (нос)</Russian>
<Polish>Przedni strzelec</Polish>
<Hungarian>Első lövész</Hungarian>
</Key>
<!--Namalsk compatibility-->
<Key ID="STR_EQUIP_NAME_43">
<English>Winter Ghillie Suit</English>