Q's on Tanks and Citizens

Any aspects of level design for the Source engine.

Re: Q's on Tanks and Citizens

Postby Harper137 on Wed Oct 22, 2014 8:55 am

Is there a way to have an npc (i.e. alyx) hand the player a weapon (i.e. the smg)? With maybe the animation that rebels hand the player a healthkit?
Joined: Sat Mar 08, 2014 10:01 am

Re: Q's on Tanks and Citizens

Postby LordDz on Wed Oct 22, 2014 10:48 pm

A) Ceate a .scene file for it.
B) Parent a prop_dynamic with the weapon model to alyx hands, use a scripted_sequence to play an animation on alyx, say when it's finished or close to finished, use a game_player_equip to spawn a weapon for the player and remove the prop_dynamic.
User avatar
May Contain Skills
May Contain Skills
Joined: Mon Sep 01, 2008 12:28 pm
Location: Hammer Crash Logs

Return to Hammer Editor Help

Who is online

Users browsing this forum: No registered users