
Line_SetDecal?
Moderator: GZDoom Developers
-
- Posts: 791
- Joined: Thu Jul 24, 2003 7:47 am
- Location: IN A GODDAMN BOX[In Erie.]
Line_SetDecal?
I think Line_SetDecal would be a handy function. You could set a certain line in the game to generate a different type of decal instead of the normal bullethole. It's arguments could be something like Line_SetDecal(DecalName,Front/Back,LineID); 

-
- Lead GZDoom+Raze Developer
- Posts: 47986
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
-
- Posts: 791
- Joined: Thu Jul 24, 2003 7:47 am
- Location: IN A GODDAMN BOX[In Erie.]
-
- Posts: 677
- Joined: Sun Feb 27, 2005 4:32 pm
- Location: Revere, MA
-
- Posts: 791
- Joined: Thu Jul 24, 2003 7:47 am
- Location: IN A GODDAMN BOX[In Erie.]
You can already do that through decaldef.
That sets the FrostMissiles decal to your decal. I'd like to be able to switch decals per texture but Graf already said we can't do that so... =/
Code: Select all
decal MyDecal 4
{
pic SCORCH1
shade "00 10 00"
x-scale 0.25
y-scale 0.25
randomflipx
randomflipy
}
generator FrostMissile MyDecal