Journal #5422

Posted 16 years ago2008-10-20 07:55:06 UTC
I'm now running the final compile on Lab11_LavaLab ... or at least I was until I remembered something I wanted to include. One quick 18-hour recompile coming up. sigh

In other news, I said something a couple of Journal posts back about tweaking the HL SDK to prevent people from using buttons (or, more importantly, health chargers) through solid walls. I made some preliminary code available online since somebody asked for it, but I finally came to the realisation that it was my revised code that was preventing one of the switches in my level from working. (I ran the level under standard HL/valve and the switch worked fine!)

I have now fixed the flaw in the code, and made it rather more streamlined in the process. I can't find a problem with what I've done (although there is bound to be one, so use at your own risk!)

My modified code is here:

http://www.petesplace.id.au/coding/no_use_through_walls.php

1 Comment

Commented 16 years ago2008-10-20 11:18:55 UTC Comment #51503
Nice coding there, a simple obvious fix that needed implementing a long time ago. :]

You must log in to post a comment. You can login or register a new account.