1. Hey there Guest,

    The game servers have moved to semi-dedicated hardware and IPs have changed. Please see front page server widget for up-to-date game server information.

obj_sentrygun help

Discussion in 'Mapping Questions & Discussion' started by rjackson, Sep 3, 2009.

  1. rjackson

    rjackson L1: Registered

    Messages:
    10
    Positive Ratings:
    0
    Hey there.

    Is there a way I can use both a red and blue obj_sentrygun next to each other, without them shooting each other, and is there a way I can stop them running out of ammunition.

    Thanks
     
  2. Garner

    Garner L4: Comfortable Member

    Messages:
    154
    Positive Ratings:
    38
    There was a question like this beforehand, you cant stop the sentries from running out of bullets but there is a work around.

    It would involve you using two time delayed platforms, 2 platforms already at ground level with one red and one blue sentry on it, delayed for, for example, 3 minutes. Then you would have another 2 sentries, one red and one blue, either behind or infront of the other two, below the ground in a compartment with a delay time the same as the ones that are above the ground.

    So, you have 4 sentries, 2 that are above, and 2 below. When the delay expires, the "active" two sentries drop down into their compartment, and the "inactive" two come up and replace the other 2.

    That way you get a cool effect with some moving objects ect. You could even have an output that is delayed to disable the 2 that drop down, so incase the bullets havent fully run out it doesnt glitch / act weird.

    The way to block each sentry from shooting each other is to use tool textures between the 2 sentrys, you would need, i think, Block LOS and Block Bullets.

    This will prevent the sentrys from looking at each other and block any bullets fired between them. The two you need look like:

    [​IMG]

    and

    [​IMG]


    Note: im not sure if the texture part works (untested) but the bit about the platforms and 3 sentries will def work.

    I hope that works / is of any use. Thats all i can think of atm, but maybe my basis can inspire some more replies and more great input for you =]
     
  3. rjackson

    rjackson L1: Registered

    Messages:
    10
    Positive Ratings:
    0
    Hmm, I put some 'glass' sections around the guns so they don't shoot each other. So, if I disable and re-enable the sentry, it will reset it's ammo count?

    Or did I misunderstand.

    The sentry's will likely be shooting for...hours and it ideally shouldn't run out of ammo.

    edit:
    Alright, I can destroy the sentry guns with the "Kill" input. How would I get them to respawn?
     
    Last edited: Sep 3, 2009
  4. Owlruler

    Owlruler L12: Fabulous Member

    Messages:
    964
    Positive Ratings:
    275
    make a point template and make it forcespawn. put the sentry's name in the list of objects to spawn though.
     
  5. rjackson

    rjackson L1: Registered

    Messages:
    10
    Positive Ratings:
    0
    I don't quite understand, could you elaborate?