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.
Black weapon sprite
Moderator: Graf Zahl
- Nash
- Developer
- Posts: 1226
- Joined: Sun Sep 25, 2005 1:49
- Location: Kuala Lumpur, Malaysia
- Contact:
- Graf Zahl
- GZDoom Developer
- Posts: 7148
- Joined: Wed Jul 20, 2005 9:48
- Location: Germany
- Contact:
Re: Black weapon sprite
Ît now won't draw anything if the player's render style is set to None.
- Nash
- Developer
- Posts: 1226
- Joined: Sun Sep 25, 2005 1:49
- Location: Kuala Lumpur, Malaysia
- Contact:
Re: Black weapon sprite
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?
I guess I should just replace all the PLAY* sprites with TNT1A0?
- Graf Zahl
- GZDoom Developer
- Posts: 7148
- Joined: Wed Jul 20, 2005 9:48
- Location: Germany
- Contact:
Re: Black weapon sprite
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.
- Nash
- Developer
- Posts: 1226
- Joined: Sun Sep 25, 2005 1:49
- Location: Kuala Lumpur, Malaysia
- Contact:
Re: Black weapon sprite
Yes, I need the weapon sprite to show. It's alright; I'll just provide empty sprites for the player class.