STEAM GROUP
Crowbar [Source Engine Modding Tool] CrowbarTool
STEAM GROUP
Crowbar [Source Engine Modding Tool] CrowbarTool
1,807
IN-GAME
10,241
ONLINE
Founded
26 October, 2013
Language
English
Showing 111-120 of 122 entries
66
Crowbar 0.19 Bug Reports and Feature Requests
2
In the process of doing a tutorial
@Mr. Macaw,

Thank you so much for this excellent tool.

I know you are diligently working on this and I really don't want to sound pushy or bug you about it, but I am wondering if there is a beta version of the tool floating around that actually extracts the SMDs from the ani files? I really don't care how messed up they are, I would just like to see how bad they are.

I am in the process of doing a tutorial on bringing models into blender (both obj and smd/dmx), rigging them (as required), weight painting them, adding flexes and simple animations, creating eyes, writing the qc, creating the materials then spitting out a functioning model for SFM with sequences direct from Blender using the Blender Source Tools. (Holy doodle, that's a lot of stuff!!) I will be including a video of Crowbar in action with the written tutorial, showing how to use, the logs produced and be linking to this group and the download site a reference points.

As a model is a just model in Blender, doesn't matter where it comes from and animations are saved as separate smd/dmx files when exported, I was hoping to demonstrate how one could adjust an existing animation and include the changes as a new sequence. Unfortunately, the current version (0.19) I have simply bypasses the ani files and reports not supported (yet!!), even though the smd references are spit out in the generated QC.

I've just started the section on Crowbar...

Kindest regards

Pte Jack

(oh, off note, any idea why 0.19 didn't decompile that model I posted about in the bug section where 0.12 did?)
66
Crowbar 0.19 Bug Reports and Feature Requests
Zeq, have a problem here with 0.19 I'm trying to extract one of my models that has multple models embedded. 0.19 is reporting the models have been extracted and finishes normally, writes the qc but when checking for the dmx.smd and the model information in the qc, there is nothing there.


0.12 does the job perfectly.

Sorry for the long post... I've packed the mdl, vvd and vtx files into a zip and they are available here https://www.dropbox.com/s/5tn49hvhxa9g8h7/teaset.zip if you want to experiment. (may be something I've done)



qc created by 0.19 (no smd.dmx files created)

// Created by Crowbar 0.19.0.0

$modelname "teaset\teaset.mdl"

$surfaceprop "glass"

$contents "solid"

// Only set this if you know what it does, and need it for special circumstances, such as with gibs.
// $illumposition 0.288 0.533 35.329

// $bbox -23.431 -9.595 -12.52 22.244 9.836 10.236

// $cbox is probably not used anymore
// $cbox 0 0 0 0 0 0

// The hitbox info below was automatically generated when compiled because no hitbox info was provided.
// $hboxset "default"
// $hbox 0 "tray" -16.01198 -7.881365 0 16.01198 7.881365 1.42216
// $hbox 0 "cup1" -2.153199 0 0 1.524795 4.97727 2.882154
// $hbox 0 "cup2" 0 0 0 6.08909 4.977266 2.882154
// $hbox 0 "cup3" 0 0 0 10.249256 4.977268 2.882154
// $hbox 0 "cup4" 0 -1.446427 0 4.1873 1.458956 2.882154
// $hbox 0 "cup5" 0 -1.446426 0 8.057025 1.458956 2.882154
// $hbox 0 "cup6" 0 -1.446426 0 12.652361 1.458957 2.882154
// $hbox 0 "cup7" -2.27106 -1.471395 -0.083571 1.406934 1.43399 2.678123
// $hbox 0 "cup8" 0 -4.893421 0 7.729388 0 2.882154
// $hbox 0 "cup9" 0 -4.893425 0 12.436315 0 2.882154
// $hbox 0 "teapot" -11.303785 -6.781186 0 0.575811 0.511905 8.485833
// $hbox 0 "teapotlid" -7.95944 -5.478979 0 0 0 10.142149
// $hbox 0 "sugarbowl" -13.576294 -0.178049 0 0 6.456318 5.088368
// $hbox 0 "sugarlid" -11.062635 0 0 0 5.595397 6.534281


qc created by 0.12 (all dmx.smds files were created)

// Created by Crowbar 0.12.0.0

$modelname "teaset\teaset.mdl"

$bodygroup "tray"
{
studio "teaset_tray.dmx.smd"
blank
}
$bodygroup "cup1"
{
studio "teaset_cup1.dmx.smd"
blank
}
$bodygroup "cup2"
{
studio "teaset_cup2.dmx.smd"
blank
}
$bodygroup "cup3"
{
studio "teaset_cup3.dmx.smd"
blank
}
$bodygroup "cup4"
{
studio "teaset_cup4.dmx.smd"
blank
}
$bodygroup "cup5"
{
studio "teaset_cup5.dmx.smd"
blank
}
$bodygroup "cup6"
{
studio "teaset_cup6.dmx.smd"
blank
}
$bodygroup "cup7"
{
studio "teaset_cup7.dmx.smd"
blank
}
$bodygroup "cup8"
{
studio "teaset_cup8.dmx.smd"
blank
}
$bodygroup "cup9"
{
studio "teaset_cup9.dmx.smd"
blank
}
$bodygroup "teapot"
{
studio "teaset_teapot.dmx.smd"
blank
}
$bodygroup "teapot"
{
studio "teaset_teapotlid.dmx.smd"
blank
}
$bodygroup "sugar"
{
studio "teaset_sugarbowl.dmx.smd"
blank
}
$bodygroup "sugar"
{
studio "teaset_sugarlid.dmx.smd"
blank
}


$poseparameter "body_pitch" -45 45 0
$poseparameter "body_yaw" -45 45 0

$cdmaterials "models\teaset\"
$cdmaterials ""

$texturegroup "skinfamilies"
{
{
"models/teaset/tray.vmt"
"models/teaset/cupsoldier.vmt"
"models/teaset/cupspy.vmt"
"models/teaset/cupscout.vmt"
"models/teaset/cuphvy.vmt"
"models/teaset/cupengi.vmt"
"models/teaset/cupdemo.vmt"
"models/teaset/cuppyro.vmt"
"models/teaset/cupmedic.vmt"
"models/teaset/cupsnpr.vmt"
"models/teaset/teapot.vmt"
"models/teaset/tprim.vmt"
"models/teaset/sugarcap.vmt"
"models/teaset/capring.vmt"
"models/teaset/sugarbowl.vmt"
"models/teaset/sugarrim.vmt"
}
}

// Model uses material "models/teaset/tray.vmt"
// Model uses material "models/teaset/cupsoldier.vmt"
// Model uses material "models/teaset/cupspy.vmt"
// Model uses material "models/teaset/cupscout.vmt"
// Model uses material "models/teaset/cuphvy.vmt"
// Model uses material "models/teaset/cupengi.vmt"
// Model uses material "models/teaset/cupdemo.vmt"
// Model uses material "models/teaset/cuppyro.vmt"
// Model uses material "models/teaset/cupmedic.vmt"
// Model uses material "models/teaset/cupsnpr.vmt"
// Model uses material "models/teaset/teapot.vmt"
// Model uses material "models/teaset/tprim.vmt"
// Model uses material "models/teaset/sugarcap.vmt"
// Model uses material "models/teaset/capring.vmt"
// Model uses material "models/teaset/sugarbowl.vmt"
// Model uses material "models/teaset/sugarrim.vmt"

$surfaceprop "glass"

$contents "solid"

$illumposition 0.288 0.533 35.329

$bbox -23.431 -9.595 -12.52 22.244 9.836 10.236

$cbox 0 0 0 0 0 0

// The hitbox info below was automatically generated when compiled because no hitbox info was provided.
$hboxset "default"
$hbox 0 "tray" -16.01198 -7.881365 0 16.01198 7.881365 1.42216
$hbox 0 "cup1" -2.153199 0 0 1.524795 4.97727 2.882154
$hbox 0 "cup2" 0 0 0 6.08909 4.977266 2.882154
$hbox 0 "cup3" 0 0 0 10.249256 4.977268 2.882154
$hbox 0 "cup4" 0 -1.446427 0 4.1873 1.458956 2.882154
$hbox 0 "cup5" 0 -1.446426 0 8.057025 1.458956 2.882154
$hbox 0 "cup6" 0 -1.446426 0 12.652361 1.458957 2.882154
$hbox 0 "cup7" -2.27106 -1.471395 -0.083571 1.406934 1.43399 2.678123
$hbox 0 "cup8" 0 -4.893421 0 7.729388 0 2.882154
$hbox 0 "cup9" 0 -4.893425 0 12.436315 0 2.882154
$hbox 0 "teapot" -11.303785 -6.781186 0 0.575811 0.511905 8.485833
$hbox 0 "teapotlid" -7.95944 -5.478979 0 0 0 10.142149
$hbox 0 "sugarbowl" -13.576294 -0.178049 0 0 6.456318 5.088368
$hbox 0 "sugarlid" -11.062635 0 0 0 5.595397 6.534281




$sequence "idle" "teaset_anims\idle.smd" {
fps 30
}

49
Crowbar 0.12 Bug Reports and Feature Requests
ZeqMacaw, FYI

Not sure if this is a Crowbar warning or a report back from studiomdl through Crowbar but...

When compiling a model from DMX with the new sheen textures. The Model does compile but with Material Warnings. I have 3 materials that use this type of vmt calling and I get the same warnings from them as well.

Warning text:

WARNING: KeyValues Error: RecursiveLoadFromBuffer: got } in key in file materials/models/teaset/tray.vmt
WARNING: VertexlitGeneric, WARNING:
WARNING: KeyValues Error: LoadFromBuffer: missing { in file materials/models/teaset/tray.vmt
WARNING: (*Equals*), WARNING:
WARNING: KeyValues Error: RecursiveLoadFromBuffer: got } in key in file materials/models/teaset/tray.vmt
WARNING: VertexlitGeneric, WARNING:
WARNING: KeyValues Error: LoadFromBuffer: missing { in file materials/models/teaset/tray.vmt
WARNING: (*Equals*), WARNING:
WARNING: Error! Variable "1" is multiply defined in material "models/teaset/tray"!
WARNING: Error! Variable "0" is multiply defined in material "models/teaset/tray"!
WARNING: Error! Variable "{" is multiply defined in material "models/teaset/tray"!

VMT contains:

"VertexlitGeneric"
{
"$basetexture" "models/teaset/tray.vtf"

"$phong" "1"
"$phongexponent" "125"
"$phongboost" "5"
"$lightwarptexture" "models\lightwarps\weapon_lightwarp"
"$phongfresnelranges" "[.3 .5 3]"
"$halflambert" "1"

"$detail" "glass/glasswindow002c.vtf"
"$detailscale" "5"
"$detailblendfactor" .5
"$detailblendmode" 6
"$basemapalphaphongmask" "1"

"$envmap" "cubemaps/cubemap_gold001"
"$envmaptint" "[2.5 2.5 1.15]"


"$rimlight" "1"
"$rimlightexponent" "20"
"$rimlightboost" ".25"

"$glowcolor" "1"
"$nocull" 1
Cloaking
"$cloakPassEnabled" "1"
"$sheenPassEnabled" "1"

"$sheenmap" "cubemaps\cubemap_sheen001"
"$sheenmapmask" "Effects\AnimatedSheen\animatedsheen0"
"$sheenmaptint" "[ 1 1 1 ]"
"$sheenmapmaskframe" "0"
"$sheenindex" "0"

"Proxies"
{
"AnimatedWeaponSheen"
{
"animatedtexturevar" "$sheenmapmask"
"animatedtextureframenumvar" "$sheenmapmaskframe"
"animatedtextureframerate" "40"
}
"invis"
{
}
"ModelGlowColor"
{
"resultVar" "$glowcolor"
}
"Equals"
{
"srcVar1" "$glowcolor"
"resultVar" "$selfillumtint"
}
"Equals"
{
"srcVar1" "$glowcolor"
"resultVar" "$color2"
}

}
}

Container { and } brackets Look ok and I don't see a missing " " or $ commmand references.
Showing 111-120 of 122 entries