Gravel Co. Sentry?

Discussion in 'Mapping Questions & Discussion' started by Vicenti, Aug 28, 2008.

  1. Vicenti

    Vicenti L2: Junior Member

    Messages:
    52
    Positive Ratings:
    1
    I'm building a map in which both RED and BLU invade a Gray base, and I'm looking to build sentries that fire at both teams. I set the sentry team to 'Any.' It wound up with a blue color, and fired on me as a BLU player, but not as RED. But as RED I could still destroy the sentry.

    Is there a way to tell the sentry to fire at all players without modding the game?
    Is it possible to reskin the sentry gun to be a more Gravel Co.-appropriate color? (And still keep red and blue sentries)
     
  2. MangyCarface

    aa MangyCarface Mapper

    Messages:
    1,616
    Positive Ratings:
    1,309
    Huh. Add one sentry of each color at every position?
     
  3. Vicenti

    Vicenti L2: Junior Member

    Messages:
    52
    Positive Ratings:
    1
    My experience during gameplay is that opposing sentries will shoot each other - I built a sentry once very near an opponent's sentry that was busy killing someone else. When it finished with them it blew up my sentry.

    My only problem with what you suggested is that it wouldn't feel neutral - it'd feel like each team got into the base earlier and built sentries... right next to each other... kinda like building 2forts right next to each other. :)

    I'll try it and see if I can get it to work, though I'd still like a neutral gray sentry.
     
  4. MangyCarface

    aa MangyCarface Mapper

    Messages:
    1,616
    Positive Ratings:
    1,309
    Skin would be easy to make, then. Open the prop mat in photoshop, desaturate, save as a skin.
     
  5. grazr

    aa grazr Old Man Mutant Ninja Turtle

    Messages:
    5,436
    Positive Ratings:
    3,767
    Are you sure it didn't shoot your sentry because you were behind it? I've built a sentry in line of site of another and they didn't shoot each other.. but this was way before any class patches etc. It might have changed.
     
  6. Uriak

    Uriak L8: Fancy Shmancy Member

    Messages:
    543
    Positive Ratings:
    70
    sentries do shoot one another. Best way to avoid this is cutting visibility between the two.
     
  7. Rad

    Rad L1: Registered

    Messages:
    16
    Positive Ratings:
    2
    You could arrange it so that the entrance of each side of the base is guarded with sentries of an opposite color. For example, when the reds first invade the base, they're confronted with blue sentries.

    Sentries will ALWAYS shoot other buildings if they aren't their color unless it's shooting something else or there's something blocking visibility.
     
  8. VelvetFistIronGlove

    aa VelvetFistIronGlove

    Messages:
    567
    Positive Ratings:
    437
    Give the sentry a name, and put in a logic_auto that has the output: OnMapSpawn : <sentry name> : SetTeam : 1
    Might work (red and blue teams are 2 and 3). It'll still *look* red or blue, though. And I don't think you can reskin it without affecting the sentries built by players. Uriak's idea is probably the one to go for here.
     
  9. bobby1211

    bobby1211 L2: Junior Member

    Messages:
    64
    Positive Ratings:
    11
    Not that this helps the thread along at all but here is a visual of a sentry taking out another sentry, the engi and then the dispenser behind them in a sentry dual of sorts.

    http://www.youtube.com/watch?v=n7EXvFxy7y8

    It also is set to a great song.

    -Bobby
     
  10. teddyruxpin

    teddyruxpin Sr. Hygiene Technician

    Messages:
    83
    Positive Ratings:
    26
    I ran into this problem on my gimmick maps and ended up making a hollow box just a bit bigger then the SG. The box was then set with invisible texture and was changed to a func_brush. I would then create a trigger_multiple to 'disable' the func_brush box and allow the SG to start firing on the targets. This allowed me to put red and blue SG's right next to each other and would open up the correct box when a player entered the room and walked through the trigger_multiple.

    Had more fun with it and team_filters by creating a room full of these with 16 blue and 16 red SG's. Then laid down 50+ triggers on the floor that would open and close various boxes to let them take each other and the players in teh room out. I used the same configuration as the respawning Dispensers tutorial and have them set to respawn at random times after they are destroyed.

    I can upload a vmf of it if anyone is interested.

    -Teddy
     
  11. bobby1211

    bobby1211 L2: Junior Member

    Messages:
    64
    Positive Ratings:
    11
    <---Interested. I gotta see this.

    -Bobby
     
  12. Dox

    Dox L8: Fancy Shmancy Member

    Messages:
    588
    Positive Ratings:
    62
    There is 16 of them in that room? Whenever I go through it I see 4 max... hard to move around in there with all those boxes...
     
  13. teddyruxpin

    teddyruxpin Sr. Hygiene Technician

    Messages:
    83
    Positive Ratings:
    26
    There is actually more like 32 total in there 16 red and 16 blue hidden throughout the boxes. Keep in mind they blow each other pretty quick and there is a 30-60 second spawn timer so you may not see them all and you would have to hit all the triggers to expose them all aswell.

    I will post the VMF of just the SG bits here in a bit.

    -Teddy
     
  14. teddyruxpin

    teddyruxpin Sr. Hygiene Technician

    Messages:
    83
    Positive Ratings:
    26
    Here is the VMF.

    Enjoy!