You are not logged in.

  • Login

Dear visitor, welcome to Communauté - Forum Nitrado.net France - Serveurs de Jeux Prépayés. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

perle33440

Ex Responsable Support

  • "perle33440" started this thread

Posts: 413

Location: bordeaux

Occupation: amp

Thanks: 21

  • Send private message

1

Tuesday, August 19th 2014, 11:18pm

Mettre une sirène pour le Samu

Hello tout le monde,

Voici comment mettre une sirène pour le Samu

Dans /arma3/MPMissions/Altis_Life.Altis/description.ext
Vous devez rajouter :

Quoted

class SirenLong2
{
name = "Siren_Med";
sound[] = {"\sounds\Siren_Med.ogg", 1.0, 1};
titles[] = {};
};


Ajoutez votre son .ogg dans votre dossier Sounds (Siren_Med.ogg)


Dans core => medical => fn_MedicSiren

Trouvez la ligne :

Quoted

_vehicle say3D


Et ajoutez le nom de votre son (Exemple : _vehicle say3D "Siren_Med"; )


Dans Core => Functions => fn_keyHandler.sqf

Quoted

//F Key
case 33:
{
if(playerSide in [west,independent] && vehicle player != player && !life_siren_active && ((driver vehicle player) == player)) then
{
[] spawn
{
life_siren_active = true;
sleep 4.7;
life_siren_active = false;
};
_veh = vehicle player;
if(isNil {_veh getVariable "siren"}) then {_veh setVariable["siren",false,true];};
if((_veh getVariable "siren")) then
{
titleText ["Sirens Off","PLAIN"];
_veh setVariable["siren",false,true];
}
else
{
titleText ["Sirens On","PLAIN"];
_veh setVariable["siren",true,true];
if(playerSide == west && independent) then {
[[_veh],"life_fnc_copSiren",nil,true] spawn life_fnc_MP;
[[_veh],"life_fnc_medicSiren",nil,true] spawn life_fnc_MP;
} else {
//I do not have a custom sound for this and I really don't want to go digging for one, when you have a sound uncomment this and change medicSiren.sqf in the medical folder.
//[[_veh],"life_fnc_medicSiren",nil,true] spawn life_fnc_MP;
};
};
};
};


Vous devez ajouter "independent" dans if playerSide.

Quoted

if(playerSide == west && independent)


Puis:

Quoted

[[_veh],"life_fnc_medicSiren",nil,true] spawn life_fnc_MP;


En dessous de

Quoted

[[_veh],"life_fnc_copSiren",nil,true] spawn life_fnc_MP;



;)
Les femmes qui cherchent à être l'égale de l'homme manquent d'ambition!

Twitter: Perle Nitrado Fr

perle33440

Ex Responsable Support

  • "perle33440" started this thread

Posts: 413

Location: bordeaux

Occupation: amp

Thanks: 21

  • Send private message

2

Tuesday, August 19th 2014, 11:48pm

Lien de téléchargement de la sirène

lien
Les femmes qui cherchent à être l'égale de l'homme manquent d'ambition!

Twitter: Perle Nitrado Fr

Ricoli06

Beginner

Posts: 1

  • Send private message

3

Sunday, October 19th 2014, 11:55am

siren medic

Bonjour, ne marche pas en 3.1.4.8, une solution svp ?

kyomarek

Beginner

Posts: 1

  • Send private message

4

Thursday, January 29th 2015, 1:08pm

Une mise à jour de ce tuto ? Depuis la mise à jour les sirènes ne fonctionne plus. Une nouvelle ligne de code ?

perle33440

Ex Responsable Support

  • "perle33440" started this thread

Posts: 413

Location: bordeaux

Occupation: amp

Thanks: 21

  • Send private message

5

Sunday, February 1st 2015, 1:37pm

Hello,

Je checkerais cela :)
Les femmes qui cherchent à être l'égale de l'homme manquent d'ambition!

Twitter: Perle Nitrado Fr

wbb.socialBookmark.thread

Rate this thread