Page 1 of 4

Healing Turret

Posted: Tue Nov 08, 2016 10:06 pm
by blankgirl
How about a turret that auto-heals nearby turrets when placed close in proximity? As in, an auto-heal turret could be placed beside a laser turret and repair the turret every time it becomes damaged? Of course these things would need a max limit for each team otherwise nothing would ever get destroyed

Or would this become the most annoying turret in Annihilation?



<!>blankgirl

Re: Healing Turret

Posted: Wed Nov 09, 2016 12:02 am
by KILROY
No go, it's bad enough having all the turrets that can be placed already. Tribes is a "TEAMWARFARE" game, not "TURRET" warfare.

Re: Healing Turret

Posted: Wed Nov 09, 2016 4:59 am
by perrinoia
Can't be done, anyway.

Turrets don't target other turrets. Only players. Same with bots. Bots won't target turrets either.

Actually... I suppose it would be possible if you made it more like a Tesla coil than a turret.
  • You'd have to periodically use containerboxfillset to find all of the staticshapes in range.
  • Then sort through all of the objects in that set, adding only friendly, damaged, turrets to another set.
  • Then create a repair bolt from the antennae to each object in that group.
  • Finally, you'd have to delete the repair bolts once the target is repaired or deleted.
It would be fun/challenging to code, but I wouldn't want to play on a server hosting it.

Re: Healing Turret

Posted: Sun Jan 15, 2017 10:30 pm
by Doctor_Arsenic
Plasmatic made a repair turret in vengeance mod. Set the turret to enemy team and it will shoot you, maybe add some code to not shoot anyone else so that in multiple team matches it doesn't repair enemies when they raid lol

Re: Healing Turret

Posted: Mon Jan 16, 2017 4:46 am
by perrinoia
It doesn't shoot turrets though. That's the suggestion.

Re: Healing Turret

Posted: Mon Jan 16, 2017 10:36 am
by Doctor_Arsenic
Eyes skipped that part lol

Re: Healing Turret

Posted: Sat Jan 21, 2017 9:06 pm
by AnniDv6
We could probably craft some sort of explosion that seemingly heals everything inside it via a box and just have the turret detonate one every so often.

Re: Healing Turret

Posted: Sat Jan 21, 2017 11:38 pm
by perrinoia
Might as well simply make the explosions do the healing.

The hard part is telling it when to explode... I suppose you could schedule a recurring function to scan for damaged objects in the area... If any are found, it pops a nut.

Re: Healing Turret

Posted: Sun Jan 22, 2017 1:19 am
by AnniDv6
I think the neuro basher does something similar already.

Re: Healing Turret

Posted: Sun Jan 22, 2017 7:37 am
by perrinoia
Maybe, but I always thought it detected targets the same way a missile turret did.

If you're correct, we should modify the Neuro bashers to target OS missiles, too, and get rid of the control jammer.