Rpemotes-reborn
  • 👋Welcome to rpemotes-reborn!
  • Overview
    • âœĻOur Features
  • Fundamentals
    • 🛠ïļGetting set up
      • ðŸŽŪEnforcing Gamebuilds
        • ⚙ïļOnesync Infinity
      • âŒĻïļKeybinds/Commands
      • ðŸĪŠRagdoll
      • 👆Finger Pointing
      • 🙌Hands Up
      • 🔉Crouching
      • 🔈Crawling
      • 😒Moods / Walk styles
      • 📷No Idle Cam
      • 🔭Binoculars
      • 🗞ïļNews Camera
      • ⭐Favorite Emote
      • 🔞Adult Emotes
      • 🐕Animal Emotes
  • For Developers
    • ‾ïļImportant note
      • ⏭ïļExit Emotes
      • ⮇ïļProp Extractor
      • ðŸ•đïļCustom Emotes & Props
      • 🧑‍ðŸĪâ€ðŸ§‘Shared Emotes
      • ðŸĶīPed Bones
      • âœĻParticle Effects
      • ðŸ–ĨïļExports
    • âĪïļCredits
    • 📜Licensing
Powered by GitBook
On this page
  1. For Developers
  2. Important note

Particle Effects

PreviousPed BonesNextExports

Last updated 8 months ago

Onesync Infinity is required for the particle effects to work as intended.

This can be done via txadmin or your localhost .bat file.**

For localhost servers, comment out onesync from your server.cfg and add the following to your .bat file:

+set onesync on +set onesync_enableInfinity 1 +set onesync_enableBeyond 1 +set onesync_population true

Particle effects can be found using the . You will need to add the particle assest, name, and placement. Placement is done via XYZ, Pitch, Roll, Yaw, and scale.

Onesync Infinity is required for them to work across all clients.

Big thanks to DurtyFree for his amazing work.

By default, the main prop will share it's coordinates with the particle effect, so just put 0.0 for the particle effects and you will be good to go.

If no prop is used in the animation or you require the particle effect to be in a different location, use PtfxNoProp = true, and 0.0 will 9/10 times be the human peds' stomach; you can then offset your coordinates based on that with the first 3 entries being XYZ, and the last 3 being rotation XYZ.

Alternatively, you can use the PtfxBone = AnimationOption to attach the PTFX to the ped's bone, simiarly to how you attach props.

Using Menyoo (or any prop spawning script), spawn down a tennis ball and attach it to human, by default menyoo will attach it to the SKEL_ROOT bone (stomach), so from that, what we can do is is either offset the coordinates, say, up to the human ped's mouth, or change the bone all together. Once we've got it correct, we can transfer those coordinates over to rpemotes-reborn, and tah dah, we have our Ptfx Placement.


‾ïļ
âœĻ
DurtyFree GTA V Dump