Giter Site home page Giter Site logo

s0l0leveling / dpemotes Goto Github PK

View Code? Open in Web Editor NEW

This project forked from kibook/dpemotes

0.0 0.0 0.0 27.55 MB

Emotes / Animations for fiveM with human, animal and prop support.

Home Page: https://forum.fivem.net/t/dpemotes-356-emotes-usable-while-walking-props-and-more/843105

Lua 100.00%

dpemotes's Introduction

DpEmotes ๐Ÿ‹๏ธ

Emotes / Animations for FiveM with human, animal and prop support ๐Ÿฉ

Available in:

  • Brazilian Portuguese ๐Ÿ‡ง๐Ÿ‡ท

  • Czech ๐Ÿ‡จ๐Ÿ‡ฟ

  • Danish ๐Ÿ‡ฉ๐Ÿ‡ฐ

  • Dutch ๐Ÿ‡ณ๐Ÿ‡ฑ

  • English ๐Ÿ‡ฌ๐Ÿ‡ง

  • Finnish ๐Ÿ‡ซ๐Ÿ‡ฎ

  • French ๐Ÿ‡ซ๐Ÿ‡ท

  • German ๐Ÿ‡ฉ๐Ÿ‡ช

  • Italian ๐Ÿ‡ฎ๐Ÿ‡น

  • Polish ๐Ÿ‡ต๐Ÿ‡ฑ

  • Spanish ๐Ÿ‡ช๐Ÿ‡ธ

  • Swedish ๐Ÿ‡ธ๐Ÿ‡ช

All languages were either translated using Google Translate or contributed by you, the community.

If you happen to find any incorrect translations or would like to add more languages, please feel free to provide an "issue" with the correct / additional translations.

Languages can be selected and/or added in config.lua.


Ragdoll ๐Ÿฅด

  • To enable ragdoll, change RagdollEnabled = false, to true in config.lua.

  • To change which key is responsible for ragdoll, RagdollKeybind = 303 is currently set to U by default., -- Get the button number here


Menu Keybind ๐ŸŽ›๏ธ

Important Note:

The keybind uses RegisterKeyMapping. By default, the server owner configured keybind in the initial config.lua will be the default key, however once the keybind is set for a user, it'll stay with this new value. Editing the config keybind will change it for new players only.

  • Menu key:* F5

F3 and F4 clash with Menyoo and controllers ๐ŸŽฎ

Server owners can change this in the config.lua;

MenuKeybind = 'F5', -- Get the button string here https://docs.fivem.net/docs/game-references/input-mapper-parameter-ids/keyboard/

Alternatively, the player base can set their own menu keybind to open DpEmotes

Esc > settings > keybinds > fivem > dpemotes

Keybinds and SQL ๐ŸŽ›๏ธ

The original dpemotes uses mysql-async which was then changed to ghmattimysql. Unfortunately, they are no longer maintained.

To use the SQL features, install the oxmysql resource. If you do not want to use the SQL features, comment out the oxmysql region in fxmanifest.lua.


Screenshots ๐Ÿ“ธ


Installation Instructions โš™๏ธ:


Shared emotes ๐Ÿ‘ฉ๐Ÿปโ€โค๏ธโ€๐Ÿ’‹โ€๐Ÿ‘จ๐Ÿผ

Emotes will work with either SyncOffset or Attachto.

  • If it is with SyncOffsetFront or SyncOffsetSide, then the offset used is the one of the emote the player started.
    For example, if player one starts the emote handshake which has SyncOffsetFront, then player one will have the SyncOffsetFront but not the other player.

  • If it is with Attachto, then it'll either be player one's data used for attaching, or the player two's data.
    For example, if player one start the emote carry, then the other player will be attached but not the player one because Attachto is set in carry2 and not carry.

  • If player one starts the emote carry2, then player one will be attached and not the other player. it's the player who start the animation who will in most cases be moved

Special case, if both emote have the Attachto then only the player who started the emote will be attached.

You can find a list of ped bones to attach the other player here: Ped Bones

Using the website provided above, enter the bone ID, ie 1356 and not 111, which is the Bone Index.


Add-Ons ๐Ÿ› ๏ธ

  • Fixed an issue with the clipboard and adds textures to paper (/e clipboard)

  • Changes umbrella texture to black (/e umbrella)

Optional Add-Ons ๐Ÿ› ๏ธ

Grab it here:

Add-Ons For DpEmotes


Additional Instructions โš™๏ธ


Police Badge ๐Ÿ‘ฎ


FAQs ๐Ÿ—จ๏ธ

Q: Why do some emotes not work with females?

A: Blame Rockstar Games. I've done my best to replicate animations to work with females, however some male scenarios have sound effects and particles, of which I am unfamiliar with and syncing particles is out of my expertise.


Q: Why do some emotes not work at all?

A: Check the Installation Instructions above as you need to be on the highest FiveM gamebuild.


Q: Why do I see particle effects but other players don't?

A: Dullpear and I can't figure out how to sync particles. If you know how, feel free to inform me.


Q: I bought this script off someone and notice it had a lot of the same animations. Can you help me?

A: You got scammed and that's your fault. Dpemotes is and always will be FREE.


Q: Can I add my own emotes to this?

A: Of course, see my in depth tutorial for using Menyoo and converting them to work with dpemotes.

You may sell custom made animations, however the menu must remain free.


Q: I bought a pack of custom animations, how can I add them to your fork of dpemotes?

A: Usually the person who created them will provide code snippets for adding animations to dpemotes. If for whatever reason they haven't, you should contact them.

We have however added code to hopefully make it a lot easier to add shared emotes.


Q: How do I reset the SQL keybinds?

A: No idea, but apparently only the server owner can ๐Ÿคท๐Ÿปโ€โ™‚๏ธ Google exist; Maybe contact the creator.


Q: How do Shared Emotes work?

A: Please see the Shared Emotes section of this ReadMe for more information.


Credits ๐Ÿค

This script is where it is today because of the amazing contributions made by the following people:

  • Thank you to Tigerle for providing the additional code required to make Shared Emotes work

  • Thank you to SMGMissy for assisting with custom pride flags and how to stream them

  • Thank you to MissSnowie for the custom poses and emotes

  • A huge thank you to Kibook for the addition of the Animal Emotes sub menu

  • Thank you to AvaN0x for reformatting and assisting with code and additional features

  • Thank you to you, the community for being patient, showing love and appreciation, and for providing translations.

You pay a big role in keeping this script alive and we could not do it without you ๐Ÿ™

dpemotes's People

Contributors

taymckenzienz avatar andristum avatar avan0x avatar kibook avatar transitnode avatar woofertv avatar andyyy7666 avatar dogsgobark avatar masiball avatar yagizher avatar lush0n3 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.