Recompiling v_pistol_scout

For some reason, StudioCompiler just isn't working in this case.

By r 1 10 months ago

Hi. I've been trying to recompile the pistol with different animations for the scout, but StudioCompiler just says nothing and exits.

C:/Program Files (x86)/Steam/steamapps/theultimatehusky/sourcesdk/bin/ep1/bin/studiomdl.exe -game "C:\Program Files (x86)\Steam\steamapps\theultimatehusky\team fortress 2\tf" "C:\Users\furii\Desktop\Projects\Source Models\Results\v_pistol_scout\anims\v_pistol_scout.qc"

StudioMDL Thread complete

It just outright says that and exits. I'm completely unsure as to what's going on. Here's the QC code:

$cd "C:\Users\furii\Desktop\Projects\Source Models\Results\v_pistol_scout\anims"
$modelname "weapons\v_models\v_pistol_scout.mdl"
$model "v_pistol" "v_pistol_scout.smd"
$origin 0 0 0
$cdmaterials ""
$hboxset "default"
$hbox 0 "bip_lowerArm_R" -2.100  -5.370  -4.120  1.810  12.230  1.880
$hbox 0 "bip_hand_R" -1.830  -0.470  -2.000  2.170  7.530  4.000
$hbox 0 "bip_lowerArm_L" -1.810  -12.230  -2.500  2.100  5.370  2.500
$hbox 0 "bip_hand_L" -3.030  -7.580  -4.490  1.370  0.550  2.300
$hbox 0 "Gun" -1.110  3.000  -2.500  1.070  7.000  8.500
$attachment "weapon_bone" "bip_hand_R" 2.82 5.35 1.21 rotate -2.53 -13.34 -161.67
$attachment "weapon_bone1" "bip_hand_L" -2.82 -5.35 -1.21 rotate -2.53 -13.34 -161.67
$attachment "eject_brass" "Gun" 1.01 6.19 3.46 rotate 0.00 44.89 -180.00
$attachment "muzzle" "Gun" 0.00 5.96 9.19 rotate -90.00 -0.00 0.00
$surfaceprop "default"
$illumposition 13.102 -0.180 -33.959
$sequence draw "draw" ACT_VM_DRAW 1 fps 30.00 {
  { event 5004 1 "Weapon_Pistol.Draw" }
}

$sequence idle "idle" loop ACT_VM_IDLE 1 fps 30.00
$sequence fire "fire" ACT_VM_PRIMARYATTACK 1 fps 30.00
$sequence reload "reload" ACT_VM_RELOAD 1 fps 30.00 {
  { event 5004 15 "Weapon_Pistol.ReloadScout" }
  { event 5004 24 "Weapon_Pistol.ClipIn" }
}
3 posts 429 views
  • You must be a member

Replies

  • Se7en_'s Levels
    • P2: Drudge
      Points: 2,631
    • E1: Helper
      EF: 1
    • C2: Treehouse Member
    • A4: Graduate
      Account Age: 3 years
    Posted 10 months ago

    Make sure to launch source sdk first! It must be opened in order to compile

    User Title
    I like guns. Big guns
  • r 1's Levels
    • P1: Beggar
      Points: 107
    • C1: Member
    • A2: Tenderfoot
      Account Age: 11 months
    Posted 10 months ago

    Posted by [Se7en_]

    Make sure to launch source sdk first! It must be opened in order to compile

    C:/Program Files (x86)/Steam/steamapps/theultimatehusky/sourcesdk/bin/ep1/bin/studiomdl.exe -game "C:\Program Files (x86)\Steam\steamapps\theultimatehusky\team fortress 2\tf" "C:\Users\furii\Desktop\Projects\Source Models\Results\v_pistol_scout\anims\mdldecompiler.qc"
    SteamStartup() failed: SteamStartup(0xf,0x0018F170) failed with error 1: Failed create 
    pipe: 6, Win32 Error 6 "The handle is invalid."
    
    
    StudioMDL Thread complete
    

    Now I get this. Do you know how to fix this?

    Bananite
  • Logan Dougall's Levels
    • P5: Peddler
      Points: 143,410
    • E6: Authority
      EF: 223
    • C5: Admin
    • A6: Elder
      Account Age: 7 years
    Posted 10 months ago

    TF2 is an orangebox game, not EP1. Run SDK, have TF2 selected and then use the studiomdl in the orangebox folder.

    !MOVING! Contact another Admin
  • You must be a member