On player spawn

On player spawn

Re: On player spawn Posted by Sadist on Tue Nov 21st 2006 at 10:25pm
Sadist
28 posts
Posted 2006-11-21 10:25pm
Sadist
member
28 posts 1162 snarkmarks Registered: Jan 4th 2006 Location: United Kingdom
Hi,

I've got a request, could anyone tell me how to make a player spawn with just a stunstick and gravgun in deathmatch please?

Thanks.
Re: On player spawn Posted by smackintosh on Wed Nov 29th 2006 at 10:36pm
smackintosh
175 posts
Posted 2006-11-29 10:36pm
175 posts 38 snarkmarks Registered: Feb 12th 2006
you will have to use a "weapon strip" trigger and a game_player_equip entity. I've only seen this done successfully in DM_steelball. you have to strategically place spawnpoints so a player cannot activate a trigger again (thus stripping weapons again).

you have to use the "smart edit" function in the properties on the entity (game_player_equip) to add "keys". The weapon names are as they appear in the entity list (I.E.> gravity gun is "weapon_physcannon")

key> weapon_physcannon
value> 1

thats all I know.
Re: On player spawn Posted by Sadist on Tue Dec 5th 2006 at 8:16pm
Sadist
28 posts
Posted 2006-12-05 8:16pm
Sadist
member
28 posts 1162 snarkmarks Registered: Jan 4th 2006 Location: United Kingdom
Thanks i will try this.<html><head><link rel="stylesheet" href="themes/standard.css" type="text/css"></head><body topmargin=2 leftmargin=2>