Hello, i have a small problem with a model i'm modifying, it's a flamethrower connected to a napalm tank via a hose.
The problem is, the hose doesn't move, it stays still, static, and i did assign bones to the hose to make it move, but it still compiles like it's part of a static model.
Here's the QC:
[CODE]
$modelname "weapons\w_cstm_classified.mdl"
$model "studio" "classified.smd"
$cdmaterials "models\weapons\w_models\classified\"
$hboxset "default"
$hbox 0 "dispenser" -7.500 -3.848 -3.275 8.228 11.844 7.936
$hbox 0 "hose1" -1.587 -0.970 0.000 0.626 1.003 6.258
$hbox 0 "hose2" -2.097 -0.921 0.000 0.756 0.642 8.233
$hbox 0 "hose3" -0.534 -0.405 0.000 1.810 1.239 11.868
$hbox 0 "hose4" -3.256 -0.540 -0.172 0.000 0.677 10.492
$hbox 0 "tank" -4.014 -4.078 -9.634 4.056 3.754 6.469
$surfaceprop "weapon"
$keyvalues { prop_data { "base" "Metal.Small" } }
$illumposition -0.614 5.598 1.199
$sequence idle "idle" fps 30.00
$collisionmodel "classified.smd"
[/CODE]
Are you making a v_model or a w_model? I'm not good at modeling but maybe try exporting it as ragdoll,
[QUOTE=DatPolishGuy;42245216]Are you making a v_model or a w_model? I'm not good at modeling but maybe try exporting it as ragdoll,[/QUOTE]
[code]"weapons\w_cstm_classified.mdl"[/code]
Looks like a world model to me?
[QUOTE=code_gs;42245356][code]"weapons\w_cstm_classified.mdl"[/code]
Looks like a world model to me?[/QUOTE]
Ah, didn't see that.
Indeed, i'm making a world model
[editline]19th September 2013[/editline]
Well, i tried compiling it as a model, but the hose it's still static
New QC:
[CODE]
$modelname "weapons\w_cstm_classified.mdl"
$model "studio" "classified.smd"
$cdmaterials "models\weapons\w_models\classified\"
$hboxset "default"
$hbox 0 "dispenser" -7.500 -3.848 -3.275 8.228 11.844 7.936
$hbox 0 "hose1" -1.587 -0.970 0.000 0.626 1.003 6.258
$hbox 0 "hose2" -2.097 -0.921 0.000 0.756 0.642 8.233
$hbox 0 "hose3" -0.534 -0.405 0.000 1.810 1.239 11.868
$hbox 0 "hose4" -3.256 -0.540 -0.172 0.000 0.677 10.492
$hbox 0 "tank" -4.014 -4.078 -9.634 4.056 3.754 6.469
$surfaceprop "weapon"
$keyvalues { prop_data { "base" "Metal.Small" } }
$illumposition -0.614 5.598 1.199
$sequence ragdoll "ragdoll" ACT_DIERAGDOLL 1 fps 30.00
[/CODE]
[QUOTE=Blue anonimo;42246439]Indeed, i'm making a world model
[editline]19th September 2013[/editline]
Well, i tried compiling it as a model, but the hose it's still static
New QC:
[CODE]
$modelname "weapons\w_cstm_classified.mdl"
$model "studio" "classified.smd"
$cdmaterials "models\weapons\w_models\classified\"
$hboxset "default"
$hbox 0 "dispenser" -7.500 -3.848 -3.275 8.228 11.844 7.936
$hbox 0 "hose1" -1.587 -0.970 0.000 0.626 1.003 6.258
$hbox 0 "hose2" -2.097 -0.921 0.000 0.756 0.642 8.233
$hbox 0 "hose3" -0.534 -0.405 0.000 1.810 1.239 11.868
$hbox 0 "hose4" -3.256 -0.540 -0.172 0.000 0.677 10.492
$hbox 0 "tank" -4.014 -4.078 -9.634 4.056 3.754 6.469
$surfaceprop "weapon"
$keyvalues { prop_data { "base" "Metal.Small" } }
$illumposition -0.614 5.598 1.199
$sequence ragdoll "ragdoll" ACT_DIERAGDOLL 1 fps 30.00
[/CODE][/QUOTE]
Try jiggle bones maybe?
It kinda works, it moves, but very slow and random...
My god!, i'm so dumb!, i didn't realize that $collisionjoints existed! XD
Now the model "semi-works", i can move the tank and the dispenser separately, and the hose moves with them as well, but when i move them, the hose and the tank shake, as if they were "welded"
QC
[CODE]
$modelname "weapons\w_cstm_classified.mdl"
$model "studio" "classified.smd"
$cdmaterials "models\weapons\w_models\classified\"
$hboxset "default"
$hbox 0 "dispenser" -7.500 -3.848 -3.275 8.228 11.844 7.936
$hbox 0 "hose1" -1.587 -0.970 0.000 0.626 1.003 6.258
$hbox 0 "hose2" -2.097 -0.921 0.000 0.756 0.642 8.233
$hbox 0 "hose3" -0.534 -0.405 0.000 1.810 1.239 11.868
$hbox 0 "hose4" -3.256 -0.540 -0.172 0.000 0.677 10.492
$hbox 0 "tank" -4.014 -4.078 -9.634 4.056 3.754 6.469
$surfaceprop "weapon"
$keyvalues { prop_data { "base" "Metal.Small" } }
$illumposition -0.614 5.598 1.199
$sequence idle "idle" fps 30.00
$collisionjoints "classified.smd
[/CODE]
Well, i added more bones and it moves better, but it still behaves like it's welded to itself, i guess it's a sideeffect of being part of a single model
And, i think my question semi-solved itself!, thanks to everyone who helped me
Sorry, you need to Log In to post a reply to this thread.