Need some help figuring out this Ammo System tutorial

Hey everyone.

I am making a Zombie Apocalypse game and I have been trying to figure out a way to implement an Ammo/Gun system that doesn't take up the Skills menu.

I have found this tutorial but the way it is worded is really confusing my brain. Just looking for help on getting it to work.

It seems the original author worded it as if everyone reading it knows everything they are talking about haha.

I used to use RM2K3 years and years about in high school but its been a couple decades so I'm back to being a newb when it comes to the program.

Tutorial Link: https://leafo.net/gwtemp/tutorials/741/
It would help if you told us the specific problems you're having. Which words don't you understand?

Just saying "I don't get it" doesn't tell anyone how to help you, because you're equally likely to not understand their English.
It would help if you told us the specific problems you're having. Which words don't you understand?

Just saying "I don't get it" doesn't tell anyone how to help you, because you're equally likely to not understand their English.
Well I am sorry.

I just dont understand how to start this off. Do I make the switches and variables first? There isn't alot of clear directions or examples in this tutorial which is confusing me.
I just dont understand how to start this off. Do I make the switches and variables first?
What difference does the order make? If the instructions tell you to reference a variable for something and you don't already have one, then you choose a variable and give it an appropriate name and keep going.

There isn't alot of clear directions or examples in this tutorial which is confusing me.
It does say
1717097281698.png

1717097291783.png

so I would simply read the words in the tutorial and do each thing as the typed sentence tells me to.

I'm not being unsympathetic to your confusion, but it sounds like you're standing in your doorway looking at your messy room and saying "I don't know how to start cleaning up." 😉 You do something - choose an item and pick it up off the floor.

Once you've made a weapon and its ammo according to the tutorial, if it doesn't work, then you can show us screenshots of your work and compare it to the tutorial and see what mistakes you made.
it would help if you tried to envision it as the whole thing, rather than the process of building it.
an ammo system requires very specific things:
-the weapon to shoot the ammo.
-the ammo stockpile.
-and the consideration of each extreme: loaded, and empty.

you know that for every [action of shooting] there would be a reduction of the [ammo stockpile], until it's empty.
if and when it's [empty], you'd be prompted to [reload]... at which point you'd take ammo from one pile and move it to another.

with the limiting conditions being full and empty, all it takes for the system to work, is to spot WHEN it's either full or empty.
that's a parallel process.
and bring me a truckload of parenthesis to bracket this, as it needs to be here, but people are gonna complain all that same: (((it shouldn't need to be! it should be made with a proper plugin! but let's play along for the moment!)))

you don't need to follow a specific order in creating the things, as long as each structure has it's ins and outs properly wired.
you won't be able to see the work and test it until it's fully done, or at least, until it works for one weapon, properly.
think about where you'll store the ammo, how many variables you'll need, when will the system trigger an update of that variable, what you'll do at each extreme, etc.
there's not *a* way to do it... there *are ways* to achieve it, but not *a* way to do it.
here is the simplified version of your tutorial so the public can understand.
you start with your gun and sprite animation when button is pressed,

for example
pressing spacebar
to the variable gun that is connected with the switch
so if you have only 8 bullets,
gun will fire until it is empty
then switch is turned off when gun is empty
so you can't shoot when you press spacebar.

The switch is for having the gun firable
the variable controls the switch for the rounds it has
(this particular example uses 8.)
so when the switch is connected to a pressed button
that action happens with the sprite animation
of your game guy firing projectiles at the zombie monsters.


------------ sadly the boring truth for learning:
setting game mechanics is different than scene setting
where a cut scene is a series of events that 1-2-3 go on,
most people have fun making those right away (me included)
the game mechanics is more like a 1,2,3 set in place - cut!
because if your gun mechanic is broke, the zombie npc's win!
that's no fun to play but it's no fun to make n' fix either (but rewarding)
just remember to separate (but interconnect) variables to other variables
as well as heavy use of switches. Think of it as function mashing!
Learn to use Common Events to be called upon different map settings.
You'll have to use Common Events in a way like Plug Ins are for MV/MZ
Yet the cool thing is you won't have to actually hand-program anything
It will be completely click based eventing that will run inside itself (so awesome)
thanks everyone, I havent yet had time to use anyones suggestions. ill update afterwards
Ok, I was messing around with it. It's not what I was wanting. I've decided to go a different route with combat in my game. thanks everyone.

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/need-some-help-figuring-out-this-ammo-system-tutorial.169126/