Please or Register to create posts and topics.

Tweaking game physics

PreviousPage 2 of 2
Omnicoder wrote:
Valve has plenty of map specific hacks in half life. I recall a line from the ep2 source code that read something like:

Quote:
//!!!HACKHACKHACK!!! If the player tries to crossbow over alyx while shes crouching it is absorbed by her physbox, set her as owner. player loses a kill but at least the shot fires right
if (engine->MapName == "ep2_outlands_05")
this->Owner = pOther;

Hah! Sounds a lot like VALVe to preserve the environmental integrity of the game if it means injuring the actual gameplay.

I have to start looking through that code more, some of the stuff makes me laugh hard.

Image
Now with 100% more inline comments!
PreviousPage 2 of 2