It is currently Fri Apr 19, 2024 2:54 am
Major Banter wrote:Zecrah, you've come from nowhere yet have rapidly become a Hammer God.
Wtf.
Major Banter wrote:Zecrah, you've come from nowhere yet have rapidly become a Hammer God.
Wtf.
$modelname "props_sdk\myfirstmodel.mdl"
$body mybody "myfirstmodel-ref.smd"
$staticprop
$surfaceprop combine_metal
$cdmaterials "models\props_sdk"
$sequence idle "myfirstmodel-ref.smd"
$collisionmodel "myfirstmodel-phys.smd" { $concave }
$modelname "boxes/box.mdl"
$scale 1.0
$body box "box texture.smd"
$surfaceprop "cardboard"
$upaxis Y
$cdmaterials "models\boxes\"
$sequence idle "box_idle.smd"
$collisionmodel "Box.smd"
{
//The player can pick up a maximum weight of 35KG, the gravity gun 250KG.
$mass 4.0
//For a concave collision model set this, else delete it.
//Model can have multiple convex models.
$concave
}
$keyvalues
{
prop_data
{
base Cardboard.Small
}
}
Major Banter wrote:Zecrah, you've come from nowhere yet have rapidly become a Hammer God.
Wtf.
Major Banter wrote:Zecrah, you've come from nowhere yet have rapidly become a Hammer God.
Wtf.
$cd "D:\Sourcemods\Export SMD\"
$modelname "tnt_barrel.smd"
$scale 1.00
$cdmaterials "models/textures"
$body "Body" "Tnt_barrel.smd"
$sequence "Idle" fps 30 ACT_IDLE 1
$surfaceprop "wood"
$keyvalues { "prop_data" {"base" "wood.small"}
$collisionmodel "Tnt_barrel.smd" {
$concave
$mass 100.000
}
Gary wrote:By the way, using your visual mesh as a collision model is expensive and possibly invalid.
Epifire wrote:$modelname "\tnt_barrel.smd"
$scale 1.00
$cdmaterials "models/textures"
$body "Body" "Tnt_barrel.smd"
$sequence "Idle" "D:\Sourcemods\Export SMD\Tnt_barrel.smd" fps 30 ACT_IDLE 1
$surfaceprop "wood"
$keyvalues { "prop_data" {"base" "wood.small"}
$collisionmodel "D:\Sourcemods\Export SMD\Tnt_barrel.smd" {
$concave
$mass 100.000
}
$keyvalues
{
"prop_data"
{
"base" "wood.small"
}
Major Banter wrote:Zecrah, you've come from nowhere yet have rapidly become a Hammer God.
Wtf.
Users browsing this forum: No registered users