User:GrampaSwood/RandomKnowledge

From Team Fortress Wiki
< User:GrampaSwood
Revision as of 15:07, 24 October 2024 by GrampaSwood (talk | contribs) (Small start, will add more to it when I remember)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

A random assortment of TF2 or Source knowledge that I don't know where else to put but may be useful to the Wiki or otherwise.

Decompiling TF2 maps

BSPSource is a program you can use to decompile a .bsp file (a map file ready to be played in TF2) into a .vmf file (a map file usable in the Valve Hammer Editor). Simply drag the .bsp into the bspsrc.bat and the .vmf will be automatically put in whichever folder the original .bsp was in.

Changing and easily finding UI elements

vgui_drawtree 1 (requires sv_cheats set to 1) can be used to identify any on-screen UI elements under the TFRootPanel (or something similar, I can't check it right now).

Other

= Crusader's Crossbow code

The Crusader's Crossbow's code is located in the Rocket Launcher's code files, instead of its own.