Team Fortress Classic

Team Fortress Classic

Does anyone know the command to detonate a building?
Hi, just started playing and I've been doing a bunch of tinkering with my configs to get the controls exactly to my liking. Part of that process is setting up my numpad with disguise and build hotkeys for Engineer and Spy to match my TF2 setup. Long story short, I've figured out *almost* everything I need but can't find the command to detonate buildings for the life of me. It isn't "detonate" as the menu would suggest nor is it "destroy" like in TF2. I've also tried "demolish" and "explode" to no avail. Dismantling isn't really a viable alternative due to the range limit. So if anyone has any idea please let me know.
< >
Showing 1-4 of 4 comments
bind "?" "detdispenser"

Dispensers are able to be detonated and will kill enemies close by... as for sentries and teleports, they're probably separate binds.
Opened "tfc.dll" in Notepad++ and found:

detsentry
detentryteleporter
detexitteleporter
detdispenser
detdispensor

Loosely related to this, det commands for the demoman:

detstart (Sets a detpack if you have one. Parameter is time in seconds. Default=20, min=5, max=50.)
+det5 (Sets a detpack with 5s timer. Binds starting with a "+" exchange it with a "-" upon key release. Example: bind , +det5 ; bind . +det20 ; bind / +det50 ; )
+det20
+det50
detpipe (Detonates green-yellow pipes.)
detstop / -det5 / -det20 / -det50 (Aborts setting a detpack.)
Last edited by pizzahut; 5 May @ 6:44am
Huge thanks pizzahut, I've got everything running perfectly now. Really weird that detonation is four separate commands when building and dismantling are each a single command with four arguments.

I checked that file you mentioned and on the same line found a pair of standalone build commands for the sentry and dispenser that don't seem to work. Probably replaced by the unified build command at some point during development, likely before teleporters were added given the lack of commands for those. I also found the sentry rotation commands so now I've got everything I need to avoid that clunky-ass command menu entirely.
Originally posted by Spiteful_Guru:
I checked that file you mentioned and on the same line found a pair of standalone build commands for the sentry and dispenser that don't seem to work.
building_dispenser, building_sentrygun, building_sentrygun_base, building_teleporter
These are internal names (entity class names) for the structures. (Though "building_dispenser" also appears in console or log file if someone is killed by it.)
Plugins can use these names to deal with buildings.
Last edited by pizzahut; 8 May @ 5:23pm
< >
Showing 1-4 of 4 comments
Per page: 1530 50