0
Fixed

Crosshair aiming and using reload action with bow.

kytestar 3 weeks ago in Shooter updated by Marti (Lead Developer) 2 weeks ago 2

A couple of issues that I am not sure if they are bugs or intended.

First one is.  When shooting the bow (using projectile and crosshair) the arrow always hits around half a metre left of the crosshair.  I have min and max spread set to 0 and the projectile aiming at camera (could not find one to aim at crosshair).  I am using a secondary camera for archery which moves the character to the left so that the crosshair target is not obscured behind the character.

Second one is the reload / shoot action.  I have an action that draws an arrow, aims and then charges up.  I am using the reload action.  This is set with auto reload and infinite ammo off.  Ammo is set to 1.  It activates with left mouse down and releasing the left mouse button activates the shot.  I am getting it so that my character reloads, aims and charges... then does not fire on releasing the mouse button... hitting the mouse button again, he does not reload, aim or charge and then releasing again and he fires.  Not sure if this is intended for use with guns rather than bows... but I cannot find a way to make him to run the reload animation using auto reload.

Video below and thanks again!

Unity version:
2018.4.11f1
Game Creator version:
1.0.4

Answer

Answer
Fixed

Circling back to this issue and we assessed that our implementation of the infinite ammo was incorrect. From now on, when a weapon has infinite ammo, the clip size will still decrease until it needs to be reloaded.

However, there's a case where you'd want to have a character infinitely shoot without reloading weapons. For that case, you can simply use the Add Ammo Clip action and increase by 1 the amount of bullets in your magazine right after shooting. This will ensure that your weapon never runs dry.

I'm marking this issue as fixed. You'll see changes in the upcoming update.

Under review

Hi Keystar;

You'll probably have to adjust the Lower Body Rotation property while aiming. Check out our last Youtube tutorial and see how we align the arrow trajectory: 

As for the reloading issue, that's how it is intended to work. However, I see your point and I'm opening an issue to review this. I'll circle back once I have more info on this.

Answer
Fixed

Circling back to this issue and we assessed that our implementation of the infinite ammo was incorrect. From now on, when a weapon has infinite ammo, the clip size will still decrease until it needs to be reloaded.

However, there's a case where you'd want to have a character infinitely shoot without reloading weapons. For that case, you can simply use the Add Ammo Clip action and increase by 1 the amount of bullets in your magazine right after shooting. This will ensure that your weapon never runs dry.

I'm marking this issue as fixed. You'll see changes in the upcoming update.