[PREFAB] CTF Invade Gametype

Discussion in 'Mapping Questions & Discussion' started by Psy, Feb 12, 2010.

  1. Psy

    aa Psy The Imp Queen

    Messages:
    1,705
    Positive Ratings:
    1,468
    Here's my own prefab for CTF invade. It's a 1-flag gamemode where you take the flag (usually situated in the middle of the map) to the enemies base in order to capture it. Dropping the flag will cause it to turn neutral instantly allowing either team to pick it up.

    Features
    • Cap blocking
    • Flag cooldown with audio and visual cues
    • Fancy graphics

    Screenshots

    [​IMG]
    [​IMG]
    [​IMG]

    How It Works
    • When the flag is captured, the logic_flag_cooldown relay is triggered.
    • Upon triggering it...
      • The sprites are enabled.
      • Teleports the flag to an out of reach area.
      • Enables a fake flag.
      • Triggers the 2 logic_flag_cooldown_relay after 5 seconds.
    • Both of these relays display the countdown sprites and play the announcer sounds.
    • Upon completion...
      • The fake flag is disabled.
      • The real flag is teleported back to the center.
      • The sprites are disabled.

    Making Modifications

    Removing cap blocking
    • Simply delete the trigger_multiples at the capture zones.

    Removing announcer sounds and countdown sprites.
    • Delete or rename either logic_flag_cooldown_numbers or/and logic_flag_cooldown_sprites.

    Changing the cooldown period
    • Change the delay for the output within logic_flag_cooldown which triggers logic_flag_cooldown_relay*. The current output is 5 seconds which causes a 10 second cooldown period. Simply take away 5 seconds from the length of time you want the flag to remain inactive. For example, 12 seconds would become a delay of 7 seconds. This is so the cooldown cues start at the correct point in time.

    [​IMG]
     
    • Thanks Thanks x 16
    Last edited: Feb 12, 2010
  2. Acumen

    aa Acumen Annoyer

    Messages:
    704
    Positive Ratings:
    594
    i know i know everyone knows what it is all about these days, but i would still like to have a short explanation of the ctf invade gamemode, just to have a complete picture of your prefab and what it achieves :)
     
  3. honeymustard

    honeymustard L9: Fashionable Member

    Messages:
    698
    Positive Ratings:
    273
    Ha, this looks really cool. Love the sprites.

    If I could make a suggestion, and I'm just guessing here, it might be a bit tricky to read the text in some circumstances (maybe against snow). Perhaps a small border or something would work well on the text.
     
    Last edited: Feb 12, 2010
  4. grazr

    aa grazr Old Man Mutant Ninja Turtle

    Messages:
    5,436
    Positive Ratings:
    3,570
    Are those custom sprites? Just so we know whether we'll need to pack them or not.
     
  5. Psy

    aa Psy The Imp Queen

    Messages:
    1,705
    Positive Ratings:
    1,468
    Yes they are apart from the no_entry sprite.
     
  6. Randdalf

    aa Randdalf

    Messages:
    1,054
    Positive Ratings:
    462
    Thank you very much Mr. Psy.
     
  7. The Political Gamer

    aa The Political Gamer

    Messages:
    4,468
    Positive Ratings:
    1,684
    :D /me gets to work on a14!
     
  8. Languid

    Languid L5: Dapper Member

    Messages:
    240
    Positive Ratings:
    232
    can the cooldown be set for a high value such as 30 seconds without breaking the sprite system?
     
  9. Lancey

    aa Lancey Currently On: ?????

    Messages:
    3,076
    Positive Ratings:
    1,314
    Yes, as he said. Just set the delay to trigger the other relays to 25.
     
  10. Grim Tuesday

    aa Grim Tuesday

    Messages:
    1,257
    Positive Ratings:
    371
    Good sir, it would appear that you just one-upped Velvet Fist Iron Glove!
    Nice job!
     
  11. Roll

    aa Roll -in a daze-

    Messages:
    102
    Positive Ratings:
    168
    Yay for custom sprite :laugh:...

    [​IMG]
    [​IMG]

    EDIT: That is cooldown countdown, btw... :D
     
    • Thanks Thanks x 5
    Last edited: Feb 13, 2010
  12. Grim Tuesday

    aa Grim Tuesday

    Messages:
    1,257
    Positive Ratings:
    371
    @Roflman: If you want to release this, then I would be much abliged
    -The Engie
     
  13. Roll

    aa Roll -in a daze-

    Messages:
    102
    Positive Ratings:
    168
  14. Dustoxx

    Dustoxx L6: Sharp Member

    Messages:
    304
    Positive Ratings:
    40
    I can't get stalemate to work, but I don't know why. I got my timer and stalematelimit is 1. What's missing?
     
  15. Psy

    aa Psy The Imp Queen

    Messages:
    1,705
    Positive Ratings:
    1,468
    You don't need a timer. SetStalemateOnTimelimit applies to the server's value of mp_timelimit.
     
    Last edited: Feb 18, 2010
  16. Dustoxx

    Dustoxx L6: Sharp Member

    Messages:
    304
    Positive Ratings:
    40
    I need one for my setup gate, is that a problem? I can't seem to get it work...
     
  17. Lain

    aa Lain Resident wrong opinion holder

    Messages:
    733
    Positive Ratings:
    663
    biggest necro post of all, is this still the best way to make invade CTF or has another way arisen?