Weapon Strip - Issue Weapon & Armor
Post Reply
Quote
Re: Weapon Strip - Issue Weapon & Armor
Posted by G4MER on Tue Nov 18th at 5:17pm 2008


Back before Source I knew how to add entities that striped your weapons and then issued you a new one lets say a five seven and armor. But I am not sure how to do it in source, can some one school me please?



Quote
Re: Weapon Strip - Issue Weapon & Armor
Posted by G4MER on Wed Nov 19th at 2:25am 2008


I guess no one else knows either.. dang how am I gonna do this then?



Quote
Re: Weapon Strip - Issue Weapon & Armor
Posted by haymaker on Wed Nov 19th at 3:25am 2008


brush entity trigger weaponstrip

http://developer.valvesoftware.com/wiki/Player_weaponstrip

as for re-equip, there's game_player_equip

http://developer.valvesoftware.com/wiki/Game_player_equip

though can be a hassle to get it goin'




Quote
Re: Weapon Strip - Issue Weapon & Armor
Posted by amanderino on Wed Nov 19th at 4:13am 2008


What?
You don't remember this?
It was about a week and a half ago.




Quote
Re: Weapon Strip - Issue Weapon & Armor
Posted by G4MER on Wed Nov 19th at 9:29am 2008


TY Haymaker.

Amanderino, nope.. I have Alzheimer's smiley .




Quote
Re: Weapon Strip - Issue Weapon & Armor
Posted by amanderino on Wed Nov 19th at 9:38am 2008


Oh well, at least you have your answer.



Quote
Re: Weapon Strip - Issue Weapon & Armor
Posted by G4MER on Wed Nov 19th at 5:22pm 2008


Haymaker, there is no player_weaponstrip in CounterStrike Source?



Quote
Re: Weapon Strip - Issue Weapon & Armor
Posted by G4MER on Wed Nov 19th at 6:22pm 2008


Ok, I figured out that if you just add the game_player_equip, it will only give the items you add to it. So it acts as a weapon strip and equip all wrapped in one.. the problem I have now is I can not find what armor is called in the list to give that to the players as well.. so I am not sure if it is an item or not.



Quote
Re: Weapon Strip - Issue Weapon & Armor
Posted by G4MER on Wed Nov 19th at 7:09pm 2008


Figured it out too.. on that same game_equip thing add item_kevlar.



Quote
Re: Weapon Strip - Issue Weapon & Armor
Posted by savijN on Sat Dec 20th at 7:24am 2008


I already knew all of the above, my problem is
I want to use the game_player_equip

to equip a weapon_ak47 to only the terrorists and use a game_player_equip to equip a weapon_m4a1 to only the counter-terrorists.
Would anyone know how ?





Post Reply