dod entities

dod entities

Re: dod entities Posted by Spazz on Mon Apr 26th 2004 at 12:24am
Spazz
54 posts
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
scary_jeff
1614 posts
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
wil5on
1733 posts
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
2455 posts
Posted 2004-04-26 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
scary_jeff
1614 posts
Posted 2004-04-26 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
5457 posts
Posted 2004-04-26 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
scary_jeff
1614 posts
Posted 2004-04-26 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 Orpheus on Mon Apr 26th 2004 at 9:28pm
Orpheus
13860 posts
Posted 2004-04-26 9:28pm
Orpheus
member
13860 posts 2024 snarkmarks Registered: Aug 26th 2001 Occupation: Long Haul Trucking Location: Long Oklahoma - USA
scary_jeff said:
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.
maybe it was the AAA trigger brush targetting it??
Re: dod entities Posted by Leperous on Mon Apr 26th 2004 at 9:58pm
Leperous
3382 posts
Posted 2004-04-26 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 12:04am
ReNo
5457 posts
Posted 2004-04-27 12:04am
ReNo
member
5457 posts 1991 snarkmarks Registered: Aug 22nd 2001 Occupation: Level Designer Location: Scotland
maybe it was the AAA trigger brush targetting it??
Isn't that exactly what wilson said a few posts back, and I already restated since Jeff didn't seem to have noticed :razz:
Re: dod entities Posted by scary_jeff on Tue Apr 27th 2004 at 12:09am
scary_jeff
1614 posts
Posted 2004-04-27 12:09am
1614 posts 191 snarkmarks Registered: Aug 22nd 2001
:lol: I can't believe the confusion caused here. I always realised player_weaponstrip is a point based entity, and was aware of how this would be implemented. All I meant was that I thought that there used to be a brush based entity to do the same thing, but I was wrong. I'm not sure why I mentioned the map with the safe zone, I don't think that helped at all :smile:
Re: dod entities Posted by Orpheus on Tue Apr 27th 2004 at 12:15am
Orpheus
13860 posts
Posted 2004-04-27 12:15am
Orpheus
member
13860 posts 2024 snarkmarks Registered: Aug 26th 2001 Occupation: Long Haul Trucking Location: Long Oklahoma - USA
ReNo said:
maybe it was the AAA trigger brush targetting it??
Isn't that exactly what wilson said a few posts back, and I already restated since Jeff didn't seem to have noticed :razz:
no duncan, my comment was rhetorical, i wasn't answering the question of the topic, i was posing a supposition to jeff's confusion over a brush..

the aaa trigger is a brush afterall.
Re: dod entities Posted by ReNo on Tue Apr 27th 2004 at 2:17am
ReNo
5457 posts
Posted 2004-04-27 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:24am
Orpheus
13860 posts
Posted 2004-04-27 6:24am
Orpheus
member
13860 posts 2024 snarkmarks Registered: Aug 26th 2001 Occupation: Long Haul Trucking Location: Long Oklahoma - USA
ReNo said:
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.
ahh nods head sagely

tis my confusion then, sorry.. i never called it a trigger_multiple.. its always been the aaa trigger brush to me..

remember, i failed miserably at multi_managers... i stayed away from any tricks most times that involved them or anything like them..

most times, i used the aaa trigger to activate a func_door as a lift...

notice exactly how i worded my reply each time.

sorry duncan, my bad :sad:
Re: dod entities Posted by Orpheus on Tue Apr 27th 2004 at 6:26am
Orpheus
13860 posts
Posted 2004-04-27 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:08pm
Gorbachev
1569 posts
Posted 2004-04-27 8:08pm
1569 posts 264 snarkmarks Registered: Dec 1st 2002 Location: Vancouver, BC, Canada
scary_jeff said:
:lol: I can't believe the confusion caused here. I always realised player_weaponstrip is a point based entity, and was aware of how this would be implemented. All I meant was that I thought that there used to be a brush based entity to do the same thing, but I was wrong. I'm not sure why I mentioned the map with the safe zone, I don't think that helped at all :smile:
I remember there being a brush based entity as well. Hm...
Re: dod entities Posted by ReNo on Tue Apr 27th 2004 at 8:12pm
ReNo
5457 posts
Posted 2004-04-27 8:12pm
ReNo
member
5457 posts 1991 snarkmarks Registered: Aug 22nd 2001 Occupation: Level Designer Location: Scotland
stupid double post

nothin worse than being wrong twice X 2 :sad:
LOL :biggrin:

Anyway mate, the aaa trigger is just a texture typically used on trigger brushes, it doesnt actually do anything on its own I don't believe. A trigger_multiple is the brush entity typically used to trigger things more than once across a map (for instance opening a door).
Re: dod entities Posted by Gorbachev on Tue Apr 27th 2004 at 8:33pm
Gorbachev
1569 posts
Posted 2004-04-27 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
54 posts
Posted 2004-04-29 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
scary_jeff
1614 posts
Posted 2004-04-29 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).
Re: dod entities Posted by Spazz on Fri Apr 30th 2004 at 12:48am
Spazz
54 posts
Posted 2004-04-30 12:48am
Spazz
member
54 posts 45 snarkmarks Registered: Aug 31st 2003 Occupation: full time student Location: north carolina
thanks jeff