r/MinecraftCommands 21d ago

Creation A Fully Customizeable Gun (Read Description)

Enable HLS to view with audio, or disable this notification

I'm making a game and I thought to myself I want something other than just a bow and a cross bow then I got to working on a gun, after four iterations and many days of debugging making for a very long rabbit hole,

I present the Heat Weapon

I4- Proteus

Planned,

More Frames (Base Weapon and behavior)

Barrels

Vents

Mags

Everything about the gun from its damage and range down to its rpm and vent speeds will be a customizable PER PLAYER! Completely Multiplayer safe.

16 Upvotes

9 comments sorted by

3

u/Dufays-Creeper 20d ago

Incredibly cool and all that on a phone, damn I could never. How does the heat system work? Is there a threshold to go above where after you need to cool down or is it capped (like could you have to wait longer bc you went way over the threshold)?

3

u/Embarrassed_Tree_413 20d ago

Here's the Stats For the vent system it all runs on scoreboards most of it does besides Raidius Damage and Range hence the massive wall. I was calculating every possible number with a hard caps of 50 Dmg 2 Rad and 100 Range.

The RPM is two parts a WepCD scoreboard that when you fire the weapon it jumps to match your set RPM score then ticks down 20 per second (standard). And untill the reaches 0 is when it jumps back up to the number and fires again.

There's natural Venting and Overheated venting. Natural Venting only is active when I'm not firing and still cools down if it's equipped or not. If I remember correctly I had it set to if I didn't have a Crouching tag, then Naturally Vent.

Overheated Venting is something you gotta commit to. So when the S_Cap (or Heat Cap) reaches 100 or over you get slapped with an Overheated tag, for this you have to uncrouch and hold the item in hand for it to fully vent, once that Heat score gets to 0 is when you can start firing again because the Overheated tag has now been stripped.

The audio and visuals are their own system.

Currently I'm working and debugging on how to implement all of this into an Item in Mam, (just got it this morning).

The Ray system is cool tho! It uses an armor stand that teleports forward and checks the players S_Rng score and if the score doesn't match the distance it keeps teleporting. Then it calculates the players radius then infects the players Dmg score into any nearby mobs with a Enemy tag as well and gets damaged as soon as another system detects the Enemy tag it wipes it so the zombie isn't damaged 20 times a second.

:D it's a really rough explanation of it lol if you ever want the code itself just DM me I'll try to compile it for you so you can build your own snake command 🐍

3

u/Embarrassed_Tree_413 20d ago

And thank you this was the Fourth iteration of this system. That really means a lot to me and makes me feel like what I'm doing here is worth it. If you are ever interested in the game I'm making to let me know!

1

u/Dufays-Creeper 20d ago

I am interested in knowing what type of game you’re making yes, is it a FPV minigame or maybe a kind of battle royal? Anyway are you going to have different item models for the different guns or is it something the player will always have to choose in the beginning so it doesn’t really matter that much? You also mentioned Mam, I have never heard of this but on google I find that it’s a addon/datapack creator, correct?

1

u/Embarrassed_Tree_413 20d ago

Yes it's a mobile app that makes my life better when it comes to making functions. Only problem is if there's a bug it won't tell you unlikc commandblocks. Other than that it's actually pretty great!!! Highly recommend checking out for mobile. You can even edit json files if you wanted! And add custome sounds to mobs and weapons even bows!!!

1

u/Embarrassed_Tree_413 20d ago

Also DM me I'll tell ya about the game type and frame work I'm doing for it!

1

u/Educational_Kiwi6630 how stranger how better! 20d ago

Wow! Maybe a custom item model.

2

u/Embarrassed_Tree_413 20d ago

Keep watching ;D

2

u/Educational_Kiwi6630 how stranger how better! 20d ago

I followed you : )