Wiethoofd
Account Details
SteamID64 76561197990121837
SteamID3 [U:1:29856109]
SteamID32 STEAM_0:1:14928054
Country Netherlands
Signed Up June 22, 2013
Last Posted April 7, 2024 at 7:49 AM
Posts 969 (0.2 per day)
Game Settings
In-game Sensitivity 4
Windows Sensitivity 5
Raw Input 1
DPI
3200
Resolution
2560*1080
Refresh Rate
60
Hardware Peripherals
Mouse Roccat Kone XTD
Keyboard Ducky Shine 2 (Yellow) + Brown Cherry Switches
Mousepad Roccat Taito
Headphones Roccat Kave
Monitor Dell U2711
1 ⋅⋅ 47 48 49 50 51 52 53 ⋅⋅ 65
#1 MvM Tours & Missions completed Twitch Chat Nightbot in Projects

I created something for Twitch Streamers who play (a lot) of Mann vs. Machines.

Because mvmlobby.tf has easy accessible information for your MvM tour completions info I wrote a script that scrapes this information and outputs some plain text which Nightbot can display in chat.

What do I need to do?
Add the command to Nightbot in Twitch Chat after replacing STEAMID with yours with the following line:

!addcom !tours $(urlfetch http://wiethoofd.info/tours?steamid=STEAMID&tour=$(1))

Typing !tours in chat will then output Two Cities tour completion information, using 1-5 or all will display additional info.

Check it out in action in my Twitch chat.

Example screenshots:

https://i.imgur.com/JaguNQW.png

---------------------------------------------------------------------------------------------------------------------------------------------------------------------

List of arguments (separated by & when added to the url):

  • steamid=<customurl/steamid> (REQUIRED)
    • accepts custom urls & any form of valid steamid
  • tour=<1-5/all> (optional but recommended)
    • $(1) (in example) is required for Nightbot to allow for !tours <number/all> (defaults to Two Cities (4))
    • all shows an overview!tours allWiethoofd completed 0 Oil Spill (0/6), 8 Steel Trap (0/6), 19 Mecha Engine (0/3), 661 Two Cities (1/4), 14 Gear Grinder (0/3) Tours
    • 1-5 forces to display info about a single tour of duty
      Examples:!tours 3Wiethoofd has finished 19 Mecha Engine tours & completed 0 out of 3 missions!tours 4Red has finished 63 Two Cities tours & completed 3 out of 4 missions!tours 5CeeJaey has finished 65 Gear Grinder tours & completed 1 out of 3 missions
  • name=Nickname (allowed characters: letters, numbers, dashes, underscores & spaces)
    • If set overrides the current Steam name found on MvM Lobby
  • profile
    • Adds a link to mvmlobby.tf profile with steamid64 at end of chat message

---------------------------------------------------------------------------------------------------------------------------------------------------------------------

Possible features that could be added if there is interest for it:

  • TTours emote instead of tours
  • Custom url instead of SteamID in profile url
  • Less strict custom nickname for &name (examples required)
  • Leave out tour of duties which have never been played from !tours all
  • Showing which missions are left to complete if less than half remaining
  • Configuration page with Steam login to generate the url for the !addcom chat command

---------------------------------------------------------------------------------------------------------------------------------------------------------------------

Support

posted about 7 years ago
#4 Moving the Chat Box in Customization

Change xpos/ypos in BaseChat.res
Update ypos in CompetitiveGame_RestoreChatWindow animation event for chat to be moved back to original position after the ready up doors & medal ceremony in Matchmaking

posted about 7 years ago
#3117 HUD editing: short questions, quick answers in Customization

Your best bet is looking at the hudanimations event for overheal and only have 1 line to change color instead of multiple to blink or with timings that aren't 0.0 or 0.001 to change the color instantly.

To change the color on the actual health cross might be doable with changing drawcolor on the image element (remember to reset color in the Stop animation event)

posted about 7 years ago
#4 TF2 not downloading maps through server in Q/A Help

cl_downloadfilter mapsonly

posted about 7 years ago
#3115 HUD editing: short questions, quick answers in Customization

TargetDataPanel for the UberCharge/Killstreak info in TargetID.res and CSecondaryTargetID in hudlayout.res to position the target ID in the hud.

posted about 7 years ago
#3113 HUD editing: short questions, quick answers in Customization

Those are the ConfirmDialog*.res files in your resource/ui/econ folder.

posted about 7 years ago
#34 ScrapTF Stream Tipping in Projects

If you get donated items when you're not streaming, or you miss a donation while streaming there is no history of item donations available for the streamer and you just end up with items in your inventory and no easy way to figure out who donated which item(s).

posted about 7 years ago
#8 ScrapTF in Projects

*Kick*

Scrap.tf now has privacy settings for raffle winners to not show their steam nicknames, yet the raffle bot for Twitch chat completely ignores these privacy settings and shows all the nicknames of winners in chat (which could be the Twitch nickname instead if you've linked your profile? (for highlighting purposes))

The bot is also somewhat unresponsive most of the time with accepting the !setraffle command or displaying an active raffle (restarting & readding the bot to the channel isn't possible afaik)

It would also be nice to have the /twitch and /twitch/tips (thread) links somewhere on profile/menu available if these are available for everyone.

posted about 7 years ago
#4908 Show your HUD modifications! in Customization
_KermitI'm not sure how to have it only show up when low health and not buffed as, as far as I know, the colour of the image can't be changed for buff, only low health. If people wanna mess around with it/use it you can find the relevant files here.

You 'abuse' the PlayerStatusHealthBonusImage image to 'fake' the health bar moving horizontally, you set HealthDeathWarning in the spectatortournament.res HealthIcon value to 1.001 and make the HealthBonusPosAdj the size of the entire player panel (where the health is the same size as the player panel)

The overheal color is controlled by a drawcolor in the guihealth file BonusImage section and the actual low health color by the HealthDeathWarningColor in the HealthIcon in spectatortournament.

If anyone gets it working properly give me a shout please, I'd be interested in how it works, especially as I'm pretty sure the tftv one is kept private or w/e.

First one to get it to work afaik was the Mannterface (relevant hud files)

posted about 7 years ago
#3110 HUD editing: short questions, quick answers in Customization

If you make sure the fonts/colors for those menus are defined in your clientscheme.res you should be able to add them to yours

posted about 7 years ago
#3107 HUD editing: short questions, quick answers in Customization

@Hidi That's a convar to indicate your healing target: hud_medichealtargetmarker and appears above the player being healed, set to 0 to disable.

@eevove, which notification panel where? the one top right in backpack stuff is a file in the econ folder, positioned in the charinfopanel, the ones in the main menu should also be in the econ folder, the filenames should be clear and otherwise figuring out an element name and using your 'in file search' in your editing program could help narrow down the list of files responsible

posted about 7 years ago
#806 flatHUD in Customization

You can tf_competitive_mode 1 on a local server and with sv_pausable and recording a demo edit the match_summary.res stuff

posted about 7 years ago
#3102 HUD editing: short questions, quick answers in Customization

@ Hidi HudMatchStatus.res now contains the timer and HudObjectiveTimePanel the backgrounds, the servertime, waiting for players, overtime and sudden death labels

@ Eevove, if you open the StreamPanel.res file you'll see the defined elements make up how 1 single stream element looks, it just loads in different title/name/preview image/viewer count per stream, you position where you want each element to show up inside the block, of which the size and positions are defined in StreamListPanel.res

Open the files, open vgui_drawtree 1 and tick Highligh Selected and see which elements get a red border around them when you navigate through the elements.

posted about 7 years ago
#3099 HUD editing: short questions, quick answers in Customization

Modify StreamPanel.res and modify the look per stream (open vgui_drawtree in the main menu, tick Highlight Selected and reload the StreamsPanel without having to restart the game to see the changes you made)

posted about 7 years ago
#3093 HUD editing: short questions, quick answers in Customization

@Bathory, in custom hud folders, the one in /tf/resource should always be there.

@puoi1: HudObjectiveKothTimePanel.res (also use vgui_drawtree 1 & tick 'Highlight Selected' for hud stuff)

posted about 7 years ago
1 ⋅⋅ 47 48 49 50 51 52 53 ⋅⋅ 65