Pick up the crowbar of research scientist Gordon Freeman, who finds himself on an alien-infested Earth being picked to the bone, its resources depleted, its populace dwindling. Freeman is thrust into the unenviable role of rescuing the world from the wrong he unleashed back at Black Mesa. And a lot of people, people he cares about, are counting on him.
The aim of this tutorial is to teach you how to make a combine soldier(npc_combine_s) rappel down a building/ledge/tall thing using the new animations from Episode 1. So if you don't have Episode 1 you won't be able to do this.
Posted by Corewarp on Jun 18th, 2009 digg this super bookmark
Basic Mapping/Technical.
I'll assume you have basic hammer knowledge.
Okay first, make an open space. Then create a 480 unit high ledge( as shown on the picture below, height is important!!!), the width doesn't matter, but it would be pointless if it was too small for a combine to not be able to stand on.

Then create a npc_combine_s on the ledge, name it seq1_npc. Then create a scripted_sequence at the edge of the ledge, facing towards you (or any direction, but make sure it's the right one, you can usually tell by looking at the RED line) name it seq1. Basically seq1 just stands for sequence1.
The npc_combine_s can pretty much be any model and have any weapon(NOT TESTED WITH ELITE MODEL, MAY NOT WORK, IS VERY LIKELY TO WORK THOUGH) all up to you. Then go into the scripted_sequence(seq1) and set the following values to:
Target npc: seq1_npc
Action Animation: rappel_f
(You can look up the different animations with model viewer, i use _f because it has the shortest animation, which means the combine doesn't jump far down)
Move To Position: Walk
Go into spawnflags and check the Override AI
Leave the rest on their default values.
Extra animations and their height:
And that is pretty much it. To make the combine rappel down, turn sv_cheats on (set it to 1), and type the following in the console: ent_fire seq1 beginsequence.
If you want to, you can have it triggered by the map too, but as I said above I assume you have basic hammer knowledge, so you SHOULD be able to do it yourself.
But here is a quickie for those who might not:
Create a trigger_once brush entity, then go into outputs and add:
Ontrigger seq1 beginsequence.
When you load the map you just walk into the trigger and the combine should rappel down.
Hope you enjoyed my tutorial
Corewarp
Only registered members can share their thoughts. So come on! Join the community today (totally free) and do things you never thought possible.
nice! it will be very useful for me
I used this as a test because I really need to get into modding so thank you. I enjoyed this.
if i want to add a rope to the soldier, what should i set in the move_rope?
good tutorial, will use sometime