#Rarity System

1 messages · Page 1 of 1 (latest)

fallow rock
#

Is it possible to make a custom inventory that shows each weapon's rarity? Just like in Fortnite

spare hinge
#

Maybe... But idk how

fallow rock
#

<@&1050648858243379231>

#

Sorry if i shouldn't ping tho

#

Its cuz i learned if 24 hours pass i can ping helpers

fallow rock
#

y'all took so long to answer im literally so close to finishing making it myself. But at the same time im not

fallow rock
#

<@&1050648858243379231>

dreamy shore
fallow rock
#

Im halfway through finishing it myself, i used config tables. And now idk how to make them equipable

#

@dreamy shore

fallow rock
dreamy shore
# fallow rock Like when you press it will equip it

You can use an ID system for the equipped weapon so the game knows what's equipped, you can use a numbers var or a text var, text is for convenience and number for speed and less length, although just go with what helps you best

#

Basically
0 or "None" = No weapon
1 or "Weapon1" = weapon number 1
2 or "Weapon2" = weapon number 2 and so on

#

Nunbers and names can be anything but it ahould have some sort of order so it's not messy

fallow rock
fallow rock
dreamy shore
fallow rock
#

Or wait that wouldn't work

dreamy shore
fallow rock
# dreamy shore CurrentWeapon = "Shotgun" If CurrentWeapon = "Shotgun" then [Shotgun stuff] E...

I used config tables for the custom inventory i talked about and i basically did like row 1 Asset: Minigun Rarity: Rare Rarity color: Blue (color not text tho) Image: Minigun and tye same thing for shotgun but different things. So i do like if current weapon is shotgun then:
Set childobject Image = Shotgun
Set color= Config table = Row 3 color
Set text = Config table Row 3 Text
Like this?

dreamy shore
#

Would also remove the need for extra ifs for each weapon

#

You just need to know the in config table ID of the weapon and make sure it doesn't go above the max or it will break

fallow rock
fallow rock
dreamy shore
fallow rock
#

Ohh wait

#

I think i get it

fallow rock
fallow rock
dreamy shore
fallow rock
#

Right?

dreamy shore
#

So you have to just use original asset

fallow rock
#

Its not after pressing tho its when object is created

#

Please bro i am getting a stroke from this script i can't understand cuz im stupid

dreamy shore
fallow rock
#

Srry for being annoyting though

dreamy shore
fallow rock
fallow rock
#

I read it too fast earlier

fallow rock
fallow rock
#

@dreamy shore

dreamy shore
fallow rock
#

You thought i was about to use the built in inventory?

dreamy shore
fallow rock
dreamy shore
fallow rock
#

So i do

fallow rock
# dreamy shore Maybe, kinda depends

Set current weapon= shotgun id (because like i understood i give every single weapon its ID)
If current Weapon = ShotgunID
Set text = config table rarity
Set text color = config table rarity Color
Set image = Config table Image

fallow rock
dreamy shore
#

If you want you can write down the IDs somewhere as a reminde incase you forget what ID a weapon is

fallow rock
dreamy shore
fallow rock
dreamy shore