• Can't see my v_model in game
    5 replies, posted
Hello, I put a sword model that i made in place of the HL2 crowbar, It appears in HLMV, but not in Garrys mod, It just appears as if my weapon and hands are invisible. I have fixed this with static models by deleting the LOD's text in the .qc, Thing is this one doesn't have any LOD's, Can anyone help me out with this? Here's The .QC and a pic of it working in HLMV. [IMG]http://img96.imageshack.us/img96/2190/failedmodel.jpg[/IMG] [QUOTE]$cd "C:\Users\thegammaghost\Documents" $modelname "weapons/v_crowbar.mdl" $model "studio" "crowbar_reference.smd" $cdmaterials "models\V_crowbar\" $cdmaterials "models\goodsword\" $hboxset "default" $hbox 0 "ValveBiped.Bip01_Spine4" 0.000 0.000 -1.938 2.033 1.001 0.000 $hbox 0 "ValveBiped.Bip01_R_UpperArm" -1.781 -2.278 -2.700 11.693 4.557 3.363 $hbox 0 "ValveBiped.Bip01_R_Forearm" -1.976 -3.135 -2.804 11.482 2.549 3.047 $hbox 0 "ValveBiped.Bip01_R_Hand" -2.417 -5.677 -30.031 14.889 1.664 4.979 $hbox 0 "ValveBiped.HandControlRotR" 0.000 -1.935 -15.150 11.123 0.000 0.000 $attachment "0" "ValveBiped.Tip" 0.00 0.00 0.00 rotate -0.00 -0.00 0.00 $surfaceprop "default" $illumposition 27.869 -10.180 -8.107 $sequence idle01 "idle01" loop ACT_VM_IDLE 1 fps 30.00 $sequence draw "draw" ACT_VM_DRAW 1 fps 30.00 $sequence misscenter1 "misscenter1" ACT_VM_MISSCENTER 1 fps 30.00 $sequence misscenter2 "misscenter2" ACT_VM_MISSCENTER 1 fps 30.00 $sequence hitcenter1 "hitcenter1" ACT_VM_HITCENTER 1 fps 30.00 $sequence hitcenter2 "hitcenter2" ACT_VM_HITCENTER 1 fps 30.00 $sequence hitcenter3 "hitcenter3" ACT_VM_HITCENTER 1 fps 30.00 $sequence hitkill1 "hitkill1" ACT_VM_HITKILL 1 fps 30.00 $sequence holster "holster" ACT_VM_HOLSTER 1 fps 30.00 [/QUOTE] Anyone have an idea what im doing wrong here? thanks!
Bump Any ideas????
For the sequences, you need to add in the rotate command. Here's an example: Your idle sequence as it is now [code]$sequence idle01 "idle01" loop ACT_VM_IDLE 1 fps 30.00[/code] Your idle sequence as it should show [code]$sequence idle01 "idle01" loop ACT_VM_IDLE 1 rotate -90 fps 30.00[/code] After applying the rotate command into your sequences, you should be able to compile it and have it show in-game just fine.
It worked! thanks a lot Katra804, really apprecaite it, I can now see the blade. Is there any way i can make the model appear a bit higher? i cant even see my hands or the handle at this point. Thanks again!
[QUOTE=thegammaghost;38254950]It worked! thanks a lot Katra804, really apprecaite it, I can now see the blade. Is there any way i can make the model appear a bit higher? i cant even see my hands or the handle at this point. Thanks again![/QUOTE] You want to use $origin, tweak it to a vector of your liking
Alright, How would i add it, could you give an example maybe? like this? $origin 0 0 2 to raise it up ( xyz, z is up and down ) ill mess around with it a bit, and report back. [editline]30th October 2012[/editline] Alright, figured it out, thanks a lot for the wisdom Marlwolf and Katra you guys rule! Here it is working in game! [url]http://img39.imageshack.us/img39/1538/d1canals010001.jpg[/url]
Sorry, you need to Log In to post a reply to this thread.