Ammunition and Firing

To say the least, I have no legitimate idea how to use proper coding for rifles and ammunition. In my game the player has a rifle, which the player can load a clip of 5 bullets into. The player also has a certain amount of clips within an ammunition pouch. Not only to I need to decrease the amount of bullet's in a clip as the player "fires" the weapon, but also view how many bullets and clips are remaining.

Sincerely, the dummy.


Here's a video I made with the file in the description for a weapon and combat system real easy to use.
https://www.youtube.com/watch?v=yiQRfCjl1Lg

Hope it helps


And here is a tutorial I posted just yesterday...
https://github.com/ThePix/quest/wiki/The-Zombie-Apocalypse-(web-version)


Thanks mateys!


This topic is now closed. Topics are closed after 60 days of inactivity.

Support

Forums