How to create weapon functionality as seen in Shooter Game?

I made a question similar to this a few days ago and it helped, but I still don’t quite understand. I’m looking to create a weapon system like the one seen in the shooter game game example. I’ve been digging through the code trying my best to dissect it, but I’m still new to C++ and I’m not sure what’s going on. Are there any tutorials explaining this weapon system? What I understand so far is that the Character creates an inventory and then from that inventory you can equip weapons that are defined by a piece of code that defines that weapons functionality, but that’s about as far as it goes for me. If someone could further explain this or point me towards a more in-depth explanation, I would be extremely grateful!

Hi CarolinaRG,

There is a page in our documentation section that goes over the various aspects of Shooter Game. To understand a lot of what is going on in this type of weapon system would also require some networking knowledge as lot of it involves telling the server what is happening and having it replicate the behavior.

As far as the networking goes, this is quite a read but it should cover everything necessary for this example.

I hope these tutorials/documents are able to help you out!