PDA

View Full Version : Removing Decals on Round Restart


Haigotron
08-01-2007, 06:31 PM
Just looking if anyone knows how to remove Decals on round restart. I am assuming it's done on the client side?

thanks a million :D

StuD-tos
08-01-2007, 06:34 PM
in the hl2mp sdk look for cleanUpMap() (I think this is the function, might be named a bit different) in the hl2mp_gamerules

Haigotron
08-01-2007, 06:50 PM
hey stuD,

I actually have that function being called, but it won't remove the decals. ACtually, I just discovered that infodecal is found in the "static const char *s_PreserveEnts[] " array, perhaps if I remove that, all decals will be removed? I'll give it a try and see!

Edit: Well it didn't work, I was afraid that bulletholes and such aren't considered infodecals.