Can someone please give me some direction on how to make a brush base
entity that causes a point entity to give you a certain weapon when you
walk through it? I tried making these 2 (trigger_multiple,
game_player_equip) but one would activate right at the beginning and I
wasn't able to get them working together. Thanks in advance
1
Re: triggers with weapons
Posted by coldbladed on Tue Nov 23rd at 6:58pm 2004
Posted by coldbladed on Tue Nov 23rd at 6:58pm 2004
You say that the game_player_equip was activiating right away? I assume
that's what you mean. Look for an option in game_player_equip that
causes it only to do its thing when triggered. Just pointing the
trigger at it doesn't make it think to wait.
[EDIT]
Okay I fired up Hammer and looked up the specific solution. In the game_player_equip entity is a keyvalue called "Team Master (Obsolete)". This is where you will enter the name of the trigger_multiple entity. As the description says, the game_player_equip will not activate unless the "Team Master (Obsolete)" entity has been activated. If there is no "Team Master (Obsolete)" entity then the equip entity will activate whenever a player passes through it. Hopefully that works for you.
If not, check to make sure that your trigger is triggering properly, point it at a light or something, or make sure that your entities are not being disturbed/triggered by something else.
[EDIT]
Okay I fired up Hammer and looked up the specific solution. In the game_player_equip entity is a keyvalue called "Team Master (Obsolete)". This is where you will enter the name of the trigger_multiple entity. As the description says, the game_player_equip will not activate unless the "Team Master (Obsolete)" entity has been activated. If there is no "Team Master (Obsolete)" entity then the equip entity will activate whenever a player passes through it. Hopefully that works for you.
If not, check to make sure that your trigger is triggering properly, point it at a light or something, or make sure that your entities are not being disturbed/triggered by something else.
Re: triggers with weapons
Posted by STURMguy22 on Tue Nov 23rd at 10:56pm 2004
Posted by STURMguy22 on Tue Nov 23rd at 10:56pm 2004
Thank you for the reply. Unfortunately, I am unable to get it working.
I have 2 entities, one brush and one point. The brush is named Scout_equipper and the point is Scout_entity. Scout_equipper is a trigger_multiple and the Scout_entity is the game_player_equip. I put the equipper's name in the "Team Master (Obsolete)" section. Then I made my output on the equipper using
"My output named" - OnStartTouch
"Target's entities named" - Scout_entity
"Via this input" - _______
As you can see, I don't know what to put in the last field. Also, I cannot find the box to make the entity not fire right at the start of the map. Can anyone see what I am doing wrong? Also, for some reason I am unable to play sounds when previewing so I can't do Waldo's tutorial correctly. Heh, and I don't know how to trigger a light either (because I don't know what to put in the last output field of that either).
I have 2 entities, one brush and one point. The brush is named Scout_equipper and the point is Scout_entity. Scout_equipper is a trigger_multiple and the Scout_entity is the game_player_equip. I put the equipper's name in the "Team Master (Obsolete)" section. Then I made my output on the equipper using
"My output named" - OnStartTouch
"Target's entities named" - Scout_entity
"Via this input" - _______
As you can see, I don't know what to put in the last field. Also, I cannot find the box to make the entity not fire right at the start of the map. Can anyone see what I am doing wrong? Also, for some reason I am unable to play sounds when previewing so I can't do Waldo's tutorial correctly. Heh, and I don't know how to trigger a light either (because I don't know what to put in the last output field of that either).
Re: triggers with weapons
Posted by omegaslayer on Tue Nov 23rd at 11:03pm 2004

omegaslayer
member
2481 posts
401 snarkmarks
Registered: Jan 16th 2004
Location: Seattle, WA
Occupation: Sr. DevOPS Engineer
Posted by omegaslayer on Tue Nov 23rd at 11:03pm 2004
I think the stylistic choice in cs to give weapons right away for free is poor. CS is based around saving up money and buying a weapons that you saved up for after dying or conserving money for many rounds. Ive played these types of maps and and the fun factor isn't there. But dont listen to me im a bush hater:D
[addsig]
omegaslayer
member
2481 posts
401 snarkmarks
Registered: Jan 16th 2004
Location: Seattle, WA

Occupation: Sr. DevOPS Engineer
Re: triggers with weapons
Posted by Raeth on Wed Nov 24th at 4:16am 2004
Posted by Raeth on Wed Nov 24th at 4:16am 2004
You need to add a key for each weapon you want the game_player_equip to
give out. For example, to give out a scout, you would add a key
called "weapon_scout" with a value of 1 to the g_p_e. Set the
g_p_e flag "Use Only" to prevent it from firing right away.
Now go forth and make legions of noob fy_ maps that should never have seen the light of day!
Now go forth and make legions of noob fy_ maps that should never have seen the light of day!
Re: triggers with weapons
Posted by STURMguy22 on Thu Nov 25th at 4:38am 2004
Posted by STURMguy22 on Thu Nov 25th at 4:38am 2004
What I plan to do with the triggering should be of no concern. I
want to learn how to trigger a certain action, and I hope that help can
be given just based on my request for it; not because of your gaming
preferences.
Thank you for clarifying the "use only" checkbox. I checked it once before and instead of giving me the starting pistol, I was given nothing. I'm not sure why that would happen.
Thank you for clarifying the "use only" checkbox. I checked it once before and instead of giving me the starting pistol, I was given nothing. I'm not sure why that would happen.
1
© Snarkpit.net 2001 - 2023, about us, donate, contact
Snarkpit v6.1.0 created this page in 0.0125 seconds.

Snarkpit v6.1.0 created this page in 0.0125 seconds.


