Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include "basicdefines_A3.hpp"
- class DefaultEventhandlers;
- #include "CfgPatches.hpp"
- class WeaponFireGun;
- class WeaponCloudsGun;
- class WeaponFireMGun;
- class WeaponCloudsMGun;
- class CfgVehicles
- {
- class Car;
- class Car_F: Car
- {
- class HitPoints
- {
- class HitLFWheel;
- class HitLF2Wheel;
- class HitRFWheel;
- class HitRF2Wheel;
- class HitBody;
- class HitGlass1;
- class HitGlass2;
- class HitGlass3;
- class HitGlass4;
- };
- class EventHandlers;
- class Animationsources;
- };
- class Maisha_Bus: Car_F
- {
- picture = "\A3\soft_f_gamma\Hatchback_01\Data\UI\portrait_car_CA.paa";
- Icon = "\A3\soft_f_gamma\Hatchback_01\Data\UI\map_car_CA.paa";
- hiddenSelections[] = {"camo1","","Lettre1","Lettre2","Chiffre1","Chiffre2","Chiffre3","Lettre3","Lettre4"};
- hiddenSelectionsTextures[]={};
- model= "\Guillaume_Maisha_bus_ratp\Bus";
- displayName = "Bus De Ville";
- author = "Guillaume9545";
- terrainCoef = 3;
- turnCoef = 2.5;
- precision = 10;
- brakeDistance = 3;
- acceleration = 15;
- fireResistance = 5;
- armor = 50;
- cost = 50000;
- scope = 2;
- scopeCurator=2;
- crew = "C_man_1";
- side = 3;
- faction = CIV_F;
- transportMaxBackpacks = 3;
- transportSoldier = 3;
- wheelDamageRadiusCoef = 0.9;
- wheelDestroyRadiusCoef = 0.4;
- maxFordingDepth = 0.5;
- waterResistance = 1;
- crewCrashProtection = 0.25;
- driverLeftHandAnimName = "drivewheel";
- driverRightHandAnimName = "drivewheel";
- class Turrets{};
- class HitPoints: HitPoints
- {
- class HitLFWheel: HitLFWheel {armor=0.125; passThrough=0;};
- class HitLF2Wheel: HitLF2Wheel {armor=0.125; passThrough=0;};
- class HitRFWheel: HitRFWheel {armor=0.125; passThrough=0;};
- class HitRF2Wheel: HitRF2Wheel {armor=0.125; passThrough=0;};
- class HitFuel {armor=0.50; material=-1; name="fueltank"; visual=""; passThrough=0.2;};
- class HitEngine {armor=0.50; material=-1; name="engine"; visual=""; passThrough=0.2;};
- class HitBody: HitBody {name = "body"; visual="camo1"; passThrough=1;};
- class HitGlass1: HitGlass1 {armor=0.25;};
- class HitGlass2: HitGlass2 {armor=0.25;};
- class HitGlass3: HitGlass3 {armor=0.25;};
- class HitGlass4: HitGlass4 {armor=0.25;};
- };
- driverAction = driver_offroad01;
- cargoAction[] = {passenger_low01, passenger_generic01_leanleft, passenger_generic01_foldhands};
- getInAction = GetInLow;
- getOutAction = GetOutLow;
- cargoGetInAction[] = {"GetInLow"};
- cargoGetOutAction[] = {"GetOutLow"};
- #include "sounds.hpp"
- #include "pip.hpp"
- #include "physx.hpp"
- class PlayerSteeringCoefficients
- {
- turnIncreaseConst = 0.3;
- turnIncreaseLinear = 1.0;
- turnIncreaseTime = 1.0;
- turnDecreaseConst = 5.0;
- turnDecreaseLinear = 3.0;
- turnDecreaseTime = 0.0;
- maxTurnHundred = 0.7;
- };
- memoryPointTrackFLL = "TrackFLL";
- memoryPointTrackFLR = "TrackFLR";
- memoryPointTrackBLL = "TrackBLL";
- memoryPointTrackBLR = "TrackBLR";
- memoryPointTrackFRL = "TrackFRL";
- memoryPointTrackFRR = "TrackFRR";
- memoryPointTrackBRL = "TrackBRL";
- memoryPointTrackBRR = "TrackBRR";
- class Damage
- {
- tex[]={};
- mat[]=
- {
- "A3\data_f\glass_veh_int.rvmat",
- "A3\data_f\Glass_veh_damage.rvmat",
- "A3\data_f\Glass_veh_damage.rvmat",
- "A3\data_f\glass_veh.rvmat",
- "A3\data_f\Glass_veh_damage.rvmat",
- "A3\data_f\Glass_veh_damage.rvmat"
- };
- };
- class AnimationSources : Animationsources
- {
- class Door_1
- {
- source="user";
- animPeriod=1;
- initPhase=0;
- };
- class Door_2
- {
- source="user";
- animPeriod=1;
- initPhase=0;
- };
- class Door_3
- {
- source="user";
- animPeriod=1;
- initPhase=0;
- };
- class Door_4
- {
- source="user";
- animPeriod=1;
- initPhase=0;
- };
- };
- class UserActions {
- class Porte_avant
- {
- displayName = "Ouvrir porte avant";
- position = "porte_avant1_trigger";
- radius = 3;
- condition = "this animationPhase ""Door_1","Door_2"" < 0.5";
- statement = "this animate [""Door_1","Door_2"", 1];";
- onlyForplayer = 0;
- };
- class Porte_avant_0 : porte_avant
- {
- displayName = "Fermer porte avant";
- condition = "this animationPhase ""Door_1","Door_2"" > 0.5";
- statement = "this animate [""Door_1","Door_2"", 0];";
- };
- class Porte_arriere
- {
- displayName = "Ouvrir porte arrière";
- position = "porte_avant3_trigger";
- radius = 3;
- condition = "this animationPhase ""Door_3","Door_4"" < 0.5";
- statement = "this animate [""Door_3","Door_4"", 1];";
- onlyForplayer = 0;
- };
- class Porte_arriere_0 : porte_arriere
- {
- displayName = "Fermer porte arrière";
- condition = "this animationPhase ""Door_3","Door_4"" > 0.5";
- statement = "this animate [""Door_3","Door_4"", 0];";
- };
- };
- class Exhausts
- {
- class Exhaust1
- {
- position = "exhaust";
- direction = "exhaust_dir";
- effect = "ExhaustsEffect";
- };
- class Exhaust2
- {
- position = "exhaust2_pos";
- direction = "exhaust2_dir";
- effect = "ExhaustsEffect";
- };
- };
- class Reflectors
- {
- class LightCarHeadL01
- {
- color[] = {1900, 1800, 1700};
- ambient[] = {5, 5, 5};
- position = "LightCarHeadL01";
- direction = "LightCarHeadL01_end";
- 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 LightCarHeadL02: LightCarHeadL01
- {
- position = "LightCarHeadL02";
- direction = "LightCarHeadL02_end";
- FlareSize = 0.5;
- };
- class LightCarHeadR01: LightCarHeadL01
- {
- position = "LightCarHeadR01";
- direction = "LightCarHeadR01_end";
- hitpoint = "Light_R";
- selection = "Light_R";
- };
- class LightCarHeadR02: LightCarHeadR01
- {
- position = "LightCarHeadR02";
- direction = "LightCarHeadR02_end";
- FlareSize = 0.5;
- };
- };
- aggregateReflectors[] = {{"LightCarHeadL01", "LightCarHeadL02"}, {"LightCarHeadR01", "LightCarHeadR02"}};
- class EventHandlers: EventHandlers{};
- };
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement