![]() |
|
[INC] Quake sounds for SA-MP (Audio plugin) - Printable Version +- Las Venturas Playground (https://forum.sa-mp.nl) +-- Forum: Miscellaneous (https://forum.sa-mp.nl/forum-4.html) +--- Forum: Gaming (https://forum.sa-mp.nl/forum-27.html) +--- Thread: [INC] Quake sounds for SA-MP (Audio plugin) (/thread-28011.html) |
[INC] Quake sounds for SA-MP (Audio plugin) - thiaZ - 09-05-2011 Quake sounds for SA-MP
General This include provides the Quake kill-streak sounds you might know from Quake or CS , this is possible using the Audio plugin Incognito made, if you don't want to use the sounds it is also possible to turn them off and only use the textdraw notifications. The killstreaks and the plugin itself is fully customizable, you are able to choose whether notifications should be enabled, who should see their notifications and how many kills are needed to trigger them. Media SA-MP: Quake Pack SA-MP: Quake Pack #2 SA-MP: Quake Pack #3 Precompiler options Code: #define QUAKE_DEBUG // Prints information about some events into the server console.Config keys Code: Enabled (1/0) // Toggles whether this feature should be enabled.New methods Code: CQuake::togglePlayerQuake( nPlayer, bool: bToggle ) // Toggles whether a player should see quake events or not.New callbacks Code: onPlayerHeadshot( killerid, playerid ) // See Quake\Callbacks\onPlayerHeadshotRequirements
VERY EASY TO USE I tested this include with my own gamemode and LVDM, both just worked fine. After setting up all files simply define all precompiler options you want to use and include quake.inc, done! If you want to use any extra features like teamkills you will have to use the methods from above. Instructions 1. Download quake_pack.rar 2. First of all, extract the files into a seperate directory. 3. /audiopacks/ and audio.ini have to be put into the SA-MP server root directory. (http://forum.sa-mp.com/showthread.php?t=82162 | Where your samp-server.exe is located) 4. Copy the scriptfiles/Quake/ folder and put it into the scriptfiles folder, if you want to do any changes on the config do so now. 5. Copy the includes/Quake/ folder into your pawno include directory. 6. Open your gamemode / filterscript, define needed compiler options and #include <Quake\quake> 7. Optional: Do any changes on your mode use the include. 8. Compile, if you defined QUAKE_SOUNDS be sure that you have the audio plugin installed. (http://forum.sa-mp.com/showthread.php?t=82162) 9. Run the server. 10. Tell clients they should install the audio plugin client to hear quake sounds. (http://forum.sa-mp.com/showthread.php?t=82162) Contributors
Thanks to you guys. Have fun. Re: [INC] Quake sounds for SA-MP (Audio plugin) - Matthias - 09-06-2011 Wow, looks really nice, downloading the source .
|