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"
};
@@ -41,180 +33,166 @@ class SpeechVariants
"veh_WheeledAPCs_RU"
};
};
};
TextPlural = "APCs";
TextSingular = "APC";
nameSound = "veh_WheeledAPC";
displayName = "APC";
terrainCoef = 1.5;
preferRoads = 0;
damperSize = 0.2;
damperForce = 1;
damperDamping = 1;
turnCoef = 5;
steerAheadSimul = 0.2;
steerAheadPlan = 0.3;
predictTurnSimul = 0.9;
predictTurnPlan = 1;
brakeDistance = 3;
};
TextPlural = "APCs";
TextSingular = "APC";
nameSound = "veh_WheeledAPC";
displayName = "APC";
terrainCoef = 1.5;
preferRoads = 0;
damperSize = 0.2;
damperForce = 1;
damperDamping = 1;
turnCoef = 5;
steerAheadSimul = 0.2;
steerAheadPlan = 0.3;
predictTurnSimul = 0.9;
predictTurnPlan = 1;
brakeDistance = 3;
};
class GAZ_Vodnik_HMG : Wheeled_APC
{
wheelCircumference = 3.541;
scope = public;
model = "\ca\wheeled2\GAZ39371\GAZ39371_Vodnik_HMG.p3d";
displayname = "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;
side = 0;
faction = "RU";
vehicleClass = "Armored";
crew = "";
maxSpeed = 100;
canFloat = 1;
fuelCapacity = 220;
terrainCoef = 2;
class Library
{
class GAZ_Vodnik_HMG : Wheeled_APC {
wheelCircumference = 3.541;
scope = public;
model = "\ca\wheeled2\GAZ39371\GAZ39371_Vodnik_HMG.p3d";
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;
side = 0;
faction = "RU";
vehicleClass = "Armored";
crew = "";
maxSpeed = 100;
canFloat = 1;
fuelCapacity = 220;
terrainCoef = 2;
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;
damageResistance = 0.02972;
threat[] = {
};
armor = 100;
damageResistance = 0.02972;
threat[] = {
0.5,
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";
};
};
enableGPS = 1;
weapons[] = {
};
enableGPS = 1;
weapons[] = {
"TruckHorn2"
};
magazines[] = {
};
transportSoldier = 2;
DriverAction = "GAZ_Driver";
driverInAction = "GAZ_Driver";
cargoAction[] = {
};
magazines[] = {};
transportSoldier = 2;
DriverAction = "GAZ_Driver";
driverInAction = "GAZ_Driver";
cargoAction[] = {
"HMMWV_Cargo01",
"Landrover_Cargo01"
};
viewCargoShadow = 1;
unitInfoType = "UnitInfoShip";
soundGear[] = {
};
viewCargoShadow = 1;
unitInfoType = "UnitInfoShip";
soundGear[] = {
"",
5.62341e-005,
1
};
soundGetIn[] = {
};
soundGetIn[] = {
"\ca\sounds\vehicles\Wheeled\Armored_Vehicle\ext\ext-AV-getin",
1,
1
};
soundGetOut[] = {
};
soundGetOut[] = {
"\ca\sounds\vehicles\Wheeled\Armored_Vehicle\ext\ext-AV-getout",
1,
1,
30
};
soundEngineOnInt[] = {
};
soundEngineOnInt[] = {
"\ca\sounds\Vehicles\Wheeled\Armored_Vehicle\int\int-AV-start-02",
0.562341,
1
};
soundEngineOnExt[] = {
};
soundEngineOnExt[] = {
"\ca\SOUNDS\Vehicles\Wheeled\Armored_Vehicle\ext\ext-AV-start-02",
0.562341,
1,
250
};
soundEngineOffInt[] = {
};
soundEngineOffInt[] = {
"\ca\sounds\vehicles\Wheeled\Armored_Vehicle\int\int-AV-stop-02",
0.562341,
1
};
soundEngineOffExt[] = {
};
soundEngineOffExt[] = {
"\ca\sounds\vehicles\Wheeled\Armored_Vehicle\ext\ext-AV-stop-02",
0.562341,
1,
250
};
buildCrash0[] = {
};
buildCrash0[] = {
"Ca\sounds\Vehicles\Crash\crash_building_01",
0.707946,
1,
200
};
buildCrash1[] = {
};
buildCrash1[] = {
"Ca\sounds\Vehicles\Crash\crash_building_02",
0.707946,
1,
200
};
buildCrash2[] = {
};
buildCrash2[] = {
"Ca\sounds\Vehicles\Crash\crash_building_03",
0.707946,
1,
200
};
buildCrash3[] = {
};
buildCrash3[] = {
"Ca\sounds\Vehicles\Crash\crash_building_04",
0.707946,
1,
200
};
soundBuildingCrash[] = {
};
soundBuildingCrash[] = {
"buildCrash0",
0.25,
"buildCrash1",
@@ -223,44 +201,44 @@ soundBuildingCrash[] = {
0.25,
"buildCrash3",
0.25
};
WoodCrash0[] = {
};
WoodCrash0[] = {
"Ca\sounds\Vehicles\Crash\crash_mix_wood_01",
0.707946,
1,
200
};
WoodCrash1[] = {
};
WoodCrash1[] = {
"Ca\sounds\Vehicles\Crash\crash_mix_wood_02",
0.707946,
1,
200
};
WoodCrash2[] = {
};
WoodCrash2[] = {
"Ca\sounds\Vehicles\Crash\crash_mix_wood_03",
0.707946,
1,
200
};
WoodCrash3[] = {
};
WoodCrash3[] = {
"Ca\sounds\Vehicles\Crash\crash_mix_wood_04",
0.707946,
1,
200
};
WoodCrash4[] = {
};
WoodCrash4[] = {
"Ca\sounds\Vehicles\Crash\crash_mix_wood_05",
0.707946,
1,
200
};
WoodCrash5[] = {
};
WoodCrash5[] = {
"Ca\sounds\Vehicles\Crash\crash_mix_wood_06",
0.707946,
1,
200
};
soundWoodCrash[] = {
};
soundWoodCrash[] = {
"woodCrash0",
0.166,
"woodCrash1",
@@ -273,32 +251,32 @@ soundWoodCrash[] = {
0.166,
"woodCrash5",
0.166
};
ArmorCrash0[] = {
};
ArmorCrash0[] = {
"Ca\sounds\Vehicles\Crash\crash_vehicle_01",
0.707946,
1,
200
};
ArmorCrash1[] = {
};
ArmorCrash1[] = {
"Ca\sounds\Vehicles\Crash\crash_vehicle_02",
0.707946,
1,
200
};
ArmorCrash2[] = {
};
ArmorCrash2[] = {
"Ca\sounds\Vehicles\Crash\crash_vehicle_03",
0.707946,
1,
200
};
ArmorCrash3[] = {
};
ArmorCrash3[] = {
"Ca\sounds\Vehicles\Crash\crash_vehicle_04",
0.707946,
1,
200
};
soundArmorCrash[] = {
};
soundArmorCrash[] = {
"ArmorCrash0",
0.25,
"ArmorCrash1",
@@ -307,11 +285,9 @@ soundArmorCrash[] = {
0.25,
"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,
@@ -331,11 +306,9 @@ class SoundEvents
limit = "0.15";
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,
@@ -550,10 +523,10 @@ class Sounds
frequency = "1";
volume = "0";
};
};
enableManualFire = 0;
class Turrets
{
};
enableManualFire = 0;
class Turrets
{
class MainTurret : NewTurret
{
outGunnerMayFire = 1;
@@ -624,9 +597,9 @@ class Turrets
};
};
};
};
class Reflectors
{
};
class Reflectors
{
class Left
{
color[] = {
@@ -669,11 +642,11 @@ class Reflectors
size = 0.5;
brightness = 0.5;
};
};
memoryPointExhaust = "vyfuk_start";
memoryPointExhaustDir = "vyfuk konec";
class Damage
{
};
memoryPointExhaust = "vyfuk_start";
memoryPointExhaustDir = "vyfuk konec";
class Damage
{
tex[] = {
};
mat[] = {
@@ -696,17 +669,17 @@ class Damage
"ca\wheeled2\gaz39371\data\gaz39371_vodnik_glass_in_Half_D.rvmat",
"ca\wheeled2\gaz39371\data\gaz39371_vodnik_glass_in_Half_D.rvmat"
};
};
hiddenSelections[] = {
};
hiddenSelections[] = {
"Camo1",
"Camo2",
"Camo3"
};
hiddenSelectionsTextures[] = {
};
hiddenSelectionsTextures[] = {
"\ca\wheeled2\gaz39371\data\gaz39371_vodnik_basis_01_co.paa",
"\ca\wheeled2\gaz39371\data\gaz39371_vodnik_cabin_co.paa",
"\ca\wheeled2\gaz39371\data\gaz39371_vodnik_mod_out_co.paa"
};
};
};
class GAZ_Vodnik_DZ : GAZ_Vodnik_HMG
@@ -714,33 +687,33 @@ class GAZ_Vodnik_DZ : GAZ_Vodnik_HMG
typicalCargo[] = {};
class TransportMagazines {};
class TransportWeapons {};
model = "\ca\wheeled2\GAZ39371\GAZ39371_Vodnik.p3d";
displayname = "Vodnik (2xPK) DZ";
picture = "\Ca\wheeled2\data\UI\Picture_GAZ39371_CA.paa";
Icon = "\Ca\wheeled2\data\UI\Icon_GAZ39371_CA.paa";
gunnerCanSee = "4+8+16";
commanderCanSee = "4+8+16";
mapSize = 6.5;
transportSoldier = 10;
cargoAction[] = {
model = "\ca\wheeled2\GAZ39371\GAZ39371_Vodnik.p3d";
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";
commanderCanSee = "4+8+16";
mapSize = 6.5;
transportSoldier = 10;
cargoAction[] = {
"HMMWV_Cargo01",
"Landrover_Cargo01",
"UAZ_Cargo01"
};
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 dual PK 7.62 mm machine gun.";
};
armor = 85;
damageResistance = 0.032;
threat[] = {
};
armor = 85;
damageResistance = 0.032;
threat[] = {
0.5,
0.1,
0.2
};
enableManualFire = 0;
class Turrets : Turrets
{
};
enableManualFire = 0;
class Turrets : Turrets
{
class MainTurret : MainTurret
{
minElev = -25;
@@ -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;
@@ -820,9 +793,9 @@ class Turrets : Turrets
memoryPointGunnerOptics = "gunnerview2";
startEngine = 0;
};
};
class AnimationSources : AnimationSources
{
};
class AnimationSources : AnimationSources
{
class ReloadAnim
{
source = "reload";
@@ -853,7 +826,7 @@ class AnimationSources : AnimationSources
source = "revolving";
weapon = "PKT_2";
};
};
};
};
@@ -862,33 +835,33 @@ class GAZ_Vodnik_DZE : GAZ_Vodnik_HMG
typicalCargo[] = {};
class TransportMagazines {};
class TransportWeapons {};
model = "\ca\wheeled2\GAZ39371\GAZ39371_Vodnik.p3d";
displayname = "Vodnik (2xPK) AL";
picture = "\Ca\wheeled2\data\UI\Picture_GAZ39371_CA.paa";
Icon = "\Ca\wheeled2\data\UI\Icon_GAZ39371_CA.paa";
gunnerCanSee = "4+8+16";
commanderCanSee = "4+8+16";
mapSize = 6.5;
transportSoldier = 10;
cargoAction[] = {
model = "\ca\wheeled2\GAZ39371\GAZ39371_Vodnik.p3d";
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";
commanderCanSee = "4+8+16";
mapSize = 6.5;
transportSoldier = 10;
cargoAction[] = {
"HMMWV_Cargo01",
"Landrover_Cargo01",
"UAZ_Cargo01"
};
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 dual PK 7.62 mm machine gun.";
};
armor = 85;
damageResistance = 0.032;
threat[] = {
};
armor = 85;
damageResistance = 0.032;
threat[] = {
0.5,
0.1,
0.2
};
enableManualFire = 0;
class Turrets : Turrets
{
};
enableManualFire = 0;
class Turrets : Turrets
{
class MainTurret : MainTurret
{
minElev = -25;
@@ -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;
@@ -966,9 +939,9 @@ class Turrets : Turrets
memoryPointGunnerOptics = "gunnerview2";
startEngine = 0;
};
};
class AnimationSources : AnimationSources
{
};
class AnimationSources : AnimationSources
{
class ReloadAnim
{
source = "reload";
@@ -999,7 +972,7 @@ class AnimationSources : AnimationSources
source = "revolving";
weapon = "PKT_2";
};
};
};
};
class GAZ_Vodnik;

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>