Black weapon sprite

Bugs that have been resolved.

Moderator: Graf Zahl

Locked
User avatar
Nash
Developer
Developer
Posts: 1226
Joined: Sun Sep 25, 2005 1:49
Location: Kuala Lumpur, Malaysia
Contact:

Black weapon sprite

Post by Nash »

I've just got back from a very long modding break, currently things are a little chaotic as I try to get up to speed with the latest GZDoom developments and trying to make sure my mod doesn't break in the latest version of the engine.

Anyway, sent a private link to Graf Zahl for test material. Sorry for the hastily-put-together file - I simply do not have the time to isolate things into a minimal package right now, but this bug is easy to reproduce if you run the linked package with the latest revision of GZDoom (41e959e).

1) Run test file with GZDoom (preferably with -noautoload)
2) Immediately warp to map "nash test 01" using the console
3) give yourself any weapon (give pistol for example)

The weapon sprite will be pitch black.
User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany
Contact:

Re: Black weapon sprite

Post by Graf Zahl »

Ît now won't draw anything if the player's render style is set to None.
User avatar
Nash
Developer
Developer
Posts: 1226
Joined: Sun Sep 25, 2005 1:49
Location: Kuala Lumpur, Malaysia
Contact:

Re: Black weapon sprite

Post by Nash »

Was that an unrecommended setup? The reason I set the player's render style to None because I had a separate modular player sprite system in place, which required me to hide the real player actor.

I guess I should just replace all the PLAY* sprites with TNT1A0?
User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany
Contact:

Re: Black weapon sprite

Post by Graf Zahl »

Do you need the weapon sprite to show? If yes, you cannot use RenderStyle None. I just cross-checked with ZDoom and it also won't show anything in that case.
User avatar
Nash
Developer
Developer
Posts: 1226
Joined: Sun Sep 25, 2005 1:49
Location: Kuala Lumpur, Malaysia
Contact:

Re: Black weapon sprite

Post by Nash »

Yes, I need the weapon sprite to show. It's alright; I'll just provide empty sprites for the player class.
Locked

Return to “Closed Bugs”