Welcome, Guest. Please login or register. Did you miss your activation email?

* TUTORIAL SECTION RULES

This section is for SMOD TUTORIALS & GUIDES ONLY.
You may create a new topic in the appropriate area to share your tutorial. If you post anything off-topic here you will be temp-banned. This is so we don't hassle the moderators too much, they are volunteers.

If you need help with a tutorial, post a reply in its thread . Do not start a new topic for help here!

Author Topic: [ANY] All HL2 view model activities  (Read 2834 times)

0 Members and 1 Guest are viewing this topic.

Offline Pepsifan04

  • *
  • *
  • +11% chance to make useful post
  • Pepsifan04 might someday be someone...Pepsifan04 might someday be someone...Pepsifan04 might someday be someone...Pepsifan04 might someday be someone...
    • Smod: CryLife
[ANY] All HL2 view model activities
« on: October 30, 2012, 11:59:10 AM »
I was messing around in Source source code and found something.
This is a list of all Viewmodel activities used in Hl2(and SMOD I presume)
Useful when you're messing around with weapon animations.
Names are self-explanatory so I'm not gonna describe them.
Code: [Select]
( ACT_VM_DRAW );
( ACT_VM_HOLSTER );
( ACT_VM_IDLE );
( ACT_VM_FIDGET );
( ACT_VM_PULLBACK );
( ACT_VM_PULLBACK_HIGH );
( ACT_VM_PULLBACK_LOW );
( ACT_VM_THROW );
( ACT_VM_PULLPIN );
( ACT_VM_PRIMARYATTACK );
( ACT_VM_SECONDARYATTACK );
( ACT_VM_RELOAD );
( ACT_VM_DRYFIRE );
( ACT_VM_HITLEFT );
( ACT_VM_HITLEFT2 );
( ACT_VM_HITRIGHT );
( ACT_VM_HITRIGHT2 );
( ACT_VM_HITCENTER );
( ACT_VM_HITCENTER2 );
( ACT_VM_MISSLEFT );
( ACT_VM_MISSLEFT2 );
( ACT_VM_MISSRIGHT );
( ACT_VM_MISSRIGHT2 );
( ACT_VM_MISSCENTER );
( ACT_VM_MISSCENTER2 );
( ACT_VM_HAULBACK );
( ACT_VM_SWINGHARD );
( ACT_VM_SWINGMISS );
( ACT_VM_SWINGHIT );
( ACT_VM_IDLE_TO_LOWERED );
( ACT_VM_IDLE_LOWERED );
( ACT_VM_LOWERED_TO_IDLE );
( ACT_VM_RECOIL1 );
( ACT_VM_RECOIL2 );
( ACT_VM_RECOIL3 );
( ACT_VM_SPRINT_ENTER );
( ACT_VM_SPRINT_IDLE );
( ACT_VM_SPRINT_LEAVE );
( ACT_VM_ATTACH_SILENCER );   // Seems to be for CS:S, but was under HL2 header
( ACT_VM_DETACH_SILENCER );  // So I'm leaving it just in case // may not work since it needs ACT_VM_IDLE_SILENCER to work properly
Full list (non VM only) can be found in activitylist.cpp in game_shared
DROP DATABASE bsnooch

Offline Counter-Life™

  • *
  • *
  • +17% chance to make useful post
  • Counter-Life™ is a rising star!Counter-Life™ is a rising star!Counter-Life™ is a rising star!Counter-Life™ is a rising star!Counter-Life™ is a rising star!Counter-Life™ is a rising star!
    • Youtube Channel
Re: [ANY] All HL2 view model activities
« Reply #1 on: October 30, 2012, 03:46:11 PM »
Yeah, this was posted some time ago here. Its also on Valve Developer Wiki.