Weapon Strip - Issue Weapon & Armor

Weapon Strip - Issue Weapon & Armor

Re: Weapon Strip - Issue Weapon & Armor Posted by G4MER on Tue Nov 18th 2008 at 5:17pm
G4MER
2460 posts
Posted 2008-11-18 5:17pm
G4MER
floaty snark rage
member
2460 posts 360 snarkmarks Registered: Sep 6th 2003 Location: USA
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?
Re: Weapon Strip - Issue Weapon & Armor Posted by G4MER on Wed Nov 19th 2008 at 2:25am
G4MER
2460 posts
Posted 2008-11-19 2:25am
G4MER
floaty snark rage
member
2460 posts 360 snarkmarks Registered: Sep 6th 2003 Location: USA
I guess no one else knows either.. dang how am I gonna do this then?
Re: Weapon Strip - Issue Weapon & Armor Posted by haymaker on Wed Nov 19th 2008 at 3:25am
haymaker
439 posts
Posted 2008-11-19 3:25am
haymaker
member
439 posts 921 snarkmarks Registered: Apr 1st 2007 Location: CAN
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'
Re: Weapon Strip - Issue Weapon & Armor Posted by amanderino on Wed Nov 19th 2008 at 4:13am
amanderino
205 posts
Posted 2008-11-19 4:13am
205 posts 21 snarkmarks Registered: Nov 13th 2006 Location: United States
What?
You don't remember this?
It was about a week and a half ago.
Re: Weapon Strip - Issue Weapon & Armor Posted by G4MER on Wed Nov 19th 2008 at 9:29am
G4MER
2460 posts
Posted 2008-11-19 9:29am
G4MER
floaty snark rage
member
2460 posts 360 snarkmarks Registered: Sep 6th 2003 Location: USA
TY Haymaker.

Amanderino, nope.. I have Alzheimer's :lol: .
Re: Weapon Strip - Issue Weapon & Armor Posted by amanderino on Wed Nov 19th 2008 at 9:38am
amanderino
205 posts
Posted 2008-11-19 9:38am
205 posts 21 snarkmarks Registered: Nov 13th 2006 Location: United States
Oh well, at least you have your answer.
Re: Weapon Strip - Issue Weapon & Armor Posted by G4MER on Wed Nov 19th 2008 at 5:22pm
G4MER
2460 posts
Posted 2008-11-19 5:22pm
G4MER
floaty snark rage
member
2460 posts 360 snarkmarks Registered: Sep 6th 2003 Location: USA
Haymaker, there is no player_weaponstrip in CounterStrike Source?
Re: Weapon Strip - Issue Weapon & Armor Posted by G4MER on Wed Nov 19th 2008 at 6:22pm
G4MER
2460 posts
Posted 2008-11-19 6:22pm
G4MER
floaty snark rage
member
2460 posts 360 snarkmarks Registered: Sep 6th 2003 Location: USA
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.
Re: Weapon Strip - Issue Weapon & Armor Posted by G4MER on Wed Nov 19th 2008 at 7:09pm
G4MER
2460 posts
Posted 2008-11-19 7:09pm
G4MER
floaty snark rage
member
2460 posts 360 snarkmarks Registered: Sep 6th 2003 Location: USA
Figured it out too.. on that same game_equip thing add item_kevlar.
Re: Weapon Strip - Issue Weapon & Armor Posted by savijN on Sat Dec 20th 2008 at 7:24am
savijN
3 posts
Posted 2008-12-20 7:24am
savijN
member
3 posts 10 snarkmarks Registered: Apr 27th 2008 Occupation: Student Location: Australia
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 ?