Some complicated questions

Some complicated questions

Hammer Mapping — Page [1]
seanmac
2008 Jul 31 • 22
1. Is there a way to make a button unusable after is has been pressed until all the rounds have been reset. I mean if its been pressed in round number 3, no one can press it the rest of the game. Can a mod do this if the map can't?

2. When using trigger_push to push somebody through a game_player_equip, is there a way to deacticate one game_player_equip and activate another. ex. Someone runs through the game_player_equip and gets an awp, but 1 second later another person runs through the same place and gets an M4, the third gets a deagle ect.

3.If the above isn't possible, how do I make an area where once one person passes through it, nobody else can pass through.

4. How do I make a 1 of 4 doors open 20 seconds after a round has started, only one opens per round and its random?

5. Is it possible for a trigger to make a bombzone so none of the terrorists spawn with a C4 and I can put 1 C4 on the ground?

Thats all for now.
The Cake Is A Lie
 
 
 
2009 Jan 31 at 03:21 UTC
SRAW
Rocket Man

2007 Nov 6 • 2525
601 ₧
seanmac said:
1. Is there a way to make a button unusable after is has been pressed until all the rounds have been reset. I mean if its been pressed in round number 3, no one can press it the rest of the game. Can a mod do this if the map can't?

2. When using trigger_push to push somebody through a game_player_equip, is there a way to deacticate one game_player_equip and activate another. ex. Someone runs through the game_player_equip and gets an awp, but 1 second later another person runs through the same place and gets an M4, the third gets a deagle ect.

3.If the above isn't possible, how do I make an area where once one person passes through it, nobody else can pass through.

4. How do I make a 1 of 4 doors open 20 seconds after a round has started, only one opens per round and its random?

5. Is it possible for a trigger to make a bombzone so none of the terrorists spawn with a C4 and I can put 1 C4 on the ground?

Thats all for now.


1. The map wont be able to do it, a mod should be able to, amxx is easy and u can count the rounds that passed and then make func_button unusable

2. Make the trigger_multiple to target the game_player_equip and a trigger_changetarget, when ever somebody passes through, the trigger_changetarget makes the trigger_multiple target a different game_player_equip

3. A trigger_mutliple and it targets maybe a func_wall?

4. multimanager does the counting for the doors, and a trigger_multiple at the player spawns(u probably need to have the players teleport to their intended starting points), im not sure how to randomize things, but u could assume that if the server isnt full of players, the trigger_multiples could trigger_changetargets(ie 2 trigger_multiples, one targets Ian, the other targets SRAW, if u have only 1 person in the server, u will randomly at the start of the round spawn at any of these two points and cause it to do different stuff).

5. Hmmm, terrorist team, teleports, weapon_strips, game_player_equip sounds like the answer, and a amoury_entity
Free Steam Games
 
 
 
2009 Jan 31 at 04:32 UTC
Mate de Vita
Kelli

2008 Oct 4 • 2453
159 ₧
SRAW said:
3. A trigger_mutliple and it targets maybe a func_wall?

I think it has to be a func_wall_toggle?
...and that's the bottom line because Mate de Vita said so.
 
 
 
2009 Jan 31 at 11:29 UTC — Ed. 2009 Jan 31 at 11:29 UTC
seanmac
2008 Jul 31 • 22
I will explain the first problem further.

I have 11 buttons each corresponding to a door I want opened. However after the specific button has been pressed that button/door will never be usable/openable for the rest of the game.

Is there a way I could do this with a triiger_"something" because if I activate the kill target on the trigger_"something" that should kill it for the rest of the game correct not just for the rest of that round?

I could possibly make the door pushable, and make a trigger_push push the door out of the way and enable the "pushables" flag so it won't push the players around but it will push the door. If I do that, will the door respawn at its original spot the next round? Or will it be gone forever?
The Cake Is A Lie
 
 
 
2009 Jan 31 at 13:41 UTC — Ed. 2009 Jan 31 at 13:47 UTC
Mate de Vita
Kelli

2008 Oct 4 • 2453
159 ₧
I think a trigger_once doesn't reactivate every round, so if you make the button target a trigger_once that in turn targets the door, this should work.
(I tried to use trigger_once to activate a trigger_hurt at the beginning of each round, it only worked the first round)

If it doesn't work, try this instead:
Make the button target a multi_manager.
The multi_manager then targets the door and a trigger_relay.
The trigger_relay has trigger state off and targets a multisource.
The button has that multisource set as its master.
...and that's the bottom line because Mate de Vita said so.
 
 
 
2009 Jan 31 at 16:11 UTC — Ed. 2009 Jan 31 at 16:11 UTC
seanmac
2008 Jul 31 • 22
I will try the trigger_once and let you know if it works out.
The Cake Is A Lie
 
 
 
2009 Jan 31 at 19:22 UTC
Page [1]