Coder Social home page Coder Social logo

server-sided-sounds-and-sirens's Introduction

Server Sided Sounds and Sirens

We wanted custom sirens, many custom sirens.

How many? 214. Why? Nobody knows.

But after we finally managed it to do it. Here you go.

Pros

214 Sirens

It's free

Cons

You have to use our names (in the files), due to the fact that we were to lazy to change the name for the release.

Usage

Just use and change the audio files (wav.) in the .AWC files in the dlc_serversideaudio Folder using OpenIV or other AWC editing tools. The awc files shouldn't be larger than 16MB. Which we honestly never tested ... So you might experience some fivem restrictions we aren't aware of. (But at least 4MB are totally okay, well tested by us.)

Here is a Table with the Soundbank Soundsets and Audiostrings used in this resource: https://github.com/fk-1997/Server-Sided-Sounds-and-Sirens/blob/main/IDTABLE.md#table-with-soundbank-soundset-and-audiostring

Luxart Vehicle Control

There is a great wiki over on their github: https://docs.luxartengineering.com/v3/resource-installation/server-sided-siren-integration

ELS-Plus

These are the current ELS-Plus settings:

SoundBank="dlc_serversideaudio/oiss_ssa_vehaud_bcso_new" or other Soundbanks

SoundSet="oiss_ssa_vehaud_bcso_new_soundset" or other SoundSets

AudioString="oiss_ssa_vehaud_bcso_new_horn" or other AudioStrings

FiveM Scripts

Use this native

https://docs.fivem.net/natives/?_0x2F844A8B08D76685

p0 = "DLC_SERVERSIDEAUDIO\\OISS_SSA_VEHAUD_BCSO_NEW" or other Soundbanks

p1 = false

And call the sounds using this native:

https://docs.fivem.net/natives/?_0xE65F427EB70AB1ED

soundId = -1

audioName = "OISS_SSA_VEHAUD_BCSO_NEW_HORN"

entity = your entity || Most likely GetVehiclePedIsUsing(PlayerPedId())

audioRef "DLC_SERVERSIDEAUDIO\\OISS_SSA_VEHAUD_BCSO_NEW"

isNetwork = 0

p5 = 0

Testing

To test server sided sirens without configuring another resouce check out: https://github.com/TrevorBarns/Server-Side-Audio-Tester

Thanks ❤️

Thanks to our server staff, mk7a and the guys on the CodeWalker Discord for the work, support and overall kindness!

server-sided-sounds-and-sirens's People

Contributors

fk-1997 avatar jan-moo avatar trevorbarns avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.