Page 1 of 1

Buttons to equip players (1.6)

Posted: Fri Aug 27, 2010 2:17 am
by func_?
There's this map, called jail_xmf, that has this gun room where, upon pressing a button, gives you weapons. I thought that was impossible to do before, so I never asked anyone... Anyways, does anyone know how to do that?

Re: Buttons to equip players (1.6)

Posted: Fri Aug 27, 2010 3:48 am
by reaper4172
use a button to trigger a game_player_equip point entity. click smart edit on the properties of that entity, hit add, name the key weapon_knife weapon_ak47 or w/e you want and set the value to 1 unless you want the gun to have more ammo then set the value higher.

Re: Buttons to equip players (1.6)

Posted: Fri Aug 27, 2010 4:03 am
by func_?
Do I need to strip their guns as well with the weaponstrip?

-Edit: I tried it and it works! Also, you don't need to use smart edit, the preset ones work as well.
-2nd Edit: Yup, you need to use weapon strip as well

Re: Buttons to equip players (1.6)

Posted: Fri Aug 27, 2010 8:28 pm
by reaper4172
well, you don't have to use weapon strip unless they can buy. you can equip them with nades n stuff too with out it. otherwise yeah use multi manager to target weapon strip then equip