Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class SDV_01_base_F: Boat_F
- {
- features = "Randomization: No <br />Camo selections: 1 - the whole body <br />Script door sources: None <br />Script animations: Doors, periscope <br />Executed scripts: None <br />Firing from vehicles: No <br />Slingload: Slingloadable <br />Cargo proxy indexes: 1 and 2";
- mapSize = 8.45;
- class SpeechVariants
- {
- class Default
- {
- speechSingular[] = {"veh_ship_submarine_s"};
- speechPlural[] = {"veh_ship_submarine_p"};
- };
- };
- textSingular = "SDV";
- textPlural = "SDVs";
- nameSound = "veh_ship_submarine_s";
- author = "Bohemia Interactive";
- _generalMacro = "SDV_01_base_F";
- displayName = "SDV";
- vehicleClass = "Submarine";
- model = "\A3\boat_f_beta\SDV_01\SDV_01_F.p3d";
- picture = "\A3\boat_f_beta\SDV_01\data\ui\portrait_SDV_ca.paa";
- Icon = "\A3\boat_f_beta\SDV_01\data\ui\map_SDV_ca.paa";
- unitInfoType = "RscOptics_SDV_driver";
- radarType = 8;
- leftEngineEffect = "LEngEffectsSmall";
- rightEngineEffect = "REngEffectsSmall";
- class TransportWeapons
- {
- };
- class TransportMagazines
- {
- };
- class TransportItems
- {
- class _xx_FirstAidKit
- {
- name = "FirstAidKit";
- count = 2;
- };
- };
- memoryPointSupply = "door_back_axis";
- supplyRadius = 10;
- slingLoadCargoMemoryPoints[] = {"SlingLoadCargo1","SlingLoadCargo2","SlingLoadCargo3","SlingLoadCargo4"};
- attenuationEffectType = "TankAttenuation";
- insideSoundCoef = 1;
- soundEngineOnInt[] = {"A3\Sounds_F\vehicles\boat\SDV\sdv-start2-ext",0.1,1};
- soundEngineOnExt[] = {"A3\Sounds_F\vehicles\boat\SDV\sdv-start2-ext",1,1,100};
- soundEngineOffInt[] = {"A3\Sounds_F\vehicles\boat\SDV\sdv-stop2-ext",0.1,1};
- soundEngineOffExt[] = {"A3\Sounds_F\vehicles\boat\SDV\sdv-stop2-ext",1,1,100};
- buildCrash0[] = {"A3\sounds_f\Vehicles\soft\noises\crash_building_01",1.77828,1,200};
- buildCrash1[] = {"A3\sounds_f\Vehicles\soft\noises\crash_building_02",1.77828,1,200};
- buildCrash2[] = {"A3\sounds_f\Vehicles\soft\noises\crash_building_03",1.77828,1,200};
- buildCrash3[] = {"A3\sounds_f\Vehicles\soft\noises\crash_building_04",1.77828,1,200};
- soundBuildingCrash[] = {"buildCrash0",0.25,"buildCrash1",0.25,"buildCrash2",0.25,"buildCrash3",0.25};
- WoodCrash0[] = {"A3\sounds_f\Vehicles\soft\noises\crash_mix_wood_01",1.77828,1,200};
- WoodCrash1[] = {"A3\sounds_f\Vehicles\soft\noises\crash_mix_wood_02",1.77828,1,200};
- WoodCrash2[] = {"A3\sounds_f\Vehicles\soft\noises\crash_mix_wood_03",1.77828,1,200};
- WoodCrash3[] = {"A3\sounds_f\Vehicles\soft\noises\crash_mix_wood_04",1.77828,1,200};
- WoodCrash4[] = {"A3\sounds_f\Vehicles\soft\noises\crash_mix_wood_05",1.77828,1,200};
- WoodCrash5[] = {"A3\sounds_f\Vehicles\soft\noises\crash_mix_wood_06",1.77828,1,200};
- soundWoodCrash[] = {"woodCrash0",0.166,"woodCrash1",0.166,"woodCrash2",0.166,"woodCrash3",0.166,"woodCrash4",0.166,"woodCrash5",0.166};
- ArmorCrash0[] = {"A3\sounds_f\Vehicles\soft\noises\crash_vehicle_01",1.77828,1,200};
- ArmorCrash1[] = {"A3\sounds_f\Vehicles\soft\noises\crash_vehicle_02",1.77828,1,200};
- ArmorCrash2[] = {"A3\sounds_f\Vehicles\soft\noises\crash_vehicle_03",1.77828,1,200};
- ArmorCrash3[] = {"A3\sounds_f\Vehicles\soft\noises\crash_vehicle_04",1.77828,1,200};
- soundArmorCrash[] = {"ArmorCrash0",0.25,"ArmorCrash1",0.25,"ArmorCrash2",0.25,"ArmorCrash3",0.25};
- class Sounds
- {
- class IdleOut
- {
- sound[] = {"A3\Sounds_F\vehicles\boat\SDV\SDV_engine_2",1,2.5,100};
- frequency = "1";
- volume = "engineOn* (thrust factor[1, 0])*0.1";
- };
- class Engine
- {
- sound[] = {"A3\Sounds_F\vehicles\boat\SDV\SDV_engine_2",1,3,300};
- frequency = "0.70 + (thrust *0.30)";
- volume = "engineOn* thrust*0.1";
- };
- class LodnSroub
- {
- sound[] = {"A3\Sounds_F\vehicles\boat\SDV\lopatky1",1,2,200};
- frequency = "0.85 + (thrust *0.15)";
- volume = "engineOn* thrust*0.3";
- };
- class WaternoiseOutW0
- {
- sound[] = {"A3\Sounds_F\vehicles\boat\SFX\voda-o-bok-lodi-0-speed1",1,1,100};
- frequency = "1";
- volume = "(speed factor[3, 0])";
- };
- class WaternoiseOutW1
- {
- sound[] = {"A3\Sounds_F\vehicles\boat\SFX\voda-o-bok-lodi-10-speed",1,1,200};
- frequency = "1";
- volume = "(speed factor[1, 4])";
- };
- };
- class RenderTargets
- {
- class MDF1
- {
- renderTarget = "rendertarget0";
- class PilotCameraView1
- {
- pointPosition = "PIP0_pos";
- pointDirection = "PIP0_dir";
- renderQuality = 0;
- renderVisionMode = 0;
- fov = 0.5;
- };
- };
- class periscope
- {
- renderTarget = "rendertarget1";
- class CameraView1
- {
- pointPosition = "PIP1_pos";
- pointDirection = "PIP1_dir";
- renderQuality = 0;
- renderVisionMode = 0;
- fov = 0.7;
- };
- };
- };
- driverCompartments = "Compartment1";
- cargoCompartments[] = {"Compartment2"};
- driverAction = "driver_SDV";
- cargoAction[] = {"passenger_SDV","passenger_SDV"};
- ejectDeadDriver = 0;
- ejectDeadCargo = 0;
- memoryPointsGetInCargo = "pos cargo";
- memoryPointsGetInCargoDir = "pos cargo dir";
- driverLeftHandAnimName = "drivingwheel";
- driverRightHandAnimName = "drivingwheel";
- getInAction = "GetInLow";
- getOutAction = "GetOutLow";
- cargoGetInAction[] = {"GetInLow"};
- cargoGetOutAction[] = {"GetOutLow"};
- commanderCanSee = 31;
- driverOpticsModel = "\A3\weapons_f_beta\reticle\reticle_SDV_driver";
- memoryPointDriverOptics = "PIP0_dir";
- driverForceOptics = 0;
- enableGPS = 1;
- transportSoldier = 2;
- typicalCargo[] = {"B_diver_F","B_diver_F"};
- cost = 10000;
- threat[] = {0.1,0.1,0.1};
- armor = 30;
- showNVGCargo[] = {0};
- showNVGDriver = 0;
- showNVGGunner = 0;
- class ViewOptics: ViewOptics
- {
- visionMode[] = {"Normal","NVG"};
- };
- precision = 5;
- verticalTurnCoef = 0.05;
- turnCoef = 0.5;
- steerAheadSimul = 0.5;
- steerAheadPlan = 0.35;
- predictTurnPlan = 0.8;
- predictTurnSimul = 0.6;
- brakeDistance = 25;
- acceleration = 15;
- maxSpeed = 30;
- waterSpeedFactor = 1;
- periscopeDepth = 1.2;
- idleRpm = 200;
- redRpm = 1200;
- thrustDelay = 2;
- formationX = 15;
- formationZ = 15;
- simulation = "submarinex";
- overSpeedBrakeCoef = 0.8;
- enginePower = 45;
- engineShiftY = 0.4;
- waterLeakiness = 0;
- waterResistanceCoef = 0.015;
- waterLinearDampingCoefX = 2;
- waterLinearDampingCoefY = 0.8;
- waterAngularDampingCoef = 1;
- rudderForceCoef = 0.2;
- rudderForceCoefAtMaxSpeed = 0.05;
- class Exhausts
- {
- class Exhaust1
- {
- position = "exhaust";
- direction = "exhaust_dir";
- effect = "ExhaustsEffectBig";
- };
- };
- waterEffectSpeed = 25;
- engineEffectSpeed = 5;
- leftDustEffect = "DustEffectBottom";
- class AnimationSources: AnimationSources
- {
- class Doors
- {
- source = "user";
- animPeriod = 0;
- initPhase = 1;
- };
- class periscope
- {
- source = "user";
- animPeriod = 0;
- initPhase = 0;
- };
- };
- class UserActions
- {
- class CloseDriverdoor
- {
- displayName = "Close hatch";
- displayNameDefault = "Close hatch";
- position = "drivingwheel_axis";
- radius = 4;
- onlyForplayer = 0;
- condition = "this animationPhase ""door_1_1"" > 0.5 AND Alive(this) AND player in (crew this)";
- statement = "this animate [""door_1_1"",0];this animate [""door_1_2"",0];this animate [""door_2_1"",0];this animate [""door_2_2"",0];";
- };
- class OpenDriverdoor: CloseDriverdoor
- {
- displayName = "Open hatch";
- displayNameDefault = "Open hatch";
- condition = "this animationPhase ""door_1_1"" < 0.5 AND Alive(this) AND player in (crew this)";
- statement = "this animate [""door_1_1"",1];this animate [""door_1_2"",1];this animate [""door_2_1"",1];this animate [""door_2_2"",1];";
- };
- class periscope_up
- {
- displayName = "Periscope up";
- displayNameDefault = "Periscope up";
- position = "drivingwheel_axis";
- radius = 4;
- onlyForplayer = 0;
- condition = "this animationPhase ""periscope"" > 0.5 AND Alive(this) AND gunner this == player";
- statement = "this animate [""periscope"",0];this animate [""Antenna"",0];this animate [""HideScope"",0]; this animate [""display_on_R"",0];";
- };
- class periscope_down: periscope_up
- {
- displayName = "Periscope down";
- displayNameDefault = "Periscope down";
- condition = "this animationPhase ""periscope"" < 0.5 AND Alive(this) AND gunner this == player";
- statement = "this animate [""periscope"",3];this animate [""Antenna"",3];this animate [""HideScope"",3]; this animate [""display_on_R"",1];";
- };
- };
- class Turrets: Turrets
- {
- class CommanderTurret: NewTurret
- {
- gunnerCompartments = "Compartment1";
- gunnerName = "Gunner";
- proxyType = "CPCommander";
- commanding = -1;
- ejectDeadGunner = 0;
- body = "ObsTurret";
- gun = "ObsGun";
- animationSourceBody = "ObsTurret";
- animationSourceGun = "ObsGun";
- gunBeg = "PIP1_dir";
- gunEnd = "PIP1_pos";
- memoryPointGunnerOptics = "PIP1_dir";
- weapons[] = {"Laserdesignator_mounted"};
- magazines[] = {"Laserbatteries"};
- soundServo[] = {"A3\sounds_f\dummysound",0.01,1,10};
- gunnerAction = "commander_SDV";
- gunnergetInAction = "GetInLow";
- gunnergetOutAction = "GetOutLow";
- memoryPointsGetInGunner = "pos commander";
- memoryPointsGetInGunnerDir = "pos commander dir";
- usePip = 1;
- Laser = 1;
- stabilizedInAxes = 4;
- gunnerOpticsModel = "\A3\weapons_f_beta\reticle\reticle_SDV";
- turretInfoType = "RscOptics_SDV_periscope";
- gunnerForceOptics = 0;
- LODTurnedIn = 1100;
- LODTurnedOut = 1100;
- outGunnerMayFire = 1;
- startEngine = 0;
- class ViewOptics: ViewOptics
- {
- initAngleX = 0;
- minAngleX = 0;
- maxAngleX = 0;
- initAngleY = 0;
- minAngleY = -180;
- maxAngleY = 180;
- initFov = 0.14;
- minFov = 0.0175;
- maxFov = 0.14;
- visionMode[] = {"Normal","NVG","Ti"};
- thermalMode[] = {2,3,4};
- };
- class ViewGunner: ViewOptics
- {
- initAngleX = -15;
- minAngleX = -45;
- maxAngleX = 45;
- initAngleY = 0;
- minAngleY = -150;
- maxAngleY = 150;
- initFov = 0.9;
- minFov = 0.42;
- maxFov = 0.9;
- visionMode[] = {};
- };
- };
- };
- class Library
- {
- libTextDesc = "The SDV is a manned submersible vehicle used to transport teams of divers over long distances under water. Its construction is based on the SEALs Delivery Vehicle from the early 21st century, but the engine and maneuverability have been increased rapidly. Divers drive the SDV while exposed to the water and breathing from the vehicle's compressed air supply or using their own SCUBA gear. The SDV can take up to four passengers, but can be operated by just one person. It also contains a small compartment to store additional equipment.";
- };
- extCameraPosition[] = {0,2,-16};
- class HitPoints
- {
- class HitEngine
- {
- armor = 0.5;
- material = 10;
- name = "engine";
- visual = "";
- passThrough = 0.2;
- };
- class HitBody
- {
- armor = 10;
- material = -1;
- name = "karoserie";
- visual = "zbytek";
- passThrough = 1;
- };
- };
- class Damage
- {
- tex[] = {};
- mat[] = {"A3\boat_f_beta\SDV_01\data\SDV_ext.rvmat","A3\boat_f_beta\SDV_01\data\SDV_ext_damage.rvmat","A3\boat_f_beta\SDV_01\data\SDV_ext_destruct.rvmat","A3\boat_f_beta\SDV_01\data\SDV_int.rvmat","A3\boat_f_beta\SDV_01\data\SDV_int_damage.rvmat","A3\boat_f_beta\SDV_01\data\SDV_int_destruct.rvmat"};
- };
- class Reflectors
- {
- class Left
- {
- color[] = {0.8,0.9,1};
- ambient[] = {1,1,1};
- position = "L svetlo";
- direction = "konec L svetla";
- hitpoint = "L svetlo";
- selection = "L svetlo";
- size = 1;
- innerAngle = 30;
- outerAngle = 160;
- coneFadeCoef = 8;
- intensity = 500;
- useFlare = 0;
- dayLight = 0;
- flareSize = 0.9;
- flareMaxDistance = 85;
- class Attenuation
- {
- start = 1;
- constant = 0;
- linear = 1;
- quadratic = 0.5;
- hardLimitStart = 45;
- hardLimitEnd = 50;
- };
- };
- class Right: Left
- {
- position = "P svetlo";
- direction = "konec P svetla";
- hitpoint = "P svetlo";
- selection = "P svetlo";
- };
- class Right2: Right
- {
- position = "P svetlo flare";
- useFlare = 1;
- };
- class Left2: Left
- {
- position = "L svetlo flare";
- useFlare = 1;
- };
- class interior_light: Right
- {
- color[] = {0.12,0.08,0.04};
- ambient[] = {0,0,0};
- position = "interior_light";
- direction = "interior_light";
- hitpoint = "P svetlo";
- selection = "P svetlo";
- size = 1;
- innerAngle = 180;
- outerAngle = 360;
- coneFadeCoef = 8;
- intensity = 0.3;
- useFlare = 0;
- dayLight = 1;
- class Attenuation
- {
- start = 0.7;
- constant = 0;
- linear = 0;
- quadratic = 200;
- hardLimitStart = 5;
- hardLimitEnd = 10;
- };
- };
- };
- aggregateReflectors[] = {{"Left","Right","Left2","Right2"},{"interior_light"}};
- hiddenSelections[] = {"Camo1"};
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement