Is there a way to remove an decal in game?

  • If you're asking a question make sure to set the thread type to be a question!

Linking-Yellow

L1: Registered
Jan 18, 2015
4
0
Hey guys,

Does anyone know if there is a way to remove decals from in game. I specifically need to remove decals, not overlays. I have a script that dynamically places decals over logic points, and I want to be able to remove them when they are no longer necessary.
 

hutty

aa
Mar 30, 2014
538
444
.vmf files are stored in plain text ... so it shouldn't be too difficult to throw something together in processing or python (or programming language of choice) to do that.

Alternatively you could use the find texture in a text editor and then manually edit out the chunks
 

Linking-Yellow

L1: Registered
Jan 18, 2015
4
0
That's not what I mean. I have a script that places the decals in-game in places that I've placed some entities. Later, in the same game-session, I want to be able to remove them. I'm having trouble finding how to remove decals that have been placed by an infodecal. Thanks for replying though.
 

Kube

Not the correct way to make lasagna
aa
Aug 31, 2014
1,342
1,849
Hey, this probably won't work (or might not even be possible or feasible), but you could try creating a custom decal that is entirely clear and place it over wherever you need it. In the map, set all of the 'Render Order' values to at least 1, and make sure that the Render Order value of the new decal is 0.

Also, edit from my limited experience with this community I know to tell you to don't deny the validity of Grand Poobah Boojum. You don't know how much power he holds in this community, and he could be coming for you rightOHNOHE'SGOTMERUN!!
 

A Boojum Snark

Toraipoddodezain Mazahabado
aa
Nov 2, 2007
4,775
7,669
No, he is right. It has been years since I've used decals so I wasn't really sure why that wouldn't work. I assumed it did not else this thread wouldn't be here, seemed like a good way to inquire as the the actual problem.
 

Kube

Not the correct way to make lasagna
aa
Aug 31, 2014
1,342
1,849
No, he is right. It has been years since I've used decals so I wasn't really sure why that wouldn't work. I assumed it did not else this thread wouldn't be here, seemed like a good way to inquire as the the actual problem.

Oops, sorry for getting in the way, I need to go do somethingquicknowbye

KubeKing4556 left chat.