weapon stripping at spawn in HL2DM

weapon stripping at spawn in HL2DM

Re: weapon stripping at spawn in HL2DM Posted by Degenatron on Wed Dec 8th 2004 at 3:37pm
Degenatron
64 posts
Posted 2004-12-08 3:37pm
64 posts 1336 snarkmarks Registered: Dec 7th 2004 Occupation: IT Professional Location: USA
I'm trying to make an HL2DM which starts the players (and respawns them) with only a crowbar and a 9mm (like HLDM).

I remember from mapping in HLDM that a game_player_equip should strip the player of ALL weapons and give only what is designated.

This is not happening in HL2DM. I can get it to issue certain weapons at spawn (like the shotgun and AR2) by putting in an entry like wepon_shotgun with a value of 1, but I cannot get it to take weapons away.

Before it was automatic. It would strip EVERYTHING aand re-equip the player with only the designated items.

I read in the forums that the way G_P_E works now is that the mapper can designate specific weapons to take away. For example, by making an entry weapon_physgun with a value of 0.

I've tried this, but I can't get HL2DM to strip out these weapons.

What am I doing wrong?
Re: weapon stripping at spawn in HL2DM Posted by Junkyard God on Wed Dec 8th 2004 at 4:21pm
Junkyard God
654 posts
Posted 2004-12-08 4:21pm
654 posts 81 snarkmarks Registered: Oct 27th 2004 Occupation: Stoner/mucisian/level design Location: The Nether Regions
in CS there was a game_player_strip or something like that that striped all the weapons, so you could chose what weapons you wanted to players to spawn with, maybe the same goes for hl2dm, but i'm not sure of that :smile:

[EDIT]

fastes reply ever!!!!

coudn't be more that like 2 seconds after posted :biggrin:
Re: weapon stripping at spawn in HL2DM Posted by Leperous on Thu Dec 9th 2004 at 10:26pm
Leperous
3382 posts
Posted 2004-12-09 10:26pm
Leperous
Creator of SnarkPit!
member
3382 posts 1635 snarkmarks Registered: Aug 21st 2001 Occupation: Lazy student Location: UK
Use it in conjunction with a trigger_weapon_strip entity and it should work...