Source Filmmaker

Source Filmmaker

Bodygroups in QC
Need some help putting Bodygroups in this model I'm porting, I followed Ptejack's guide on porting models, but something went wrong on my qc, here is the QC so far:

$cd "C:\Program Files (x86)\Steam\steamapps\common\SourceFilmmaker\game\usermod\materials\models\mmdgems\Lapis Lazuli"

$cdmaterials "models\mmdgems\Lapis Lazuli\materials\"

$modelname "mmdgems\Steven Universe\Lapis Lazuli.mdl"

$model "Lapis Lazuli" "Lapis Lazuli by JoeySandbag_mesh (2).dmx"

$bodygroup "Wings"

studio "Wings.dmx"

$sequence idle "Lapis Lazuli by JoeySandbag_mesh.dmx (2)" fps 1.00

< >
Showing 1-15 of 22 comments
Kumquat [Velbud] Jul 31, 2016 @ 6:57pm 
// Created by Crowbar 0.34.0.0

$ModelName "LibraScales\libra_scales.mdl"

$BodyGroup "StandLeg"
{
studio "StandLeg.dmx"
}

$SurfaceProp "default"

$Contents "solid"

$MostlyOpaque

$CDMaterials "models\custom\LibraScales\"

$Sequence "idle" {
"StandLeg.dmx"
fadein 0.2
fadeout 0.2
fps 30
}

This is a working reference of mine. Try to do it in my format instead of Jack's. And by format, I mean everything in the order I have it here.
Last edited by Kumquat [Velbud]; Jul 31, 2016 @ 6:57pm
76561198253511502 Jul 31, 2016 @ 7:08pm 
I just have to replace your names and paths with the one's I used? Like this?

$ModelName "Steven Universe\Lapis Lazuli.mdl"

$BodyGroup "Wings"
{
studio "Wings.dmx"
}

$SurfaceProp "default"

$Contents "solid"

$MostlyOpaque

$CDMaterials "models\mmdgems\Lapis Lazuli\"

$Sequence "idle" {
"Wings.dmx"
fadein 0.2
fadeout 0.2
fps 30
}

//guessing I don't need the framerate and fades.
Zappy Aug 1, 2016 @ 12:48am 
To add a bodygroup option to a model, do this:
$BodyGroup "[Internal name, will show up in the bodygroup selection menu]" { [Option] [Option] [Option...] }
You can have as many options as you want, though with a minimum of 1 for each group, and a maximum of... Well, trust me when I say you're not going to reach Source FilmMaker's maximum.

Each option consists of either of these:
Studio "[SMD or DMX file name, preferably without extension as this shows up in SFM]"
Blank
The Studio "[File]" option adds a mesh as an option. The Blank option (which consists of the letters BLANK, and is not just nothing) is an option where no mesh is used for that bodygroup. The first option of a bodygroup is the default one.

Note that you can have a Studio, then Blank, then Studio option array if you want, or you could even start with Blank, or have the same thing (including Blank) listed twice... but there's no reason to list any option twice. (Unless you want to have a place-holder in the model until you get the mesh you want finished.)

Here are three examples, one where you can choose between a mesh and no mesh, defaulting to mesh, another with mesh/no mesh, defaulting to no mesh, and another with three meshes:
$BodyGroup "Shirt" { Studio "Shirt" Blank } $BodyGroup "Tie" { Blank Studio "Tie" } $BodyGroup "Arm Muscliness" { Studio "Normal Arms" Studio "Buff Arms" Studio "Slim Arms" }
In all cases, it will search for an SMD file by the name listed in the bodygroup options, then a DMX file if it doesn't find an SMD file. You can limit it to only using one of them by typing in .smd or .dmx at the end, but that would show up in Source FilmMaker's bodygroup options.



Originally posted by Velikhi Maikeru CONFLICTING:
$BodyGroup "StandLeg"
{
studio "StandLeg.dmx"
}
You know that besides it being easier to read, more optimized, and overall just objectively better, you get the same result from $Body "StandLeg" "StandLeg", right?
Last edited by Zappy; Aug 1, 2016 @ 12:52am
(Holy cow I'm getting helped by the same guys as my flexes->materials discussion.... XD)

so I put it as:

$BodyGroup "Wings"
{
Studio "Wings.dmx" \\ or just "Wings" for that matter?
Blank
Zappy Aug 1, 2016 @ 9:58am 
Yes. (Of course, don't forget about the " } " after the last option.)
76561198253511502 Aug 1, 2016 @ 10:13am 
Blender is taking my $sequence as a bodygroup.
Zappy Aug 1, 2016 @ 10:43am 
Originally posted by Zappy:
(Of course, don't forget about the " } " after the last option.)
76561198253511502 Aug 1, 2016 @ 10:51am 
What last option, can you be more specific?
Zappy Aug 1, 2016 @ 10:53am 
In your case, "Blank".

Originally posted by Zappy:
Each option consists of either of these:
Studio "[SMD or DMX file name, -]"
Blank
Last edited by Zappy; Aug 1, 2016 @ 10:53am
76561198253511502 Aug 1, 2016 @ 10:58am 
Still takes $sequence as a bodygroup option, here's the qc:

$cd "C:\Program Files (x86)\Steam\steamapps\common\SourceFilmmaker\game\usermod\materials\models\mmdgems\Lapis Lazuli"

$cdmaterials "models\mmdgems\Lapis Lazuli\materials\"

$modelname "mmdgems\Steven Universe\Lapis Lazuli.mdl"

$model "Lapis Lazuli" "Lapis Lazuli by JoeySandbag_mesh (2).dmx"

$BodyGroup "Wings"
{
Studio "Wings.dmx"

Blank

$sequence idle "Lapis Lazuli by JoeySandbag_mesh.dmx (2)" fps 1.00
76561198253511502 Aug 1, 2016 @ 10:59am 
wup, found a bad command on the last line:

"mesh.dmx (2)"

"Mesh (2).dmx
Zappy Aug 1, 2016 @ 11:00am 
As I said, DON'T forget about the " } " after the last option in $BodyGroup. As I said, in your case, the last option in that $BodyGroup is Blank. Every " { " requires a " } " when it's done.
Last edited by Zappy; Aug 1, 2016 @ 11:00am
76561198253511502 Aug 1, 2016 @ 11:01am 
Originally posted by sfm animator:
Still takes $sequence as a bodygroup option, here's the qc:

$cd "C:\Program Files (x86)\Steam\steamapps\common\SourceFilmmaker\game\usermod\materials\models\mmdgems\Lapis Lazuli"

$cdmaterials "models\mmdgems\Lapis Lazuli\materials\"

$modelname "mmdgems\Steven Universe\Lapis Lazuli.mdl"

$model "Lapis Lazuli" "Lapis Lazuli by JoeySandbag_mesh (2).dmx"

$BodyGroup "Wings"
{
Studio "Wings.dmx"

Blank

$sequence idle "Lapis Lazuli by JoeySandbag_mesh (2).dmx" fps 1.00
76561198253511502 Aug 1, 2016 @ 11:05am 
The console Reads:

Bad command: Studio

this is the line -Studio:

Studio "Wings.dmx"
Zappy Aug 1, 2016 @ 11:09am 
Originally posted by sfm animator:
Bad command: Studio
In that case, the Studio line is probably not within -
$BodyGroup { [Somewhere here] }
Last edited by Zappy; Aug 1, 2016 @ 11:09am
< >
Showing 1-15 of 22 comments
Per page: 1530 50

Date Posted: Jul 31, 2016 @ 6:33pm
Posts: 22