RSS Feed

Custom win conditions?

#  Jan 26, 2009 at 11:05 AM
Join Date:
Jan 11, 2008
Post Count:
323
 
SgtSocks 82066
Loading...
Specialty: Scout
Clan: {TF2F}
SquigMember
 

    I've been trying to make a map recently, but I'm having difficulty setting it up properly.  I want the map to be one by capturing one point (for each team) ala steel or hydro, but not have it be a requirement to own all of the other cp's on the map.  I've been looking around on the internet and have tried to figure it out myself, but have been unable to do so.  If anyone could lend me a little insight into the matter it'd be greatly appreciated.

    As a quick second question- not completely neccisary, but would help greatly (if you can answer both questions, than only bother with this one, unless it gets too complicated).  Can you set the win condition to capturing two specific cp's?  I was planning on having the two unlock a third, invisible cp that would auto-win the game, like I asked about above, but if there's an easier way, please do tell.

Thanks for your time.

#  Jan 26, 2009 at 11:14 AM
Join Date:
Oct 25, 2007
Post Count:
200
 
wowbaggin 79261
Loading...
Steam ID: wowbaggin
 
Yes, you can have a map where you only have to capture one point to win:

http://developer.valvesoftware.com/wiki/TF2/Creating_a_CP_assault_map

You can basically make capturing a CP do whatever you want it to do. If you want to have 2 CP's required for victory (two that can be captured in any order) you can use a logic relay. Have capturing one CP enable the relay, and the other CP can trigger it, which will then trigger your game_round_win entity.

(on second thought you may have to do a little trickery, having both CP's attempt to trigger the logic_relay, but then enable it with a 1 second delay, maybe there's an easier way to do it, but that's just off the top of my head)
#  Jan 26, 2009 at 11:28 AM
Join Date:
Jan 11, 2008
Post Count:
323
 
SgtSocks 82066
Loading...
Specialty: Scout
Clan: {TF2F}
SquigMember
 

Alright, and thanks so much for the help.

#  Jan 26, 2009 at 6:22 PM
Join Date:
Dec 29, 2007
Post Count:
182
 
fishy 81630
Loading...
Specialty: Pyro
 

There's some sort of maths_counter entity that can trigger an event when it reaches it's limit. Using the cp's to add or subtract from the current count, depending on whether the cp has been won or lost, it can keep a tally of how many cp's a team owns, and end the round when one team owns them all. That would let you have as many cp's as you wanted, without having them in any particular order.
I'm not sure it's much use for a single cp though. I'd imagine that cp would only need to have a single output to trigger the game_win or round_win or whatever it's name is.


Copyright 2007-2008 All Rights Reserved

Team Fortress 2


2 Guys 1 Kill: {TF2F} FlyingPenguin - (102 kill assists)
Captures Blocked: Nimbli Bimbli - (26 captures blocked)
Dominator: {TF2F} Bitch Nasty - (25 dominations)
Flags Captured: Corporal Clegg - (11 flags captured)
Flags Defended: MechaEdd - (12 flags defended)
Physician Assisted Homicide: {TF2F}SME®BUI©K - (271 medic kill assists)
Points Captured: {TF2F}SME®BUI©K - (30 points captured)
Revenger: Count_Flakula - (10 revenges)
Spy Power: Chro - (19 objects killed as spy)
Ubercharger: {TF2F}SME®BUI©K - (89 ubercharges)
Axe Man: {TF2F} Ninja Dude - (18 kills with fireaxe)
Axtinguished: {TF2F} BOOSH Rizzilio - (81 kills with axtinguisher)
Batter Up!: soup! - (16 kills with bat)
Biggest Prick: Sam - ClutchKill.com - (8 kills with syringegun)
Blood Sucker: {TF2F}SME®BUI©K - (30 kills with blutsauger)
Broke Backburner: {TF2F} FlyingPenguin - (223 kills with backburner)
Can You Dig It?: {TF2F}.TüRb!NE. - (3 kills with shovel)
Doctor's Certificate: Maero - (16 kills with bonesaw)
Drunken Brawler: [???] Deviruchi - (4 kills with bottle)
Epic Defender: {TF2F} Spy - (9 kills with wrench)
Fire Spitter: {TF2F}blistering - (100 kills with flamethrower)
Flare Gunner: {TF2F} FlyingPenguin - (12 kills with flare gun)
Grenade Spammer: GeneralSheep - (47 kills with pipe)
Grey Matter: STar - (168 snipings as sniper)
Hadouken Master: Xandier - (1 kills with pyro taunt)
Hot Potato: {TF2F} BOOSH Rizzilio - (4 kills with rocket deflection)
I <3 Sasha: {TF2F} Bitch Nasty - (181 kills with minigun)
Knife Maniac: {TF2F} Dartagnan - (109 knifings)
Last Resort: [Ba-El] BoC - (26 kills with smg)
Manslayer: [FRGT] Klare - (10 kills with machete)
Master Fister: Maero - (3 kills with fists)
Peashooter Marksman: Corporal Clegg - (48 kills with scout pistol)
Pickle Squad Award: [NH]Pitt - (18 pickles man handled)
Rocket Scientist: [TF2F]Lancer - (217 kills with rocket)
Scatter Shot: Corporal Clegg - (147 kills with scattergun)
Sentrygun Master: Numenor - (142 kills with sentrygun)
Spam Blocker: {TF2F} BOOSH Rizzilio - (1 kills with pipe deflection)
Spy Checker: {TF2F} Fanlaen - (5 kills with pistol)
Sticky Explosion: {TF2F}Album - (105 kills with pipe remote)
Ubersawer: Psycholord - (27 kills with ubersaw)
Stats Refreshed 6/24/2008 5:00:03 AM CST
AddThis Social Bookmark Button
Fortcast Podcast
Donate
Welcome, you are not logged in.
Login or Register
Team Fortress 2 Fort Team Fortress 2 Fort