Skip to content

Commit

Permalink
Add Forklift modelsrc files as required by Valve
Browse files Browse the repository at this point in the history
  • Loading branch information
Tsuey committed Oct 2, 2021
1 parent 4dc3fd7 commit 4d6b2e9
Show file tree
Hide file tree
Showing 40 changed files with 22,876 additions and 0 deletions.
Binary file added sources/modelsrc/forklift.dmx
Binary file not shown.
103 changes: 103 additions & 0 deletions sources/modelsrc/forklift.qc
Original file line number Diff line number Diff line change
@@ -0,0 +1,103 @@
//Forklift recompile for L4D2 Anniversary Update, by Lt. Rocky

//Purpose: Allowing Tanks to break the fork portion of the forklift off, for easier use as a weapon in Versus

$modelname "props/cs_assault/forklift.mdl"

$staticprop

$body "Body" "forklift.smd"

$lod 60
{
replacemodel "forklift.smd" "forklift_lod1.smd"
nofacial
}
$lod 100
{
replacemodel "forklift.smd" "forklift_lod2.smd"
nofacial
}

$surfaceprop "metalvehicle"
$contents "solid"
$illumposition -0.005 -0.053 48.333
$cdmaterials "models\props\cs_assault\"

$cbox 0 0 0 0 0 0
$bbox -30.666 -84.247 -2.203 30.417 83.571 98.828
$definebone "static_prop" "" 0 0 0 0 0 0 0 0 0 0 0 0

$sequence "idle" "forklift" activity "act_idle" 1

$collisionmodel "forklift_physics.smd"
{
$mass 800
$inertia 1
$damping 0
$rotdamping 0
//$rootbone " "
$concave
$maxconvexpieces 20
//$masscenter -47 0 40
}

$KeyValues
{
prop_data
{
"base" "Metal.Large"
"dmg.bullets" "0"
"dmg.fire" "0"
"dmg.club" "1"
"dmg.explosive" "1"
"allowstatic" "1"
"health" "50"
"multiplayer_break" "both"
}
}

$collisiontext
{
break
{
"model" "props\cs_assault\forklift_brokenlift.mdl"
"dmg.bullets" "0"
"dmg.club" "0"
"debris" "0"
"fadetime" "0"
"multiplayer_break" "server"
}
break
{
"model" "props\cs_assault\forklift_brokenfork.mdl"
"dmg.bullets" "0"
"dmg.fire" "0"
"debris" "0"
"fadetime" "0"
"health" "50"
"multiplayer_break" "server"
"debris" "1"
}
break
{
"model" "props\cs_assault\forklift_brokenlift_tire1.mdl"
"fadetime" "80"
"burst" "50"
"debris" "1"
}
break
{
"model" "props\cs_assault\forklift_brokenlift_tire2.mdl"
"fadetime" "80"
"burst" "200"
"debris" "1"
}
break
{
"model" "props\cs_assault\forklift_brokenlift_tire3.mdl"
"fadetime" "80"
"burst" "200"
"debris" "1"
}
}
9,607 changes: 9,607 additions & 0 deletions sources/modelsrc/forklift.smd

Large diffs are not rendered by default.

9 changes: 9 additions & 0 deletions sources/modelsrc/forklift_anims/idle.smd
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
// Created by Crowbar 0.64
version 1
nodes
0 "static_prop" -1
end
skeleton
time 0
0 0.000000 0.000000 0.000000 0.000000 0.000000 -1.570796
end
Binary file added sources/modelsrc/forklift_brokenfork.dmx
Binary file not shown.
104 changes: 104 additions & 0 deletions sources/modelsrc/forklift_brokenfork.qc
Original file line number Diff line number Diff line change
@@ -0,0 +1,104 @@
//Forklift recompile for L4D2 Anniversary Update, by Lt. Rocky

//Purpose: Allowing Tanks to break the fork portion of the forklift off, for easier use as a weapon in Versus

$modelname "props\cs_assault\forklift_brokenfork.mdl"

$staticprop

$body "Body" "forklift_brokenfork"

/*
$lod 60
{
replacemodel "forklift.smd" "forklift_lod1.smd"
nofacial
}
$lod 100
{
replacemodel "forklift.smd" "forklift_lod2.smd"
nofacial
}
*/
$surfaceprop "metalvehicle"
$contents "solid"
$illumposition -0.005 -0.053 48.333
$cdmaterials "models\props\cs_assault\"
$cbox 0 0 0 0 0 0
$bbox -30.666 -84.247 -2.203 30.417 83.571 98.828
$definebone "static_prop" "" 0 0 0 0 0 0 0 0 0 0 0 0


$sequence "idle" "forklift_brokenfork" activity "act_idle" 1

$collisionmodel "forklift_brokenfork_physics.dmx"
{
$mass 400
$inertia 1
$damping 0
$rotdamping 0
//$rootbone " "
$concave
$maxconvexpieces 20
}

$KeyValues
{
prop_data
{
"base" "Metal.Large"
"dmg.bullets" "0"
"dmg.fire" "0"
"dmg.club" "2"
"dmg.explosive" "1"
"allowstatic" "1"
"health" "100"
"multiplayer_break" "both"
}
}

$collisiontext
{
break
{
"model" "props\cs_assault\forklift_brokenfork1.mdl"
"fadetime" "80"
"burst" "50"
}
break
{
"model" "props\cs_assault\forklift_brokenfork2.mdl"
"fadetime" "80"
"burst" "50"
}
break
{
"model" "props\cs_assault\forklift_brokenfork3.mdl"
"fadetime" "80"
"burst" "50"
}
break
{
"model" "props\cs_assault\forklift_brokenfork4.mdl"
"fadetime" "80"
"burst" "50"
}
break
{
"model" "props\cs_assault\forklift_brokenfork5.mdl"
"fadetime" "80"
"burst" "50"
}
break
{
"model" "props\cs_assault\forklift_brokenfork6.mdl"
"fadetime" "80"
"burst" "50"
}
break
{
"model" "props\cs_assault\forklift_brokenfork7.mdl"
"fadetime" "80"
"burst" "50"
}
}
Binary file added sources/modelsrc/forklift_brokenfork1.dmx
Binary file not shown.
52 changes: 52 additions & 0 deletions sources/modelsrc/forklift_brokenfork1.qc
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
//Forklift recompile for L4D2 Anniversary Update, by Lt. Rocky

//Purpose: Allowing Tanks to break the fork portion of the forklift off, for easier use as a weapon in Versus

$modelname "props\cs_assault\forklift_brokenfork1.mdl"

$staticprop

$body "Body" "forklift_brokenfork1"

/*
$lod 60
{
replacemodel "forklift.smd" "forklift_lod1.smd"
nofacial
}
$lod 100
{
replacemodel "forklift.smd" "forklift_lod2.smd"
nofacial
}
*/
$surfaceprop "metal"
$contents "solid"
$illumposition -0.005 -0.053 48.333
$cdmaterials "models\props\cs_assault\"
$cbox 0 0 0 0 0 0
$bbox -30.666 -84.247 -2.203 30.417 83.571 98.828
$definebone "static_prop" "" 0 0 0 0 0 0 0 0 0 0 0 0


$sequence "idle" "forklift_brokenfork1" activity "act_idle" 1

$collisionmodel "forklift_brokenfork1.dmx"
{
$mass 100
$inertia .3
$damping 0
$rotdamping 0
//$rootbone " "
$concave
$maxconvexpieces 20
}

$KeyValues
{
prop_data
{
"base" "Metal.Large"
"allowstatic" "1"
}
}
Binary file added sources/modelsrc/forklift_brokenfork2.dmx
Binary file not shown.
52 changes: 52 additions & 0 deletions sources/modelsrc/forklift_brokenfork2.qc
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
//Forklift recompile for L4D2 Anniversary Update, by Lt. Rocky

//Purpose: Allowing Tanks to break the fork portion of the forklift off, for easier use as a weapon in Versus

$modelname "props\cs_assault\forklift_brokenfork2.mdl"

$staticprop

$body "Body" "forklift_brokenfork2"

/*
$lod 60
{
replacemodel "forklift.smd" "forklift_lod1.smd"
nofacial
}
$lod 100
{
replacemodel "forklift.smd" "forklift_lod2.smd"
nofacial
}
*/
$surfaceprop "metal"
$contents "solid"
$illumposition -0.005 -0.053 48.333
$cdmaterials "models\props\cs_assault\"
$cbox 0 0 0 0 0 0
$bbox -30.666 -84.247 -2.203 30.417 83.571 98.828
$definebone "static_prop" "" 0 0 0 0 0 0 0 0 0 0 0 0


$sequence "idle" "forklift_brokenfork2" activity "act_idle" 1

$collisionmodel "forklift_brokenfork2.dmx"
{
$mass 100
$inertia .3
$damping 0
$rotdamping 0
//$rootbone " "
$concave
$maxconvexpieces 20
}

$KeyValues
{
prop_data
{
"base" "Metal.Large"
"allowstatic" "1"
}
}
Binary file added sources/modelsrc/forklift_brokenfork3.dmx
Binary file not shown.
52 changes: 52 additions & 0 deletions sources/modelsrc/forklift_brokenfork3.qc
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
//Forklift recompile for L4D2 Anniversary Update, by Lt. Rocky

//Purpose: Allowing Tanks to break the fork portion of the forklift off, for easier use as a weapon in Versus

$modelname "props\cs_assault\forklift_brokenfork3.mdl"

$staticprop

$body "Body" "forklift_brokenfork3"

/*
$lod 60
{
replacemodel "forklift.smd" "forklift_lod1.smd"
nofacial
}
$lod 100
{
replacemodel "forklift.smd" "forklift_lod2.smd"
nofacial
}
*/
$surfaceprop "metal"
$contents "solid"
$illumposition -0.005 -0.053 48.333
$cdmaterials "models\props\cs_assault\"
$cbox 0 0 0 0 0 0
$bbox -30.666 -84.247 -2.203 30.417 83.571 98.828
$definebone "static_prop" "" 0 0 0 0 0 0 0 0 0 0 0 0


$sequence "idle" "forklift_brokenfork3" activity "act_idle" 1

$collisionmodel "forklift_brokenfork3.dmx"
{
$mass 100
$inertia .3
$damping 0
$rotdamping 0
//$rootbone " "
$concave
$maxconvexpieces 20
}

$KeyValues
{
prop_data
{
"base" "Metal.Large"
"allowstatic" "1"
}
}
Binary file added sources/modelsrc/forklift_brokenfork4.dmx
Binary file not shown.
Loading

0 comments on commit 4d6b2e9

Please sign in to comment.