Raised This Month: $12 Target: $400
 3% 

[TF2] Building Repair 1.32


Post New Thread Reply   
 
Thread Tools Display Modes
Author
sneakret
Member
Join Date: Jul 2012
Plugin ID:
3123
Plugin Version:
1.32
Plugin Category:
Gameplay
Plugin Game:
Team Fortress 2
Plugin Dependencies:
    Servers with this Plugin:
    6 
    Plugin Description:
    Dispensers heal buildings and refill sentry ammo.
    Old 07-29-2012 , 22:49   [TF2] Building Repair 1.32
    Reply With Quote #1

    This plugin causes dispensers to repair nearby friendly buildings, refill ammo of nearby friendly sentry guns, and fight enemy sappers.
    By default, ...
    • Dispensers refill ammo but not rockets.
    • Dispensers will only heal sentries.
    • Dispensers will fight sappers on teleporters and sentries.

    The plugin has the following console variables:
    • sm_building_repair_version 1.32 // Do not change.
    • br_max_distance 150 // Maximum distance from which a dispenser can repair/refill buildings.
    • br_repair_sentry 1 // Whether a dispenser will repair nearby sentries.
    • br_repair_dispenser 0 // Whether a dispenser will repair other nearby dispensers.
    • br_repair_teleporter 0 // Whether a dispenser will repair nearby teleporters.
    • br_antisap_sentry 1 // Whether a dispenser will fight sappers on nearby sentries.
    • br_antisap_dispenser 0 // Whether a dispenser will fight sappers on other nearby dispensers.
    • br_antisap_teleporter 1 // Whether a dispenser will fight sappers on nearby teleporters.
    • br_tick_seconds 0.1 // The interval between ticks, in seconds.
    • br_repair_rates 5,10,20 // Health to add to buildings per tick, ordered by dispenser level.
    • br_shell_refill_rates 1,2,4 // Sentry shells to refill every tick, ordered by dispenser level.
    • br_rocket_refill_rates 0,0,0 // Sentry rockets to refill every tick, ordered by dispenser level.
    Attached Files
    File Type: sp Get Plugin or Get Source (building_repair.sp - 2149 views - 16.6 KB)
    File Type: smx building_repair.smx (8.0 KB, 973 views)

    Last edited by sneakret; 10-12-2012 at 21:34. Reason: Simplified cvars.
    sneakret is offline
    PolyQuad
    Member
    Join Date: Oct 2011
    Old 07-30-2012 , 20:03   Re: [TF2] Dispense Sentry Ammo and Health
    Reply With Quote #2

    Been testing this and so far works great, thanks Sneakret!

    Edit: anyone know how I can add myself as +1 server with this plugin as listed above?

    Last edited by PolyQuad; 07-30-2012 at 20:22. Reason: +1 server with plugin?
    PolyQuad is offline
    C0nw0nk
    Senior Member
    Join Date: May 2011
    Location: United Kingdom
    Old 07-30-2012 , 20:30   Re: [TF2] Dispense Sentry Ammo and Health
    Reply With Quote #3

    Wow the idea behind this is good, I am surprised nobody else has thought of it or would want it. Can it allow them to heal sentry's or telleports or other engineer buildings that are close by ?
    __________________
    C0nw0nk is offline
    Send a message via MSN to C0nw0nk
    sneakret
    Member
    Join Date: Jul 2012
    Old 07-30-2012 , 20:42   Re: [TF2] Dispense Sentry Ammo and Health
    Reply With Quote #4

    Quote:
    Originally Posted by C0nw0nk View Post
    Wow the idea behind this is good, I am surprised nobody else has thought of it or would want it. Can it allow them to heal sentry's or telleports or other engineer buildings that are close by ?
    I didn't think of it, sadly. I saw it on a server, but the plugin wasn't public, so I wrote my own.
    I could easily add support for other nearby buildings. Currently it is limited to sentries.
    sneakret is offline
    sneakret
    Member
    Join Date: Jul 2012
    Old 07-31-2012 , 01:14   Re: [TF2] Dispense Sentry Ammo and Health
    Reply With Quote #5

    Quote:
    Originally Posted by C0nw0nk View Post
    Wow the idea behind this is good, I am surprised nobody else has thought of it or would want it. Can it allow them to heal sentry's or telleports or other engineer buildings that are close by ?
    Done. The attached building_repair plugin should cause dispensers to (if configured to do so) repair teleporters, sentries, and other dispensers.
    sneakret is offline
    island55
    Senior Member
    Join Date: Aug 2010
    Location: charleston
    Old 08-11-2012 , 18:13   Re: [TF2] Building Repair 1.20
    Reply With Quote #6

    does it show the cord from the dispenser to the building that it is repairing? like it does from dispenser to player healing?
    island55 is offline
    sneakret
    Member
    Join Date: Jul 2012
    Old 08-12-2012 , 00:46   Re: [TF2] Building Repair 1.20
    Reply With Quote #7

    Quote:
    Originally Posted by island55 View Post
    does it show the cord from the dispenser to the building that it is repairing? like it does from dispenser to player healing?
    No, but I was thinking of making that an option.
    sneakret is offline
    island55
    Senior Member
    Join Date: Aug 2010
    Location: charleston
    Old 08-18-2012 , 18:06   Re: [TF2] Building Repair 1.20
    Reply With Quote #8

    Quote:
    Originally Posted by sneakret View Post
    No, but I was thinking of making that an option.


    ohhhh i request this option, it would help people understand whats going on and that the dispenser helps their other buildings!
    please make this option!

    island55 is offline
    RegisterToViewLinks
    Junior Member
    Join Date: Aug 2012
    Old 08-19-2012 , 00:22   Re: [TF2] Building Repair 1.20
    Reply With Quote #9

    repair_interval_seconds isn't a cvar.

    A shame, too. On default settings this makes sentries almost immortal.
    RegisterToViewLinks is offline
    Emtu
    Junior Member
    Join Date: May 2012
    Old 08-20-2012 , 16:22   Re: [TF2] Building Repair 1.20
    Reply With Quote #10

    Quote:
    Originally Posted by island55 View Post
    ohhhh i request this option, it would help people understand whats going on and that the dispenser helps their other buildings!
    please make this option!

    I'd like to second this request, so there's some visual indication of the dispenser working on the other buildings.
    Emtu is offline
    Reply


    Thread Tools
    Display Modes

    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is On
    HTML code is Off

    Forum Jump


    All times are GMT -4. The time now is 07:26.


    Powered by vBulletin®
    Copyright ©2000 - 2024, vBulletin Solutions, Inc.
    Theme made by Freecode