Talk:TF2/Creating a Single Flag Keep-Away map

From Valve Developer Community
Jump to: navigation, search
I assume you know the basics so I'm just showing you the concept and creation of this type of gameplay. Here you will learn how to make a one flag map where you play a simple game of keep-away. I will assume you know what that is. In case you don't, it's where either everyone tries to keep an object (such as a ball) away from everyone else, or where there are teams involved. I think you get the idea.

No I don't. :-p --TomEdwards 03:42, 16 Mar 2008 (PDT)

I do. Thanks so much for this tutorial. A great game play idea well implemented.--Cheesemoo0 21:15, 20 Mar 2008 (PDT)


I have further improved this method, and also fixed the bugs. Instead of the forcerespawn, I have 3x game_round_win and 2x capture zone (both over whole level).


The first game_round_win (rfail) has team none (ie stalemate) and force restart=yes


The team_round_timer has the following outputs:

On1SecRemain capzone enable

OnFinish rfail RoundWin

OnFinish round_timer Resume (legacy may not be needed)

OnRoundStart capzone disable

OnSetupFinish flag Enable

OnSetupStart flag disable

(add doors if you wont I haven't yet. Use SetupStart and SetupFinish)


timer properties: Start paused:no, Setup timer: 25 (yes this works), reset on start: yes.


Now there is a game_round_win per team:

Name: rwin_(TEAMHERE)

Team: (TEAMHERE)

force map reset: yes


Both capture zones are called capzone and are enabled/disabled together. One for each team, so each have:

Name: capzone

Start disabled: yes

Team: (TEAMHERE)


With outputs:

OnCapture rwin_(TEAMHERE) RoundWin

OnCapture round_timer Pause (prevent stalemate race condition)

--Trevelyan 13:46, 31 Mar 2008 (PDT)

PS: Where can I get my map play tested? preferably on a UK server. PPS: What about the prefix ktf_... for keep the flag?

You might want to rewrite all of this... in third Person. It's grammar is a bit bad too in some areas...--Gear 17:24, 31 Mar 2008 (PDT)
On another note, after taking more of a closer look to the guide, alot of it needs alot of fixing, for one, link some of the objects on the guide to existing pages to help out readers. Also you might want to make some of the Images a bit smaller, even on my 1440x900 resolution, these images are huge.--Gear 17:27, 31 Mar 2008 (PDT)

Thank you for the comments. I haven't checked this in a while and will edit it as soon as I have time. It's my very first wiki article and I did it to pass the time because I couldn't fall asleep. Obviously there would be some problems. ;)

Thanks guys! I'll try and get it fixed and cleaned up this week or weekend! --GreaseMonkey 09:27, 15 Apr 2008 (PDT)

New Edit!

I just edited it. I haven't added the new method that Trevelyan posted. I need to implement it an then test it. Then once I fully understand it I will be able to write it. Thanks for your support! I think I've made it more 3rd person like and added reference links. --GreaseMonkey 14:32, 4 May 2008 (PDT)

Cool noodles!--Gear 12:50, 17 Apr 2008 (PDT)

Cleanup

I've made a lot of cleanup. The images are completely unneeded and so I have replaced most of them with tables. Some instructions such as how to add outputs aren't required as those are already covered elsewhere. I haven't cleaned up the explanations of the outputs, though... --A2h 20:25, 23 Jul 2008 (PDT)

Thanks

Thanks for that! I didn't know how to do that. I've done a little bit of cleaning up as well as far as POV goes. --GreaseMonkey 10:41, 27 Aug 2008 (PDT)