Initial Mapbase commit (squashed from mapbase-beta)

This commit is contained in:
Blixibon
2019-08-31 19:28:20 +00:00
parent 0d8dceea43
commit 3d464bc051
816 changed files with 105527 additions and 957 deletions

View File

@@ -431,9 +431,28 @@ void CBreakable::Precache( void )
case matCinderBlock:
pGibName = "ConcreteChunks";
break;
#ifdef MAPBASE
case matComputer:
pGibName = "ComputerGibs";
break;
case matCeilingTile:
pGibName = "CeilingTile";
break;
case matFlesh:
pGibName = "FleshGibs";
break;
case matWeb:
pGibName = "WebGibs";
break;
#endif
#if HL2_EPISODIC
#endif
#if HL2_EPISODIC || MAPBASE
case matNone:
pGibName = "";
break;
@@ -1054,6 +1073,11 @@ void CBreakable::Die( void )
iCount = func_break_max_pieces.GetInt();
}
#ifdef MAPBASE
// TEMP TEMP TEMP TEMP
DevMsg("vSize: %f %f %f\n", vSize.x, vSize.y, vSize.z);
#endif
ConVarRef breakable_disable_gib_limit( "breakable_disable_gib_limit" );
if ( !breakable_disable_gib_limit.GetBool() && iCount )
{