Does the issue occur in the editor or during gameplay?
gameplay
If it's a gameplay issue, please specify which movement system and camera type you're using (free movement vs. grid movement, third-person vs. first-person) or N/A if not applicable:
free movement, real time combat, cursor guided, automatic shooting modus. give the weapon over default equipment system of the player-model. Same use the npc's that can shoot with sound.
Briefly describe the issue you're experiencing:
Hit/hold LMB to attack npc's don't work correctly anymore. No visible projectiles, no sound.
The hit works, because the npc goes hostile after attack, like in the setup defined.
Before the update one shot hold-click and the projectiles (many) was flying into the cursor guides direction. Change the direction was fast/directly with cursor guided shooting.
Now it works like:
Player model directly in the near of the npc, 2-4 damage values (I think pre-update around 24 damage-values with npc-resistance) and no sound. - In larger distance no attack / visible projectiles anymore. Not sure about projectiles in short-distance. I think there is nothing but hard to say in this short distance. Cursor guided shooting works now slowly and in around 45 degree only. Not directly anymore.
Are there any errors in the in-game debug console or external console window?
external console only:
ERROR: Signal 'mouse_entered' is already connected to given method 'handle_mouse_entered_entity' in that object.
At: core\object.cpp:1473
SCRIPT ERROR: add_item_to_container: Invalid get index '8' (on base: 'Array').
At: res://shared_functions.gde:4528
ERROR: Transform::set_look_at: Condition ' v_x.length() == 0 ' is true.
At: core\math\transform.cpp:105
ERROR: This function can't be used during the in/out signal.
At: scene\3d\area.cpp:224
SCRIPT ERROR: add_item_to_container: Invalid get index '8' (on base: 'Array').
At: res://shared_functions.gde:4528
SCRIPT ERROR: give_item: Invalid call. Nonexistent function 'size' in base 'Nil'.
At: res://game.gde:9791
SCRIPT ERROR: add_item_to_container: Invalid get index '8' (on base: 'Array').
At: res://shared_functions.gde:4528
SCRIPT ERROR: give_item: Invalid call. Nonexistent function 'size' in base 'Nil'.
At: res://game.gde:9791
ERROR: This function can't be used during the in/out signal.
At: scene\3d\area.cpp:224
ERROR: This function can't be used during the in/out signal.
At: scene\3d\area.cpp:224
ERROR: Signal 'mouse_entered' is already connected to given method 'handle_mouse_entered_entity' in that object.
At: core\object.cpp:1473
SCRIPT ERROR: add_item_to_container: Invalid get index '8' (on base: 'Array').
At: res://shared_functions.gde:4528
ERROR: Transform::set_look_at: Condition ' v_x.length() == 0 ' is true.
At: core\math\transform.cpp:105
Provide the steps necessary to reproduce the issue:
Shoot with above mentioned configuration in the npc-direction.
And Collision/Zones for projectiles (max. size of the model), chars, and in the map for borders.
Only things I have changed (directly after the update)
- Added F key in free movement key configuration for fullscreen option on/off
- Changed ammo (default MP) from default to regenerative and back again to default. (no difference)
Provide a download link to the bare bones project (strongly recommended if it's an in-game issue, since this helps significantly when attempting to reproduce it; the report will also be given more priority in this case): --