FAForever / FAForever/fa

[Bug]: XSL0305 sniperbot snipe mode muzzle velocity change does not apply

Open
#7,224 0 comments 0 reactions 0 assignees View on GitHub
type: bug
Dominant language
Lua
Stars
264
Forks
260
Avg merge
3d 2h
Merged PRs (30d)
21

Description

### Describe the Bug

The blueprints have different muzzle velocities but no code implements the muzzle velocity change when switching the weapon.

### Reproduce the bug

Shoot a normal mode and snipe mode sniper at the same time and see their velocities are indentical.

### Screenshots

_No response_

### Additional context

Possible fixes:
- Remove the discrepency in the blueprints since the MV is so high its irrelevant to change it.
- Remove muzzle velocity from bps and use projectile blueprint speed (maybe doesn't work vs moving targets).
- Remake the switching system to use two weapons instead of one, just like the old one, but this time coding a link between the weapon fire rates.

Contributor guide

Open the contributing guide

Research direction

Start by locating the XSL0305 blueprints and the weapon-switching system, then compare the normal and snipe-mode muzzle velocity values with the velocity applied during firing. The issue lists several possible fixes, so done requires confirming an agreed approach and verifying that switching modes produces the intended muzzle velocity.

Written by the indexing model from the issue text.

Assessment

Tech stack
lua
Domain
game-dev
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.