class Braf_truck_base: Car_F { author="Braf_Team"; DLC="BRAF"; mapSize=6.0300002; _generalMacro="BRAF_truck_base"; scope=0; scopeCurator=0; side=2; displayName="BRAF_truck_base"; model="braf\braf_soft\Braf_Truck\Braf_Worker\worker_15210.p3d"; faction="BRAF_ARMY"; editorSubcategory="EdSubcat_Cars"; cost=50000; driverLeftHandAnimName="drivewheel"; driverRightHandAnimName=""; driverLeftLegAnimName="pedal_brake"; driverRightLegAnimName="pedal_thrust"; 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"; memoryPointTaskMarker="TaskMarker_1_pos"; selectionBackLights="back_lights"; selectionBrakeLights="brake_lights"; selectionDashboard="dashboard_lights"; selectionClan="clan"; slingLoadCargoMemoryPoints[]= { "SlingLoadCargo1", "SlingLoadCargo2", "SlingLoadCargo3", "SlingLoadCargo4" }; weapons[]= { "TruckHorn3" }; magazines[]={}; damageResistance=0.0024300001; accuracy=0.30000001; steerAheadSimul=0.5; steerAheadPlan=0.38; transportSoldier=16; transportAmmo=0; transportRepair=0; armor=100; hiddenSelections[]= { "Camo_1", "Camo_2", "Camo_3", "Glass" }; class HitPoints: HitPoints { class HitLFWheel: HitLFWheel { radius=0.25; armorComponent="wheel_1_1_hide"; armor=-100; minimalHit=-0.0099999998; explosionShielding=4; passThrough=0; name="HP_wheel_1_1"; }; class HitLMWheel: HitLF2Wheel { radius=0.25; armorComponent="wheel_1_2_hide"; armor=-100; minimalHit=-0.0099999998; explosionShielding=4; passThrough=0; name="HP_wheel_1_2"; }; class HitLBWheel: HitRF2Wheel { radius=0.25; armorComponent="wheel_1_3_hide"; armor=-100; minimalHit=-0.0099999998; explosionShielding=4; passThrough=0; name="HP_wheel_1_3"; }; class HitRFWheel: HitRFWheel { radius=0.25; armorComponent="wheel_2_1_hide"; armor=-100; minimalHit=-0.0099999998; explosionShielding=4; passThrough=0; name="HP_wheel_2_1"; }; class HitRMWheel: HitRF2Wheel { radius=0.25; armorComponent="wheel_2_2_hide"; armor=-100; minimalHit=-0.0099999998; explosionShielding=4; passThrough=0; name="HP_wheel_2_2"; }; class HitRBWheel: HitRF2Wheel { radius=0.25; armorComponent="wheel_2_3_hide"; armor=-100; minimalHit=-0.0099999998; explosionShielding=4; passThrough=0; name="HP_wheel_2_3"; }; class HitFuel: HitFuel { armor=0.25; passThrough=1; minimalHit=0; explosionShielding=1.5; radius=0.25; name="HP_Fuel"; armorComponent="Fuel_FG"; }; class HitEngine: HitEngine { armor=0.25; passThrough=1; minimalHit=0.0099999998; explosionShielding=0.5; radius=0.44999999; name="HP_Engine"; armorComponent="Engine_FG"; }; class HitBody: HitBody { armor=1; explosionShielding=1.5; material=-1; passThrough=1; minimalHit=0; radius=0.33000001; visual="zbytek"; name="HP_Body"; }; class HitGlass1 { radius=0.25; armor=0.25; passThrough=0; material=-1; explosionShielding=3; name="HP_Glass1"; }; }; wheelDamageThreshold=0.1; wheelDamageRadiusCoef=0.69999999; wheelDestroyRadiusCoef=0.5; class Damage { tex[]={}; mat[]= { "braf\braf_soft\Braf_Truck\Braf_Worker\Data\camo1.rvmat", "braf\braf_soft\Braf_Truck\Braf_Worker\Data\damage\camo1_damage.rvmat", "braf\braf_soft\Braf_Truck\Braf_Worker\Data\damage\destruct.rvmat", "braf\braf_soft\Braf_Truck\Braf_Worker\Data\camo2.rvmat", "braf\braf_soft\Braf_Truck\Braf_Worker\Data\damage\camo2_damage.rvmat", "braf\braf_soft\Braf_Truck\Braf_Worker\Data\damage\destruct.rvmat", "braf\braf_soft\Braf_Truck\Braf_Worker\Data\camo3.rvmat", "braf\braf_soft\Braf_Truck\Braf_Worker\Data\damage\camo3_damage.rvmat", "braf\braf_soft\Braf_Truck\Braf_Worker\Data\damage\destruct.rvmat", "braf\braf_soft\Braf_Truck\Braf_Worker\Data\glass.rvmat", "braf\braf_soft\Braf_Truck\Braf_Worker\Data\damage\glass_damage.rvmat", "braf\braf_soft\Braf_Truck\Braf_Worker\Data\damage\glass_damage.rvmat" }; }; class Exhausts { class Exhaust1 { position="exhaust_pos"; direction="exhaust_dir"; effect="ExhaustEffectHTruck"; }; }; initCargoAngleY=185; simulation="CarX"; fuelCapacity=28; brakeIdleSpeed=1; maxSpeed=140; thrustDelay=0.5; turnCoef=3; terrainCoef=2; wheelCircumference=3.7; accelAidForceCoef=2; accelAidForceYOffset=-1; accelAidForceSpd=2.2; enginePower=206; maxOmega=307; minOmega=63; idleRpm=600; redRpm=2930; maxFordingDepth=0.3; peakTorque=1180; torqueCurve[]= { {0.204778,0.754237}, {0.30716699,0.898305}, {0.42662099,1}, {0.460751,1}, {0.54607499,0.957627}, {0.64846402,0.911017}, {0.78498298,0.847458}, {1,0.762712} }; engineMOI=3; dampingRateFullThrottle=0.2; dampingRateZeroThrottleClutchEngaged=4; dampingRateZeroThrottleClutchDisengaged=0.15000001; clutchStrength=25; latency=1; switchTime=0.60000002; differentialType="all_limited"; frontRearSplit=0.40000001; frontBias=1.3; rearBias=1.1; centreBias=1.1; changeGearType="rpmratio"; changeGearOmegaRatios[]={1.00683,0.341297,0.23890799,0.17064799,0.99317402,0.204778,0.95563102,0.341297,0.88737202,0.44368601,0.88737202,0.51194501,1.00683,0.54607499}; class complexGearbox { GearboxRatios[]= { "R1", -7.4000001, "N", 0, "D1", 7.8000002, "D2", 4, "D3", 2.5, "D4", 1.5, "D5", 1 }; TransmissionRatios[]= { "High", 6.5 }; gearBoxMode="auto"; moveOffGear=1; driveString="D"; neutralString="N"; reverseString="R"; }; dampersBumpCoef=4; antiRollbarForceCoef=6; antiRollbarForceLimit=5; antiRollbarSpeedMin=0; antiRollbarSpeedMax=60; 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; maxCompression=0.05; maxDroop=0.1; sprungMass=3425; springStrength=85625; springDamperRate=13700; maxBrakeTorque=30000; maxHandBrakeTorque=0; longitudinalStiffnessPerUnitGravity=10000; latStiffX=25; latStiffY=180; frictionVsSlipGraph[]= { {0,1}, {0.5,1}, {1,1} }; }; class L2: L1 { boneName="wheel_1_2_damper"; center="wheel_1_2_center"; boundary="wheel_1_2_bound"; suspForceAppPointOffset="wheel_1_2_center"; tireForceAppPointOffset="wheel_1_2_center"; steering=0; width=0.7; }; class R1: L1 { side="right"; 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"; center="wheel_2_2_center"; boundary="wheel_2_2_bound"; suspForceAppPointOffset="wheel_2_2_center"; tireForceAppPointOffset="wheel_2_2_center"; steering=0; width=0.7; }; }; class RenderTargets { class mirrors_Left { renderTarget="rendertarget0"; class CameraView1 { pointPosition="PIP0_pos"; pointDirection="PIP0_dir"; renderVisionMode=4; renderQuality=2; fov=0.7; }; }; class mirrors_Right { renderTarget="rendertarget1"; class CameraView1 { pointPosition="PIP1_pos"; pointDirection="PIP1_dir"; renderVisionMode=0; renderQuality=2; fov=0.7; }; }; }; extCameraPosition[]={0,2.4,-12}; camShakeCoef=0.80000001; typicalCargo[]= { }; hasGunner=0; driverAction="driver_Truck_02"; cargoAction[]= { "passenger_apc_narrow_generic01_ns", "passenger_apc_narrow_generic03still_ns", "passenger_apc_narrow_generic03", "passenger_apc_narrow_generic01", "passenger_apc_generic01", "passenger_apc_generic01", "passenger_apc_generic03", "passenger_apc_narrow_generic01", "passenger_generic01_leanleft", "passenger_apc_generic03", "passenger_apc_narrow_generic01", "passenger_apc_generic02", "passenger_apc_generic01", "passenger_generic01_foldhands", "passenger_apc_generic04", "passenger_generic01_leanleft" }; getInAction="GetInMRAP_01"; getOutAction="GetOutLow"; cargoIsCoDriver[]={1,1,0}; cargoGetInAction[]= { "GetInMRAP_01", "GetInMRAP_01", "GetInHemttBack" }; cargoGetOutAction[]= { "GetOutLow", "GetOutLow", "GetOutHighZamak" }; hideWeaponsDriver=1; hideWeaponsCargo=1; driverCompartments="Compartment1"; cargoCompartments[]= { "Compartment1", "Compartment1", "Compartment2" }; showNVGCargo[]={0,1}; soundAttenuationCargo[]={1,0}; class NVGMarkers { class NVGMarker01 { name="nvg_marker"; color[]={0.03,0.003,0.003,1}; ambient[]={0.003,0.0003,0.0003,1}; brightness=0.001; blinking=1; }; }; class Reflectors { class Left { color[]={190,130,95}; ambient[]={5,5,5}; position="Light_L1_pos"; direction="Light_L1_dir"; hitpoint="HP_Light_L1"; selection="Light_L1"; size=1; innerAngle=30; outerAngle=179; coneFadeCoef=10; intensity=100; useFlare=0; dayLight=0; flareSize=1; class Attenuation { start=1; constant=0; linear=0; quadratic=0.050000001; hardLimitStart=50; hardLimitEnd=80; }; }; class Left2: Left { position="Light_L2_pos"; direction="Light_L2_dir"; hitpoint="HP_Light_L2"; selection="Light_L2"; }; class Right: Left { position="Light_R3_pos"; direction="Light_R3_dir"; hitpoint="HP_Light_R3"; selection="Light_R3"; }; class Right2: Left { position="Light_R4_pos"; direction="Light_R4_dir"; hitpoint="HP_Light_R4"; selection="Light_R4"; }; }; aggregateReflectors[]= { { "Left", "Right", "Left2", "Right2" } }; class ViewPilot: ViewPilot { initAngleX=-15; }; class Turrets { }; class Library { libTextDesc="Developed in collaboration with Brazilian Army the 'VW Worker 15.210 4x4' is a medium truck with 4x4, tested to ensure compliance with the requirements of a typical use by the military. The worker can carry up to 5t load on any terrain, although their maximum load capacity is greater.The vehicle is designed to carry both military and for transporting general cargo, container, water and even to allow installation of anti-aircraft weaponry."; }; class EventHandlers: EventHandlers { init="if (local (_this select 0)) then {[(_this select 0), """", [], false] call bis_fnc_initVehicle;};"; }; class AcreRacks { class Rack { displayName = "$STR_braf_soft_texture_vehicle_radio"; // Name displayed in the interaction menu shortName = "Radio"; // Short name displayed on the HUD. Maximum of 5 characters componentName = "ACRE_VRC110"; // Able to mount a PRC152 allowedPositions[] = {"crew"}; // Who can configure the radio and open the radio GUI. Same wildcards as the intercom. It also allows transmitting/receiving disabledPositions[] = {}; // Who cannot access the radio (default: {}) defaultComponents[] = {}; // Use this to attach simple components like Antennas, they will first attempt to fill empty connectors but will overide existing connectors. Not yet fully implemented. (default: {}) mountedRadio = "ACRE_PRC152"; // Predefined mounted radio (default: "", meaning none) isRadioRemovable = 1; // Radio can be removed (default: 0) intercom[] = {}; // Radio not wired to any intercom. All units in intercom can receive/send transmittions (ACE3 interaction menu) but they cannot manipulate the radio (GUI interface) (default: {}) }; }; tf_isolatedAmount = 0; tf_RadioType = "braf_radio_backpack_olive_notvp"; tf_hasLRradio = 1; ace_cargo_hasCargo=1; ace_refuel_fuelCapacity=295; #include "Braf_Worker\Worker_Sounds.hpp" }; #include "Braf_Worker\Braf_Worker.hpp" #include "Braf_Tanker\Braf_Tanker.hpp"