Custom model won't animate?
I have attached the QC as well as the texture and model files to try out in portal 2, if anyone is interested. Sorry for all the multiple problems with modeling that I've been posting and requesting help on, but once i get this sorted out I should be good to go.
Thanks.
CamBen wrote:
The animations only seem to work when I modify the weapon_portalgun text file and make it be a portalgun model.
There you have your answer. Those ACT_ constants are depending on what entity type uses this model. If it is weapon_portalgun, then it uses those ACT_VM_ constants. Other weapons use other ACT_ constants. Take a look into Valve Wiki for other constants.
Skotty wrote:
CamBen wrote:The animations only seem to work when I modify the weapon_portalgun text file and make it be a portalgun model.
There you have your answer. Those ACT_ constants are depending on what entity type uses this model. If it is weapon_portalgun, then it uses those ACT_VM_ constants. Other weapons use other ACT_ constants. Take a look into Valve Wiki for other constants.
Oooh. Thank you.
Although I still don't get why I'm able to use the portalgun viewmodel in a map but not the custom one...
Anyway, yea, I'll check that out.