weapon stripping at spawn in HL2DM
Post Reply
Quote
Re: weapon stripping at spawn in HL2DM
Posted by Degenatron on Wed Dec 8th at 3:37pm 2004


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?





Quote
Re: weapon stripping at spawn in HL2DM
Posted by Junkyard God on Wed Dec 8th at 4:21pm 2004


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

[EDIT]

fastes reply ever!!!!

coudn't be more that like 2 seconds after posted

[addsig]




Quote
Re: weapon stripping at spawn in HL2DM
Posted by Leperous on Thu Dec 9th at 10:26pm 2004


Use it in conjunction with a trigger_weapon_strip entity and it should work...




Post Reply