Gravity Problem

Hi I have a problem. Edited a companion model cube.I dont change nothing just i change . Qc to add more skins. But when the fires in the game that if my model has a lower gravitation. Because pushed it up, and fell down longer than normal companion cube! Can there be a problem to copy metal_box_refference and change coped version into metal_box_collision and setting it on a collision model. Qc?

It’s likely that somewhere along the line the mass was reduced. Just change it back to something suitable for a companion cube.

here is .qc if it can help :

$cd “C:\Documents and Settings\Aperture Science\Moje dokumenty\MB”
$modelname “props/metal_box_atrubute.mdl”
$model “Body” “metal_box_reference.smd”
$lod 15
{
replacemodel “metal_box_reference” “lod1_metal_box_reference”
}
$lod 35
{
replacemodel “metal_box_reference” “lod2_metal_box_reference”
}
$lod 60
{
replacemodel “metal_box_reference” “lod3_metal_box_reference”
}
$lod 80
{
replacemodel “metal_box_reference” “lod4_metal_box_reference”
}
$cdmaterials “models\props/”
$texturegroup skinfamilies
{
{ “metal_box.vmt” }
{ “metal_box_skin001.vmt” }
{ “metal_box_skin002.vmt” }
{ “metal_box_skin003.vmt” }
{ “metal_box_skin004.vmt” }
{ “metal_box_skin005.vmt” }
{ “metal_box_skin006.vmt” }
{ “metal_box_skin007.vmt” }
}
$hboxset “default”
$hbox 0 “polymsh” -19.796 -19.797 -19.795 19.796 19.795 19.795
// Model uses material “metal_box.vmt”
// Model uses material “metal_box_skin001.vmt”
$surfaceprop “metalpanel”
$collisionmodel “/metal_box_collision.smd”
$keyvalues { prop_data { “base” “Metal.small” } }
$illumposition -0.000 0.000 -0.001
$sequence idle “idle” ACT_IDLE 1 fps 30.00

Collision is copy metal_box_reference.smd just renamed to collision

Your ‘collision model’ block doesn’t have any parameters assigned to it. I’ve taken the liberty of fixing it for you. Your .QC should look like this:


$cd "C:\Documents and Settings\Aperture Science\Moje dokumenty\MB"
$modelname "props/metal_box_atrubute.mdl"
$model "Body" "metal_box_reference.smd"
$cdmaterials "models\props/"
$texturegroup skinfamilies
{
	{ "metal_box" }
	{ "metal_box_skin001" }
	{ "metal_box_skin002" }
	{ "metal_box_skin003" }
	{ "metal_box_skin004" }
	{ "metal_box_skin005" }
	{ "metal_box_skin006" }
	{ "metal_box_skin007" }
}
$hboxset "default"
$hbox 0 "polymsh" -19.796 -19.797 -19.795 19.796 19.795 19.795
// Model uses material "metal_box.vmt"
// Model uses material "metal_box_skin001.vmt"
$surfaceprop "metalpanel"
$collisionmodel "metal_box_reference.smd" {

	$concave
	$mass 5.0
	$inertia 1.00
	$damping 0.00
	$rotdamping 0.00
}
$keyvalues { prop_data { "base" "Metal.small" } }
$illumposition -0.000 0.000 -0.001
$sequence idle "idle" ACT_IDLE 1 fps 30.00

Where ‘$mass 5.0’ represents the object’s weight.