Line_SetDecal?

Moderator: GZDoom Developers

User avatar
Zell
Posts: 791
Joined: Thu Jul 24, 2003 7:47 am
Location: IN A GODDAMN BOX[In Erie.]

Line_SetDecal?

Post by Zell »

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); :D
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 47986
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Post by Graf Zahl »

Sorry, that won't work. The decal is a property of the weapon, not the wall. How should the game decide that some weapon needs special treatment?
User avatar
Zell
Posts: 791
Joined: Thu Jul 24, 2003 7:47 am
Location: IN A GODDAMN BOX[In Erie.]

Post by Zell »

Damn. :P I should have remebered that becuase of Decaldef.
User avatar
chaoscentral
Posts: 677
Joined: Sun Feb 27, 2005 4:32 pm
Location: Revere, MA

Post by chaoscentral »

so how about a A_ChangeDecal thing for weapons

A_ChangeDecal("Decal Name")
User avatar
Zell
Posts: 791
Joined: Thu Jul 24, 2003 7:47 am
Location: IN A GODDAMN BOX[In Erie.]

Post by Zell »

You can already do that through decaldef.

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
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... =/

Return to “Closed Feature Suggestions”