player_weaponstrip /w armoury_entity Created 18 years ago2006-05-12 21:45:46 UTC by Raa Raa

Created 18 years ago2006-05-12 21:45:46 UTC by Raa Raa

Posted 18 years ago2006-05-12 21:45:46 UTC Post #179684
Game: CS1.6

Ok... First off, I've looked for this issue in the forums and found one post by "Seventh-Monkey", saying it must be a bug in the engine.

The Bug:
Players are stripped on spawn using multimanager named "game_playerspawn".
Player(a) picks up a weapon using a armoury_entity. Player(a) kills player(b). On new round, Player(a) cannot pickup a weapon using the armoury_entity.

In that posts i've read people suggest an alternative method to give player weapons.

The Alternative:
[trigger_multiple] triggers-> [multimanager] triggers-> [game_playerequip] and a [env_render].
Player triggers game_playerequip(giving weapon) and env_render(hiding cycler_sprite)

On new round start [env_render] is triggered by reset manager(showing cycler_sprite).

This method works however there is a problem that I need help with. Either a fix, or alternatives.

The Problem:
On this map there are multiple weapons layed out on the ground. Using the "Alternative" method, Player(a) can pickup multiple weapons.

Any suggestion/ideas/thoughts?
Posted 18 years ago2006-05-12 22:04:39 UTC Post #179688
What exactly are you trying to do here?
Just have weapons on the ground so a player can pick them up?
Tetsu0 Tetsu0Positive Chaos
Posted 18 years ago2006-05-12 22:06:44 UTC Post #179690
yes.
Posted 18 years ago2006-05-12 23:44:10 UTC Post #179695
well I figured out a workaround.

After player is stripped they are forced to triggger a game_playerequip. Giveing them weapons. now player can choose to drop that weapon and pickup a armoury_entity if they wish.
You must be logged in to post a response.