Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Flashbangs don't bounce from walls #1907

Closed
bux opened this issue Jul 25, 2015 · 9 comments
Closed

Flashbangs don't bounce from walls #1907

bux opened this issue Jul 25, 2015 · 9 comments
Assignees
Labels
Milestone

Comments

@bux
Copy link
Member

bux commented Jul 25, 2015

As discussed in the TS meeting:

If you throw a flashbang against a wall (preferably in an angle) the flashbang doesn't bounce it just drops straight down.

@bux bux added the kind/bug label Jul 25, 2015
@bux bux added this to the 3.3.0 milestone Jul 25, 2015
@kripto202
Copy link

I think it's more of a bi problem because it happens to all of the grenades.

@bux
Copy link
Member Author

bux commented Jul 26, 2015

Actually:
https://youtu.be/WrfHhxbCiI8

@PabstMirror
Copy link
Contributor

Playing with changing deflecting on CfgAmmo

deflecting = 60; seems good, it's what the smoke grenades use

@kripto202
Copy link

what does the grenades use?

@PabstMirror
Copy link
Contributor

Grenades use 15 😕
I think simulationType might also have an effect? The M84 inherits from FlareBase.

I'm really not sure, but I do think 60 is an improvement over the current value of 30.

@kripto202
Copy link

is it possible to change the grenades to roughly 30? Those grenades should be able to bounce off walls a lot better than they are now.

@commy2 commy2 assigned commy2 and unassigned jokoho48 Sep 1, 2015
@commy2
Copy link
Contributor

commy2 commented Sep 1, 2015

deflecting is the minimum angle a projectile has to hit the ground to possibly bounce. 0 meaning never bounce, 90 meaning possibly (there is a %-chance modifier somewhere) bounce on all angles.

The issue is that perpendicular bouncing is a feature exclusive to the simulations of frag and smoke grenades, not flares.

There is no reason for the M84 not to be a smoke grenade though (with no smoke effect). It's just Flummis lazyness again.
This is also the reason you don't hear impact sounds on the flares. I'll see if I can do something about them later.

@bux
Copy link
Member Author

bux commented Sep 1, 2015

gj @commy2. I'll test this later today.

@commy2 commy2 closed this as completed in b1fbbcc Sep 1, 2015
commy2 added a commit that referenced this issue Sep 1, 2015
@bux
Copy link
Member Author

bux commented Sep 2, 2015

Works very well! Finally 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants