Check out Half-Life Re-imagined competition results!
Check out Skewing textures in Hammer, our newest tutorial!
Say hello to Jongmeister, our newest member!

logo

Site Stuff

Reference

Maps

Community

ShoutBOX

Poll

Feeling Blue

What's your favourite shade of blue?

Azure

21

Cobalt

37

Turquoise

11

Cyan

17

Royal

11

Teal

3

Onliners

20 mins

Windawz

34 mins

Admer456

37 mins

Jessie

44 mins

Soup Miner

46 mins

Penguinboy

47 mins

lukkasz323

59 mins

Dimbeak

Affiliates

A gaming and technology blog by TWHL admins Penguinboy and Ant. A music blog by TWHL users Ant and Hugh.

CS1.6 player_weaponstrip problem

[1]

Forums > HL Engine Discussion

16 May 18, 18:19
By EsprimoP
avatar
Member
It strips weapons on round start. How to solve this problem?
20 May 18, 18:16
By MistaX88
avatar
Member
Are you sure it's the player_weaponstrip? I thought those only worked via direct trigger. Do you also have a game_player_equip in your map? I know if you include a game_player_equip in your map set to "use only," all players will start with no weapons. However, it's not a round to round thing, it only happens if the player dies, so a second unnamed game_player_equip without "use only" ticked set to re-equip a knife and pistol after death can be used. However, this means that both teams will start with the same pistol. A bug may also be encountered whereby weapon slots could get stacked (on my airsoffort maps one can end up with both an MP5 and a shutgun at the same time that they can switch between in the 1st weapon slot like in Half-Life). I don't know if this can also happen in the secondary slot. So basically, the other drawback to re-equipping the pistol is if a player survives a round and had purchased a different pistol it's possible they could now be carrying whatever they bought plus the pistol the map equips them with.

If you aren't also using an equip entity set to "use only" on the map then try naming the player_weaponstrip. I'm not sure if that will work, your problem sounds a lot like the behavior seen when a use only game_player_equip is in the map.

One more note about player_weaponstrip, it strips the bomb, so you can't use it on any bomb defuse maps. You can use a game_player_equip to equip a bomb but it's not what the game recognizes as "The Bomb". It can't be planted and doesn't show up on the radar.
20 May 18, 18:39
By Windawz
avatar
Member
I guess it doesn't have a name set to it. It strips the player of their weapons automatically without one, as far as I know.
[1]

Forums > HL Engine Discussion

Login to Reply

You must be logged in to reply.