Sounds like you're trying to set the bodygroup from inside the weapon itself
when you actually want to do it on the viewmodel, which is a separate entity
you can from the player.

On Thu, Jan 15, 2009 at 12:33 PM, Willem Engel <wil...@refreshmi.nl> wrote:

> Hello! I keep running into a problem with "SetBodygroup( int iGroup, int
> iValue );" in my weapon class.
>
> The class is extended from CBaseHL2MPCombatWeapon, and one of the
> additions is submodels for optional weapon attachments (think silencers
> and stuff).
> The submodels are working in HLMV, the "FindBodygroupByName()" correctly
> returns the body group index, but I can not for the love of god get them
> showing up ingame.
> I tried running setbodygroup serverside, clientside, both sides, even
> with hardcoded parameters, and at one point I even put the calls in
> PreFrame / PostFrame. Nothing seems to work though.
>
> So, how do I get my submodels into view? I'm at a loss.
>
> Thanks,
>
> Willem "duncan" Engel
>
> _______________________________________________
> To unsubscribe, edit your list preferences, or view the list archives,
> please visit:
> http://list.valvesoftware.com/mailman/listinfo/hlcoders
>
>
_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

Reply via email to