Weapon help!

Archive of the old editing forum
Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. This forum is archived - please use this set of forums to ask new questions.
Locked
User avatar
chevrolet103
Posts: 15
Joined: Sun Jul 20, 2008 1:16 pm

Weapon help!

Post 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:
User avatar
Jimmy
 
 
Posts: 4726
Joined: Mon Apr 10, 2006 1:49 pm
Preferred Pronouns: He/Him
Contact:

Re: Weapon help!

Post by Jimmy »

Might it have something to do with the capitalization (or lack thereof) of the sprite frame names?
User avatar
MasterOFDeath
... in rememberance ...
Posts: 2024
Joined: Sat Apr 03, 2004 10:58 am

Re: Weapon help!

Post by MasterOFDeath »

Not 100% sure about this but try capitalizing your sprite names.

[edit]Darnit, Jimmy. :P
User avatar
chevrolet103
Posts: 15
Joined: Sun Jul 20, 2008 1:16 pm

Re: Weapon help!

Post by chevrolet103 »

Thanks for all the help it's working now. :thumb:
User avatar
wildweasel
Posts: 21706
Joined: Tue Jul 15, 2003 7:33 pm
Preferred Pronouns: He/Him
Operating System Version (Optional): A lot of them
Graphics Processor: Not Listed
Contact:

Re: Weapon help!

Post 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.
User avatar
Enjay
 
 
Posts: 27088
Joined: Tue Jul 15, 2003 4:58 pm
Location: Scotland
Contact:

Re: Weapon help!

Post 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.
Locked

Return to “Editing (Archive)”