Jump to content
DMC

how to change siren

Recommended Posts

I posted this before but can somebody help me to change the siren(sound) from my fbi suv to:

Mods\Los Angeles Mod v1.8\Audio\Fx\sirens\ALTERNATE SIRENS\Siren05.wav

i have seen the tutorial but i just dont get it?? wich line do i hav e to change??

can somebody help me??

thanks

take care,

DMC

Link to comment
Share on other sites

Find this part in the LASiren.script file (located LAmod/scripts/game/command/)

 			StrCompare(v.GetPrototypeFileName(), PROTO_FBI_SUV) == 0)
{
int random = Math::rand()%2;
if (random == 0)
{
soundID = Audio::PlaySample3D("mod:Audio/FX/Sirens/Siren05.wav", CarPos, true);
} else
{
soundID = Audio::PlaySample3D("mod:Audio/FX/Sirens/Siren06.wav", CarPos, true);
}
}

Change both of these lines

soundID = Audio::PlaySample3D("mod:Audio/FX/Sirens/Siren05.wav", CarPos, true);

to

soundID = Audio::PlaySample3D("mod:Audio/FX/Sirens/ALTERNATE SIRENS/Siren05.wav", CarPos, true);

That should do it :)

P.S this will also change the, LASD_VAN, BOMB_SQUAD, HUMMERH2_LASD, WATERCANNON, RESCUE02, RESCUE01 and SUV_LAPD vehicles. If you dont want to change them, write back here and i can change it for you.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...