Ads keep us online. Without them, we wouldn't exist. We don't have paywalls or sell mods - we never will. But every month we have large bills and running ads is our only way to cover them. Please consider unblocking us. Thank you from GameBanana <3

TF2C "Dropper" - A Question for Team Fortress 2 Classic.

Question Solved

This Question was answered and a solution was chosen.

TF2C "Dropper"

All right, I get it, I'm needy. I'm annoying. But I'm an experimental guy okay? I was wondering how you could give yourself a weapon, like say a Flare Gun, or a Pistol. Someone told me before that I need a source plugin, but I couldn't find where that was. Once again, any help would be nice.
  • SilentFox3 avatar
    SilentFox3 username pic Joined 9y ago
    Offline
    11,639 points Ranked 711th
    20 medals 4 rare
    • Returned 1000 times Medal icon
    • 6 years a member Medal icon
    • Submitted 15 Mods Medal icon
    • Submitted 20 Mods Medal icon
    • Reached 1,000 Points Medal icon
    • One month a member Medal icon
    1y 1y
    Naw, no need for that, TF2C happens to have a function "built-in" to give yourself weapons.

    Use the command give_econ # (set sv_cheats 1 to use it!) to give yourself any weapon, where the # is the weapon's items_game.txt ID (a file in tf2c_misc_dir.vpk that basically tells the game what weapons there are)

    If you wanted to give yourself a Flare Gun, it'd be give_econ 39 for instance. Stock Scout Pistol, give_econ 23. One of the new weapons like the R.P.G? give_econ 3001.

    You can find most of these numbers in items_game.txt if you extract it, and it works for mod-added weapons too!
    I make mods + mod accessories! avatar
    Mantra
    I make mods + mod accessories!
    URL to post: