Raised This Month: $12 Target: $400
 3% 

[TF2] CP Push|Attack/Defend Configs


Post New Thread Reply   
 
Thread Tools Display Modes
Author
BrutalGoerge
AlliedModders Donor
Join Date: Jul 2007
Plugin ID:
1119
Plugin Version:
1.0
Plugin Category:
Server Management
Plugin Game:
Team Fortress 2
Plugin Dependencies:
    Servers with this Plugin:
    1 
    Plugin Description:
    Detects wheather a map is push type CP, or attack/defend CP and runs the appropriate config file.
    Old 08-24-2009 , 19:17   [TF2] CP Push|Attack/Defend Configs
    Reply With Quote #1

    There are a bunch of mapcfg plugins out there, I was just going to edit one of them to add this and keep it for myself, but maybe other people need different configs for these maptypes.
    I hope I haven't mixed up the terms :p

    Push map = both teams attacking and defending control points that can go either way. (granary, well)

    Attack/Defend map = BLU team attacks the red control points, and RED team tries to defend them. (dustbowl, gravelpit)

    How it works:
    I just check all the control points at the beginning of the map, if they are all RED, then it's Attack/Defend, else it's Push.

    Installation:
    The cfg files go in /<sm_root>/configs/mapscfg
    The SMX goes in the plugins directory
    Attached Files
    File Type: sp Get Plugin or Get Source (cpcfg.sp - 1917 views - 1.5 KB)
    File Type: cfg cp_attackdefend.cfg (23 Bytes, 730 views)
    File Type: cfg cp_push.cfg (23 Bytes, 663 views)
    __________________
    My Pluggies If you like, consider to me.

    Last edited by BrutalGoerge; 08-25-2009 at 16:04.
    BrutalGoerge is offline
    mycologist
    SourceMod Donor
    Join Date: Sep 2008
    Location: Sep 2008
    Old 08-25-2009 , 12:38   Re: [TF2] CP Push|Attack/Defend Configs
    Reply With Quote #2

    Interesting idea. I like this. We are currently using Milo's Extended Map configs. We scramble the teams, using your gscramble plugin, between rounds on symmetrical maps (push, ctf, koth) and leave asymmetrical maps (attack/defend) to the other variables in your gscramble config. I currently have to go through and manually edit CP map's configs depending on whether they're push or attack/defend. What would allow us switch to this one is CTF, KOTH, ARENA and other game-type support. I guess we could use both. This will save me a lot of time; great work!
    __________________

    mycologist is offline
    Kenny Loggins
    SourceMod Donor
    Join Date: Jun 2008
    Location: Rochester, MN
    Old 08-25-2009 , 20:29   Re: [TF2] CP Push|Attack/Defend Configs
    Reply With Quote #3

    Ohh this is perfect! I alter the spawn time based on the play style of the map. Right now I have to do it all by hand with map specific config files.

    Thank you!
    __________________

    Server Admin / Leader
    ClanAO.com
    Kenny Loggins is offline
    Zverina
    Senior Member
    Join Date: Aug 2009
    Location: California, USA
    Old 08-25-2009 , 20:38   Re: [TF2] CP Push|Attack/Defend Configs
    Reply With Quote #4

    what would this even be for like if theres just all bots or wut?
    Zverina is offline
    BrutalGoerge
    AlliedModders Donor
    Join Date: Jul 2007
    Old 08-25-2009 , 20:41   Re: [TF2] CP Push|Attack/Defend Configs
    Reply With Quote #5

    Quote:
    Originally Posted by Zverina View Post
    what would this even be for like if theres just all bots or wut?
    wut?
    __________________
    My Pluggies If you like, consider to me.
    BrutalGoerge is offline
    Kenny Loggins
    SourceMod Donor
    Join Date: Jun 2008
    Location: Rochester, MN
    Old 08-25-2009 , 20:48   Re: [TF2] CP Push|Attack/Defend Configs
    Reply With Quote #6

    Quote:
    Originally Posted by Zverina View Post
    what would this even be for like if theres just all bots or wut?
    It does not have anything to do with BOT's Check out the plugins description it just looks at the maps thats all.
    __________________

    Server Admin / Leader
    ClanAO.com
    Kenny Loggins is offline
    DontWannaName
    Veteran Member
    Join Date: Jun 2007
    Location: VALVe Land, WA
    Old 08-26-2009 , 00:23   Re: [TF2] CP Push|Attack/Defend Configs
    Reply With Quote #7

    i wish it wud giv me a cukie everytime i had 2 reed a repli like dat,.,!$?
    __________________

    DontWannaName is offline
    Sexual Harassment Panda
    Veteran Member
    Join Date: Dec 2008
    Location: San Diego, CA
    Old 08-26-2009 , 00:42   Re: [TF2] CP Push|Attack/Defend Configs
    Reply With Quote #8

    i see what you did there
    __________________
    Sexual Harassment Panda is offline
    BrutalGoerge
    AlliedModders Donor
    Join Date: Jul 2007
    Old 08-26-2009 , 01:03   Re: [TF2] CP Push|Attack/Defend Configs
    Reply With Quote #9

    yay spam r foon
    __________________
    My Pluggies If you like, consider to me.
    BrutalGoerge is offline
    Pirate1111
    New Member
    Join Date: Jun 2009
    Old 08-26-2009 , 01:11   Re: [TF2] CP Push|Attack/Defend Configs
    Reply With Quote #10

    Does it do anything if it determines it is a KOTH or CTF map?
    Pirate1111 is offline
    Reply


    Thread Tools
    Display Modes

    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is On
    HTML code is Off

    Forum Jump


    All times are GMT -4. The time now is 21:39.


    Powered by vBulletin®
    Copyright ©2000 - 2024, vBulletin Solutions, Inc.
    Theme made by Freecode