I found this map locker on a different community I play on.
I didn't read the topic so Idk is someone posted these methods...
3 Possible ways.
1)
Go onto any point entity such as 'light_environment' then turn off smart edit and press add.
Next make a Key with the name of 'no_decomp' and with a value of 1.
This is very easy to overcome but a clueless moron would never be able to get into the map!
2)
The second level is to create a texture called 'locked' using vtfedit and any random picture.
Place this texture into your HL2DM materials folder in a folder called tools. You may need to create the tools folder. Make a 1x1x1 brush with this texture.
This level is far harder to remove and for some reason stops the decompile process.
3)
This final layer of protection is almost impossible to remove without a lot of knowledge on how bsp files are written.
It is very basic and easy to add and it greatly reduces the chances of your map being decompiled.
Download this file:
http://www.bagthorpe.org/bob/cofrdrbob/ ... tector.zip and open it in hammer then copy and paste it into your map anywhere. Do not edit it in any way except its position. Make sure that it is not touching anything as well.