in update 1.6.6 and 1.6.7 when I want to get up from crawling, it always force me to the crawling animation again. But when I use version 1.6.5 the crawl is normal
I managed to fix it. It was about the clip setting in custom animation settings.
Crawling and crouching were updated in the newest versions.
Could you submit this as an issue on github?
Is there a way to make it so that when i do an emote with rpemotes it does not cancel an emote from another script? For example i have a script that allows me to sit on chairs but when i am sitting and try to do an emote with rpemotes it cancels the sitting animation. I figured it had something to do with IsInAnimation being false when the animation is played by another script so i tried checking if the player was in an emote with GetScriptTaskStatus and setting IsInAnimation to true in both EmoteCommandStart and OnEmotePlay but that didnāt work.
That sitting script does the same thing as rpemotes, making a player play an animation. Thereās only so many animations you can play on a ped, youād need to see how that script is doing it and change the flags being applied to the ped.
Iāll look into it. We had an old version of rpemotes (or maybe dpemotes, canāt remember) before we updated to reborn and it worked with that version so it should be possible at least
Have you checked if:
CancelPreviousEmote = false, ā If turned on, playing an emote will cancel the previous one.
is set to true?
Yes, it is set to true, it works to combine animations within rpemotes without any issues
I figured it out, it was due to that other script using the sitting scenario rather than an emote.
Commented out this line in OnEmotePlay:
if IsPedUsingAnyScenario(PlayerPedId()) or IsPedActiveInScenario(PlayerPedId()) then
ClearPedTasksImmediately(PlayerPedId())
end
I tired the bandaid solution and freezing the player, but the default aiming animation (at least with sniper rifles) overrides the freeze and makes the player contort really weirdly. So I think you would have to completely replace the shooting animations. Alternative option is that I suck at coding and someone else could get the bandaid solution to work.
Are you forcing the anim every frame? Iām thinking that may need to be done otherwise the default shooting anim would try to override it.
I think whatever the solution is may be performance heavy on use, but if you can even get there it would be an achievement.
No I wasnāt. Making something that runs every frame didnāt even cross my mind. Iām still having issues with that tho, the aiming animation overrides it even if I have the freeze run every frame.
Iāll ask around and see if I can get any directions that might help, but honestly, this is beyond my skill level. I appreciate you looking into it!
Iāve opened up the discussions on the github page, not sure how often it will be used, but maybe a place to post your code snippet so other people working on rpemotes might take a look.
1.6.9 released:
Thank you to corbs for allowing usto use their custom poses: aphroditepose, aphroditepose2, aphroditepose3.
YOU MUST BE ON GAMEBUILD 3258 FOR ALL THESE TO WORK
Emotes added:
annoyed, dancesilly10, dancesilly11, idle19, yoga, selfie8, selfie9, nervous4, layncry7, layncry8, passout6, sitchair8, taichi, passout7, passout8, lean6, type5, tryclothes4, tryclothes5, scared3, crouchreach2, zombiewalk3, zombiewalk4, getup2, zombieswipe, zombieswipe2, zombieswipe3, masktakeoff, punching2, kneelhide, sit10, handsup4, handsup5, cloudgaze3, sitlean3, surrender7, aphroditepose, aphroditepose2, aphroditepose3, idle12, idle13, idle14, idle15, idle16, idle17, idle18, crossarms7, crossarms8, crossarmsside2, impatient2, fallasleep2, inspect2, inspect3, smoke6, crossarms9, beerf4, beerf5, crossarms3, confused, pointpose, sitlean2, sittoilet2, kneel4, kneel5, sittoilet
1.7.0
Changes:
- Bend over renamed from ābent overā and no longer an adult emote
New Moods:
- Joyful 2, Scheme, Mouthbreather 2, Weird 3
New Emotes:
- taichi2, stire, stire2
How can i remove this so it does not show?
Comment out the addmessage events you donāt want, or remove the following function:
Just FYI though these are important for obvious reasons of letting users know their emotes/sharedemotes/etc donāt exist or donāt work.
1.7.1
Fixes:
ā¢ added meditateup exit
ā¢ fix indentation
ā¢ fixes for emotes without NotInVehicle
ā¢ removed confused
emote, smoke2
is the same emote
ā¢ selfie9
set to non-moving emote (looks better, and this also should be reworked on a movement toggle method for all emotes)
Additions:
- brushteeth emote added