Giter Club home page Giter Club logo

nativeaudio's Introduction

What is this?

This is a collection of examples on how to make "custom native audio". This will allow you to benefit from the audio engine in GTA without the use of NUI. I would highly suggest you take a look at this GitHub repository to see what is possible (a LOT).

And a big thank you to everyone talking about it in the CodeWalker discord and especially everyone I had personal contact with that led me to the small thing that I was missing to make this work

Contributors ✨


Ehbw

Qwade

Simple sound entries as the name implies, are used for simple sounds. However it is broadly used as this is the beginning of every sound entry. Before a .wav sound is ready to be used, it needs to be registered first as a SimpleSound. Luckely for us it only takes one extra step to use these sounds and that is adding the sounds to a SoundSet. This is the perfect alternative for people using simple sound effects from resources like Interact-Sound and xSound.

Using the WeaponAudioItem entry inside of a dat151 file, we can modify the PlayerFire entry. This will be streamed to every client thus everyone hears the same sound. This way we don't have to rely on the client downloading the appropiate files to modify their sounds. Furthermore we can finally adapt the sounds of addon weapons instead of relying on existing WeaponAudioItems.

nativeaudio's People

Contributors

antond15 avatar chatdisabled avatar ehbw avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

nativeaudio's Issues

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.