Other Structures for Engies to repair

I

Icemapstryka

Is it possible to give an engineer, say in a map with a destructible wall, the ability to repair it as if were one of his buildings? He could whack it with his wrench and then it could use up metal perhaps. Maybe it could go up gradually in phases and the more engineers are working on it putting more metal into it the faster it would be back to perfect health?
 
Oct 25, 2007
219
690
Describing it the way you have, TF2 by itself wouldn't be able to do it. You'd have to mod the game itself to accomplish that.

The only way to get TF2 to do something like that, is to have a series on func_brushes tied to a timer_relay tied to a trigger. This way the bricks get rebuilt one by one as long as someone is near the wall. But that's the point, it doesn't have to be engineers, it could be anyone. They don't even need to do anything, they could stand there or keep fighting and the wall would still build itself.

Anyway, that's what comes to mind. Someone else, who has greater skill in Script-Fu, might have a better solution.
 

trackhed

L3: Member
Jan 24, 2008
106
2
you could make a trigger that only responds to whatever type of damage melee weapons do

filter_damage_type on a prop or something that has OnDamage in its I/O
 

Doran

L1: Registered
Jan 21, 2008
21
0
building on what trackhed said, isn't it possible to filter by class somehow?

Or is that still broken?
 
I

Icemapstryka

Then using that trigger method. With the map I'm using perhaps there can be some kind of construction equipment that any class can use, but I want some kind of catch. Maybe two people need to operate it.... or maybe it takes some kind of fuel? I want to make a map where there's destructible objectives that become vulnerable only when certain conditions are met and then able to be repaired only when certain conditions are met, a simple example I'm thining of is a wall that is only destructible when a cap point nearby is taken. Either that or it has extremely high hp regeneration until the cap point is taken.
 

trackhed

L3: Member
Jan 24, 2008
106
2
i would say do some testing with damage filtering on the walls for explosions or blasts and make it so only a demo or soldier can damage it