Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include "basicdefines_A3.hpp"
- class DefaultEventhandlers;
- class WeaponFireGun;
- class WeaponCloudsGun;
- class WeaponFireMGun;
- class WeaponCloudsMGun;
- class CfgPatches
- {
- class Charlieco89_Skin_AddOn_Cars
- {
- units[]= {"Charlieco89_Skin_AddOn_Cars"};
- weapons[]={};
- requiredVersion=0.1;
- requiredAddons[]={};
- };
- };
- class CfgSounds {
- sounds[] = {"siren_stadt","siren_land"};
- class siren_stadt {
- name = "siren_stadt";
- sound[] = {"Charlieco89_Skins\sirene\stadt\stadt.ogg", 4.48, 1.0, 250};
- titles[] = {};
- };
- class siren_land {
- name = "siren_land";
- sound[] = {"Charlieco89_Skins\sirene\land\land.ogg", 4.47, 1.0, 250};
- titles[] = {};
- };
- };
- class cfgWeapons {
- class SportCarHorn;
- class stadt: SportCarHorn {
- reloadTime=0;
- drySound[]=
- {
- "Charlieco89_Skins\sirene\stadt\stadt.ogg",
- 1,
- 1
- };
- scope=2;
- };
- class land: SportCarHorn {
- reloadTime=0;
- drySound[]=
- {
- "Charlieco89_Skins\sirene\land\land.ogg",
- 1,
- 1
- };
- scope=2;
- };
- };
- class CfgVehicles {
- class Car_F {
- class UserActions;
- };
- class passatb6ch_base_F:Car_F{};
- class passatb6ch_samu : passatb6ch_base_F{};
- class Charlieco89_Skin_AddOn_Cars : passatb6ch_samu
- {
- scope = public;
- crew = "C_man_1";
- side = 3;
- faction = CIV_F;
- displayName = "VW Passat B6 (NEF)";
- author = "Charlieco89";
- editorSubcategory = "chSAMU";
- vehicleClass = "chSAMU";
- weapons[] = {"chkla1","stadt","land","kompressor"};
- hiddenSelectionsTextures[] = {"Charlieco89_Skins\textures\passat_b6_body_BER_FW.paa"};
- class EventHandlers{init = "_this execVM ""Charlieco89_Skins\sirene\stadt\init_stadt.sqf"";""Charlieco89_Skins\sirene\land\init_land.sqf"";";};
- class UserActions:UserActions {
- //Blinker
- class ClignotantsDroitAllumer{
- condition = "(driver this == player) && (alive this) && (this animationPhase ""ClignotantsDroitStart"" == 0) && isEngineOn this";
- displayName = "<t color='#fff000'>Blinker Rechts</t>";
- displayNameDefault = "<t color='#fff000'>Blinker Rechts</t>";
- onlyForPlayer = 1;
- position = "drivewheel";
- priority = 3;
- radius = 20;
- shortcut = "LeanRight";
- showWindow = 0;
- statement = "vehicle player animate [""ClignotantsDroitStart"", 1];";
- };
- class ClignotantsDroitEteindre {
- condition = "(driver this == player) && (alive this) && (this animationPhase ""ClignotantsDroitStart"" != 0)";
- displayName = "<t color='#fff000'>Blinker Rechts (Aus)</t>";
- displayNameDefault = "<t color='#fff000'>Blinker Rechts (Aus)</t>";
- onlyForPlayer = 1;
- position = "drivewheel";
- priority = 3;
- radius = 20;
- shortcut = "LeanRight";
- showWindow = 0;
- statement = "vehicle player animate [""ClignotantsDroitStart"", 0];";
- };
- class ClignotantsGaucheAllumer {
- condition = "(driver this == player) && (alive this) && (this animationPhase ""ClignotantsGaucheStart"" == 0) && isEngineOn this";
- displayName = "<t color='#fff000'>Blinker Links</t>";
- displayNameDefault = "<t color='#fff000'>Blinker Links</t>";
- onlyForPlayer = 1;
- position = "drivewheel";
- priority = 3;
- radius = 20;
- shortcut = "LeanLeft";
- showWindow = 0;
- statement = "vehicle player animate [""ClignotantsGaucheStart"", 1];";
- };
- class ClignotantsGaucheEteindre {
- condition = "(driver this == player) && (alive this) && (this animationPhase ""ClignotantsGaucheStart"" != 0)";
- displayName = "<t color='#fff000'>Ausschalten den linken Blinker (A)</t>";
- displayNameDefault = "<t color='#fff000'>Ausschalten den linken Blinker (A)</t>";
- onlyForPlayer = 1;
- position = "drivewheel";
- priority = 3;
- radius = 20;
- shortcut = "LeanLeft";
- showWindow = 0;
- statement = "vehicle player animate [""ClignotantsGaucheStart"", 0];";
- };
- //Blaulicht
- class gyrophare {
- condition = "(side player != civilian) && player IN this && this animationPhase ""lamp1"" > 0.5";
- displayName = "<t color='#0000ff'>Blaulicht (Ausschalten)</t>";
- onlyForPlayer = 0;
- position = "drivewheel";
- radius = 2;
- shortcut = "buldTerrainLower5m";
- showWindow = 0;
- statement = "this animate [""lamp1"",0];this animate [""btgyr"",0];this animate [""lamp2"",0]";
- };
- class gyropharef {
- condition = "(side player != civilian) && player IN this && this animationPhase ""lamp1"" <= 0.5";
- displayName = "<t color='#0000ff'>Blaulicht</t>";
- onlyForPlayer = 0;
- position = "drivewheel";
- radius = 2;
- shortcut = "buldTerrainLower5m";
- showWindow = 0;
- statement = "this animate [""lamp1"",1];this animate [""btgyr"",1];this animate [""lamp2"",1]";
- };
- //Abblendlicht + Fernlicht + Warnleuchten
- class PP {
- condition = "(side player != civilian) && player IN this && this animationPhase ""PP"" > 0.5";
- displayName = "<t color='#2d9900'>Abblendlicht</t>";
- onlyForPlayer = 0;
- position = "drivewheel";
- radius = 2;
- statement = "this animate [""PP"",0]";
- };
- class PPf {
- condition = "(side player != civilian) && player IN this && this animationPhase ""PP"" <= 0.5";
- displayName = "<t color='#0094ff'>Fernlicht</t>";
- onlyForPlayer = 0;
- position = "drivewheel";
- radius = 2;
- statement = "this animate [""PP"",1]";
- };
- class redir {
- condition = "(side player != civilian) && player IN this && this animationPhase ""redir1"" <= 0.5";
- displayName = "<t color='#ff5500'>Warnleuchten</t>";
- onlyForPlayer = 0;
- position = "drivewheel";
- radius = 2;
- shortcut = "salute";
- showWindow = 0;
- statement = "this animate [""redir1"",1];this animate [""redir2"",1];this animate [""redir3"",1];this animate [""redir4"",1];this animate [""redir5"",1];this animate [""redir6"",1];this animate [""redir7"",1]";
- };
- class rediroff {
- condition = "(side player != civilian) && player IN this && this animationPhase ""redir1"" > 0.5";
- displayName = "<t color='#ff5500'>Warnleuchten (Ausschalten)</t>";
- onlyForPlayer = 0;
- position = "drivewheel";
- radius = 2;
- shortcut = "salute";
- showWindow = 0;
- statement = "this animate [""redir1"",0];this animate [""redir2"",0];this animate [""redir3"",0];this animate [""redir4"",0];this animate [""redir5"",0];this animate [""redir6"",0];this animate [""redir7"",0]";
- };
- //Sirene
- class Siren_off {
- condition = "(side player != civilian) && player IN this && (this getVariable ['chsiren',0]) == 1";
- displayName = "<t color='#ff0000'>Stadt (Ausschalten)</t>";
- onlyForplayer = 0;
- position = "drivewheel";
- radius = 1;
- shortcut = "sitDown";
- showWindow = 0;
- statement = "this setVariable ['chsiren',0,true] && this animate [""btsiren"",0]";
- };
- class Siren_on {
- condition = "(side player != civilian) && player IN this && (this getVariable ['chsiren',0]) == 0";
- displayName = "<t color='#ff0000'>Stadt</t>";
- onlyForplayer = 0;
- position = "drivewheel";
- radius = 1;
- shortcut = "sitDown";
- showWindow = 0;
- statement = "this setVariable ['chsiren',1,true] && this animate [""btsiren"",1]";
- };
- class Sirensinu_off {
- condition = "(side player != civilian) && player IN this && (this getVariable ['chsinusiren',0]) == 1";
- displayName = "<t color='#ff0000'>Land (Ausschalten)</t>";
- onlyForplayer = 0;
- position = "drivewheel";
- radius = 1;
- shortcut = "landGear";
- showWindow = 0;
- statement = "this setVariable ['chsinusiren',0,true]";
- };
- class Sirensinu_on {
- condition = "(side player != civilian) && player IN this && (this getVariable ['chsinusiren',0]) == 0";
- displayName = "<t color='#ff0000'>Land</t>";
- onlyForplayer = 0;
- position = "drivewheel";
- radius = 1;
- shortcut = "landGear";
- showWindow = 0;
- statement = "this setVariable ['chsinusiren',1,true]";
- };
- };
- };
Advertisement
Add Comment
Please, Sign In to add comment