Okay..I can't seem to compile a model with physics with the Orange Box 
studiomdl. At the moment I'm doing a series of ports of Postal 2 Player 
Models (With Permission, heck they're even encouraging it. 
http://oxihosting.com/files/100/maxpostal2awesome.jpg = proof.) And I'm 
at the postal babe, thought I'd try and give them something extra to 
play with..So I can't simply compile with the ep1 studiomdl since it 
doesn't support $jigglebone

My compile log

Created command line: "D:\Program 
Files\Steam\steamapps\frostbitex460\sourcesdk\bin\orangebox\bin\studiomdl.exe" 
-game "D:\Program 
Files\Steam\steamapps\frostbitex460\garrysmod\garrysmod" -nop4 -nox360 
C:\Projects\Postal2\SourcePort\Characters\Postal_Babe\babe.qc

WARNING: AppFramework : Unable to load module p4lib.dll!
qdir:    "c:\projects\postal2\sourceport\characters\postal_babe\"
gamedir: "D:\Program 
Files\Steam\steamapps\frostbitex460\garrysmod\garrysmod\"
g_path:  "C:\Projects\Postal2\SourcePort\Characters\Postal_Babe\babe.qc"
Building binary model files...
Working on "babe.qc"
SMD MODEL C:\Projects\Postal2\SourcePort\Characters/Postal_Babe\Babe1.smd
SMD MODEL 
C:\Projects\Postal2\SourcePort\Characters/Postal_Babe/Babe_Ragdoll_seq.smd
ERROR: 
c:\projects\postal2\sourceport\characters\postal_babe\babe.qc(36): - bad 
command {
ERROR: Aborted Processing on 'Postal 2\Babe1.mdl'

My qc:

/////////////////////////////////////////////////////////////////////////////
//
// Postal 2 Source Port Quake C Script
// Remember to add the file ext at the end of mesh/animations filepaths
//
//                -Jake
/////////////////////////////////////////////////////////////////////////////

// Call the Current Directory
$cd "C:\Projects\Postal2\SourcePort\Characters"

// Call scale _BEFORE_ smds!!
// Not needed anymore since it's now scaled down.
//$scale .45


//head controllers
$attachment "eyes" "MALE01 Head" 0.01 -9.17 149.47 absolute
$attachment "mouth" "MALE01 Head" 0.80 -5.80 -0.15 rotate 0 -80 -90

// Model Info
$modelname "Postal 2\Babe1.mdl"
$model "Babe1" "Postal_Babe\Babe1.smd"
$cdmaterials "models\Postal 2\Dancer\"

// Animations

//$sequence "Ragdoll" "Postal_Male_Ragdoll_Seq.smd" ACT_DIERAGDOLL 1 fps 
30.00


// Physics Infoz
$sequence "Ragdoll" "Postal_Babe/Babe_Ragdoll_seq.smd" ACT_DIERAGDOLL 1 
fps 30.00

$collisionmodel "Postal_Babe/Babe_Ragdoll.smd"
{

    $mass 90.0
    $inertia 10.00
    $damping 0.01
    $rotdamping 1.50
    $rootbone "MALE01 Pelvis"
    $jointmerge "MALE01 Pelvis" "MALE01 Spine"

    $jointconstrain "MALE01 Spine2" x limit -48.00 48.00 0.00
    $jointconstrain "MALE01 Spine2" y limit -25.00 25.00 0.00
    $jointconstrain "MALE01 Spine2" z limit -25.00 50.00 0.00

    $jointconstrain "MALE01 R upperarm" x limit -39.00 39.00 0.00
    $jointconstrain "MALE01 R upperarm" y limit -79.00 95.00 0.00
    $jointconstrain "MALE01 R upperarm" z limit -93.00 23.00 0.00

    $jointconstrain "MALE01 L upperarm" x limit -30.00 30.00 0.00
    $jointconstrain "MALE01 L upperarm" y limit -95.00 84.00 0.00
    $jointconstrain "MALE01 L upperarm" z limit -86.00 26.00 0.00

    $jointconstrain "MALE01 L Forearm" x limit 0.00 0.00 0.00
    $jointconstrain "MALE01 L Forearm" y limit 0.00 0.00 0.00
    $jointconstrain "MALE01 L Forearm" z limit -149.00 4.00 0.00

    $jointconstrain "MALE01 L hand" x limit -37.00 37.00 0.00
    $jointconstrain "MALE01 L hand" y limit 0.00 0.00 0.00
    $jointconstrain "MALE01 L hand" z limit -57.00 59.00 0.00

    $jointconstrain "MALE01 R forearm" x limit 0.00 0.00 0.00
    $jointconstrain "MALE01 R forearm" y limit 0.00 0.00 0.00
    $jointconstrain "MALE01 R forearm" z limit -149.00 4.00 0.00

    $jointconstrain "MALE01 R hand" x limit -60.00 60.00 0.00
    $jointconstrain "MALE01 R hand" y limit 0.00 0.00 0.00
    $jointconstrain "MALE01 R hand" z limit -57.00 70.00 0.00

    $jointconstrain "MALE01 R thigh" x limit -12.00 12.00 0.00
    $jointconstrain "MALE01 R thigh" y limit -8.00 75.00 0.00
    $jointconstrain "MALE01 R thigh" z limit -97.00 32.00 0.00

    $jointconstrain "MALE01 R calf" x limit 0.00 0.00 0.00
    $jointconstrain "MALE01 R calf" y limit 0.00 0.00 0.00
    $jointconstrain "MALE01 R calf" z limit -12.00 126.00 0.00

    $jointconstrain "MALE01 head" x limit -20.00 20.00 0.00
    $jointconstrain "MALE01 head" y limit -25.00 25.00 0.00
    $jointconstrain "MALE01 head" z limit -13.00 30.00 0.00

    $jointconstrain "MALE01 L thigh" x limit -12.00 12.00 0.00
    $jointconstrain "MALE01 L thigh" y limit -73.00 6.00 0.00
    $jointconstrain "MALE01 L thigh" z limit -93.00 30.00 0.00

    $jointconstrain "MALE01 L calf" x limit 0.00 0.00 0.00
    $jointconstrain "MALE01 L calf" y limit 0.00 0.00 0.00
    $jointconstrain "MALE01 L calf" z limit -8.00 126.00 0.00

    $jointconstrain "MALE01 L foot" x limit 0.00 0.00 0.00
    $jointconstrain "MALE01 L foot" y limit -19.00 19.00 0.00
    $jointconstrain "MALE01 L foot" z limit -15.00 35.00 0.00

    $jointconstrain "MALE01 R foot" x limit 0.00 0.00 0.00
    $jointconstrain "MALE01 R foot" y limit -25.00 6.00 0.00
    $jointconstrain "MALE01 R foot" z limit -15.00 35.00 0.00
    $animatedfriction 1.000 400.000 0.500 0.000 0.300
}

// ...No comment...

$jigglebone "Boob_RIGHT" {
    has_base_spring {
        stiffness 100
        damping 1
        left_constraint -20 20
        up_constraint -20 20
        forward_constraint -20 20
    }
}

$jigglebone "Boob_Left" {
    has_base_spring {
        stiffness 100
        damping 1
        left_constraint -20 20
        up_constraint -20 20
        forward_constraint -20 20
    }
}

I've tried opening hlmv and compiling and it still doesn't work D:

Help anyone?



_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

Reply via email to