Assigning decals to a bulletpuff
Moderator: GZDoom Developers
Assigning decals to a bulletpuff
I'm not sure why/if this was(n't) requested before. Since Damagetypes have been moved to the bulletpuff, why can't decals be assigned to the puff, too?
I don't mean they should be moved from the weapon entirely, since that would probably cause some glitches. It would work better if it could use decals assigned to the puff, not exclusively to the puff (and have it use the puffs rather than the weapons if both are defined).
This would help with weapons that use two different hitscan attacks (like that machinegun with a flashlight I made).
I don't mean they should be moved from the weapon entirely, since that would probably cause some glitches. It would work better if it could use decals assigned to the puff, not exclusively to the puff (and have it use the puffs rather than the weapons if both are defined).
This would help with weapons that use two different hitscan attacks (like that machinegun with a flashlight I made).
- bagheadspidey
- Posts: 1490
- Joined: Sat Oct 20, 2007 10:31 pm
- Contact:
Re: Assigning decals to a bulletpuff
seconded.
Re: Assigning decals to a bulletpuff
It would have to be done in a way that didn't mess with existing mods, but this is a sensible idea IMO, if it can be done.
[nag] If only the rail had puffs you'd be able to make railguns that shoot different coloured rail-trails cause appropriate coloured decals for each trail [/nag]
[nag] If only the rail had puffs you'd be able to make railguns that shoot different coloured rail-trails cause appropriate coloured decals for each trail [/nag]

- bagheadspidey
- Posts: 1490
- Joined: Sat Oct 20, 2007 10:31 pm
- Contact:
Re: Assigning decals to a bulletpuff
The rail gun is broken in several ways from what I can tell, but judging by the (lack of) response to my bug reports, fixing it does not seem to be much of a priority ;p
Re: Assigning decals to a bulletpuff
I'm not implying ZDoom shouldn't also use the current system. Decals could also be assigned to weapons, to keep compatibility with wads that don't use this.Enjay wrote:It would have to be done in a way that didn't mess with existing mods
@BagHead: The railgun functions could also use a few other parameters (which could be used as flags in the function, rather than bools)

- Graf Zahl
- Lead GZDoom+Raze Developer
- Posts: 49238
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: Assigning decals to a bulletpuff
Yes, definitely. However, to keep compatibility, if a decal is assigned to a weapon (or monster) that should override the puff's decal.
Re: Assigning decals to a bulletpuff
That's pretty much the logic I was thinking would be suitable for not messing with existing stuff.Graf Zahl wrote:Yes, definitely. However, to keep compatibility, if a decal is assigned to a weapon (or monster) that should override the puff's decal.
- 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: Assigning decals to a bulletpuff
I would quite like this feature, if it's at all possible, as it's necessary for wwhc-diaz.
Re: Assigning decals to a bulletpuff
And seeing as how the thread has been bumped, I'll retract my earlier statement about the rail which now accepts puffs and can have it's z-offset adjusted in a player deinition. And I'm happy. 

- 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: Assigning decals to a bulletpuff
Apologies for yet another bump on this, but my mod presently feels very empty without decals...time to drum up some support for this feature.
Re: Assigning decals to a bulletpuff
Ok I tried something today. And I seem to got this thing working.
I attached the patch to my post.

I attached the patch to my post.
- Attachments
-
Bulletpuff decal.rar
- (500 Bytes) Downloaded 45 times
- 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: Assigning decals to a bulletpuff
It's in?! Holy crap! I have to check this out...now wwhc-diaz can have actual decals!