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.

Report article (New)Rappeling combine soldier

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.

news post image

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:

  • rappel_a - 648
  • rappel_b - 480
  • rappel_c - 456
  • rappel_d - 552
  • rappel_e - 384
  • rappel_f - 480

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

Comments
mrfreeman101
mrfreeman101 Jun 20 2009, 3:14am says:

nice! it will be very useful for me

+1 vote     reply to comment
Camopig
Camopig Jul 5 2009, 8:23am says:

I used this as a test because I really need to get into modding so thank you. I enjoyed this.

+1 vote     reply to comment
rookiehy2
rookiehy2 Jul 14 2009, 1:44am says:

if i want to add a rope to the soldier, what should i set in the move_rope?

+1 vote     reply to comment
blackarrow26
blackarrow26 Aug 1 2009, 10:47am says:

good tutorial, will use sometime

+1 vote     reply to comment
Post a Comment

Only registered members can share their thoughts. So come on! Join the community today (totally free) and do things you never thought possible.

Track this game Profile
Icon
Half-Life 2
Platforms
PC, X360, PS3, XBOX
Developer & Publisher
Valve
Engine
Source
Contact
Send Message
Official Page
Half-life2.com
Release Date
Released Nov 16, 2004
Game Watch
Track this game
Bookmark
Digg Super bookmark
Tutorial
Browse
Tutorials
Report Abuse
Report article
Bookmark
Digg Super bookmark
Related Games
Half-Life 2
Half-Life 2
Single & Multiplayer First Person Shooter
Related Engines
Source
Source
Commercial Released Nov 1, 2004
Related Groups
Valve
Valve
Developer & Publisher