Triggering the capture_area to enable and disable.
Mr-Softy
05-13-2006, 12:48 PM
For a map am currently making, i need to be able to like
Enable a capture_area brush. Like say i blew something up, how would i get the capture_area to start disabled untill i blow that thing up, it enables the capture_area so people can capture the flag...
But if they dont get it in time it Disables?
is this possible yet or not?
Please Help ;)
also, is it possbile, to set players as Knives only on this map. like strip them from there weapons? apart from a knife
Mr-Softy
Furyo
05-13-2006, 01:05 PM
No it's not possible to enable a capture area that starts off disabled. And it's a bug, because the entity is supposed to support it.
You can however contain the capture area within a func_detail transparent wall that can be disabled. I'll leave it up to your creativity to make it all fit in a realistic setting
you can always try doing a func_train and make the entity move in an unnaccessible spot of the map.
Mr-Softy
05-13-2006, 02:42 PM
Originally posted by Furyo
You can however contain the capture area within a func_detail transparent wall that can be disabled. I'll leave it up to your creativity to make it all fit in a realistic setting
Thanks m8, ill just use that ;) seems easy enough :D
Mr-Softy
05-14-2006, 03:02 PM
how would i do the train one.. cause the func_detail one doesnt really work aswell as i wanted it to :p
otF yetihw
05-14-2006, 03:32 PM
Well I suppose you'd have a func_tracktrain above the ground, say at 200 or so so it's out of reach of players. Then you'd have the capture area parented to the train, I assume this is possible. Then you'd have two path_tracks, one at the point of the train and one at ground level. And when the objective is complete you would have an output telling the tracktrain to move forward.
Um.. it makes sence kind of, read some tutorials on tracktrains. Also if you were to do it like I said you'd need to make it like a lift (elevator for americans) and have no pitch x rot ticked in the flags (I think).
ultranew_b
05-14-2006, 03:46 PM
Valve is showing pics of the new objective map. So the new code will be here soon, which will enable you to do what you want.
:)
otF yetihw
05-14-2006, 04:10 PM
Well this was making me think a bit, so I threw this together anyway. It KIND OF works :)
http://yetihw.dod-federation.com/files/capturetest.zip
Load it and try and capture the flag, then press the button and try. Works except for some wobbly movement but thats for you to experiment with.
*included the vmf for you to look at
FuzzDad
05-14-2006, 05:49 PM
Juat wait a week or so...you'll have your code then.
Day of Defeat Forum Archive created by
Neil Jedrzejewski.
This in an partial archive of the old Day of Defeat forums orignally hosted by
Valve Software LLC.
Material has been archived for the purpose of creating a knowledge base from messages posted between 2003 and 2008.