I've been making my own modification of the citizen model and i encountered a roadblock, in the .qc i included the following reference animations:
$includemodel "humans/female_shared.mdl"
$includemodel "humans/female_ss.mdl"
$includemodel "humans/female_gestures.mdl"
$includemodel "humans/female_postures.mdl"
$includemodel "f_anm.mdl"
$includemodel "f_shd.mdl"
$includemodel "f_pst.mdl"
$includemodel "f_gst.mdl"
However there seems to still be a difference, when the player is unarmed, the model show no animation/cross pose while the playermodels gmod use still have proper animation when holding no weapons.
so that probably mean my model is missing an animation or two... but wich...
Second issue, are models in gmod never "running" ? the characters all have very pretty run animations with all the weapons, but gmod only makes them... walk fast... when you sprint.
Any idea?
Edited: I got confused its something else, i'll have a look.
I don't think the playermodel has an unarmed animation, I don't think one even exists.
if i use : "models/player/Group01/Male_01.mdl" the character walk perfectly as a playermodel even without weapons.
is there other animations sets beside the male/female sets for npc and the set for playermodels?
[QUOTE=die_angel;17973919]if i use : "models/player/Group01/Male_01.mdl" the character walk perfectly as a playermodel even without weapons.
is there other animations sets beside the male/female sets for npc and the set for playermodels?[/QUOTE]
Nope :(
and that one uses:
m_anim.mdl
m_shd.mdl
m_pst.mdl
m_gst.mdl
(which are included in the cs_fix.mdl, which most people use instead)
i found it, the unarmed walking is stored into f_ss.mdl/m_ss.mdl
[QUOTE=die_angel;17974083]i found it, the unarmed walking is stored into f_ss.mdl/m_ss.mdl[/QUOTE]
OK thats useful to know (as I didn't think any of the models used m/f_ss), but i'm pretty sure none of valve's/garry's models use that animation set, when I checked through them all @.@
Edit: Its also not there when I decompile it :S
hrm... this is odd... could it be something about the order of the includemodels then? cause it's the only other thing i can see...
[editline]06:27PM[/editline]
i now use:
$includemodel "f_anm.mdl"
$includemodel "f_gst.mdl"
$includemodel "f_pst.mdl"
$includemodel "f_shd.mdl"
$includemodel "f_ss.mdl"
$includemodel "humans/female_gestures.mdl"
$includemodel "humans/female_postures.mdl"
$includemodel "humans/female_shared.mdl"
$includemodel "humans/female_ss.mdl"
In this order and the playermodel animate fine without weapons.
I don't see how the order would make any difference as there is no unarmed anim in the player anims (I'm looking at the QC/SMDs for them). Maybe it's somehow using the NPC one? (as I can't decompile them to check)
you have a list of the animations each file contain somewhere?