Tweaking game physics
PreviousPage 2 of 2
#11 · October 14, 2010, 8:39 pm
Quote from WinstonSmith on October 14, 2010, 8:39 pmOmnicoder 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.
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;
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.
Click for thumbs down.0Click for thumbs up.0
PreviousPage 2 of 2