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 RSS Feed [Black Mesa] TOW Missile System

How to set up the TOW Missile system for Black Mesa (Source).

Posted by Hezus on Nov 5th, 2012
Intermediate Mapping/Technical.

Setting up the TOW is very simular to the way the 50. cal works. The difference is that the TOW's ammo is fed manually by the player.

1. Create a prop_dynamic.
Name: tow_launcher_model
Model: models/props_marines/tow_missile_system.mdl

2. Create a brush behind the TOW model in which the player can stand and turn it into func_multiple.
Name: tow_control
Tag Flags: Clients

3. Create a brush ( l:64, w:16, h:8 ) with the toolsinvisible texture and make it cover the length of the barrel. Turn it into a func_tow. Make sure the origin of this brush is moved to the middle of the TOW model, right at the pivot where it can rotate and move up and down. Turn the angle in the direction of the brush according to the direction of the model.
Name: tow_launcher
Parent: tow_launcher_model
Control Volume: tow_control

These settings control the movement range (Yaw=horizontal, pitch=vertical):
Yaw rate: 45
Yaw range: 120
Pitch rate: 45
Pitch range: 15

These settings connect the model animations to the func_tow:
Gun Base Attachment: animation
Gun Barrel Attachment: muzzle
Gun Yaw Post Param: aim_yaw
Gun pitch Pose Param: aim_pitch

Tag Flags: Active, Only Direct, Controllable, Non-Solid.

4. Now place a few item_tow_missle entities around. These are the missles to feed into the launcher. You should be left with something simular to this:User Posted Image
Compile and witness the destruction!

5. If you want the TOW to have more ammo, you can set up a missle spawner. Create an npc_maker.Name: tow_spawnerNumb. of NPCs: 50Class name of spawned NPC: item_tow_missile (type, don't select from menu)Now go into the func_tow's output and enter:OnFire > tow_spawner > Spawn (Delay: 3)

6. You can also set up the TOW to be NPC controlled, although only the player can reload the weapon, so enemy grunts can only fire one shot, which makes them pretty useless. In theory you could set up a friendly NPC to control the launcher, so the player can reload the weapon while he fires, although it seems Barney doesn't want to control the TOW in the current version of BM. You might be able to come up with some clever solution like a model replacement of a grunt with ai_relations or something. If you really want to set up a NPC controlled TOW, refer the the example RMF below.

Example RMF

Post a Comment
click to sign in

You are not logged in, your comment will be anonymous unless you join the community today (totally free - or sign in with your social account on the right) which we encourage all contributors to do.

2000 characters limit; HTML formatting and smileys are not supported - text only

Half-Life 2
Windows, X360, XBOX, PS3
Developer & Publisher
Send Message
Official Page
Release Date
Released Nov 15, 2004
Game Watch
Track this game
Report Abuse
Report article
Related Mods
Black Mesa: Uplink (Half-Life 2)
Black Mesa: Uplink Half-Life 2 - Single Player First Person Shooter
Related Games
Half-Life 2
Half-Life 2 Single & Multiplayer First Person Shooter