Cleanup is going to take awhile, so the site is back up but editing has been disabled.

WeaponStripper

From HalfLife 2 Knowledge Base

Jump to: navigation, search

Contents


by: Exitus



NOTE: FIGURES ARE NOT SHOWN BECAUSE IMAGE UPLOADING IS CURRENTLY DISABLED

Have you ever wanted to make the weapon stripper from in the citadel, or in other words, where you get the _____ _______ ___? (Hint: Gravity Gun if you dont know what im talking bout.) Anyways, here is how to make that.

Geometry, Static Props

1) Select the tools/nodraw texture, then, make a box 256 x 384 x 192 (if you dont know what i mean, think of X, Y, Z. if you still don't know what i mean, you need a slap upside your head.) See Figure 1.1

2) Press CTRL+H, then enter -8. Hit OK. You should get a hollowed box. Select it, right click on it, and press ungroup.

3) Press the entity tool button, then make a prop_static. For the model, select models/props_combine/weaponstripper.mdl.


Entity Info:

Description: Entity stripper model

Keyvalues:

World Model (model): models/props_combine/weaponstripper.mdl


Now, you are going to need to make a small alcove in the wall for the weapon stripper to fit into. The end result should be similar to Figure 1.2

Entities

4) Using the entity tool, place an info_null in the "eye" of the scanner. See Figure 2.3


Entity Info:

Description: Point of reference for dissolver beam

Keyvalues:

Name (targetname): w_dis_point


5) Next, make a brush that, when the player steps in it, strips the player of all his weapons. Make it a trigger_weapon_strip.


Entity Info:

Description: Weapon Stripper

Keyvalues:

Name (targetname) : w_stripper

Outputs:

OnStartTouch - w_timer - Toggle - - 0.00 - No

Spawnflags (Listed are ON):

Everything


6) Now, make a smaller brush inside of the previous one, and make it a trigger_weapon_dissolve.


Entity Info:

Description: Entity that disolves weapons and "supercharges" the Gravity Gun

Keyvalues:

Name (targetname) : w_dissolver

Start Disabled (StartDisabled) : Yes (1)

Emitter Name (EmitterName) : w_dis_point

Spawnflags (Listed are ON):

Physics Objects


7) Lastly, use the entity creation tool to make a logic_timer.


Entity Info:

Description: Time between when the weapons are stripped and are dissolved

Keyvalues:

Name (targetname) : w_timer

Start Disabled (StartDisabled) : Yes (1)

Refire Interval (RefireTime) : 2.5

Outputs:

OnTimer - w_timer - Disable - - 0.00 - No

OnTimer - w_dissolver - Enable - - 0.00 - No



That should be it! Have fun =)

Example file by alb2550:
sdk_weaponstripper.vmf.zip

Personal tools