CS: Source Weapon Strip

Tutorial collection, comprehensive listings on main site.

CS: Source Weapon Strip

Postby Tutorial on Tue Mar 20, 2007 10:25 pm

Well, after crazy hours of searching online, only to find partial tutorials which didn't make too much sense, or to find tutorials regarding weapon removal in Half Life 2, I decided to go nuts and experiment.

I was making a m/p map for CSS, and I needed the weapons to be removed. I wanted the players to start with a knife only, but I have no idea how too do that. (Is there a weapon_knife entity in Hammer? Haven't really looked for that)

Anyways, I'll try to make this short and sweet. I will warn you though, I'm not an advanced Hammer user, so if you'd like to add something please do.

Download Example Map

Starting with this simple, compile-ready map:

1. Make a brush, and tie to entity game_zone_player.
Name it "stripper".

Image


Image


2. Create a game_player_equip entity.
Image


3. Name the game_player_equip entity "weaponstrip".
Image


4. Name the Team Master "stripper". (Unsure if this is necessary)
Image


5. Compile
Image


Unfortunately, I don't know how to do this for one team only. Also, a simple warning, leave the brush-entity and the entity IN your map, or you may experience glitches. For instance I had water in my map, if I left the brush-entity and the entity outside the map, the water would display as the "void". Also the lighting would mess up a bit.

Tekspdy
- Don't send PM's to this user -
Tutorial
Not A Real User
 
Joined: Sun Mar 06, 2005 11:00 pm

Postby DeathProdigy on Wed Mar 21, 2007 4:33 am

to do it for one team wouldn't you just strip both teams and then spawn the (say for example your giving t weapons and ct only knives) terror pistol and knife aboth the t team and just spawn a knife above the ct team?
User avatar
DeathProdigy
Pheropod
Pheropod
 
Joined: Wed Dec 07, 2005 1:39 am
Location: New Zealand

Return to Tutorials

Who is online

Users browsing this forum: No registered users