Talk:Half-Life 2: Blue Shift

From Valve Developer Community
Revision as of 23:22, 3 August 2009 by JeffMOD (talk | contribs) (Questions)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

I'm just going to put this in here for convienience. --JeffMOD 23:22, 3 August 2009 (UTC) Questions -How would I go about coding a weapon switch-system for a NPC? I already have a formula (if you can call it that), so I just need to know where to place it in the code, how to make the NPC actually SWITCH weapons, etc.

-In the original Half-Life 2, how did Valve make the hand animation play? I've decompiled the map, but I can't find anything that seems to trigger it.

I'm fairly certain that that hand animation plays when you get the HEV suit, if you have no weapons at the same time. You'd have to code a game_player_hands entity or something to script it, or parent a prop_dynamic to the player and have the first frame of the animations far below the player. --JeffMOD 23:22, 3 August 2009 (UTC)