Ctf + Cp

Discussion in 'Mapping Questions & Discussion' started by Zoyx, Apr 4, 2008.

  1. Zoyx

    Zoyx L1: Registered

    Messages:
    34
    Positive Ratings:
    0
    Is there tut out there that gets you started on coding up a new gametype.

    I would like a combination CP and CTF map. Rules would be something like this. Play up to 50 points. 10 points for each flag capture. 1 point for each 20 seconds that you own a CP. Something like that... would have to play it to get the scoring balanced.

    I played that gametype in Tribes and Tribes 2. Worked out quite well. Might help prevent turtling.
     
  2. Apex_

    Apex_ L3: Member

    Messages:
    122
    Positive Ratings:
    14
    It's generally possible to do it but the HUD elements either overlap or don't function properly. If I recall, Noggin's Powerhouse JR map has a properly functioning control point while retaining the CTF HUD elements, so if you used a similar method and a timer to tally score over time it'd likely work just fine.

    As for tutorials...I haven't seen one for this specific case myself. Maybe Noggin will drop by and give you some pointers :)
     
  3. WarMecha

    WarMecha L2: Junior Member

    Messages:
    64
    Positive Ratings:
    12
    Hi Zoyx, my map ctf_spiral (http://www.fpsbanana.com/maps/45587) is ctf/cp hybrid. My particular map works by enabling access to the nme intel and disabling access to your own when taking the CP. I think what you outlined is perfectly possible, but as Apex has correctly pointed out, you will only be able to have one hud display, either intel or cp status. I would personally opt for intel hud display as you can keep people updated on cp status with other messaging.

    Basically, it wouldn't be too hard to achieve, there would need to be a fair amount of logic in there but not too much. I would achieve it by creating a counter and adding to that when the intel is capped or a cp is held for x time (cp hold time again governed by logic). Intel cap would need to be 50 for a win, incase no cp capturing took place, and a win should be triggered by consulting the counter rather than max intel caps etc. Let me know if you need any specifics, I guess I could write a tutorial on it?

    One thought, are you thinking about just one cp or multiple? If you want to have multiple, you wont be able to have a capping hierarchy as this will trigger a win when one team caps all points. Multiple cp's all of which can be capped at any time isnt a problem.
     
    Last edited: Apr 5, 2008
  4. Zoyx

    Zoyx L1: Registered

    Messages:
    34
    Positive Ratings:
    0
    Found this tut in Valve's developer wiki. Give some clues as to what needs to be done. Combined with your comments, gives me some hope that this can be hacked together.
     
  5. WarMecha

    WarMecha L2: Junior Member

    Messages:
    64
    Positive Ratings:
    12
  6. Bonafide

    Bonafide L6: Sharp Member

    Messages:
    314
    Positive Ratings:
    25
    i have already seen CP+CTF to a degree. On one map you need to hold a CP long enough to open the door to the enemies base which has the flag. If you do then thier base is open for a certain period.
     
  7. WarMecha

    WarMecha L2: Junior Member

    Messages:
    64
    Positive Ratings:
    12
    Yeah there are a few knocking around, powerhouse is another.