Bonjour j'aimerais modifier les klaxon des vehicules ( les personnaliser) mais je ne ses pas comment faire.
class CfgPatches {
class le_nom_de_ton_pbo {
units[] =
{
"classname_de_ton_vehicule"
};
requiredVersion = 0.1;
requiredAddons[] = {"A3_Soft_F"};
};
};
class CfgSounds {
sounds[] = {"classname_de_ton_klaxon"};
class classname_de_ton_klaxon {
sound[] = {"le_chemin_de_ton_klaxon", 0.95, 1}; // filename, volume, pitch
name = "le_nom_du_klaxon_visible";
titles[] = {};
};
};
class cfgWeapons {
class SportCarHorn; // External class reference
class classname_de_ton_klaxon : SportCarHorn {
displayname = "le_nom_du_klaxon_visible";
reloadTime = 0.891...
class CfgPatches {
class le_nom_de_ton_pbo {
units[] =
{
"classname_de_ton_vehicule"
};
requiredVersion = 0.1;
requiredAddons[] = {"A3_Soft_F"};
};
};
class CfgSounds {
sounds[] = {"classname_de_ton_klaxon"};
class classname_de_ton_klaxon {
sound[] = {"le_chemin_de_ton_klaxon", 0.95, 1}; // filename, volume, pitch
name = "le_nom_du_klaxon_visible";
titles[] = {};
};
};
class cfgWeapons {
class SportCarHorn; // External class reference
class classname_de_ton_klaxon : SportCarHorn {
displayname = "le_nom_du_klaxon_visible";
reloadTime = 0.891;
drySound[] = {"le_chemin_de_ton_klaxon", 1, 1}; // filename, volume, pitch
};
};
class CfgVehicles {
class classname_du_vehicule_de_base; //classname du vehicule que tu veux changer ex : C_SUV_01_F
class classname_de_ton_vehicule : classname_du_vehicule_de_base {
weapons[] = {"classname_de_ton_klaxon"};
};
};