Gadget question

i am fairly certain this is impossible to do in any at least remotely reasonable ways, but this is a relatively simple question

my game is based on a bunch of FFA players (or whatever the technical term is, no teams or something) in platformer mode (for context)

now my goal is, whenever someone runs out of ammunition for their gadget, their gadget is taken away from their inventory (the gadget is granted to players with item granters and it comes preloaded with a full mag)

simple enough, if you do not understand then just ask me, thank you

3 Likes

No this isn’t possible currently unless you use pseudo projectiles im pretty sure or just make the gadget non reloadable.

Im pretty sure correct me if im wrong but in the item part in map settings there an option so the gadget has one full load of ammo

1 Like

This is actually not that bad. Make sure it doesn’t come loaded; grant the gadget without any ammo and then grant the ammo.

Then use a lifecycle to track when you fire a gadget, with some way to check if you ran out.

I’ll go more into detail on how to do that soon.

2 Likes

i am assuming you mean like separately coded/implemented projectiles and not actual gadget things, which i would not want (as you said), but i do not quite understand how the non reloadable part would work? please explain?

1 Like

i thought of this but i want it preloaded, still thanks tho

1 Like

Well then it’s harder. Is it really that bad to wait for it to load for a few seconds?

Also: you will soon reach post limit for new member. Simply edit above posts and we will reply to that when that happens.

1 Like

this seems the most promising (at least to me) so good luck/thank you ig

2 Likes

um its kind of a niche aspect of my game (its quite fast paced) and i believe that a few seconds would kind of ruin it (there are also some more things but yeah mainly that)

1 Like

Turn off gadget reload in game settings. (You will still have a max fire rate but won’t have to wait for it to load in when you run out of ammo.)

1 Like

Isn’t there instant refill in the settings?

2 Likes

gadget reload? but even if you did that then how would coordinate/obtain the information of when the last projectile was fired out of the.gadgeet

1 Like

There’s a built-in Gimkit setting that allows players to instantly refill their gadgets

2 Likes

I’ll post information on how to do it in this post.

Essentially, you can track when someone fires with a lifecycle, and how much of an item you have with a checker.

3 Likes

interesting, this seems quite helpful, i will look into it, thanks

also can you explain the new member post limit thing, and how i should raise it and etc

edit: apparently i am a new user so i cant make more posts

and replying to your post “ill post information…”
im like 95% sure what you mean with this kind of stuff in tandem with the other ideas but yeah eager for that, tysm (no rush, just saying)

edit: yeah i can do it myself i just didnt know about the lifecycle thing with the gadget firing

3 Likes

Nvm, you are actually basic user. No post limit. I thought it took a day to get basic member but apparently you got it within 30 minutes of your first post.

4 Likes

in this case couldnt it update a property, and once it reaches the number of bullets given it removes it from inventory?

1 Like

i think this is kind of a necropost or something along the lines of that and I am not sure if I am breaking any kind of rule by doing this, but there has (as far as I know) been no progress on this post and I am still looking for a solution, does anyone have any useful stuff or whatever? thanks

1 Like

i have looked into the lifecycle thing a lot, but I have various questions over its properties and exact technical functions, and I could be missing a large opportunity for optimization, so does anyone have any ideas (especially regarding the system with lifecycles)

1 Like

I don’t know if this is possible in gimkit creative. But, isn’t there like a quick reload in the setting?

It’s not necroposting if its your own topic.

3 Likes

ya, but the best way would to not use that and just give gadgets pre-loaded with a lifecycle detecting the amount of shots fired, corresponding to the gadget given

edit: thanks for the clarification about necroposting tho

1 Like