- Jan 7, 2023
- 19
- 9
This is my first post here. Please inform me if I'm doing anything wrong. (I have read the rules).
[VSCRIPT] main_thing's Fun Commands (MTFC) version 1.0
previously known as [VSCRIPT] Chat Commands version 1.0
This is the official release [VSCRIPT] main_thing's Fun Commands (MTFC) version 1.0! It include many fun features to play around with, online and offline!
(Yes, these do in fact work on both).
[VSCRIPT] main_thing's Fun Commands (MTFC) version 1.0
previously known as [VSCRIPT] Chat Commands version 1.0
This is the official release [VSCRIPT] main_thing's Fun Commands (MTFC) version 1.0! It include many fun features to play around with, online and offline!
(Yes, these do in fact work on both).
Features:
- Fixes Mann vs. Machine chat between red and blue team.
- Custom Weapons API (So you can make any weapon you can imagine!)
- Chat Commands! (not in any particular order)
- Steam Id logging (for servers).
- !joinblue (puts you in the blue team in MVM)
- !hhh (become the headless horseless horseman!)
- !giveweapon (!giveweapon tf_weapon_minigun 850 this gives you a deflector)
- !giveweaponcustom (gives you a custom weapon defined in the custom weapon file. Example: !giveweaponcustom x1000 sniper rifle)
- !tank (become the MVM tank!)
- !noclip (toggles noclip on the player)
- !tp / !fp (forces player into thirdperson and firstperson respectively)
- !taunt (allows the player to perform any taunt. Example: !taunt 1118)(Conga).
- !dropweapon (drops the active weapon. Does not copy custom attributes).
- !setclass (changes class on the spot! Example: !setclass medic).
- !meem (turns you into a cardboard cutout of yourself!).
- !nohats (removes all your hats).
- !noweapons (removes all your weapons).
- !noloadout (removes both hats and weapons).
- !powerplay (grants you power play!).
- !buffweapon (makes your active weapon have the stats of the valve rocket launcher).
- !kill (kills you).
- !deploybomb (deploys the bomb in MVM. Does nothing most of the time).
- !bonk (stuns you for 10 seconds).
- !giant (makes you have the stats of a MVM giant. Player model does not change).
- !deflector (become the giant deflector heavy).
- !sergeantcrits (become sergeant crits).
- !samuraidemo (become samurai demo).
- !sirnuke (become Sir Nukesalot).
- !superscout (become a super scout).
- !tauntlist (prints all available taunts into the console for use with the !taunt command).
- !afk (makes you invincible and unable to be moved or interacted with. You will not be auto-kicked in this state).
- !customweaponlist (prints all custom weapons defined in the custom weapons file).
- !help (prints all commands in chat).
- !disablekick (disables being auto-kicked. does nothing on listen servers).
- !toolgun (adds a toolgun to your inventory)
- !steamid (returns your steamid in steamid3)
Installation:
- open steam.
- navigate to library.
- open Team Fortress 2 page. (I don't know what it's called).
- click on the gear icon.
- click on properties.
- click on local files.
- click on browse.
- open the "tf" folder.
- extract chatcommands.zip into the "tf" folder.
- open Team Fortress 2.
- play any Team Fortress 2 map locally.
- Enjoy using the chat commands.
Creating Custom Weapons:
- open steam.
- navigate to library.
- open Team Fortress 2 page.
- click on the gear icon.
- click on properties.
- click on local files.
- click on browse.
- open the "tf" folder.
- open the "scriptdata" folder.
- open cweapons.txt
Format for making custom weapons.
- Here is a template for making custom weapons.
deflector{
"classname" "tf_weapon_minigun"
"itemindex" 850
"attributes" ("damage bonus",1.5;"attack projectiles",1)
}
- The first line of the custom weapon format contains the name for the weapon when being selected with the !giveweaponcustom chat command.
- Note: The weapon name must be in lowercase. There should not be a space between the "*" and the "{"
- The second line defines the weapon's entity type. These are what the game spawns as the weapon. All of these should start with "tf_weapon". Here's a list of the available weapon entities: https://cfg.tf/tools/crosshairs/names/.
- Note: tf_weapon_builder, tf_weapon_sapper and tf_weapon_invis are not supported.
- The third line contains the weapon item definition index. They can be found in 2 places, items_game.txt and here: https://wiki.alliedmods.net/Team_fortress_2_item_definition_indexes. This line defines the weapon's name and how it shows up in game.
- The fourth line contains all of your custom weapon attributes. It must be enclosed in brackets. Each attribute is added in the format ("attributename",5;"attributename",2)
- Note: do not add ";" at the end of the line. Do not forget to have "," in between the attribute name and its value. If you don't want to add any custom attributes, write "attributes" () for that line.
- The last line ends the configuration for that specific weapon.
Have fun!
Attachments
-
chatcommands.zip11.4 KB · Views: 280
-
chatcommands-1.1.zip13.8 KB · Views: 176
-
chatcommands-1.2.zip25.2 KB · Views: 199
-
chatcommands-1.2b.zip25.3 KB · Views: 181
-
chatcommands-1.3.zip26.6 KB · Views: 178
-
chatcommands-1.3b.zip26.6 KB · Views: 324
-
chatcommands-1.4.zip61.4 KB · Views: 151
-
chatcommands-1.41.zip32.3 KB · Views: 56
Last edited: