[Fixed] 2.0.50 decals bug
Moderator: GZDoom Developers
Forum rules
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.
-
Nash
-

- Posts: 17506
- Joined: Mon Oct 27, 2003 12:07 am
- Location: Kuala Lumpur, Malaysia
2.0.50 decals bug
I noticed that in 50, the blue marks for the plasma rifle do no appear.
Then I found out that decals that don't use "shade" (for example, the plasma rifle's blue mark decal) aren't drawn for some reason.
I tried removing the "shade" property from the BFGLITE decal and lo and behold; the lightning doesn't appear.
Please fix...
Then I found out that decals that don't use "shade" (for example, the plasma rifle's blue mark decal) aren't drawn for some reason.
I tried removing the "shade" property from the BFGLITE decal and lo and behold; the lightning doesn't appear.
Please fix...
-
Nanami
- Posts: 1066
- Joined: Tue Jul 15, 2003 5:13 pm
- Location: That little island pritch created.
I think Randy removed this for compatibility issues. Some DeHacked files may change the graphics around and different things may splat on the wall.
For example, in Batman Doom, the decal appears as a person, which is obviously undesirable.
I liked the effect before but compatibility is important. I think Randy should include original sprites in ZDoom.wad to read from, rather than reading the ones from Doom(2).wad - like the BFG Ball does.
For example, in Batman Doom, the decal appears as a person, which is obviously undesirable.
I liked the effect before but compatibility is important. I think Randy should include original sprites in ZDoom.wad to read from, rather than reading the ones from Doom(2).wad - like the BFG Ball does.
-
Enjay
-

- Posts: 27310
- Joined: Tue Jul 15, 2003 4:58 pm
- Location: Scotland
Well, I'd like to see the old fading plasma decals back. They were cool. If compatability is an issue for older mods that were never intended to have decals - turn decals off. As for putting the decal graphics in Zdoom.wad - well OK, but the plasma bullet graphics from the IWAD looked just fine - and I have played a few mods where the plasma bullet has been changed and also looks fine with the decal as it was in earlier versions. So my solution would be:
Restore the old decal behaviour
For old mods (regular and Zdoom), turn off decals if it bugs you ( cl_maxdecals 0 )
For new Zdoom mods, expect the author to provide suitable graphics/decal definitions
Restore the old decal behaviour
For old mods (regular and Zdoom), turn off decals if it bugs you ( cl_maxdecals 0 )
For new Zdoom mods, expect the author to provide suitable graphics/decal definitions
-
Graf Zahl
- Lead GZDoom+Raze Developer

- Posts: 49252
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Put a copy of the plasma bullet into ZDoom.WAD and all problems are gone. This way there is no need to turn decals off. Decals shouldn't rely on lumps that can be altered by mods that aren't ZDoom specific.Enjay wrote:Well, I'd like to see the old fading plasma decals back. They were cool. If compatability is an issue for older mods that were never intended to have decals - turn decals off. As for putting the decal graphics in Zdoom.wad - well OK, but the plasma bullet graphics from the IWAD looked just fine - and I have played a few mods where the plasma bullet has been changed and also looks fine with the decal as it was in earlier versions. So my solution would be:
Restore the old decal behaviour
For old mods (regular and Zdoom), turn off decals if it bugs you ( cl_maxdecals 0 )
For new Zdoom mods, expect the author to provide suitable graphics/decal definitions
For me it doesn't matter anyway. I don't like decals and have removed most of them (except the blood smears) from the DECALDEF lump.
-
Enjay
-

- Posts: 27310
- Joined: Tue Jul 15, 2003 4:58 pm
- Location: Scotland
Unless of course you are playing a mod which changes the appearance of the plasma bullet - maybe a simple change like making them red, but when they hit the wall they leave a blue mark.Graf Zahl wrote:Put a copy of the plasma bullet into ZDoom.WAD and all problems are gone.
I've played quite a few mods that have different looking plasma bullets that look fine with the old decal definitions.
-
Cyb
- Posts: 912
- Joined: Tue Jul 15, 2003 5:12 pm
-
Graf Zahl
- Lead GZDoom+Raze Developer

- Posts: 49252
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
-
Enjay
-

- Posts: 27310
- Joined: Tue Jul 15, 2003 4:58 pm
- Location: Scotland
Well, that wouldn't fix the problem I mentioned if only the appearance of the sprites had been changed, but the decal was moved to zdoom.wad. And what if the projectiles had been dehacked, but still looked good with the original decals - I dunno, a change of damage value, or an extended in flight or death animation or something?Cyb wrote:perhaps the default decaldefs for projectiles should only work for projectiles that have not been dehacked in any way?
I think the easiest option is to have things as they were and for people to be able to switch off decals when playing a mod that doesn't match the decals if it bothers them.
Perhaps to make this easier, a new cvar could be added. eg cl_showdecals. 0 would prevent decals showing, whereas 1 would show decals using the current cl_maxdecals value. A menu item to switch decals on and off could be added to help make this more accesible. I know some people would even like cl_showblooddecals (for blood splats) and cl_showshotdecals (for hitscan and projectiles). I suppose you could even divide it up further for monster versus player decals and hitscan versus projectiles, but I think that might be a touch excessive.
-
Graf Zahl
- Lead GZDoom+Raze Developer

- Posts: 49252
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
good idea.Enjay wrote: Perhaps to make this easier, a new cvar could be added. eg cl_showdecals. 0 would prevent decals showing, whereas 1 would show decals using the current cl_maxdecals value. A menu item to switch decals on and off could be added to help make this more accesible.
absolutely!I know some people would even like cl_showblooddecals (for blood splats) and cl_showshotdecals (for hitscan and projectiles).
I don't think anybody needs this.I suppose you could even divide it up further for monster versus player decals and hitscan versus projectiles, but I think that might be a touch excessive.
-
randi
- Site Admin
- Posts: 7749
- Joined: Wed Jul 09, 2003 10:30 pm
-
HotWax
- Posts: 10002
- Joined: Fri Jul 18, 2003 6:18 pm
- Location: Idaho Falls, ID
Am I the only one wondering what Graf and Enjay are smoking? Put the plasma bullet sprites in zdoom.wad? What for? So they can be overwritten twice instead of once and end up with the same result? To wit:
Command line: zdoom -iwad doom.wad -file SpiffyPlasmaMod.wad
Loaded wads (in order):
DOOM.WAD <-- Loads plasma sprites
ZDOOM.WAD <-- Overwrites plasma with same graphics
SPIFFYPLASMAMOD.WAD <-- Overwrites plasma with new graphics
Whoops, same error. Imagine that.
Command line: zdoom -iwad doom.wad -file SpiffyPlasmaMod.wad
Loaded wads (in order):
DOOM.WAD <-- Loads plasma sprites
ZDOOM.WAD <-- Overwrites plasma with same graphics
SPIFFYPLASMAMOD.WAD <-- Overwrites plasma with new graphics
Whoops, same error. Imagine that.
-
Cyb
- Posts: 912
- Joined: Tue Jul 15, 2003 5:12 pm
-
timmie
- Posts: 199
- Joined: Tue Jul 15, 2003 3:44 pm
- Location: Vancouver, BC
-
HotWax
- Posts: 10002
- Joined: Fri Jul 18, 2003 6:18 pm
- Location: Idaho Falls, ID
-
Graf Zahl
- Lead GZDoom+Raze Developer

- Posts: 49252
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany