K_Doom Posted October 11, 2021 (edited) Hi guys, today I was modifying one of the weapons I got from the realm667 website called "Repeater". As weapons based on plasma / laser ammunition are projectiles, I see no reason why this weapon is hitcan, I like to see projectiles flying. So I modified a new projectile so that the gun had it, the problem is that when I shoot close to objects or a wall, the sound of the shot is muted / muffled by the sound of the projectile's collision, something that doesn't happen, for example, with the Plasma riffle (vanilla). I still don't quite understand all the sound/sndinfo properties, but from what I've tested, nothing has worked. This is the Repeater video demonstrating the "buggy" ⬇ test - Final Doom_ Plutonia Experiment 2021-10-10 21-41-11.rar Another problem I had with the same weapon is that collision sprites in the "Death:" state appear differently than they should. For example; these are the default Repeator sprites: And these are the Repeater sprites that I modified: The strangest thing about all this is that their Decorate file is the same and the sprites are also the same. However, both appear in the game in different ways. Below the image of both decorates; Modified Decorate: Original Decorate: In case you want to take a closer look here are the wads; This is the wad where I modify and test before deploying to the official map. I haven't organized the files into folders yet, but modified decorate file [Repeater] is second from top to bottom ⬇ TEST2.rar Also the original Repeater wad, in case you need to do a comparison ⬇ Repeater.rar That's all, I'll thank you for any tips and thanks for your attention👋 Edited October 11, 2021 by K_Doom wrong format 0 Quote Share this post Link to post
Burgish Posted December 10, 2021 I see you're using A_PlaySound instead of A_StartSound, so the game might be not be managing the sound channels properly. If you use A_StartSound, you can actually force your sound into a specific channel (it's 2nd parameter after the sound name). Default just uses the next unused sound channel, so just changing to A_StartSound may do the trick, but if that doesn't work fiddling with the channels is probably worth a try. Alas, I got an error when I tried to open your .rar :( So you'll have to test that out on your end. Hope it helps! 1 Quote Share this post Link to post
K_Doom Posted December 11, 2021 3 hours ago, Burgish_Nilwert said: Vejo que você está usando A_PlaySound em vez de A_StartSound, então o jogo pode não estar gerenciando os canais de som corretamente. Se você usar A_StartSound, você pode realmente forçar seu som em um canal específico (é o segundo parâmetro após o nome do som). O padrão usa apenas o próximo canal de som não utilizado, então apenas mudar para A_StartSound pode resolver o problema, mas se isso não funcionar, provavelmente vale a pena tentar mexer nos canais. Infelizmente, recebi um erro quando tentei abrir seu .rar :( Então você terá que testar isso do seu lado. Espero que ajude! Thanks for that, A_StartSound really solves the problem, but inside UDB. When I try to run the map to play in GZDoom it shows an error that doesn't recognize this function. Which is weird since it's not deprecated. 0 Quote Share this post Link to post
Burgish Posted December 11, 2021 (edited) That's too bad, but at least we found out the problem is definitely the sound channels. A_StartSound isn't deprecated, but in Slade DECORATE language it isn't highlighted, even though it works in game. ...which makes me think there might be version compatibility issues. I'm running GZDoom 4.5, if that helps. Or you could always try uninstalling/reinstalling GZDoom if you haven't tried that already. Edited December 11, 2021 by Burgish_Nilwert 1 Quote Share this post Link to post
Kan3 Posted December 11, 2021 Wait... Aren't you the same guy who asked this same question a while ago? What happened? 0 Quote Share this post Link to post
K_Doom Posted December 11, 2021 3 hours ago, Burgish_Nilwert said: That's too bad, but at least we found out the problem is definitely the sound channels. A_StartSound isn't deprecated, but in Slade DECORATE language it isn't highlighted, even though it works in game. ...which makes me think there might be version compatibility issues. I'm running GZDoom 4.5, if that helps. Or you could always try uninstalling/reinstalling GZDoom if you haven't tried that already. I'll try, I hope it works. 1 Quote Share this post Link to post
K_Doom Posted December 11, 2021 2 hours ago, Kan3 said: Wait... Aren't you the same guy who asked this same question a while ago? What happened? Haha, yes it's me friend. Unfortunately, I have to repost my questions in several places as they seem to be the only way for someone to answer... 2 Quote Share this post Link to post
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.