STEAM-GRUPP
Blender Source Tools BleST
STEAM-GRUPP
Blender Source Tools BleST
320
SPELAR
1,839
ONLINE
Grundades
8 november 2013
Visar 11–18 av 18 poster
40
need some help with a model
theres no need to recompile the model but remember to always put the model trough proportion trick after making any edit to a model (for example you edit something in blender and export it) or else it will lose the proportion data. (its safe to recompile without proportiontrick if youre just editing the .qc or anything else than animations or modelfiles)

just in case, make sure that you have sequences inside your .qc for your model to work ingame in my case i use $includemodel "f_anm.mdl" (for female sequences not sure if m_anm works but try it out if you want male animations)

(also paste thse but make sure when compiling to have these names as smd files inside your models anims folder they export after using proportiontrick)

$sequence reference "anims/reference_female" fps 1

$animation a_proportions "anims/proportions" subtract reference 0

$sequence proportions a_proportions predelta autoplay

$Sequence "ragdoll" {
"anims/proportions"
activity "ACT_DIERAGDOLL" 1
fadein 0.2
fadeout 0.2
fps 30
}


if you also want your model as npc's make another .qc file copy paste everything and replace the includemodel with this:

(this will prevent animations from bugging out)

$includemodel "f_gst.mdl"
$includemodel "f_pst.mdl"
$includemodel "f_shd.mdl"
$includemodel "f_ss.mdl"
$includemodel "humans/female_shared.mdl"
$includemodel "humans/female_ss.mdl"
$includemodel "humans/female_gestures.mdl"
$includemodel "humans/female_postures.mdl"
$includemodel "humans/female_shared.mdl"
$includemodel "humans/female_ss.mdl"
//Hostile
$includemodel "combine_soldier_anims.mdl"
$includemodel "humans/male_shared.mdl"

if you need to know how to make the .lua file for npc's or playermodels i can send you the code for that:bms_crowbar:
Visar 11–18 av 18 poster