Gauss jump on singleplayer Created 1 year ago2023-08-08 02:41:18 UTC by jamie jamie

Created 1 year ago2023-08-08 02:41:18 UTC by jamie jamie

Posted 1 year ago2023-08-08 02:41:18 UTC Post #347763
Is the "jumpability" of the Gauss gun´s secondary attack controled by a cvar or by the code?. I want to implement it in a singleplayer map.
Posted 1 year ago2023-08-08 09:38:58 UTC Post #347764
You have to comment out this lines in gauss.cpp:
if ( !g_pGameRules->IsMultiplayer() )
{
    // in deathmatch, gauss can pop you up into the air. Not in single play.
    m_pPlayer->pev->velocity.z = flZVel;
}
User posted image
[-TR-] 3mirG [-TR-] 3mirGThe Turkish Half-Life modder.
Posted 1 year ago2023-08-08 18:53:43 UTC Post #347765
Well, too bad it does need coding. Thanks.
Posted 1 year ago2023-11-09 00:03:47 UTC Post #348003
You can make it server-cvar controlled if you wish though
You must be logged in to post a response.