Re: More than one type of ammo
I realize you wanted to do this yourself, but I could not resist implementing it.
There are obviously many way of doing this. The method I chose keeps track of the ID of the actor that fires the weapon so the script knows which type of bullet is next for each gun. Using the ID is not perfect since it can change at any time, but this is not a serious problem here. One benefit of tracking the actor is that we can implement a recoil system that makes automatic fire gradually more inaccurate.
Anyone is free to use this:
This is only a demonstration so there is plenty of room for improvements though.