On player spawn
Post Reply
Quote
Re: On player spawn
Posted by Sadist on Tue Nov 21st at 10:25pm 2006


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.




Quote
Re: On player spawn
Posted by smackintosh on Wed Nov 29th at 10:36pm 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.




Quote
Re: On player spawn
Posted by Sadist on Tue Dec 5th at 8:16pm 2006


Thanks i will try this.<html><head><link rel="stylesheet" href="themes/standard.css" type="text/css"></head><body topmargin=2 leftmargin=2>




Post Reply