[Release] BadgerAnims

Version 1.0
This is basically just a script I threw together for my server with a bunch of useful walking styles, animations, and features.

One of the features is if a player is at 50% or less health that they then are set to the walking style limping automatically and will continue to walk like that until they are not under 50% health.

Note
For the lockpicking feature to work, you must have this script installed properly as well —> [Dev-Resource] Mythic Progress Bar

All of the features in this script can be toggled on/off via the config section within the client.lua file.

Config

--- Config ---

-- Locks for vehicles
enableLockpick = true
enableLock = true
enableUnlock = true
lockpickingCarStr = "Breaking into car"
lockpickingCopCarStr = "Breaking into cop car"
lockpickingCarTime = 10 -- Seconds
lockpickingCopCarTime = 40 -- Seconds
copCars = {
"chgr",
"police",
"police2",
"police3",
"police4",
"police7",
"police8",
"police9",
"police10",
"fbi",
"fbi2",
"unmarked1",
"unmarked2",
"unmarked3",
"unmarked4",
"unmarked5",
"unmarked6",
"unmarked7",
"unmarked8",
"unmarked9",
"silv",
"sheriff2",
"sheriff",
"hwayf150",
"ambulance",
"firetruk",
"pbus",
}

-- Misc
enableHealthInjured = true

-- Walk Styles
enableDrunk = true
enableHiking = true
enableInjured = true
enableMuscleWalk = true

Features
/drunk - Toggles your ped’s walking style between drunk and sober.

/injured - Toggles your ped’s walking style between limping and regular.

/hiking - Toggles your ped’s walking style between hiking and regular.

/musclewalk - Toggles your ped’s walking style between musclewalk and regular.

/lock - Locks the vehicle you are sitting in.

/unlock - Unlocks the vehicle you had previously locked with /lock.

/lockpick - Breaks into the closest vehicle to you.

Screenshots

Hiking:

MuscleWalk:

Drunk:

Injured:

Lockpicking:

Download
BadgerAnims

Installation

  1. Download BadgerAnims
  2. Extract the .zip and place the folder in your /resources/ of your Fivem server
  3. Make sure you add “start BadgerAnims” in your server.cfg
  4. Enjoy :slight_smile:

My Other Work

DiscordChatRoles

DiscordAcePerms

SandyVehiclesRestrict

DiscordTagIDs

DiscordVehiclesRestrict

DiscordPedPerms

BadgerAnims

DiscordWeaponPerms

BadgerTools

BadgerBankRobbery

VehicleTrustSystem

10 Likes

very nice!

1 Like

Thank you! Hope you all enjoy!

Best Regards,
Badger

1 Like

This release is pree cute :kissing_heart:

1 Like

It’s a pretty script, but misses the server.lua that is mentioned on __resources

1 Like

I forgot to take that out of there. I usually just use a base __resource file from all my previous scripts and sometimes I don’t use the server side at all. I will take that out of it on my GitHub when I get a chance. Sadly my PC slowed down, so now I am looking into getting a replacement.

Yup, but still doesn’t work the half health injured :confused:

What’s not working about it? All that should happen is that they get a limp in leg

Exactly whats not working, at least for me

Does /injured work?

It doesn’t …

Hm that’s very odd I never had any problems with it on my test server… Is everything else working?

Sorry, I got busy with work and stuff, Dunno yet, I unchecked everything else, cuz the only thing I wanted was the autoinjured :stuck_out_tongue: So tell me, why doesn’t have a server side lua?

Doesn’t need a server-side for any thing. It only uses client-side functions

Yeah i got that… But hey, thank you so much for the attention, it’s working now. Don’t know what was wrong, I just reinstalled and it worked…

Now I am looking for better animation, and maybe scale the health loss wit other animations, like crawl when below 35-50 HP…

But again, thank u for the attention.

Obter o Outlook para Android

1 Like

Cool release, love the Lockpicking :ok_hand:

Is there a way to cancel the animation upon player moving. For example say they get caught trying to lockpick by a cop or the owner of the vehicle they just arent stuck there

Hold down the delete key to cancel the animation I believe

mythic progress bar is gone.

How can I make the lock and unlock binded to keyboard and not a command?