Git Product home page Git Product logo

gmoddynamicweaponreverb's People

Contributors

kotoshmet avatar modusmogulus avatar relaxtakenotes avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

gmoddynamicweaponreverb's Issues

Reverb disappears upon dying

when I die, The reverb doesn't work. It just disappears. There's no lua error or anything.
Im using the CW2.0 weapons, but it also affects the hl2 weapons.

error with MW crossbows when you dont use the default arrow modification

[Dynamic Weapon Reverb] lua/autorun/server/dwr_server.lua:20: attempt to call method 'GetAllAttachmentsInUse' (a nil value)

  1. getSuppressed - lua/autorun/server/dwr_server.lua:20
  2. v - lua/autorun/server/dwr_server.lua:230
    3. unknown - lua/includes/modules/hook.lua:96
    4. FireBullets - [C]:-1
    5. Impact - lua/entities/mg_arrow/init.lua:150
    6. Impact - lua/entities/mg_arrow_emp/init.lua:40
    7. unknown - lua/entities/mg_arrow/init.lua:91 (x2)
gmod.exe.2022.09.24.-.16.08.56.03.mp4

MW Marksman sweps creates reverb only when bullet hits/Weapon sounds way louder than the reverb?

So recently the MW Marksman rifles got released, and I found that every shot that hits the wall creates the reverb, while all other MW related sweps works fine, heres a clip of that :

mwsniperdelay.mp4

Also I dont know if im wrong but, the weapon sounds seem to sound way louder than the reverb?, It sounds odd at mid (and sometimes long) ranges especially whenever the muffled effect gets aplied to the reverb (Also the reverb volume is 100, and the only way I could find a remedy for this is using the Dynamic Sound addon which is kinda old and buggy sadly)
Heres a clip:

dynsound.mp4

Problem with TFA AT (insurgency)

Hello,
I noticed that the sounds do not work with the TFA AT, can you solve this problem?
(if you need a video or other I can send it to you).

No reverb sounds with m9k weapon packs and NPCs

Hi! I have a problem with this addon. I currently use the m9k weapon's pack with the heavy, snipers, and pistol packs. Unfortunately, when I use them, they do not make reverbs like they just make the default or vanilla sound. Additionally, it also happens with all the NPCs who use default weapons. When I hear gunfire from the distance, they have only vanilla-like sounds, nothing else. Is there a way to fix this?

No reverb at all

Idk really what happened, but for some reason reverb just disappeared at all
Even if I'm using different weapons (HL2 default, ArcCW), just no reverb

Unique bullet Impacts and ricocshet Sounds for weapon with phys bullets (Like the unpatched ARC9 bullets but intended)

When I tried this addon with the unpatched ARC9 base I really liked how you could hear the bullet impacting/ricocheting off of things some time after seeing it happen depending on how far away it was. It really pronounced how good the travelling sound system is.
It was really satisfying when you had a gun that's bullet travelled at 360m/s and you shot at something 350 meters away you heard the bullet impact almost 2 seconds after the shot was fired or 1 second after it impacted.
With this being fixed shooting weapons are not as satisfying as it used to be with the unpatched version. And that's also true for mid to close range as well, on those ranges you could have still heard the bullet impacting 0.1 sec after being shot.

Having a dedicated bullet impact and ricocshet sounds for phys bullets would add a lot to the emersion of this addon even if it's not necessarily 100% realistic in all situations

P.S.: Having different kind of impact sounds, loudness, strength, range and reverb modifiers for different materials would add a crap ton to this addon
For example hitting a metal target at a long range would still give out a loud metallic impact sound when the sound of it reaches you, while the impact on a soft target like sand or dirt could not or just barely be heard from far away but could be heard on close to mid range.

Interested in helping record sounds

Hey, I was really impressed with the workshop build and what it promised. I have access to a directional mic and an empty range if you guys are looking for unique recordings at various distances/angles. I also just want to give feedback over discord if you guys are willing.

Reverb on MW Melee

Reverbs come out of my weapon whenever I use Modern Warfare's weapon bash.

It is because that the bash uses some sort of bullets - which is why there are bullet hole decals whenever I bash a wall?

The 2022 update broke this addon.

I don't know for sure, but this addon was working just fine before the update, then after it has ceased to work. I uninstalled and reinstalled and tried some other things but its still broken. Does it need an update maybe?

VJ Base stopped working

I used this yesterday and it worked perfectly, I was using VJ base NPCS. Today I spawned VJ base NPCS but I had no reverb at all for them but I had it for me. I tested this out by spawning regular combine npcs and it worked normally, but when I spawned VJ base NPCS (with default and half life 2 weapons) there was no reverb at all. The only thing that had reverb on the VJ NPCS was their grenades. I found this odd as it worked before, I tried reinstalling the mod but to no effect. I tried recording a video but couldn't as my computer was really laggy when I did.

MWB Shotguns has delay using slug ammo/ARC-9 Shotguns sound extremely loud

Not while ago MWB got an update, and it seems like it broke something with dwr, It only occurs with slug ammo as far im aware :

epicslugdelay.mp4

And arc 9 shotguns are really loud, I assume this is due to every bullet counts as a reverb or something like that (And Im aware that arc 9 is wip and that I can blacklist weapons, but im just reporting this :))

LOUDAF.mp4

volume warning lol

Suggestion/Request: Settings for SWEP authors to override DWR's auto-detection

Some SWEPs/bases on Garry's Mod already utilize systems which do what DWR does but specific to those weapons or are weapons which should not have DWR applied to them (e.g. energy weapons, flamethrowers, etc), and I believe some settings which DWR could read from to allow content creators to have influence on it would prove to be beneficial for all.

E.g.:

  • SWEP.DWR_Disable_Reverb = true/false
  • SWEP.DWR_Disable_Crack = true/false
  • SWEP.DWR_AmmoOverride = "pistol"
  • SWEP.DWR_ForceSilenced = true/false

TFA Conflict

When shooting unsilenced this error occurs. Seems to only happen with this weapon though,
https://steamcommunity.com/sharedfiles/filedetails/?id=1676032134

[ERROR] lua/autorun/shared.lua:119: bad argument #1 to 'pairs' (table expected, got nil)

  1. pairs - [C]:-1
  2. __event - lua/autorun/shared.lua:119
    3. OldFireBullets - [C]:-1
    4. FireBullets - lua/autorun/lfs_basescript.lua:41
    5. BallisticFirebullet - lua/weapons/tfa_gun_base/common/bullet.lua:54
    6. ShootBullet - lua/weapons/tfa_gun_base/common/bullet.lua:333
    7. ShootBulletInformation - lua/weapons/tfa_gun_base/common/bullet.lua:94
    8. TriggerAttack - lua/weapons/tfa_gun_base/shared.lua:1635
    9. unknown - lua/weapons/tfa_gun_base/shared.lua:1680 (x4)

Lua error and reverb isnt heard

[Dynamic Weapon Reverb] lua/autorun/client/dwr_client.lua:448: attempt to index upvalue 'blacklist' (a nil value)
1. func - lua/autorun/client/dwr_client.lua:448
2. unknown - lua/includes/extensions/net.lua:33

[IDEA] GitHub discussions

Hello,
I've been thinking - Are you planning to open discussions here? That is, obviously not for support queries, but rather for feedback and general questions.

Let me know what you think,
Matt

All sounds except explosions reverb and bullet cracks don't work (ALSO ANOTHER ZETA PLAYERS BUG)

As the title suggests, suddently all reverb sfx doesnt work except for explosions and bullet cracks.
Also before this bug, zeta players whenever they use their "other weapons" (such as tf2 weapons) this error shows up:

[Dynamic Weapon Reverb] lua/autorun/server/dwr_server.lua:129: attempt to index field 'Primary' (a nil value)

  1. v - lua/autorun/server/dwr_server.lua:129
  2. unknown - lua/includes/modules/hook.lua:96
    3. FireBullets - [C]:-1
    4. ShootWeapon - lua/zeta/weapon_handling.lua:324
    5. FireWeapon - lua/zeta/weapon_handling.lua:340
    6. unknown - lua/zeta/state_functions.lua:750
    7. unknown - lua/entities/npc_zetaplayer.lua:1509 (x2)

Their HL2 weapons work just fine, also I already reported this issue with the zeta's dev about this.

arccw issue

basic issue: no arccw weapon work with this mod
advanced issue: when im close to a wall and i shoot the wall. the reverb sounds work. when im far and i shoot a wall it doesnt work. when i shoot indoors or shoot in the sky it doesnt work. when i get close to a wall and shoot the wall indoors it works.

Addon error popping up

Good day! I would like to report an issue where I occasionally get this:

[Dynamic Weapon Reverb] lua/autorun/client/dwr_client.lua:449: attempt to call method 'GetActiveWeapon' (a nil value)

  1. func - lua/autorun/client/dwr_client.lua:449
  2. unknown - lua/includes/extensions/net.lua:33 (x2)

I keep getting this usually whenever Combine NPCs usually shoot. My guess is probably the custom weapons that these NPCs use, but may you check if this is an issue regarding that too? Thank you!

bug with explosions in the latest update

[Dynamic Weapon Reverb] lua/autorun/client/dwr_client.lua:258: attempt to index local 'weapon' (a nil value)

  1. playReverb - lua/autorun/client/dwr_client.lua:258
  2. explosionProcess - lua/autorun/client/dwr_client.lua:517
    3. v - lua/autorun/client/dwr_client.lua:522
    4. unknown - lua/includes/modules/hook.lua:96
gmod.exe.2022.09.25.-.15.14.35.03.mp4

arc9 phys bullet stuff

nothin in da phys bullet array if u shoot too close. shit is in entityfirebullets tho so find a way to fix that stupid lazy bastard

NUT's report

So first of all, it works great with most things, the problem is that not all weapons are audably compatable, I.E. TFA Starwars. The issue comes from how the audio mixes into the weapons which doesn't sound great with Sci-fi weapons, which easily breaks immersion, anything that can be done to ensure that there is better compatability for Sci-fi weapons would be great, I would like to use this for my server, but I can't until we could get Sci-fi weapon compatability, more specifically Starwars compatability. Thats all.

huge issue

tfa weapons indoor sounds are ignored by the "only one reverb trail at a time" making the weapons sound like earape if the shotgun shoots more then 3 pellets at a shot.
make it so guns make sounds PER SHOT and not PER AMOUNT OF HITSCANS PER SHOT

Weapon blacklisting

Hey, can the Weapon blacklisting can be on server side and not client side ?

In my Metro 2033 project we use TFA Bow, Crossbow and i would like to know if use the command 'cl_dwr_blacklist_add' with my current weapon i wanted to blacklist. The reverb sound will be delete for everyone who us Bow as weapon ?

Thanks for your time, and have a nice day

SnoopDash

ArcCW bug

If you try firing without silencer, there will be no reverb and lua error will occur

  [ERROR] lua/autorun/shared.lua:119: bad argument #1 to 'pairs' (table expected, got nil)
   1. pairs - [C]:-1
    2. __event - lua/autorun/shared.lua:119
     3. FireBullets - [C]:-1
      4. DoPrimaryFire - lua/weapons/arccw_base/sh_firing.lua:583
       5. unknown - lua/weapons/arccw_base/sh_firing.lua:398 

to-do

1) make hooks for detecting phys bullets hook only if the respective weapon packs are mounted
2) actually HOOK arc9 sendbullet (rn it just completely replaces the og function with a 1:1 copy except dwr stuff)

This addon breaks certain weapons that has looping sfx

So I stumble upon an issue with weapons that happens with weapons that include some sort of loop sfx in it, heres what I mean:

8mb.video-0jg-4pmn9y4U.mp4

the only way that I could solve this is by either disabling/deleting the addon or changing sv_dwr_network_sounds to 0 (Which i dont want to change lol) not even blacklisting or anything else fixes this.
Hope you can solve this :)

There's a problem

Its anyone having this problem when you shoot your weapons you don't hear reverb but only from NPC's when they shoot their weapons.

Explosion Bug

Everytime I fire a grenade or rocket launcher it shows up this
image

image

Addon causing errors when using ArcCW weapons

[Dynamic Weapon Reverb] lua/autorun/shared.lua:119: bad argument #1 to 'pairs' (table expected, got nil)

  1. pairs - [C]:-1
  2. fn - lua/autorun/shared.lua:119
    3. unknown - lua/ulib/shared/hook.lua:109
    4. OldFireBullets - [C]:-1
    5. FireBullets - lua/autorun/lfs_basescript.lua:41
    6. DoPrimaryFire - lua/weapons/arccw_base/sh_firing.lua:583
    7. unknown - lua/weapons/arccw_base/sh_firing.lua:398

This is the error prompt that I get from firing any ArcCW weapon on any map under any conditions. It works fine with TFA and other kinds of weapons.
I have not modified any ArcCW or Reverb mod's settings and it was all fine just yesterday.

Can I help with sounds?

I'm an apprentice sound designer and I would like to give a hand in development of this addon.

Sounds are significantly louder outside when the source of gunfire is inside

I've been messing around with this mod a lot, and I love it honestly. It adds a whole new layer of realism and immersion. There's a slight issue with the way the sound works, though. When a third party is outside and the source of the gunfire is coming from inside, the third party will hear the sounds significantly louder than they would be outside.

I'd say adding some sort of low pass effect on the sound would work, and honestly, I almost feel like switching the sounds of the indoor and outdoor gunfire would work. The outdoor gunfire is more quiet and muffled than the indoor gunfire is (from an outside perspective.)

I'll link a demonstration video below:
https://youtu.be/o8QJShrUvqg

Zeta players conflict/error

when a zeta shoots there weapon this error occurs
[Dynamic Weapon Reverb] lua/autorun/server/dwr_server.lua:122: attempt to call method 'GetShootPos' (a nil value)

  1. v - lua/autorun/server/dwr_server.lua:122
  2. unknown - lua/includes/modules/hook.lua:96
    3. FireBullets - [C]:-1
    4. ShootWeapon - lua/zeta/weapon_handling.lua:324
    5. FireWeapon - lua/zeta/weapon_handling.lua:340
    6. unknown - lua/zeta/state_functions.lua:750
    7. unknown - lua/entities/npc_zetaplayer.lua:1509

Doesn't work globally

I installed the add-on on the server, on my client - nothing, but the sounds of explosions can be heard from a distance.
I've tried:

  1. Reinstall addon
  2. Made sure physical bullets are off
  3. Unpacked and launched in Legacy Mode
  4. Fumbled with commands, sound devices, audio configuration
  5. Asked to check my friends - it also does not work for them (not even on my server)
  6. Checked that there are no conflicting addons
  7. Сhecked the console - no errors
    Please, help

Suggesiton DWR Whitelist/Blacklist

I think a option where users can select which weapons are able to use dwr reverb will be good. This setting could be in q (spawn) menu or alternatively added through server convars. With this addition issues with silencers or food sweps could be fixed

Don't use global functions for no reason

That addon uses local variables, but something strange reason, you create only global lua functions.
That is really bad and can do errors and problems with gmod and other addons!

Your addon takes a high place in workshop, please correct this, do not make the game worse.

New update seems to break ARC9's recoil completely

Whenever I use this addon, all ARC9 recoil becomes completely non-existent, deleting this fixes the issue, this are the errors that pops up:

[arc-9-main] lua/autorun/server/dwr_server.lua:113: attempt to index global 'entity' (a nil value)

  1. SendBullet - lua/autorun/server/dwr_server.lua:113
  2. ShootPhysBullet - addons/arc-9-main/lua/arc9/shared/sh_physbullet.lua:147
    3. DoProjectileAttack - addons/arc-9-main/lua/weapons/arc9_base/sh_shoot.lua:465
    4. DoPrimaryAttack - addons/arc-9-main/lua/weapons/arc9_base/sh_shoot.lua:376
    5. unknown - addons/arc-9-main/lua/weapons/arc9_base/sh_shoot.lua:228

[arc-9-main] lua/autorun/server/dwr_server.lua:113: attempt to index global 'entity' (a nil value)

  1. SendBullet - lua/autorun/server/dwr_server.lua:113
  2. ShootPhysBullet - addons/arc-9-main/lua/arc9/shared/sh_physbullet.lua:147
    3. Penetrate - addons/arc-9-main/lua/weapons/arc9_base/sh_penetration.lua:186
    4. AfterShotFunction - addons/arc-9-main/lua/weapons/arc9_base/sh_shoot.lua:636
    5. callback - addons/arc-9-main/lua/arc9/shared/sh_physbullet.lua:424
    6. unknown - lua/autorun/server/zippy_realistic_blood.lua:50
    7. FireBullets - [C]:-1
    8. ProgressPhysBullet - addons/arc-9-main/lua/arc9/shared/sh_physbullet.lua:413
    9. v - addons/arc-9-main/lua/arc9/shared/sh_physbullet.lua:239
    10. unknown - lua/includes/modules/hook.lua:96

It mentions "zippy_realistic_blood.lua:50" but that doesnt intervene with the addon. Also in the arc9 discord, the dev mentions that arc 9 is very soon to release, I wanna mention this just in case any changes comes up

CW2.0 Support

I suggest you add support for suppressed CW2.0 weapons as well. Believe it or not, a lot of people still use it.
Thanks in advance

Bug

[Dynamic Weapon Reverb] lua/autorun/shared_teams_reverb.lua:103: attempt to call method 'GetBuff_Override' (a nil value)
1. v - lua/autorun/shared_teams_reverb.lua:103
2. unknown - lua/includes/modules/hook.lua:96
3. FireBullets - [C]:-1
4. Detonate - lua/entities/arccw_bo1_projectile_base.lua:93
5. unknown - lua/entities/arccw_bo1_projectile_base.lua:165

                Im using ArcCW weapons and everytime i use a explosive weapon this comes up

Lua error message when shooting from weapon, im using ARCCW

[Dynamic Weapon Reverb] lua/autorun/server/dwr_server.lua:207: attempt to index global 'entity' (a nil value)
1. v - lua/autorun/server/dwr_server.lua:207
2. unknown - lua/includes/modules/hook.lua:96

NOTE: In previous update there was no errors when shooting from these weapons like ARCCW

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.