Created
December 14, 2021 17:33
-
-
Save Fusselwurm/2d53d3d439dd09be1d0215896da99a0e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// für alle lösungen: vanilla stummschalten | |
class CfgWeapons { | |
class Default; | |
class CarHorn: Default { | |
drySound[] = {"",1,1}; | |
}; | |
}; | |
// für say3d | |
class CfgSounds { | |
class XXX_CarHorn { | |
name = "Car Horn"; | |
// filename, volume, pitch, distance (optional) | |
sound[] = { "a3\sounds_f\weapons\horns\MRAP_02_horn_2.wss", 1, 1, 200 }; | |
// subtitle delay in seconds, subtitle text | |
titles[] = { 1, "*honk honk*" }; | |
}; | |
}; | |
// für createSoundSource | |
class CfgVehicles { | |
class XXX_CarHorn { | |
sound = "XXX_CarHorn"; | |
side = 4; // NEUTRAL | |
scope = 1; // protected | |
}; | |
}; | |
class CfgSFX { | |
class XXX_CarHorn | |
{ | |
// sound0[] = { "a3\sounds_f\weapons\horns\MRAP_02_horn_2.wss", db-10, 1.0, 200, 1, 0, 0, 0}; // path to addon sound | |
// {soundPath, soundVolume, soundPitch, maxDistance, probability, minDelay, midDelay, maxDelay} | |
sound0[] = { "a3\sounds_f\weapons\horns\MRAP_02_horn_2.wss", db-0, 1.0, 200, 1, 0, 0, 0}; // path to addon sound | |
sounds[] = {sound0}; | |
empty[] = {"", 0, 0, 0, 0, 0, 0, 0}; | |
}; | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment