destructable/movable flags

Discussion in 'Mapping Questions & Discussion' started by Beetle, Aug 31, 2008.

  1. Beetle

    Beetle L9: Fashionable Member

    Messages:
    627
    Positive Ratings:
    141
    Is there a way to make the 'flag' destructible and movable? ...maybe make the payload objective for red to destroy the bomb rather than keep it from moving. It'd allow me to try this map idea.
     
  2. Armadillo of Doom

    aa Armadillo of Doom Group Founder, Lover of Pie

    Messages:
    949
    Positive Ratings:
    614
    How exactly would the flag be destroyed? Shooting it, dropping into the abyss, on capture, etc. And I'm not sure what you mean by movable. Team picks up the flag, it moves.
     
  3. Beetle

    Beetle L9: Fashionable Member

    Messages:
    627
    Positive Ratings:
    141
    destroyed meaning like giving it an amount of health and once it reaches 0 it blows up/goes away etc.

    by 'flag' i dont mean the intel.

    in tfc for example, you could make any brush and tie it to an entity and use it as the 'flag', but you could only push it like you could push a hl1 crate.
    by movable i mean be pushed around the map, but not have preset points at which it turns like a payload map. i guess i mean move it like a physics object.
     
  4. Armadillo of Doom

    aa Armadillo of Doom Group Founder, Lover of Pie

    Messages:
    949
    Positive Ratings:
    614
    Ahh, well that's different. You'll want to make the entity prop_physics. That has options to set health, and explode when health reaches zero. For brushes, you'll want to convert it into func_physbox. While this doesn't have an explode setting, you can tie it to env_explosion when health reaches zero. Hope this helps :)
     
    • Thanks Thanks x 2
  5. Beetle

    Beetle L9: Fashionable Member

    Messages:
    627
    Positive Ratings:
    141
    I think it does. I'll go ahead and create the map, and if I can't accomplish what I want, then I'll just turn it into an arena map.

    edit: also I was wondering if there's an option to set it so that only one team can damage the object.
     
    Last edited: Sep 1, 2008
  6. Dr Forrester

    Dr Forrester L2: Junior Member

    Messages:
    60
    Positive Ratings:
    22
    maybe tie a filter to it? Like what you would use for spawnroom doors? I don't know exactly how you'd do it as I'm not too familiar with it yet, but it might work...
     
  7. Beetle

    Beetle L9: Fashionable Member

    Messages:
    627
    Positive Ratings:
    141
    Well my idea has probably been attempted before seeing as its not that hard to come up with :p. Essentially I want blue to be locked in a building to begin with, and I want red to have access to the entire map. I'll make notable buildings, ones easily identified as this or that. I then would create an item/flag (probably use the bomb model) and give red the ability to move the bomb around the map hopefully by pushing it freely. I'd want the red team to hide the bomb in one of the buildings i've created, then when the rounds starts the blue team has to find the bomb and destroy it. So sort of like 'Hide and Seek' with a bomb.
     
  8. Vicenti

    Vicenti L2: Junior Member

    Messages:
    52
    Positive Ratings:
    1
    I don't think there's a way to freely move something about to such an extent. You could make a very obvious button in each building that would move the target there, then disable the rest of the buttons so it can't be moved over and over. It sounds like a very interesting game type.
     
  9. newton21989

    newton21989 L1: Registered

    Messages:
    7
    Positive Ratings:
    0
    Yes, please keep working on this!
     
  10. l3eeron

    l3eeron L8: Fancy Shmancy Member

    Messages:
    594
    Positive Ratings:
    85
    sounds like counter strike :glare:
     
    Last edited: Sep 3, 2008
  11. Vicenti

    Vicenti L2: Junior Member

    Messages:
    52
    Positive Ratings:
    1
    I only played a few games of CS but I never came across a 'find which of these locations has the bomb' mode. :(
     
  12. Beetle

    Beetle L9: Fashionable Member

    Messages:
    627
    Positive Ratings:
    141
    I was only using 'the bomb' as an example. It could be that little plastic frog for all I care :p
     
  13. l3eeron

    l3eeron L8: Fancy Shmancy Member

    Messages:
    594
    Positive Ratings:
    85


    I guess you never played de_dust2 where you have to disarm the "hidden" bomb?
     
  14. Beetle

    Beetle L9: Fashionable Member

    Messages:
    627
    Positive Ratings:
    141
    But seriously, its not like TF2 is completely original with game types. They aren't the only game to have CTF, for example.
     
  15. l3eeron

    l3eeron L8: Fancy Shmancy Member

    Messages:
    594
    Positive Ratings:
    85
    I'm not saying you shouldn't get it to work, I think it sounds fun!

    Sorry if I sounded offended.... :D
     
  16. Beetle

    Beetle L9: Fashionable Member

    Messages:
    627
    Positive Ratings:
    141
    nah I was actually talking to Vicenti.