Re: dod entities
Posted by Spazz on
Mon Apr 26th 2004 at 12:24am
Posted
2004-04-26 12:24am
Spazz
member
54 posts
45 snarkmarks
Registered:
Aug 31st 2003
Occupation: full time student
Location: north carolina
Ok, when a person spawns on my map, i want them to be forced to drop their main gun.
I dont want them to be able to pick it up again, so how would i make the gun go away once it is dropped?
Re: dod entities
Posted by scary_jeff on
Mon Apr 26th 2004 at 12:43am
Posted
2004-04-26 12:43am
1614 posts
191 snarkmarks
Registered:
Aug 22nd 2001
'player_weaponstrip' entity will take all weapons from a player and the weapons taken disappear. It was used in the Op4 training course to take away your gun, but I'm sure it used to be a brush-based entity called 'weaponstrip'?
Re: dod entities
Posted by wil5on on
Mon Apr 26th 2004 at 10:12am
Posted
2004-04-26 10:12am
wil5on
member
1733 posts
570 snarkmarks
Registered:
Dec 12th 2003
Occupation: Mapper
Location: Adelaide
Err... I think not. :rolleyes:
player_weaponstrip is a point entity, always has been. You'll want to place a trigger_multiple around the spawn area, and have that target a player_weaponstrip. Of course, I'm not sure if dod has this entity, and if you did use one, it would most likely remove all weapons (main, pistol, knife and grenades) so I'm not sure if that would work... Try it and see.
Re: dod entities
Posted by Andrei on
Mon Apr 26th 2004 at 8:27pm
Andrei
member
2455 posts
1248 snarkmarks
Registered:
Sep 15th 2003
Location: Bucharest, Romania
Well, i think the weapon strip will strip the players of their weapons entirely.If so, you could place the guns in an armory near the starting points or something.
Re: dod entities
Posted by scary_jeff on
Mon Apr 26th 2004 at 9:17pm
1614 posts
191 snarkmarks
Registered:
Aug 22nd 2001
I know there's no 'weaponstrip' brush-based entity now, but I'm sure there used to be one... hmm. There was this deathmatch map with a 'vieing area' where you could go, and you were stripped of all your weapons as you went in.
Re: dod entities
Posted by ReNo on
Mon Apr 26th 2004 at 9:22pm
ReNo
member
5457 posts
1991 snarkmarks
Registered:
Aug 22nd 2001
Occupation: Level Designer
Location: Scotland
Yeah but all you would need to do to achieve that is have a trigger_multiple cover the doorway and have it target a weaponstrip.
Re: dod entities
Posted by scary_jeff on
Mon Apr 26th 2004 at 9:25pm
1614 posts
191 snarkmarks
Registered:
Aug 22nd 2001
I just installed worldcraft 2.1 and it uses player_weaponstrip as well. I wonder where I got the idea that it was brush based from... very odd.
Re: dod entities
Posted by Leperous on
Mon Apr 26th 2004 at 9:58pm
Leperous
Creator of SnarkPit!
member
3382 posts
1635 snarkmarks
Registered:
Aug 21st 2001
Occupation: Lazy student
Location: UK
If it does take away everything but you want them to hold on to their secondary weapons, just keep a big stash of them lying around to pick up after.
Re: dod entities
Posted by ReNo on
Tue Apr 27th 2004 at 2:17am
ReNo
member
5457 posts
1991 snarkmarks
Registered:
Aug 22nd 2001
Occupation: Level Designer
Location: Scotland
Thats what I was doing too - I said the way that the weapons were removed from players in the map he referred to was most likely done using a trigger_multiple that targets the weaponstrip. I wasn't answering this topic's question, thats been done already.
Re: dod entities
Posted by Orpheus on
Tue Apr 27th 2004 at 6:26am
Orpheus
member
13860 posts
2024 snarkmarks
Registered:
Aug 26th 2001
Occupation: Long Haul Trucking
Location: Long Oklahoma - USA
stupid double post
nothin worse than being wrong twice X 2 :sad:
Re: dod entities
Posted by Gorbachev on
Tue Apr 27th 2004 at 8:33pm
1569 posts
264 snarkmarks
Registered:
Dec 1st 2002
Location: Vancouver, BC, Canada
You can put whatever texture you want on most brush entities, except for ORIGIN and such. There are lots of little exceptions.
Re: dod entities
Posted by Spazz on
Thu Apr 29th 2004 at 2:53am
Spazz
member
54 posts
45 snarkmarks
Registered:
Aug 31st 2003
Occupation: full time student
Location: north carolina
sorry, been away for a day or two
I have a small bunker type spawn, similar to a tfc map.
So, if i place a weaponstrip in the door way, the person will loose there weapon, and they can pick up one i placed outside of the base?
would it be possible to link the weaponstrip to a player equip entity?
Re: dod entities
Posted by scary_jeff on
Thu Apr 29th 2004 at 8:48am
1614 posts
191 snarkmarks
Registered:
Aug 22nd 2001
Yes. Put a trigger_multiple accross the door that targets a multi_manager, then have the multi_manager first target a player_weaponstrip, then 0.1 seconds later (say) a game_player_equip (or whatever it's called).