Warning: array_merge() [function.array-merge]: Argument #1 is not an array in [path]/archive/global.php(40) : eval()'d code on line 2
[INFO] weapon entity names [Archive] - TF2Maps.net Forums

PDA

View Full Version : [INFO] weapon entity names


Pseudo
04-11-2008, 11:42 PM
These are the entity names of the weapons.
Send a weapon a "Kill" input to remove it.
A func_regenerate will restore all Killed weapons.
Players can switch to a weapon with the "use" command.

MELEE WEAPONS:

tf_weapon_bat
tf_weapon_bonesaw
tf_weapon_bottle
tf_weapon_club
tf_weapon_fists
tf_weapon_fireaxe
tf_weapon_knife
tf_weapon_shovel
tf_weapon_wrench

Note: "tf_weapon_club" is the Sniper's sword.

PRIMARY WEAPONS:

tf_weapon_flamethrower
tf_weapon_minigun
tf_weapon_grenadelauncher
tf_weapon_revolver
tf_weapon_rocketlauncher
tf_weapon_scattergun
tf_weapon_shotgun_primary
tf_weapon_sniperrifle
tf_weapon_syringegun_medic


SECONDARY WEAPONS:

tf_weapon_medigun
tf_weapon_pipebomblauncher
tf_weapon_pistol
tf_weapon_pistol_scout
tf_weapon_shotgun_hwg
tf_weapon_shotgun_pyro
tf_weapon_shotgun_soldier
tf_weapon_smg
tf_weapon_flaregun
tf_weapon_lunchbox
__________________

OTHER:

tf_weapon_builder
tf_weapon_objectselection
tf_weapon_pda_engineer_build
tf_weapon_pda_engineer_destroy
tf_weapon_pda_spy


obj_attachment_sapper
tf_weapon_invis


Note: Killing "tf_weapon_invis" will not remove the Spy's ability to cloak.


ENGINEER OBJECTS:
Killing these will remove devices already placed, kill "tf_weapon_pda_engineer_build" to prevent the building of new objects. Engineers can still build using the console so have func_nobuild in your map.

obj_sentrygun
obj_dispenser
obj_teleporter_entrance
obj_teleporter_exit

Immortal-D
04-19-2008, 11:21 AM
Oh very cool. We are one step closer to having real custom objectives and filters!

kimangroo
04-19-2008, 01:12 PM
On a similar note I can add:

Demo's pipe bomb: tf_projectile_pipe
Demo's sticky: tf_projectile_pipe_remote
Soldier's rocket: tf_projectile_rocket

You can send commands to kill 'em but I can't get them to explode on command yet. Pseudo, any ideas on how to do that?!

FaTony
08-27-2008, 07:25 AM
Update!

tf_weapon_flaregun
tf_weapon_lunchbox

BreadHeadFred
08-27-2008, 10:08 AM
Update!

tf_weapon_flaregun
tf_weapon_lunchbox

How about the other unlockables?

Also, awesome info.

Zmathue
08-27-2008, 11:26 AM
How about the other unlockables?

Also, awesome info.

All the other unlockables are upgrades of the weapons they replace, so they share the same name.

Brandished
08-27-2008, 01:22 PM
What's interesting is the weapons listed in the "tf_english.txt" file (located in the "root > tf > resource" folder of the "team fortress 2 content.gcf" file) is slightly different from the list of weapons above found in the "root > tf > scripts" folder. There's a bunch of odd stuff in that file, strings for discarded game modes and even strings for some of the discarded pre-beta weapons.

Copied directly from the "tf_english.txt" file:
"TF_Weapon_Bat" "Bat"
"TF_Weapon_Bottle" "Bottle"
"TF_Weapon_FireAxe" "Fire Axe"
"TF_Weapon_Club" "Kukri"
"TF_Weapon_Crowbar" "Crowbar"
"TF_Weapon_Bonesaw" "Bonesaw"
"TF_Weapon_FlameThrower" "Flame Thrower"
"TF_Weapon_GrenadeLauncher" "Grenade Launcher"
"TF_Weapon_PipebombLauncher" "Stickybomb Launcher"
"TF_Weapon_Knife" "Knife"
"TF_Weapon_Medikit" "Medikit"
"TF_Weapon_Minigun" "Minigun"
"TF_Weapon_Pistol" "Pistol"
"TF_Weapon_Fists" "Fists"
"TF_Weapon_Revolver" "Revolver"
"TF_Weapon_RocketLauncher" "Rocket Launcher"
"TF_Weapon_Shotgun" "Shotgun"
"TF_Weapon_Shovel" "Shovel"
"TF_Weapon_SMG" "SMG"
"TF_Weapon_SniperRifle" "Sniper Rifle"
"TF_Weapon_SuperSMG" "Super SMG"
"TF_Weapon_StickybombLauncher" "Stickybomb Launcher"
"TF_Weapon_Tranq" "Tranquilizer Gun"
"TF_Weapon_Wrench" "Wrench"
"TF_Weapon_ObjectSelection" "Build"
"TF_Weapon_PDA_Engineer" "PDA"
"TF_Weapon_Flag" "Flag"
"TF_Weapon_Nailgun" "Nail Gun"
"TF_Weapon_Medigun" "Medi Gun"
"TF_Weapon_Scattergun" "Scattergun"
"TF_Weapon_SyringeGun" "Syringe Gun"
"TF_Weapon_Watch" "Invisibility Watch"
"TF_Weapon_FlareGun" "Flare Gun"
"TF_Weapon_LunchBox" "Lunch Box"

10fps
08-28-2008, 01:08 PM
"Send a weapon a "Kill" input to remove it."

How do i do this?