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: Select all
Inventory.PickupSound "misc/w_pkup";"
Code: Select all
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: Select all
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: Select all
Flamethrower/Fire FMTRFIRE
Flamethrower/Hit FMTRHIT
Flamethrower/Flame FMTRFLAM
