Ok, so I working on doing a sort of remaster of some levels I did almost 30 years ago or so. And I've added some new stuff to the project. Now I can't code to save my life so this have been a learning process, using Slade and all. Anyway, while I originally worked with Boom I decided to be able to add new stuff to run in UDMF mode instead and I playtest it with GZDoom.
So, my current issue is I addd the UTNTFlamethrower (dl:ed it from Realm667) to the WAD. It works great, just had to rebalance the damage a little as it was a bit too powerful for the kind of maps I'm working on. But this worked fine, seemingly. But something that I haven't gotten to work yet is the pickup sound for the ammo. The .pk3 of the weapon includes only three soundfiles, and they are for the weapon fire. They work fine, and are defined in the SNDINFO. The ZSCRIPT points the weapon pickup to it's sound with the phrase: This works just fine. The actual ammo is referred to it's sound with the phrase . But picking up this ammo in the game creates no sound effect at all. I tried to, with my limited (read: nonexistent) knowledge have it point to the DSITEMUP sound in the original DOOM2 iwad instead, but since I don't know what I'm doing that apparently didn't work. So I removed that.
So, my guess is that that variable misc/pickup is a broken reference, and that's why it's not playing. If anyone could help me get the regular pickup sound for the ammo working that would be immensily helpful, and I would be equally grateful. It's very unsatisfying picking up that ammo atm.
So, here's the snippet about ammo from my ZSCRIPT file for the weapon:
As nothing in the ZSCRIPT regarding ammo refers the files listed in the SNDINFO I doubt it's meaningful, but here's that file too anyway:
I am assuming it's an easy fix if you just know how. Unlike me. ![Very Happy :D]()
So, my current issue is I addd the UTNTFlamethrower (dl:ed it from Realm667) to the WAD. It works great, just had to rebalance the damage a little as it was a bit too powerful for the kind of maps I'm working on. But this worked fine, seemingly. But something that I haven't gotten to work yet is the pickup sound for the ammo. The .pk3 of the weapon includes only three soundfiles, and they are for the weapon fire. They work fine, and are defined in the SNDINFO. The ZSCRIPT points the weapon pickup to it's sound with the phrase:
Code:
Inventory.PickupSound "misc/w_pkup";"
Code:
Inventory.PickupSound "misc/pickup";
So, my guess is that that variable misc/pickup is a broken reference, and that's why it's not playing. If anyone could help me get the regular pickup sound for the ammo working that would be immensily helpful, and I would be equally grateful. It's very unsatisfying picking up that ammo atm.
So, here's the snippet about ammo from my ZSCRIPT file for the weapon:
Code:
Class Gas : Ammo{ Default { Inventory.PickupSound "misc/pickup"; Inventory.Amount 24; Inventory.MaxAmount 300; Ammo.BackpackAmount 24; Ammo.BackpackMaxAmount 600; Inventory.PickupMessage "You picked up a cannister of hellgas"; Inventory.Icon "AGASA0"; } States { Spawn: AGAS A -1; Loop; }}Class BigGas : Gas{ Default { Inventory.Amount 80; Inventory.PickupMessage "You picked up a large cannister of hellgas"; Inventory.Icon "AGASB0"; }
Code:
Flamethrower/Fire FMTRFIREFlamethrower/Hit FMTRHITFlamethrower/Flame FMTRFLAM

Statistics: Posted by IgnyteZero — Thu Jan 16, 2025 12:36 pm