Attn: NON - NOOBS : CTF style problem Created 19 years ago2004-10-14 08:06:07 UTC by Peace and LOve Peace and LOve

Created 19 years ago2004-10-14 08:06:07 UTC by Peace and LOve Peace and LOve

Posted 19 years ago2004-10-14 08:06:07 UTC Post #66311
OK, I need to know what you gusy think would work, and if you have any suggestions, as I've been trying to crack this one for a whiel now, and rather than just change objectives in my map, I really want to get this working.

Problem:

Imagine a room with 2 entrances/exits, I need to somehow set it up, so that when a certain team enters teh area, a timer starts, and will activate another entity (don't worry about this entity), but! when that same team leaves or a member of teh other team enters the timer stops.

Basically, it doesn't rely on "a member of teh other team enters the timer stops." - thsi doesn't need to be in tehre, but it would be nice if tehre was a way, like I said though, doesn't have to be.

The most important thing is getting it so taht when teh last man inside this 'field' leaves, teh timer stops, and they have to re-enter it again to start teh timer once more.

I would also liek some kind of text to notify them of the fact that the timer starts, is there a team specific way of doing that?

Here are some relevant words/themes:

Capture teh flag

hold teh fort

trigger multiple/once/relay

that's about the only prompts I can think of, any solutions? Or even links to anything similar?

:zonked:
Posted 19 years ago2004-10-14 08:08:56 UTC Post #66313
maby something with the game_player_team or something
like that could be done
Posted 19 years ago2004-10-14 08:15:45 UTC Post #66315
Yeha, maybe.

Note teh 'Attn : non - noobs' at the top ;)
Posted 19 years ago2004-10-14 08:41:19 UTC Post #66323
i think he means counter strike?
Posted 19 years ago2004-10-14 08:44:59 UTC Post #66324
i'll have shot at it in a map tonight an will tell u wha ta do tommora

did something simula to this a wile ago
so i should be able to clok it soon
Posted 19 years ago2004-10-14 08:46:04 UTC Post #66325
Posted 19 years ago2004-10-14 08:49:26 UTC Post #66326
figured it out.

momentary button etc, I think that's the best way, it solves all my problems, I think 7th mentioned thsi a while ago, but I didn't investigate it fully, to my detriment.

and it's not for CS, steve, you know me better than that, my cs days are over.

thanks for your enthusiasm repma, it shall not be forgotten.
Posted 19 years ago2004-10-14 08:56:47 UTC Post #66332
Other than TFC's elite code t'is the only way I can see.
Seventh-Monkey Seventh-MonkeyPretty nifty
Posted 19 years ago2004-10-14 08:58:07 UTC Post #66334
well, it has that purpose of 'holding use', and that's just what I need, thanks for pointing that out 7th, I'll be sure to credit you with something, maybe a small plaque in your honour, somewhere in the staff quarters :P
Posted 19 years ago2004-10-14 14:25:59 UTC Post #66474
Heh, ta :)
Seventh-Monkey Seventh-MonkeyPretty nifty
Posted 19 years ago2004-10-15 00:59:11 UTC Post #66572
Sounds like a DoD-style rally point you're building...
Posted 19 years ago2004-10-15 03:42:36 UTC Post #66604
Peace! You can trigger momentary_entities! Your troubles would've probably been at an end if only I'd re-looked at a link I posted on SlayerA's Stay-Open Door map comments :

http://www.gamedesign.net/book/view/6
The momentary_rot_button entity, though, has an interesting property. Repeatedly triggering the entity has the exact same effect as if you hold down the +use key while standing near it!
Seventh-Monkey Seventh-MonkeyPretty nifty
Posted 19 years ago2004-10-15 06:40:35 UTC Post #66621
Yeah I found taht yesterday after reading soem guys post about dimensions for HL, I just browsed taht site and lo and behold, found taht hehe

well thnx for your input, appreciated.

brad; it kinda is, but for a mod taht doesn't have any CTF property entities, so I have to improvise, my next problem is this:

I need it to be team based, ie, a specific team only, how in god's name would I do that, any ways around teh fact that I obviously can't do this due to lack of coding, would be helpful.

ie, if you can think of any way at all that I could bodge it, using any method, not just entities, liek, a way that only one team coudl get to it from a certain area, and blah blah, now that I have found teh right entity for teh job, I need to figure out how to best implement it.

Suggestions/criticism plz
Posted 19 years ago2004-10-16 05:06:59 UTC Post #66893
Not a clue.
Seventh-Monkey Seventh-MonkeyPretty nifty
Posted 19 years ago2004-10-16 11:18:33 UTC Post #66907
http://cariad.co.za/twhl/entityinfo.php?ent=game_team_set&game=1 This will set the teams in your map... the models they can use. They can still switch teams by changing models.

As far as the start and stop when a team appears, it sounds like you need to maneuver the map so that one team can only appear from certain entrances or teleports. From that, you could trigger your timer to start and stop, but it's beyond me, without the coding. Maybe if you switched the MOD and used AGHL to build it, the entities would be similar enough that it'd play in HL. But test that theory first... I'd hate to see it work in a compile but need to be loaded into an AGHL server.

The other (third) hand of this is that you can load "AG-mini" into a valve server, so it plays like AGHL, but nobody needs to have the MOD... like BubbleMod is.

Fish don't have legs because ice cream has no bones.

Just thinking out loud. I don't know if any of the above is true.
Posted 19 years ago2004-10-20 10:58:53 UTC Post #67908
Well, it's for a mod called Hostile Intent, so alot of taht isn't applicable, but I appreciate yuo thinking, and apologise for taking so long to answer this (I have been pre-occupied with other matters, far less pressing than this).

Basically, Team A have to plant a "bomb" and tehn hold a certain area for the two minutes it takes for the bomb to blow (I know, who would hang around and wait for a bomb to blow up, these crazy terrorists..), but Team B need to burst in, kill everyone and disarm teh "bomb", then hold that area for 30 seconds until "back up" arrives..

Now I'm thinking, does it even need to have teh CTF element, and then I think, every map needs some flashy entity bollox, just for the sake of it, so I am determined to complete this.

I could have another trigger around the perimiter that 'kills' the func_button_momentary when a Team A member walks through it.

that's all I can think of, I don' want areas taht only certain people can access, it's frustrating to not have full access to a map, but somehow.. teh idea is growing on me, but it would be hard to implement in this map, so I'll save it for teh next one.

Well, I'll give it a go..
Posted 19 years ago2004-10-20 17:44:13 UTC Post #67979
um... if you're looking for non-noobs, why not look here: http://www.chatbear.com/board.plm?b=390
You must be logged in to post a response.