Page 1 of 1

Weapon help!

Posted: Sun Sep 21, 2008 8:48 am
by chevrolet103
Can anyone tell me why this weapon isn't working in zdoom 2.2.0 and gzdoom r 144? It works perfectly in most recent svn versions of both.

In zdoom 2.2.0 I don't get it when I type idfa or give bpistol. If I type summon bpistol I can hear it hitting the floor when I have a splash wad loaded but it is invisible and when I walk over it i don't pick it up. I know that I don't have it at all because the icon does not appear in the alt hud. All of these things work in the latest svn versions.

All my sprites are in the file inside proper markers and I have a proper working KEYCONF lump.
Spoiler:

Re: Weapon help!

Posted: Sun Sep 21, 2008 9:02 am
by Jimmy
Might it have something to do with the capitalization (or lack thereof) of the sprite frame names?

Re: Weapon help!

Posted: Sun Sep 21, 2008 9:03 am
by MasterOFDeath
Not 100% sure about this but try capitalizing your sprite names.

[edit]Darnit, Jimmy. :P

Re: Weapon help!

Posted: Sun Sep 21, 2008 9:16 am
by chevrolet103
Thanks for all the help it's working now. :thumb:

Re: Weapon help!

Posted: Sun Sep 21, 2008 5:26 pm
by wildweasel
That occasionally happens to me, but for a different reason: check to make sure your pickup sprite is actually aligned above the floor level. In ZDoom, you'll still be able to see the weapon when this glitch occurs, but it'll appear below the floor. In GZDoom, it'll be invisible because GZDoom doesn't render below the floor.

Re: Weapon help!

Posted: Sun Sep 21, 2008 5:38 pm
by Enjay
He's off to bed now but it was the capitalisation thing, the pickup sprite was fine. IIRC, there was a removing of case sensitivity in DECORATE for some (all?) things quite recently. That was where the confusion crept in. He'd set things up, and they worked, in recent SVN versions but they didn't with older "official" versions, despite there being noting in there that should obviously cause problems with the older versions. So, older versions just treated it like a weapon that had no sprites - ie you could summon the invisible pickup but you couldn't actually get the weapon.