Tutorial originally from
Lasalas Just posting it so it doesn't disappear.
#Note this tutorial works best with this
FGD FileStripping the weapons from players
1.
Description of entitiesFirst of all, there are three entities that you need to know about:
game_playerspawn
player_weaponstrip
game_player_equip a)
game_playerspawnThis isn't an entity in itself, but rather a name you may give to an entity that is capable of triggering others - say, a trigger_multiple, or a multi_manager. The actual event this is triggered on is pretty much self explanatory, but the short of it is when the player actually "spawns" or appears on the map itself. (Not when the player joins the game).
b)
player_weaponstripThis is a point-based (no brush used) entity, that when triggered, will strip the weapons from the player that triggered it. Pretty simple stuff.
c)
game_player_equipAnother point-based entity that when triggered, will equip the player with the weapon defined in the name. In this case it is "weapon_knife".
2.
Putting it all togetherBy now, your brain is probably whirring into action, thinking about how these could be used in lots of different ways - if you are, then you'd be right! but the usage here is as follows:
1. You need to insert a multi_manager into your map (anywhere inside the world will do, as long as its INSIDE the world) - and give it the name game_playerspawn.
2. Then make a player_weaponstrip - call it what you like.
3. Also, if you wish to add the knife at this stage (some people prefer to add it upon entry of the arena), then make a game_player_equip, and make sure you turn off "Smartedit", and add "weapon_knife" as a new keyvalue. You can call the entity what you like
Example: the name of the keyvalue given to the game_player_equip.4. You then need to go back to the multi_manager, and turn off "Smartedit" to see the advanced entity properties.
5. Once you have those on screen, click "add", then type in the name of the player_weaponstrip, and enter a value of 0. (this is the delay, in seconds).
6. Do the same for your game_player_equip, and enter a higher value (0.2 seconds is the minimum)

7. Remember, you must tick "Multithreaded" in the multi manager!
You can thank
Lasalas for this tutorial.
Thank you for reading, and good luck mapping!