#Ox_Inventory Armor Plate System

1 messages · Page 1 of 1 (latest)

wraith rose
#

I needed armor plates, I wanted them more in-depth than Next-Kevlar, so I made a similar resource, but it has more plate types, with different durability's and protection levels.

Everything is synced with the server and client, everything updates automatically, etc. Plates can be changed out on equipped or unequipped vests, and the player armor will update accordingly. Different plate carriers can easily be added to the system by users via an easy data file. More plate types can easily be added as well with minimal knowledge.

Unlike Next, which has a hard max limit of 100 armor, with this, you can set an essentially infinite number of armor, via the virtual armor system. Plates apply virtual armor to the player, and while the player has virtual armor, it keeps their native armor full. Once a user reaches the last plate, the virtual armor starts to visually sync with the native armor, so that as your last plate breaks, your HUD will also show your armor at 0, assuming your HUD has armor display built in.

  • Durability is displayed via Ox_inv durability bar, and updates automatically as you're shot in real time
  • Plates break and turn into one, singular, "broken plate" item (Coming in future update: Ability to repair plates, or recycle them for scrap, will work using metadata from the one item to restore the correct type of plate/give different materials when recycled)
  • Plate carrier weights update with each plate added
  • Fully Configurable durability and protection levels via config

Damage indicator in inventory is NOT part of the resource

Leave me suggestions if you guys have any!

Will add the release link soon after a bit more testing.

Credits: Creator NextExtend's Next-Kevlar for the idea, and a few of the images used.

Release

https://github.com/Subj3ct/SJArmor

GitHub

Advanced armor plate system for Ox_Inventory. Contribute to Subj3ct/SJArmor development by creating an account on GitHub.

spare ruin
#

was not expecting miss thick over there lol

pale beacon
#

i'm joking don't worry

noble latch
#

Very interesting. Commenting to keep track

nocturne umbra
#

. this is very cool - that inventory design is beautiful as well 👀

wraith rose
#

No shame 👌

bleak basin
pale beacon
wraith rose
#

No offense taken no worries haha

tough sail
#

Slightly off topic question, but how did you manage to start up two FiveM clients?

wraith rose
# tough sail Slightly off topic question, but how did you manage to start up two FiveM client...

Step 4: Create a new shortcut for FiveM

To use this launch parameter you’re going to want to make a new shortcut.

Navigate to your FiveM directory containing FiveM.exe. This will be the easiest place to find your shortcut, any other folder will work too.

Right click anywhere in the folder, hover over new, and then click Shortcut. Browse or enter the file path for your FiveM.exe file. Press next then enter a name for the shortcut. Finally, press Finish

In your file explorer, right click on your newly created shortcut and press Properties. A new window will open. At the end of the text box labeled Target add -cl2.

glad bison
#

@ebon warren

wraith rose
#

Pushing to github soon (: Link will be posted here.

knotty prism
#

This got me on the edge of my seat

fierce verge
#

beautiful!

frail pumice
#

github link?

wraith rose
#

okayyyyy

#

Sorry gents, finally done.

#

had to fix a lil buggy poo

wraith rose
hexed lintel
#

Dope

grand cosmos
wraith rose
#

u right

#

idk how tf that happened

#

ill fix when i get to work

wraith rose
grand cosmos
fierce verge
#

I thought i was crazy, went to try it out last night, and it was missing the server files, thought for sure i just downloaded the files wrong! LMAO! Good looking out, cant wait to try it!

wraith rose
#

Yeah idk how when I pushed it to github it deleted the server file

#

Thankfully it was still on my PC in another location :P

noble latch
#

this is till pretty cool

noble latch
wraith rose
strange birch
#

Just put this in but I keep getting these errors when trying to do anything with the plate holders.

spare ruin
#

make sure the folder name is sjarmor

strange birch
#

uh shit yea that was it haha. Thanks!

wraith rose
strange birch
#

Yea man I just had a brain fade lol. Everything working perfectly 👌

wraith rose
#

Awesome, glad to hear !

urban helm
#

Born too late to join nopixel at the very start, born too early to play GTA 6 in my lifetime, born just in time to grab this resource 🙏

sly osprey
#

where does someone get that inventory reskin? 😮

versed surge
#

Instant cop

#

Great work

wraith rose
#

Hello amigos

#

I'm updating the script (small but noticeable update) for those who want it, adding the option to set a drawableID for each vest in containers.lua, so that when you equip the vest, it sets it to that specific vest on your character, and when you unequip it, it goes back to whatever they had on in the "vest" clothing slot.

wraith rose
#

changes r pushed, love u long time very many, works with any appearance script as it uses natives

proud maple
#

i think its cuz of my inventory its default i dont i am not a pro

buoyant lion
wraith rose
proud maple
wraith rose
#

Caps matter

wraith rose
#

Or just make a bunch of different plate carrier items for different departments

proud maple
# wraith rose Caps matter

it worked
i equiped the pc but i cant use the plates
just not working on use ro double click or hotkey

wraith rose
#

You open the plate carrier and drag them inside

proud maple
buoyant lion
#

the hud has nothing to do with this script

proud maple
wraith rose
#

That’s literally just the progress bar style

#

1 bar 25% 3 bars 75% etc

#

It will work with that fine

proud maple
wraith rose
#

but it should work by default

proud maple
proud maple
wraith rose
#

bro

#

again

#

the 4 spaces(in ur hud)

#

are not armor slots.

#

they are literally a progress bar, showing the percentage

#

the way the script works

#

is it sets virtual armor

#

1 FULL plate

#

is always 100 armor

#

when it's the last plate, as that plate breaks, the armor shows the health of that last plate

#

so if the ONE plate has 50%, the armor will show 50%

#

otherwise it's ALWAYS gonna be full

proud maple
wraith rose
#

if you want it to show 25% per 1 plate ur gonna have to change more than just the config

#

it's not designed for that lol

proud maple
wraith rose
#

like I said, the point is to show the remaining durability of the last plate with ur armor

#

so they can see when the last plate is gonna break

#

when there's only one left

#

but if that ONE plate, is full, it will show 100%

#

go shoot urself with a second client or have someone else shoot u

#

with that one plate, and you'll see what I mean

#

the armor will go down

#

but if you have two plates, and get shot, the armor will stay at 100

proud maple
wraith rose
#

no problem

proud maple
#

and thanks for this script i like it

wraith rose
#

thank you (=

proud maple
wraith rose
#

you too buddy

trim trout
#

Might be the best armor script ive seen.

I changed the "open plate carrier" button for a "CreateUsableItem" and im rn adding the ability to select a vest texture for female and for male

wraith rose
#

Glad you're enjoying it, I left it OS so people can make changes just like that (= One of my buddies made plates useable instead of drag and drop, etc.

wraith rose
#

(; Immersive update coming soon
Huge thank you to @lime shore for the prop peepolove

spare ruin
versed surge
#

Aye yo

#

I was using a sandwich bag lmfao

wraith rose
#

(;

wraith rose
#

will be pushing changes tmr

static tulip
#

That's 🔥

fresh igloo
wraith rose
#

ALRIGHT, SORRY FOR THE DELAY LADIES AND GENTS.

#

Been exhausted with work IRL, and haven't had the motivation to update this.

#

Plates as usable items are now fully functioning.

#

I've also fixed persistence on player rejoin, so that it properly adds their equipped plate carriers(and it's associated drawable ID) back to the player when they rejoin.

#

Animation isn't perfect, but it's pretty good for native animations. If anyone is an animation creator, and feels like contributing to the project, hit me up in DM (=

#

Pushing changes to GH very very soon. <3

wraith rose
#

Update is pushed. Make sure you update your plate item definitions to add the new server export in the ox_inv_items.md file.

#

As always, let me know if y'all find any issues. Love y'all.

versed surge
wraith rose
versed surge
wraith rose
#

i did for a few months this shit burnt me out lmao

#

and work burns me out in general with all the hrs i've been putting in

versed surge
#

I used to touch grass. I got burnt out

wraith rose
#

:p

versed surge
#

Take my money

wraith rose
#

Crazy thought - would y'all like a HUD-style indicator to show how many plates you have equipped in a carrier?

versed surge
#

#1407048919791439902 If it can work with this, helllll yeah

#

I use this hud as of 24 hours ago

#

oh oh oh. you say HUD-style...yeah that would be cool. something out of the way

wraith rose
#

something like JG-vehiclemilage, where you can set different positions for it

#

and something small

#

only show up when vest is equipped, etc

paper kite
#

That'd be pretty cool

vivid heart
slate sluice
vivid heart
slate sluice
vivid heart
spare ruin
vivid heart
cyan ivy
#

@wraith rose

Were did you get this amazin rework of the inventory 😮

spare ruin
#

Made another Edit, to allow people to choose the vest they want.

this way i dont have to make 10 different armors with 10 different textures

https://medal.tv/games/gta-v/clips/lf2xrAFy6PURkAZny?invite=cr-MSxZV04sMTk5ODkwMjM3&v=50

Watch Vest model choices by bruiserx and millions of other GTA V videos on Medal. #gtav, #grandtheftautov, #burnoutrpcomingsoon

▶ Play video
spare ruin
#

Lol im kidding but youd have to beable to kinda do it yourself since im not using the github version, basically saying i have it set up for my server including the inv im using

wraith rose
#

Wait nvm I don’t have a server anymore

#

Good shit tho

#

But also why native text and not textui

spare ruin
vivid heart
blissful cedar
#

@wraith rose how i get the Inventory?

spare ruin
#

500$ I got you

blissful cedar