I *think* this is a bug rather than merely a scripting error.
If I use a railgun and give its puff a decal, the decal does not appear when shooting a wall. However, if I use the same puff on a different style of hitscan weapon, the decal will appear.
e.g. with this puff:
Code: Select all
class NJTestPuff : BulletPuff
{
Default
{
DamageType "Extreme";
RenderStyle "None";
Decal "BFGScorch";
}
}
Code: Select all
A_RailAttack(100,0,1,"68 B1 CC","FF FF FF",0,0,"NJTestPuff");
Code: Select all
A_FireBullets(4,1,14,4,"NJTestPuff",1,3200);
Test file attached.
Use the console to give njtestgun1 (railgun-plasmagun) and fire at a wall. Should be no decal.
Use the console to give njtestgun2 (shotgun-plasmagun thing) and fire at a wall. BFG scorches everywhere.