upload "kind" alien swarm

This commit is contained in:
nillerusr
2023-10-03 17:23:56 +03:00
parent b7bd94c52e
commit 7d3c0d8b5a
4229 changed files with 462900 additions and 495155 deletions
+11 -2
View File
@@ -1,4 +1,4 @@
//========= Copyright Valve Corporation, All rights reserved. ============//
//========= Copyright © 1996-2005, Valve Corporation, All rights reserved. ============//
//
// Purpose: A moving vehicle that is used as a battering ram
//
@@ -342,6 +342,15 @@ void CFourWheelVehiclePhysics::CalcWheelData( vehicleparams_t &vehicle )
}
//-----------------------------------------------------------------------------
// Precaches the effect
//-----------------------------------------------------------------------------
void CFourWheelVehiclePhysics::Precache()
{
PrecacheEffect( "WheelDust" );
}
//-----------------------------------------------------------------------------
// Spawns the vehicle
//-----------------------------------------------------------------------------
@@ -1385,7 +1394,7 @@ void CFourWheelVehiclePhysics::UpdateDriverControls( CUserCmd *cmd, float flFram
m_bLastThrottle = false;
}
float flSpeedPercentage = clamp( m_nSpeed / m_flMaxSpeed, 0.f, 1.f );
float flSpeedPercentage = clamp( m_nSpeed / m_flMaxSpeed, 0, 1 );
vbs_sound_update_t params;
params.Defaults();
params.bReverse = (m_controls.throttle < 0);