Notices

[INFO] weapon entity names  Thread Tools Reply
Old 04-11-2008, 11:42 PM   #1
Pseudo
L4: Senior Member
 
Pseudo's Avatar
 
Pseudo is offline
Posts: 316
Thanks: 33
Thanked: 149

Default [INFO] weapon entity names


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.

Indented items are an unlockable replacement for the item above it. Other unlockables retain the same entity name as the original weapon.

PRIMARY WEAPONS:
  • tf_weapon_flamethrower
  • tf_weapon_grenadelauncher
  • tf_weapon_minigun
  • tf_weapon_revolver
  • tf_weapon_rocketlauncher
    • tf_weapon_rocketlauncher_directhit
  • tf_weapon_scattergun
    • tf_weapon_handgun_scout_primary
  • tf_weapon_shotgun_primary
    • tf_weapon_sentry_revenge
  • tf_weapon_sniperrifle
    • tf_weapon_compound_bow
  • tf_weapon_syringegun_medic
    • tf_weapon_crossbow

SECONDARY WEAPONS:
  • tf_weapon_medigun
  • tf_weapon_pipebomblauncher
    • tf_wearable_item_demoshield
  • tf_weapon_pistol
    • tf_weapon_laser_pointer
  • tf_weapon_pistol_scout
    • tf_weapon_lunchbox_drink
    • tf_weapon_jar_milk
  • tf_weapon_shotgun_hwg
    • tf_weapon_lunchbox
  • tf_weapon_shotgun_pyro
    • tf_weapon_flaregun
  • tf_weapon_shotgun_soldier
    • tf_weapon_buff_item
  • tf_weapon_smg
    • tf_weapon_jar

MELEE WEAPONS:
  • tf_weapon_bat
    • tf_weapon_bat_wood
    • tf_weapon_bat_fish
  • tf_weapon_bonesaw
  • tf_weapon_bottle
    • tf_weapon_sword
    • tf_weapon_stickbomb
  • tf_weapon_club
  • tf_weapon_fists
  • tf_weapon_fireaxe
  • tf_weapon_knife
  • tf_weapon_shovel
  • tf_weapon_wrench
    • tf_weapon_robot_arm
Note: "tf_weapon_club" is the Sniper's sword.
__________________

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

  • tf_wearable_item
Notes: Killing "tf_weapon_invis" will not remove the Spy's ability to cloak.
"tf_wearable_item" is the Sniper's razorback as well as other non-weapon unlockables (hats).


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 use func_nobuild.
  • obj_sentrygun
  • obj_dispenser
  • obj_teleporter_entrance
  • obj_teleporter_exit

PROJECTILES:
  • tf_projectile_arrow
  • tf_projectile_flare
  • tf_projectile_healing_bolt
  • tf_projectile_jar
  • tf_projectile_pipe
  • tf_projectile_pipe_remote
  • tf_projectile_rocket
  • tf_projectile_sentryrocket
  • tf_projectile_stun_ball
  • tf_projectile_syringe
 
Last edited by Pseudo; 12-21-2010 at 02:20 PM. Reason: "Australian Christmas" update
Reply With Quote
The Following 10 Users Say Thank You to Pseudo For This Useful Post:
Advertisement
 
Advertisement
Advertisement Sponsored links

Old 04-19-2008, 11:21 AM   #2
Armadillo of Doom
Group Founder, Lover of Pie
 
Armadillo of Doom's Avatar
 
Armadillo of Doom is offline
Posts: 1,704
Thanks: 158
Thanked: 616

Default [INFO] weapon entity names


Oh very cool. We are one step closer to having real custom objectives and filters!

__________________
Donor/PayPal FAQ
Create Your Own Events!

Quote:
Immortal-D :And I get to pimp myself, which is a rare treat.

 
Reply With Quote
Old 04-19-2008, 01:12 PM   #3
kimangroo
L3: Junior Member
 
kimangroo's Avatar
 
kimangroo is offline
Posts: 112
Thanks: 18
Thanked: 6

Default [INFO] weapon entity names


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?!
 
Reply With Quote
Old 08-27-2008, 07:25 AM   #4
FaTony
Banned
 
FaTony is offline
Posts: 26
Thanks: 476
Thanked: 159

Default [INFO] weapon entity names


Update!

tf_weapon_flaregun
tf_weapon_lunchbox
 
Reply With Quote
Old 08-27-2008, 10:08 AM   #5
umbratile
Formerly Muffin/µ
 
umbratile's Avatar
 
umbratile is offline
Posts: 2,137
Thanks: 1,460
Thanked: 1,153

Default [INFO] weapon entity names


Quote:
Originally Posted by FaTony View Post
Update!

tf_weapon_flaregun
tf_weapon_lunchbox
How about the other unlockables?

Also, awesome info.
 
Reply With Quote
Old 08-27-2008, 11:26 AM   #6
Zmathue
L2: Member
 
Zmathue is offline
Posts: 74
Thanks: 14
Thanked: 14

Default [INFO] weapon entity names


Quote:
Originally Posted by BreadHeadFred View Post
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.
 
Reply With Quote
Old 08-27-2008, 01:22 PM   #7
Brandished
L4: Senior Member
 
Brandished's Avatar
 
Brandished is offline
Posts: 233
Thanks: 5
Thanked: 240

Default [INFO] weapon entity names


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:
Code:
"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"
 
Reply With Quote
The Following 2 Users Say Thank You to Brandished For This Useful Post:
Old 08-28-2008, 01:08 PM   #8
10fps
L1: Registered
 
10fps is offline
Posts: 4
Thanks: 0
Thanked: 0

Default [INFO] weapon entity names


"Send a weapon a "Kill" input to remove it."

How do i do this?
 
Reply With Quote
Old 11-05-2009, 12:29 PM   #9
Pseudo
L4: Senior Member
 
Pseudo's Avatar
 
Pseudo is offline
Posts: 316
Thanks: 33
Thanked: 149

Default [INFO] weapon entity names


list updated

__________________

 
Reply With Quote
The Following User Says Thank You to Pseudo For This Useful Post:
Old 11-05-2009, 12:58 PM   #10
martijntje
Veteran Member
 
martijntje's Avatar
 
martijntje is offline
Posts: 520
Thanks: 91
Thanked: 158

Default [INFO] weapon entity names


are you kidding me?
I was sure this didn't work.

I am surely going to use this in my next map. (It's a secret)

__________________

 
Reply With Quote
Sponsored links
Advertisement
 
Advertisement
Advertisement

Reply  

Previous Thread Next Thread
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



All times are GMT -5. The time now is 03:53 AM.