1313 lines
28 KiB
C++
1313 lines
28 KiB
C++
class BRAF_EE9_Cascavel_base: Wheeled_APC_F
|
|
{
|
|
features="Randomization: No <br />Camo selections: 6 - top of hull, bottom of hull, turret <br />Script door sources: None <br />Script animations: HideTurret <br />Executed scripts: None <br />Firing from vehicles: No <br />Slingload: No <br />Cargo proxy indexes: 1 to 8";
|
|
_generalMacro="BRAF_EE9_Cascavel_base";
|
|
displayname="$STR_braf_ee9_cascavel";
|
|
class Armory
|
|
{
|
|
description="$STR_braf_ee9_cascavel_description";
|
|
};
|
|
editorSubcategory="EdSubcat_APCs";
|
|
cost=900000;
|
|
author="BRAF TEAM";
|
|
faction="BRAF_ARMY";
|
|
model="braf\braf_armored\BRAF_Cascavel\BRAF_cascavel.p3d";
|
|
//destrType="DestructWreck";
|
|
picture="braf\braf_armored\BRAF_Cascavel\data\ui\picture_cascavel_ca.paa";
|
|
Icon="braf\braf_armored\BRAF_Cascavel\data\ui\icon_cascavel_ca.paa";
|
|
scope=0;
|
|
mapSize=10.08;
|
|
accuracy=0.25;
|
|
memoryPointSupply="supply";
|
|
memoryPointTrackFLL="TrackFLL";
|
|
memoryPointTrackFLR="TrackFLR";
|
|
memoryPointTrackBLL="TrackBLL";
|
|
memoryPointTrackBLR="TrackBLR";
|
|
memoryPointTrackFRL="TrackFRL";
|
|
memoryPointTrackFRR="TrackFRR";
|
|
memoryPointTrackBRL="TrackBRL";
|
|
memoryPointTrackBRR="TrackBRR";
|
|
dustFrontLeftPos="dustFrontLeft";
|
|
dustFrontRightPos="dustFrontRight";
|
|
dustBackLeftPos="dustBackLeft";
|
|
dustBackRightPos="dustBackRight";
|
|
selectionBackLights="back_lights";
|
|
selectionBrakeLights="brake_lights";
|
|
selectionDashboard="dashboard_lights";
|
|
thrustDelay=0.25;
|
|
brakeIdleSpeed=1.78;
|
|
maxSpeed=110;
|
|
fuelCapacity=240;
|
|
wheelCircumference=3.8050001;
|
|
waterLeakiness=2.5;
|
|
normalSpeedForwardCoef=0.51999998;
|
|
accelAidForceYOffset=-1.5;
|
|
antiRollbarForceCoef=24;
|
|
antiRollbarForceLimit=30;
|
|
antiRollbarSpeedMin=15;
|
|
antiRollbarSpeedMax=65;
|
|
simulation="carX";
|
|
dampersBumpCoef=4.5;
|
|
differentialType="all_limited";
|
|
frontRearSplit=0.5;
|
|
frontBias=1.3;
|
|
rearBias=1.3;
|
|
centreBias=1.3;
|
|
clutchStrength=35;
|
|
enginePower=506.25;
|
|
peakTorque=3000;
|
|
idleRpm=800;
|
|
redRpm=3000;
|
|
maxOmega=241;
|
|
minOmega=50;
|
|
dampingRateFullThrottle=0.079999998;
|
|
dampingRateZeroThrottleClutchEngaged=2;
|
|
dampingRateZeroThrottleClutchDisengaged=0.050000001;
|
|
torqueCurve[]=
|
|
{
|
|
|
|
{
|
|
"(0/2300)",
|
|
"(0/2260)"
|
|
},
|
|
|
|
{
|
|
"(1000/2300)",
|
|
"(1625/2260)"
|
|
},
|
|
|
|
{
|
|
"(1400/2300)",
|
|
"(2100/2260)"
|
|
},
|
|
|
|
{
|
|
"(1500/2300)",
|
|
"(2200/2260)"
|
|
},
|
|
|
|
{
|
|
"(1550/2300)",
|
|
"(2260/2260)"
|
|
},
|
|
|
|
{
|
|
"(1600/2300)",
|
|
"(2200/2260)"
|
|
},
|
|
|
|
{
|
|
"(2300/2300)",
|
|
"(1700/2260)"
|
|
},
|
|
|
|
{
|
|
"(4700/2300)",
|
|
"(0/2260)"
|
|
}
|
|
};
|
|
changeGearMinEffectivity[]={0.5,0.15000001,0.97000003,0.97000003,0.97000003,0.97000003,0.97000003,0.98500001};
|
|
class complexGearbox
|
|
{
|
|
GearboxRatios[]=
|
|
{
|
|
"R1",-4.84,
|
|
"N",0,
|
|
"D1",3.43,
|
|
"D2",2.01,
|
|
"D3",1.42,
|
|
"D4",1,
|
|
"D5",0.83,
|
|
"D6",0.59
|
|
};
|
|
TransmissionRatios[]={"High",8};
|
|
gearBoxMode="auto";
|
|
moveOffGear=1;
|
|
driveString="D";
|
|
neutralString="N";
|
|
reverseString="R";
|
|
};
|
|
switchTime=0.1;
|
|
latency=1.4;
|
|
numberPhysicalWheels=6;
|
|
wheelDamageThreshold=0.18000001;
|
|
wheelDamageRadiusCoef=0.75;
|
|
class Wheels
|
|
{
|
|
class L1
|
|
{
|
|
side="left";
|
|
suspTravelDirection[]={-0.125,-1,0};
|
|
boneName="wheel_1_1_damper";
|
|
center="wheel_1_1_center";
|
|
boundary="wheel_1_1_bound";
|
|
suspForceAppPointOffset="wheel_1_1_center";
|
|
tireForceAppPointOffset="wheel_1_1_center";
|
|
steering=1;
|
|
width=0.35;
|
|
mass=200;
|
|
MOI=60;
|
|
dampingRate=0.1;
|
|
dampingRateDamaged=1;
|
|
dampingRateDestroyed=1000;
|
|
maxBrakeTorque=45000;
|
|
maxHandBrakeTorque=0;
|
|
maxCompression=0.05;
|
|
maxDroop=0.1;
|
|
sprungMass=1967;
|
|
springStrength=49175;
|
|
springDamperRate=7868;
|
|
longitudinalStiffnessPerUnitGravity=10000;
|
|
latStiffX=25;
|
|
latStiffY=180;
|
|
frictionVsSlipGraph[]=
|
|
{
|
|
{0,1},
|
|
{0.5,1},
|
|
{1,1}
|
|
};
|
|
};
|
|
class L2: L1
|
|
{
|
|
boneName="wheel_1_2_damper";
|
|
steering=1;
|
|
center="wheel_1_2_center";
|
|
boundary="wheel_1_2_bound";
|
|
suspForceAppPointOffset="wheel_1_2_center";
|
|
tireForceAppPointOffset="wheel_1_2_center";
|
|
};
|
|
class L3: L1
|
|
{
|
|
boneName="wheel_1_3_damper";
|
|
steering=0;
|
|
center="wheel_1_3_center";
|
|
boundary="wheel_1_3_bound";
|
|
suspForceAppPointOffset="wheel_1_3_center";
|
|
tireForceAppPointOffset="wheel_1_3_center";
|
|
maxHandBrakeTorque=300000;
|
|
};
|
|
class R1: L1
|
|
{
|
|
side="right";
|
|
suspTravelDirection[]={0.125,-1,0};
|
|
boneName="wheel_2_1_damper";
|
|
center="wheel_2_1_center";
|
|
boundary="wheel_2_1_bound";
|
|
suspForceAppPointOffset="wheel_2_1_center";
|
|
tireForceAppPointOffset="wheel_2_1_center";
|
|
};
|
|
class R2: R1
|
|
{
|
|
boneName="wheel_2_2_damper";
|
|
steering=1;
|
|
center="wheel_2_2_center";
|
|
boundary="wheel_2_2_bound";
|
|
suspForceAppPointOffset="wheel_2_2_center";
|
|
tireForceAppPointOffset="wheel_2_2_center";
|
|
};
|
|
class R3: R1
|
|
{
|
|
boneName="wheel_2_3_damper";
|
|
steering=0;
|
|
center="wheel_2_3_center";
|
|
boundary="wheel_2_3_bound";
|
|
suspForceAppPointOffset="wheel_2_3_center";
|
|
tireForceAppPointOffset="wheel_2_3_center";
|
|
maxHandBrakeTorque=300000;
|
|
};
|
|
};
|
|
terrainCoef=0.5;
|
|
turnCoef=3;
|
|
canFloat=0;
|
|
maxFordingDepth=-0.1;
|
|
waterAngularDampingCoef=10;
|
|
waterPPInVehicle=1;
|
|
waterResistanceCoef=0.5;
|
|
engineShiftY=1;
|
|
wheelDestroyRadiusCoef=0.60000002;
|
|
armor=350;
|
|
armorStructural=4;
|
|
armorLights=0.1;
|
|
crewVulnerable=0;
|
|
crewCrashProtection=0.25;
|
|
crewExplosionProtection=0.9995;
|
|
damageResistance=0.008;
|
|
viewDriverInExternal=1;
|
|
viewDriverShadowAmb=0.5;
|
|
viewDriverShadowDiff=0.050000001;
|
|
viewCargoShadowDiff=0.5;
|
|
viewCargoShadowAmb=0.050000001;
|
|
LODDriverTurnedin=1100;
|
|
LODDriverTurnedOut=1;
|
|
LODDriverOpticsIn=1;
|
|
showNVGDriver=0;
|
|
showNVGCommander=0;
|
|
showNVGGunner=0;
|
|
commanderCanSee=31;
|
|
gunnerCanSee=28;
|
|
driverCanSee=26;
|
|
driverAction="BRAF_cascavel_driver_Out";
|
|
driverInAction="BRAF_cascavel_driver_In";
|
|
driverLeftHandAnimName="drivewheel";
|
|
driverRightHandAnimName="drivewheel";
|
|
driverLeftLegAnimName="pedal_brake";
|
|
driverForceOptics=0;
|
|
driverOpticsModel="braf\braf_armored\BRAF_Optics_Armored\Cascavel\BRAF_optics_periscope.p3d";
|
|
memoryPointDriverOptics="driverview";
|
|
cargoIsCoDriver[]={0};
|
|
forceHideDriver=0;
|
|
hideWeaponsDriver=1;
|
|
driverInfoPanelCameraPos="driverview_old";
|
|
memoryPointTaskMarker="TaskMarker_1_pos";
|
|
class ViewOptics: ViewOptics
|
|
{
|
|
visionMode[]=
|
|
{
|
|
"Normal"
|
|
};
|
|
initFov=0.60000002;
|
|
minFov=0.25;
|
|
maxFov=0.60000002;
|
|
};
|
|
class ViewPilot: ViewPilot
|
|
{
|
|
initAngleX=-3.5;
|
|
initAngleY=0;
|
|
initFov=0.89999998;
|
|
minFov=0.25;
|
|
maxFov=1.25;
|
|
minAngleX=-65;
|
|
maxAngleX=85;
|
|
minAngleY=-150;
|
|
maxAngleY=150;
|
|
minMoveX=-0.075000003;
|
|
maxMoveX=0.075000003;
|
|
minMoveY=-0.075000003;
|
|
maxMoveY=0.075000003;
|
|
minMoveZ=-0.075000003;
|
|
maxMoveZ=0.1;
|
|
};
|
|
class OpticsIn: BRAF_Cascavel_Periscope_Optics
|
|
{
|
|
class Wide: Wide
|
|
{
|
|
};
|
|
};
|
|
extCameraPosition[]={0,3,-8};
|
|
unitInfoType="RscUnitInfoTank";
|
|
class HitPoints: HitPoints
|
|
{
|
|
class HitHull: HitHull
|
|
{
|
|
armor=1.6;
|
|
material=-1;
|
|
armorComponent="hit_hull";
|
|
name="hp_hull";
|
|
visual="zbytek";
|
|
passThrough=1;
|
|
minimalHit=0.1;
|
|
explosionShielding=0.2;
|
|
radius=0.2;
|
|
};
|
|
class HitEngine: HitEngine
|
|
{
|
|
armor=0.75;
|
|
material=-1;
|
|
armorComponent="hit_engine";
|
|
name="hp_engine";
|
|
visual="-";
|
|
passThrough=0.1;
|
|
minimalHit=0.1;
|
|
explosionShielding=0.5;
|
|
radius=0.30000001;
|
|
};
|
|
class HitFuel: HitFuel
|
|
{
|
|
armor=0.75;
|
|
material=-1;
|
|
armorComponent="hit_fuel";
|
|
name="hp_fuel";
|
|
visual="-";
|
|
passThrough=0.30000001;
|
|
minimalHit=0.1;
|
|
explosionShielding=0.60000002;
|
|
radius=0.2;
|
|
};
|
|
class HitGlass1
|
|
{
|
|
radius=0.15;
|
|
armor=0.25;
|
|
explosionShielding=2;
|
|
material=-1;
|
|
name="hp_glass";
|
|
visual="Glass";
|
|
passThrough=0;
|
|
armorComponent="hit_glass";
|
|
};
|
|
//class HitSLAT_Left_1
|
|
//{
|
|
// simulation="Armor_SLAT";
|
|
// armorComponent="cage_left_1_geo";
|
|
// name="cage_left_1_point";
|
|
// armor=-200;
|
|
// minimalHit=0.30000001;
|
|
// passThrough=0;
|
|
// visual="-";
|
|
// explosionShielding=2;
|
|
// radius=0.25;
|
|
//};
|
|
class HitLFWheel: HitLFWheel
|
|
{
|
|
armor=-250;
|
|
minimalHit=-0.016000001;
|
|
explosionShielding=4;
|
|
passThrough=0;
|
|
radius=0.33000001;
|
|
armorComponent="wheel_1_1";
|
|
name="hp_wheel_1_1";
|
|
visual="wheel_1_1_hide";
|
|
};
|
|
class HitLF2Wheel: HitLF2Wheel
|
|
{
|
|
armor=-250;
|
|
minimalHit=-0.016000001;
|
|
explosionShielding=4;
|
|
passThrough=0;
|
|
radius=0.33000001;
|
|
armorComponent="wheel_1_2";
|
|
name="hp_wheel_1_2";
|
|
visual="wheel_1_2_hide";
|
|
};
|
|
class HitLMWheel: HitLMWheel
|
|
{
|
|
armor=-250;
|
|
minimalHit=-0.016000001;
|
|
explosionShielding=4;
|
|
passThrough=0;
|
|
radius=0.33000001;
|
|
armorComponent="wheel_1_3";
|
|
name="hp_wheel_1_3";
|
|
visual="wheel_1_3_hide";
|
|
};
|
|
class HitRFWheel: HitRFWheel
|
|
{
|
|
armor=-250;
|
|
minimalHit=-0.016000001;
|
|
explosionShielding=4;
|
|
passThrough=0;
|
|
radius=0.33000001;
|
|
armorComponent="wheel_2_1";
|
|
name="hp_wheel_2_1";
|
|
visual="wheel_2_1_hide";
|
|
};
|
|
class HitRF2Wheel: HitRF2Wheel
|
|
{
|
|
armor=-250;
|
|
minimalHit=-0.016000001;
|
|
explosionShielding=4;
|
|
passThrough=0;
|
|
radius=0.33000001;
|
|
armorComponent="wheel_2_2";
|
|
name="hp_wheel_2_2";
|
|
visual="wheel_2_2_hide";
|
|
};
|
|
class HitRMWheel: HitRMWheel
|
|
{
|
|
armor=-250;
|
|
minimalHit=-0.016000001;
|
|
explosionShielding=4;
|
|
passThrough=0;
|
|
radius=0.33000001;
|
|
armorComponent="wheel_2_3";
|
|
name="hp_wheel_2_3";
|
|
visual="wheel_2_3_hide";
|
|
};
|
|
};
|
|
weapons[]=
|
|
{
|
|
"TruckHorn"
|
|
};
|
|
magazines[]={};
|
|
soundLocked[]={""};
|
|
soundIncommingMissile[]={""};
|
|
smokeLauncherGrenadeCount=6;
|
|
smokeLauncherVelocity=14;
|
|
smokeLauncherOnTurret=1;
|
|
smokeLauncherAngle=120;
|
|
class Turrets: Turrets
|
|
{
|
|
class MainTurret: MainTurret
|
|
{
|
|
class Turrets: Turrets
|
|
{
|
|
class CommanderOptics: CommanderOptics
|
|
{
|
|
memoryPointGunnerOutOptics="commanderview";
|
|
memoryPointGunnerOptics="commanderview";
|
|
proxyIndex=3;
|
|
commanding=5;
|
|
minElev=-7;
|
|
maxElev=15;
|
|
initElev=0;
|
|
minTurn=-360;
|
|
maxTurn=360;
|
|
initTurn=0;
|
|
minCamElev=-90;
|
|
maxCamElev=90;
|
|
weapons[]={"SmokeLauncher"};
|
|
magazines[]=
|
|
{
|
|
"SmokeLauncherMag"
|
|
};
|
|
soundServo[]=
|
|
{
|
|
"A3\sounds_f\dummysound",0.0099999998,1,30
|
|
};
|
|
soundServoVertical[]=
|
|
{
|
|
"A3\sounds_f\dummysound",0.0099999998,1,30
|
|
};
|
|
outGunnerMayFire=0;
|
|
inGunnerMayFire=0;
|
|
forceHideGunner=0;
|
|
hideWeaponsCommander=1;
|
|
gunnerAction="BRAF_cascavel_commander";
|
|
gunnerInAction="BRAF_cascavel_commander";
|
|
gunnerForceOptics=0;
|
|
usepip=2;
|
|
LODTurnedIn=1200;
|
|
LODTurnedOut=1;
|
|
LODOpticsIn=1;
|
|
turretFollowFreeLook=2;
|
|
minOutElev=-10;
|
|
maxOutElev=60;
|
|
initOutElev=0;
|
|
minOutTurn=-90;
|
|
maxOutTurn=90;
|
|
initOutTurn=0;
|
|
viewGunnerInExternal=0;
|
|
viewGunnerShadowAmb=0.5;
|
|
viewGunnerShadowDiff=0.050000001;
|
|
gunnerGetInAction="GetInAMV_cargo";
|
|
gunnerGetOutAction="GetOutLow";
|
|
gunnerOpticsModel="\braf\braf_armored\BRAF_Optics_Armored\Cascavel\BRAF_optics_periscope.p3d";
|
|
gunnerOutOpticsModel="";
|
|
gunnerOpticsEffect[]={};
|
|
isPersonTurret=1;
|
|
personTurretAction="vehicle_turnout_1";
|
|
class ViewGunner: ViewGunner
|
|
{
|
|
initAngleX=-3.5;
|
|
initAngleY=0;
|
|
initFov=0.89999998;
|
|
minFov=0.25;
|
|
maxFov=1.25;
|
|
minAngleX=-65;
|
|
maxAngleX=85;
|
|
minAngleY=-150;
|
|
maxAngleY=150;
|
|
minMoveX=-0.075000003;
|
|
maxMoveX=0.075000003;
|
|
minMoveY=-0.075000003;
|
|
maxMoveY=0.075000003;
|
|
minMoveZ=-0.075000003;
|
|
maxMoveZ=0.1;
|
|
};
|
|
class ViewOptics: ViewOptics
|
|
{
|
|
initAngleX=0;
|
|
minAngleX=-30;
|
|
maxAngleX=30;
|
|
initAngleY=0;
|
|
minAngleY=-100;
|
|
maxAngleY=100;
|
|
initFov=0.31;
|
|
minFov=0.034000002;
|
|
maxFov=0.31;
|
|
visionMode[]=
|
|
{
|
|
"Normal"
|
|
};
|
|
};
|
|
class OpticsIn: BRAF_Cascavel_Periscope_Optics
|
|
{
|
|
class Wide: Wide
|
|
{
|
|
};
|
|
};
|
|
turretInfoType="";
|
|
showCrewAim=1;
|
|
startEngine=0;
|
|
stabilizedInAxes=0;
|
|
maxHorizontalRotSpeed=0;
|
|
maxVerticalRotSpeed=0;
|
|
gunnerHasFlares=1;
|
|
};
|
|
};
|
|
body="mainTurret";
|
|
gun="mainGun";
|
|
ace_fcs_enabled=0;
|
|
weapons[]=
|
|
{
|
|
"BRAF_90mm",
|
|
"BRAF_MAG_VEH"
|
|
};
|
|
magazines[]=
|
|
{
|
|
"BRAF_11Rnd_90mm_APFSDS_T_shells",
|
|
"BRAF_11Rnd_90mm_APFSDS_shells",
|
|
"BRAF_11Rnd_90mm_HESH_shells",
|
|
"BRAF_11Rnd_90mm_HEAT_MP",
|
|
"BRAF_11Rnd_90mm_HE_shells",
|
|
"BRAF_200Rnd_762x51_Mix_red",
|
|
"BRAF_200Rnd_762x51_Mix_red",
|
|
"BRAF_200Rnd_762x51_Mix_red",
|
|
"BRAF_200Rnd_762x51_Mix_red",
|
|
"BRAF_200Rnd_762x51_Mix_red",
|
|
"BRAF_200Rnd_762x51_Mix_red",
|
|
"BRAF_200Rnd_762x51_Mix_red",
|
|
"BRAF_200Rnd_762x51_Mix_red",
|
|
"BRAF_200Rnd_762x51_Mix_red",
|
|
"BRAF_200Rnd_762x51_Mix_red"
|
|
};
|
|
soundServo[]=
|
|
{
|
|
"A3\sounds_f\dummysound",0.0099999998,1,30
|
|
};
|
|
commanding=-1;
|
|
minElev=-5;
|
|
initElev=5;
|
|
maxElev=15;
|
|
minCamElev=-90;
|
|
maxCamElev=90;
|
|
gunnerAction="BRAF_cascavel_gunner";
|
|
gunnerInAction="BRAF_cascavel_gunner";
|
|
proxyIndex=2;
|
|
gunnerRightHandAnimName="gun_rot";
|
|
gunnerLeftHandAnimName="gun_elev";
|
|
gunnerForceOptics=0;
|
|
usepip=2;
|
|
LODOpticsIn=1;
|
|
LODTurnedIn=1000;
|
|
LODTurnedOut=1;
|
|
viewGunnerShadowAmb=0.5;
|
|
viewGunnerShadowDiff=0.050000001;
|
|
gunnerGetInAction="GetInAMV_cargo";
|
|
gunnerGetOutAction="GetOutLow";
|
|
viewGunnerInExternal=0;
|
|
castGunnerShadow=1;
|
|
stabilizedInAxes=0;
|
|
startEngine=0;
|
|
inGunnerMayFire=1;
|
|
outGunnerMayFire=0;
|
|
hideWeaponsGunner=1;
|
|
gunnerOpticsModel="\braf\braf_armored\BRAF_Optics_Armored\Cascavel\BRAF_optics_gunner_w.p3d";
|
|
gunnerOpticsEffect[]=
|
|
{
|
|
"TankGunnerOptics1",
|
|
"OpticsBlur2",
|
|
"OpticsCHAbera2"
|
|
};
|
|
turretInfoType="BRAF_RscOptics_EE9_gunner";
|
|
lockWhenDriverOut=1;
|
|
discreteDistance[]={100,200,300,400,500,600,700,800,900,1000,1100,1200,1300,1400,1500,1600,1700,1800,1900,2000,2100,2200,2300,2400,2500,2600,2700,2800,2900,3000,3100,3200,3300,3400,3500};
|
|
discreteDistanceInitIndex=2;
|
|
showCrewAim=2;
|
|
gunBeg="GunBeg";
|
|
gunEnd="GunEnd";
|
|
memoryPointGunnerOptics="gunnerview";
|
|
memoryPointGun="Gun_Beg";
|
|
selectionFireAnim="zasleh3";
|
|
isPersonTurret=1;
|
|
personTurretAction="vehicle_turnout_1";
|
|
minOutElev=-10;
|
|
maxOutElev=60;
|
|
initOutElev=0;
|
|
minOutTurn=-45;
|
|
maxOutTurn=90;
|
|
initOutTurn=0;
|
|
class ViewOptics: RCWSOptics
|
|
{
|
|
visionMode[]=
|
|
{
|
|
"Normal"
|
|
};
|
|
};
|
|
class ViewGunner: ViewGunner
|
|
{
|
|
initAngleX=0;
|
|
initAngleY=0;
|
|
initFov=0.89999998;
|
|
minFov=0.25;
|
|
maxFov=1.25;
|
|
minAngleX=-65;
|
|
maxAngleX=85;
|
|
minAngleY=-150;
|
|
maxAngleY=150;
|
|
minMoveX=-0.075000003;
|
|
maxMoveX=0.075000003;
|
|
minMoveY=-0.075000003;
|
|
maxMoveY=0.075000003;
|
|
minMoveZ=-0.075000003;
|
|
maxMoveZ=0.1;
|
|
};
|
|
class OpticsIn: BRAF_Cascavel_Gunner_Optics
|
|
{
|
|
class Wide: Wide
|
|
{
|
|
};
|
|
class Medium: Medium
|
|
{
|
|
};
|
|
};
|
|
class HitPoints
|
|
{
|
|
class HitTurret
|
|
{
|
|
armor=0.80000001;
|
|
material=-1;
|
|
armorComponent="hit_mainTurret";
|
|
name="hp_mainTurret";
|
|
visual="-";
|
|
passThrough=0;
|
|
minimalHit=0.1;
|
|
explosionShielding=0.2;
|
|
radius=0.25;
|
|
isTurret=1;
|
|
};
|
|
class HitGun
|
|
{
|
|
armor=0.60000002;
|
|
material=-1;
|
|
armorComponent="hit_mainGun";
|
|
name="hp_mainGun";
|
|
visual="mainGun";
|
|
passThrough=0;
|
|
minimalHit=0.1;
|
|
explosionShielding=0.40000001;
|
|
radius=0.2;
|
|
isGun=1;
|
|
};
|
|
};
|
|
};
|
|
};
|
|
class AnimationSources: AnimationSources
|
|
{
|
|
class muzzle_rot_cannon
|
|
{
|
|
source="ammorandom";
|
|
weapon="BRAF_90mm";
|
|
};
|
|
class muzzle_hide_cannon
|
|
{
|
|
source="reload";
|
|
weapon="BRAF_90mm";
|
|
};
|
|
class recoil_source
|
|
{
|
|
source="trigger";
|
|
weapon="BRAF_90mm";
|
|
};
|
|
class muzzle_rot_coax
|
|
{
|
|
source="ammorandom";
|
|
weapon="BRAF_MAG_VEH";
|
|
};
|
|
class muzzle_hide_coax
|
|
{
|
|
source="reload";
|
|
weapon="BRAF_MAG_VEH";
|
|
};
|
|
class HideTurret
|
|
{
|
|
source="user";
|
|
initPhase=0;
|
|
animPeriod=0.001;
|
|
};
|
|
class HitEngine_src
|
|
{
|
|
source="Hit";
|
|
hitpoint="HitEngine";
|
|
raw=1;
|
|
};
|
|
class Backpacks_Hide
|
|
{
|
|
source="user";
|
|
animPeriod=0.001;
|
|
initPhase=1;
|
|
mass=-150;
|
|
};
|
|
class CamonetHull_Hide
|
|
{
|
|
source="user";
|
|
animPeriod=0.001;
|
|
initPhase=0;
|
|
mass=-5;
|
|
};
|
|
class CamonetCannon_Hide
|
|
{
|
|
source="user";
|
|
animPeriod=0.001;
|
|
initPhase=0;
|
|
mass=-2;
|
|
};
|
|
//class showCamonetTurret
|
|
//{
|
|
// source="user";
|
|
// animPeriod=0.001;
|
|
// initPhase=0;
|
|
// forceAnimatePhase=1;
|
|
// forceAnimate[]=
|
|
// {
|
|
// "showCamonetCannon",
|
|
// 1
|
|
// };
|
|
// forceAnimate2[]=
|
|
// {
|
|
// "showCamonetCannon",
|
|
// 0
|
|
// };
|
|
// mass=-5;
|
|
//};
|
|
};
|
|
animationList[]=
|
|
{
|
|
"showBackpacks",0,
|
|
"showCamonetHull",1,
|
|
"showCamonetCannon",1
|
|
};
|
|
class UserActions
|
|
{
|
|
class Deploy_CamonetCannon
|
|
{
|
|
displayname="Apply Cannon Camonet";
|
|
position="supply";
|
|
showWindow=1;
|
|
radius=20;
|
|
priority=1;
|
|
onlyForPlayer=0;
|
|
condition="Alive(this) AND this animationphase 'CamonetCannon_Hide' < 0.2 AND (player in crew this)";
|
|
statement="this animate ['CamonetCannon_Hide',1]";
|
|
};
|
|
class Remove_CamonetCannon: Deploy_CamonetCannon
|
|
{
|
|
displayname="Remove Cannon Camonet";
|
|
condition="Alive(this) AND this animationphase 'CamonetCannon_Hide' > 0.8 AND (player in crew this)";
|
|
statement="this animate ['CamonetCannon_Hide',0]";
|
|
};
|
|
class Deploy_CamonetHull: Deploy_CamonetCannon
|
|
{
|
|
displayname="Apply Hull Camonet";
|
|
condition="Alive(this) AND this animationphase 'CamonetHull_Hide' < 0.2 AND (player in crew this)";
|
|
statement="this animate ['CamonetHull_Hide',1]";
|
|
};
|
|
class Remove_CamonetHull: Deploy_CamonetCannon
|
|
{
|
|
displayname="Remove Hull Camonet";
|
|
condition="Alive(this) AND this animationphase 'CamonetHull_Hide' > 0.8 AND (player in crew this)";
|
|
statement="this animate ['CamonetHull_Hide',0]";
|
|
};
|
|
class SirenOn: Deploy_CamonetCannon
|
|
{
|
|
displayName="Siren On";
|
|
condition="driver this == player";
|
|
statement="[this, ['Siren', 100, 1]] remoteExec ['say3D'];";
|
|
};
|
|
};
|
|
hiddenSelections[]=
|
|
{
|
|
"fratricide_counter",
|
|
"NATOSymbol_currentFraction_first",
|
|
"NATOSymbol_currentFraction_second",
|
|
"NATOSymbol_type",
|
|
"NATOSymbol_size",
|
|
"NATOSymbol_superiorFraction_first",
|
|
"NATOSymbol_superiorFraction_second",
|
|
"Camo1",
|
|
"Camo2",
|
|
"Camo3",
|
|
"Camo4",
|
|
"Camonet",
|
|
"Glass"
|
|
};
|
|
hiddenSelectionsTextures[]=
|
|
{
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"braf\braf_armored\BRAF_Cascavel\Data\Camo1_co.paa",
|
|
"braf\braf_armored\BRAF_Cascavel\Data\Camo2_co.paa",
|
|
"braf\braf_armored\BRAF_Cascavel\Data\Camo3_co.paa",
|
|
"braf\braf_armored\BRAF_Cascavel\Data\Camo4_co.paa",
|
|
"braf\braf_armored\BRAF_Cascavel\Data\camonet_co.paa",
|
|
"braf\braf_armored\BRAF_Cascavel\Data\Glass_ca.paa"
|
|
};
|
|
class TextureSources
|
|
{
|
|
class EB_01
|
|
{
|
|
displayName="$STR_braf_ee9_cascavel_cammo_lizard";
|
|
author="BRAF Team";
|
|
textures[]=
|
|
{
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"braf\braf_armored\BRAF_Cascavel\Data\Camo1_co.paa",
|
|
"braf\braf_armored\BRAF_Cascavel\Data\Camo2_co.paa",
|
|
"braf\braf_armored\BRAF_Cascavel\Data\Camo3_co.paa",
|
|
"braf\braf_armored\BRAF_Cascavel\Data\Camo4_co.paa",
|
|
"braf\braf_armored\BRAF_Cascavel\Data\camonet_co.paa",
|
|
"braf\braf_armored\BRAF_Cascavel\Data\Glass_ca.paa"
|
|
};
|
|
factions[]={"BRAF_ARMY"};
|
|
};
|
|
//class EB_02
|
|
//{
|
|
// displayName="$STR_braf_ee9_cascavel_cammo_lizard_old";
|
|
// author="BRAF Team";
|
|
// textures[]=
|
|
// {
|
|
// "",
|
|
// "",
|
|
// "",
|
|
// "",
|
|
// "",
|
|
// "",
|
|
// "",
|
|
// "braf\braf_armored\BRAF_Cascavel\Data\80s1_co.paa",
|
|
// "braf\braf_armored\BRAF_Cascavel\Data\80s2_co.paa",
|
|
// "braf\braf_armored\BRAF_Cascavel\Data\Camo3_co.paa",
|
|
// "braf\braf_armored\BRAF_Cascavel\Data\80s4_co.paa",
|
|
// "braf\braf_armored\BRAF_Cascavel\Data\camonet_co.paa",
|
|
// "braf\braf_armored\BRAF_Cascavel\Data\Glass_ca.paa"
|
|
// };
|
|
// factions[]={"BRAF_ARMY"};
|
|
//};
|
|
};
|
|
class Damage
|
|
{
|
|
tex[]={};
|
|
mat[]=
|
|
{
|
|
"braf\braf_armored\BRAF_Cascavel\Data\camo1.rvmat",
|
|
"braf\braf_armored\BRAF_Cascavel\Data\damage\camo1_damage.rvmat",
|
|
"braf\braf_armored\BRAF_Cascavel\Data\damage\camo_destruct.rvmat",
|
|
"braf\braf_armored\BRAF_Cascavel\Data\camo2.rvmat",
|
|
"braf\braf_armored\BRAF_Cascavel\Data\damage\camo2_damage.rvmat",
|
|
"braf\braf_armored\BRAF_Cascavel\Data\damage\camo_destruct.rvmat",
|
|
"braf\braf_armored\BRAF_Cascavel\Data\camo3.rvmat",
|
|
"braf\braf_armored\BRAF_Cascavel\Data\damage\camo3_damage.rvmat",
|
|
"braf\braf_armored\BRAF_Cascavel\Data\damage\camo_destruct.rvmat",
|
|
"braf\braf_armored\BRAF_Cascavel\Data\camo4.rvmat",
|
|
"braf\braf_armored\BRAF_Cascavel\Data\damage\camo4_damage.rvmat",
|
|
"braf\braf_armored\BRAF_Cascavel\Data\damage\camo_destruct.rvmat",
|
|
"braf\braf_armored\BRAF_Cascavel\Data\camonet.rvmat",
|
|
"braf\braf_armored\BRAF_Cascavel\Data\camonet.rvmat",
|
|
"braf\braf_armored\BRAF_Cascavel\Data\camonet.rvmat",
|
|
"braf\braf_armored\BRAF_Cascavel\Data\glass.rvmat",
|
|
"braf\braf_armored\BRAF_Cascavel\Data\damage\glass_damage.rvmat",
|
|
"braf\braf_armored\BRAF_Cascavel\Data\damage\glass_damage.rvmat"
|
|
};
|
|
};
|
|
getInAction="GetInHigh";
|
|
getOutAction="GetOutHigh";
|
|
transportSoldier=0;
|
|
cargoAction[]={};
|
|
cargoGetInAction[]={};
|
|
cargoGetOutAction[]={};
|
|
class Exhausts
|
|
{
|
|
class Exhaust1
|
|
{
|
|
position="Exhaust1_pos";
|
|
direction="Exhaust1_dir";
|
|
effect="ExhaustEffectTankSide";
|
|
};
|
|
class Exhaust2
|
|
{
|
|
position="Exhaust2_pos";
|
|
direction="Exhaust2_dir";
|
|
effect="ExhaustsEffectAMV";
|
|
};
|
|
};
|
|
class NVGMarkers
|
|
{
|
|
class NVGMarker01
|
|
{
|
|
name="nvg_marker";
|
|
color[]={0.029999999,0.003,0.003,1};
|
|
ambient[]={0.003,0.00030000001,0.00030000001,1};
|
|
brightness=0.001;
|
|
blinking=1;
|
|
};
|
|
};
|
|
explosionEffect="FuelExplosionBig";
|
|
engineStartSpeed=5;
|
|
engineEffectSpeed=5;
|
|
memoryPointsLeftEngineEffect="";
|
|
memoryPointsRightEngineEffect="";
|
|
class Reflectors
|
|
{
|
|
class LightCarHead_L
|
|
{
|
|
color[]={1900,1800,1700};
|
|
ambient[]={5,5,5};
|
|
position="Light_L_pos";
|
|
direction="Light_L_dir";
|
|
hitpoint="Light_L";
|
|
selection="Light_L";
|
|
size=1;
|
|
innerAngle=100;
|
|
outerAngle=179;
|
|
coneFadeCoef=10;
|
|
intensity=1;
|
|
useFlare=true;
|
|
dayLight=false;
|
|
flareSize=1.0;
|
|
class Attenuation
|
|
{
|
|
start=1.0;
|
|
constant=0;
|
|
linear=0;
|
|
quadratic=0.25;
|
|
hardLimitStart=30;
|
|
hardLimitEnd=60;
|
|
};
|
|
};
|
|
class LightCarHead_R: LightCarHead_L
|
|
{
|
|
position="Light_R_pos";
|
|
direction="Light_R_dir";
|
|
hitpoint="Light_R";
|
|
selection="Light_R";
|
|
};
|
|
class LightCarHead_C
|
|
{
|
|
color[]={1900,1800,1700};
|
|
ambient[]={5,5,5};
|
|
position="Light_C_pos";
|
|
direction="Light_C_dir";
|
|
hitpoint="Light_C";
|
|
selection="Light_C";
|
|
size=1;
|
|
innerAngle=10;
|
|
outerAngle=35;
|
|
coneFadeCoef=10;
|
|
intensity=250;
|
|
useFlare=1;
|
|
daylight=1;
|
|
flareSize=4;
|
|
class Attenuation
|
|
{
|
|
start=0;
|
|
constant=0;
|
|
linear=0;
|
|
quadratic=0.05;
|
|
hardLimitStart=300;
|
|
hardLimitEnd=600;
|
|
};
|
|
};
|
|
};
|
|
aggregateReflectors[]=
|
|
{
|
|
|
|
{
|
|
"LightCarHead_L",
|
|
"LightCarHead_R"
|
|
}
|
|
};
|
|
selectionFireAnim="";
|
|
class RenderTargets
|
|
{
|
|
class Driver_PiP_C
|
|
{
|
|
renderTarget="pip_driver_c";
|
|
class CameraView2
|
|
{
|
|
pointPosition="pip_driver_c_pos";
|
|
pointDirection="pip_driver_c_dir";
|
|
renderVisionMode=4;
|
|
renderQuality=2;
|
|
fov=0.3;
|
|
};
|
|
BBoxes[]=
|
|
{
|
|
"PIP_DC_TL",
|
|
"PIP_DC_TR",
|
|
"PIP_DC_BL",
|
|
"PIP_DC_BR"
|
|
};
|
|
};
|
|
class Driver_PiP_L
|
|
{
|
|
renderTarget="pip_driver_l";
|
|
class CameraView2
|
|
{
|
|
pointPosition="pip_driver_l_pos";
|
|
pointDirection="pip_driver_l_dir";
|
|
renderVisionMode=4;
|
|
renderQuality=2;
|
|
fov=0.3;
|
|
};
|
|
BBoxes[]=
|
|
{
|
|
"PIP_DL_TL",
|
|
"PIP_DL_TR",
|
|
"PIP_DL_BL",
|
|
"PIP_DL_BR"
|
|
};
|
|
};
|
|
class Driver_PiP_R
|
|
{
|
|
renderTarget="pip_driver_r";
|
|
class CameraView2
|
|
{
|
|
pointPosition="pip_driver_r_pos";
|
|
pointDirection="pip_driver_r_dir";
|
|
renderVisionMode=4;
|
|
renderQuality=2;
|
|
fov=0.3;
|
|
};
|
|
BBoxes[]=
|
|
{
|
|
"PIP_DR_TL",
|
|
"PIP_DR_TR",
|
|
"PIP_DR_BL",
|
|
"PIP_DR_BR"
|
|
};
|
|
};
|
|
class Gunner_PiP_C
|
|
{
|
|
renderTarget="pip_gunner_c";
|
|
class CameraView2
|
|
{
|
|
pointPosition="pip_gunner_c_pos";
|
|
pointDirection="pip_gunner_c_dir";
|
|
renderVisionMode=4;
|
|
renderQuality=2;
|
|
fov=0.3;
|
|
};
|
|
};
|
|
class Gunner_PiP_L
|
|
{
|
|
renderTarget="pip_gunner_l";
|
|
class CameraView2
|
|
{
|
|
pointPosition="pip_gunner_l_pos";
|
|
pointDirection="pip_gunner_l_dir";
|
|
renderVisionMode=4;
|
|
renderQuality=2;
|
|
fov=0.3;
|
|
};
|
|
};
|
|
class Commander_PiP_C
|
|
{
|
|
renderTarget="pip_cmd_c";
|
|
class CameraView2
|
|
{
|
|
pointPosition="pip_cmd_c_pos";
|
|
pointDirection="pip_cmd_c_dir";
|
|
renderVisionMode=4;
|
|
renderQuality=2;
|
|
fov=0.3;
|
|
};
|
|
};
|
|
class Commander_PiP_L
|
|
{
|
|
renderTarget="pip_cmd_l";
|
|
class CameraView2
|
|
{
|
|
pointPosition="pip_cmd_l_pos";
|
|
pointDirection="pip_cmd_l_dir";
|
|
renderVisionMode=4;
|
|
renderQuality=2;
|
|
fov=0.3;
|
|
};
|
|
};
|
|
class Commander_PiP_R
|
|
{
|
|
renderTarget="pip_cmd_r";
|
|
class CameraView2
|
|
{
|
|
pointPosition="pip_cmd_r_pos";
|
|
pointDirection="pip_cmd_r_dir";
|
|
renderVisionMode=4;
|
|
renderQuality=2;
|
|
fov=0.3;
|
|
};
|
|
};
|
|
};
|
|
class compartmentsLights
|
|
{
|
|
class Comp1
|
|
{
|
|
class Light1
|
|
{
|
|
color[]={50,0,0};
|
|
ambient[]={5,0,0};
|
|
intensity=0.5;
|
|
size=1;
|
|
innerAngle=15;
|
|
outerAngle=150;
|
|
coneFadeCoef=1;
|
|
useFlare=1;
|
|
flareSize=0.1;
|
|
flareMaxDistance=1;
|
|
dayLight=1;
|
|
class Attenuation
|
|
{
|
|
start=0;
|
|
constant=0;
|
|
linear=1;
|
|
quadratic=1;
|
|
hardLimitStart=1;
|
|
hardLimitEnd=2;
|
|
};
|
|
point="Cabin_Light_Driver";
|
|
};
|
|
class Light2: Light1
|
|
{
|
|
point="Cabin_Light_Gunner";
|
|
color[]={50,0,0};
|
|
ambient[]={5,0,0};
|
|
intensity=0.5;
|
|
};
|
|
class Light3: Light1
|
|
{
|
|
point="Cabin_Light_Commander";
|
|
color[]={50,0,0};
|
|
ambient[]={5,0,0};
|
|
intensity=0.5;
|
|
};
|
|
};
|
|
};
|
|
transportMaxBackpacks=3;
|
|
class TransportBackpacks
|
|
{
|
|
class _xx_BRAF_Alice_bag
|
|
{
|
|
backpack="BRAF_Alice_bag";
|
|
count=3;
|
|
};
|
|
};
|
|
class TransportMagazines
|
|
{
|
|
class _xx_BRAF_20Rnd_762x51
|
|
{
|
|
magazine = "BRAF_20Rnd_762x51";
|
|
count = 9;
|
|
};
|
|
class _xx_BRAF_100Rnd_762x51_Mix_red
|
|
{
|
|
magazine = "BRAF_100Rnd_762x51_Mix_red";
|
|
count = 8;
|
|
};
|
|
class _xx_BRAF_30Rnd_556x45
|
|
{
|
|
magazine = "BRAF_30Rnd_556x45";
|
|
count = 9;
|
|
};
|
|
class _xx_HandGrenade
|
|
{
|
|
magazine="HandGrenade";
|
|
count=6;
|
|
};
|
|
class _xx_SmokeShell
|
|
{
|
|
magazine="SmokeShell";
|
|
count=6;
|
|
};
|
|
};
|
|
class TransportItems
|
|
{
|
|
class _xx_FirstAidKit
|
|
{
|
|
name="FirstAidKit";
|
|
count=9;
|
|
};
|
|
class _xx_MediKit
|
|
{
|
|
name = "MediKit";
|
|
count = 1;
|
|
};
|
|
class _xx_Toolkit
|
|
{
|
|
name="Toolkit";
|
|
count=1;
|
|
};
|
|
class _xx_ItemGPS
|
|
{
|
|
name="ItemGPS";
|
|
count=1;
|
|
};
|
|
};
|
|
class TransportWeapons
|
|
{
|
|
class _xx_BRAF_mag
|
|
{
|
|
weapon="BRAF_mag";
|
|
count=1;
|
|
};
|
|
};
|
|
class VehicleTransport
|
|
{
|
|
class Cargo
|
|
{
|
|
parachuteClass="B_Parachute_02_F";
|
|
parachuteHeightLimit=5;
|
|
canBeTransported=1;
|
|
dimensions[]=
|
|
{
|
|
"BBox_1_1_pos",
|
|
"BBox_1_2_pos"
|
|
};
|
|
};
|
|
};
|
|
occludeSoundsWhenIn=1;
|
|
obstructSoundsWhenIn=1;
|
|
attenuationEffectType="TankAttenuation";
|
|
insideSoundCoef=0.9;
|
|
#include "EE9_Sounds.hpp"
|
|
#include "\braf\braf_armored\functions\identification_decals.hpp"
|
|
// AGM Compatibility
|
|
AGM_FCSEnabled=1;
|
|
AGM_fuelCapacity=672;
|
|
// ACE Compatibility
|
|
ace_cargo_hasCargo=0;
|
|
ace_refuel_fuelCapacity=240;
|
|
#include "CascavelIntercom.hpp"
|
|
class EventHandlers: EventHandlers
|
|
{
|
|
init="if (local (_this select 0)) then {[(_this select 0), """", [], false] call bis_fnc_initVehicle;};";
|
|
};
|
|
};
|
|
class BRAF_EE9_Cascavel_EB: BRAF_EE9_Cascavel_Base
|
|
{
|
|
scope=2;
|
|
scopeCurator=2;
|
|
scopeArsenal=2;
|
|
side=2;
|
|
faction="BRAF_Army";
|
|
displayname="$STR_braf_ee9_cascavel";
|
|
editorPreview="\braf\braf_insignia\editorpreview\armored\BRAF_EE9_Cascavel_EB.jpg";
|
|
crew="braf_army_crewman_regular_2000";
|
|
typicalCargo[]=
|
|
{
|
|
"braf_army_crewman_regular_2000",
|
|
"braf_army_crewman_regular_2000"
|
|
};
|
|
textureList[]=
|
|
{
|
|
"EB_01",
|
|
1
|
|
};
|
|
}; |