User:Aichon/Userscripts
Announcement: I'm no longer active. My talk page is still your best bet to get in touch. —Aichon— 04:39, 15 December 2018 (UTC)
Please note that I no longer actively play the game, nor do I regularly check the wiki. My talk page remains the best way to get in contact with me should a problem come up with one of my userscripts. Just to set expectations, it's unlikely I'll do any bug fixes, but I won't rule out the possibility altogether, so feel free to get in touch but don't expect much.
Intro and Getting Started
Urban Dead's interface leaves a bit to be desired, but thanks to Tampermonkey for Chrome, Tampermonkey for Safari, Tampermonkey for Opera, and Greasemonkey for Firefox, players can make the interface look and act quite a bit differently (e.g. my interface).
Once you've installed the appropriate extension above, simply click the Install link next to any script that interests you below. If a script you like has been updated since you last installed it, just click the Install link for it again to get the new version. If you like these scripts, you might also like ones written by other UD players as well.
The scripts below should mostly be compatible with Chrome, Firefox, Safari, and Opera, though I make no promises that they will be. Where I'm aware that they don't work, I try to make a note saying as much.
Original releases
Just a few scripts that I wrote from the ground up. They're not necessarily original ideas, but they are original work.
UD A-GPS Coordinates
Install updated 2016-07-26 version 1.0.4
It just displays your current GPS coordinates next to the suburb name. You don't need a GPS unit in-game for this to work. This script won't work with Midianian's UDML, so I'd suggest using my version instead, which also fixes some other issues as well (make sure you're using 1.3.5 or later of UD Map Links, otherwise some features may be missing).
Last update: The coordinates now link to your block in the DSS Map. Thanks Weirdomen for the suggestion! Also, some minor metadata updates.
Screenshot - GPS for Norgan Library
UD Barrista
Install updated 2016-07-26 version 1.0.9
Barrista adds a menu bar to the top of your screen that replaces the text and buttons which normally show up under your minimap. Your name, your XP, and an estimation of the time until your AP will be full are in the bar (your name links to your profile, and your XP links to your skills), your HP and AP show up as bars that grow and shrink, and most of the old buttons show up too, freeing all of that space from under your minimap (as a bonus, it adds a Refresh button and a Dumbwit button). The HP bar is even smart enough to know when you're infected, and glows in a bright green when it happens.
Besides those, it has a barricade level indicator that is colorized to match the colors of Building State Colorizer, and can be clicked on to increase the barricade levels. Plus, it has tab buttons that show up just above the minimap and take the place of a few common buttons you see in the game, such as those for dumping bodies, entering and exiting buildings, standing up, etc.
Last update: Added a Dumbwit button to the bar. It's even smart enough to know whether to use Dumbwit or Dumbwit Profile, depending on which screen you're on.
Screenshot - ruined, unable to barricade (zombie), high XP, high AP, high HP
Screenshot - EHB, able to barricade, infected, low AP
Screenshot - VHB, able to barricade, low AP, low HP
UD Better HP Colorizer
Install updated 2010-08-18 version 1.1.2
Colorizes the HP values of characters in your building. It also removes the "HP" letters in an effort to de-clutter things a bit. The colors range from peach to reddish-pink usually, but also from lime green to putrid green in the case of infections.
Suggestion: Pair it with Better Name Colorer so you can see the HP values much more easily.
Last update: Made it slightly more robust against future game updates (i.e. nothing was broken and nothing was fixed. Simply tried to make it harder to break).
Screenshot - small group of survivors, lightly damaged
Screenshot - same as last, but with Better Name Colorer as well
Screenshot - large group of survivors, some on contacts list, some heavily damaged
Screenshot - same as last, but with Better Name Colorer as well
UD Better Name Colorer
Install updated 2016-07-26 version 1.2.1
Changes the colors used for characters in your Contacts list, as well as for all of the other links on the page. The new colors are more muted, which greatly increases the contrast and makes them much easier to read.
Suggestion: Pair it with Better HP Colorizer and UD Building State Colorizer to really see it shine.
Last update: Rewrote for faster speeds. Added auto-updating so fixes can be pushed out later. Fixed minor issue that made it into 1.2.
Screenshot - small group of survivors, none on contacts list (Better HP Colorizer is used too)
Screenshot - large group of survivors, some on contacts list (Better HP Colorizer is used too)
UD Block Wrap
Install updated 2016-07-26 version 1.0
Fixes a bug that shows up in UD in some browsers (e.g. Chrome) that causes the names of blocks to have no spaces and to stretch the minimap out really wide. Restores the page's behavior back to how it used to be.
UD Survivor Aggregator
Install updated 2010-08-18 version 1.2.4
You know how zombies show up on the minimap as, for example, "3 zombies"? This script makes survivors at your block work the same way. It'll also try to do the same thing for neighboring blocks, but, due to limitations in the game, it can't count past five for those. As a bonus, if you're outside, it won't try to count neighboring blocks, that way, if you're engaged in live combat and your opponent runs, you can see which direction they went.
Last update: Fixed so that it works in multi-block safe houses such as Malls.
Screenshot - in a one-block building
Screenshot - in a mall
Midianian's scripts
Midianian has asked me to maintain and update some of his scripts while he's away. Some of them haven't needed to be altered, while others have been modified to fix bugs or meet my needs. I'll be trying to keep them working, if only so that I can use them myself. Please note that I won't fix UDPL and UDRB on my own since I don't use them, but if someone informs me that they're broken, I'll look into putting a fix together.
UD Building State Colorizer
Install updated 2010-08-18 version 1.4.1
Colorizes text on the page pertaining to barricade levels, generator/radio statuses, and a handful of other useful building states. I've modified the colors significantly and also updated it to work with forts. The colors and styles are as follows:
Buildings can be extremely heavily barricaded, very heavily barricaded, heavily barricaded, very strongly barricaded, quite strongly barricaded, lightly barricaded, loosely barricaded, closed, open, ransacked, and ruined. Generators and transmitters can be intact, dented, battered, damaged, and badly damaged. They can also be powered, low on fuel, and out of fuel, which can leave a building with its lights out. |
Suggestion: Pair it with Better Name Colorer so you can see the building states much more easily.
Last update: Fixed to work with the 2010-08-16 game update.
Screenshot - various colorizations for various levels of barricading
For reference, here's Midianian's original UDBSC (doesn't work with forts, partially broken after game update).
UD Item Combiner, Organizer, and Sorter
Install updated 2014-09-19 version 1.2.2
Takes your messy inventory and makes it tidy. It also calculates the number of rounds you have in your firearms. I can't speak highly enough of Midianian's work on this script, since it makes the game much more playable for me. I modified it to hide some useless buttons that just waste your AP (e.g. spray cans, flak jackets, etc.), but have otherwise left it just as he had it.
Last update: It now creates a special section for the DSS Satellite Phone if you have it installed, and doesn't mangle the sat phone button so it only reloads the page, so you don't need to worry about complicated hackery to get them working properly any longer.
Screenshot
For reference, here's Midianian's original UDICOS.
UD Map Links
Install updated 2023-08-23 version 1.3.6
Puts links to the wiki and the DSS Map of Malton for your suburb next to the suburb name. It's been modified to play nice with A-GPS and to use the Internet Archive's snapshot of the DSS maps instead of RedRum's, otherwise it's identical to the original version.
Last update: With thanks to Dijon Sanders, it now links to the Internet Archive.
Screenshot
For reference, here's Midianian's original UDML (partially broken).
UD Profile Links
Install updated 2010-03-31 version 1.5
Inserts two links after a character's profile link; one to their Rogue's Gallery page, and another to add them to contacts. If they already are a contact, the latter link removes them. Works in the area description box, DNA scans, and in the "Since your last turn:" listing. Updated to work with the new Rogue's Gallery. This is one of Midianian's scripts that I do not use personally, so if it breaks, please alert me since I won't know it's broken, and I'll look into fixing it as soon as possible.
Screenshot
For reference, here's Midianian's original UDPL (partially broken).
UD Radio Accelerator
Install updated 2008-12-21 version 1.0
Known issues: If used with UDICOS, it must execute after it. Opera is fine. In Chrome and Firefox, go to your Greasemonkey/Tampermonkey settings and move it after UDICOS.
When you click on your radio handset to change the frequency, it'll make a popup that you can use to enter the new frequency. It saves you a page load and an IP hit. I haven't made any modifications to it yet.
For reference, here's Midianian's original UDRA.
UD Refresh Button
Install updated 2009-06-15 version 1.3
Inserts a "Refresh" button as the second button on the row of possible actions. This is one of Midianian's scripts that I do not use personally (its functionality is replicated in Barrista), so if it breaks, please alert me since I won't know it's broken, and I'll look into fixing it as soon as possible.
For reference, here's Midianian's original UDRB.
Other modified releases
These are scripts released by other authors (or else significantly derived from the work of other authors) which I have taken the liberty of editing for my own use. For the most part, I've been lazy about updating the comments in the code with my author information, version numbers, change history, etc., so pay it no heed.
chud
Install updated 2010-08-18 original author haliphax (updated by jimflexx)
Known issues: If used with Better HP Colorizer, it must execute before it. Go to your userscript settings and move it before Better HP Colorizer.
Creates a box that appears underneath the minimap whenever there are injured survivors. It then sorts them by their HP and colorizes their HP in the same fashion as Better HP Colorizer. Next to their name, you then have the option to hurt them (e.g. pistol, shotgun, knife, bite, claw, etc. depending on which are available) or heal them. The script is significantly modified from haliphax's original version of chud.
Last update: Now works again after the 2010-08-16 game update.
Screenshot - able to use an axe, a pistol, or a FAK on an injured player
Screenshot - zombies can claw, bite, or drag survivors (some of these ones are infected too)
UDMap
Install updated 2014-08-28 original author Janzak
Puts two minimaps under the main minimap. The first shows you your entire suburb, with TRPs colored, while the second shows you the entire city and lets you click on any suburb to see it in detail. I modified the appearance, added all of the Necrotech buildings, fixed some bugs, and changed the colors to match the ones used for the barricade plans. The colors are: Auto Repair Shop, Factory, Hospital, Mall/Fort, Necrotech, Police Department, and Outdoor.
Last update: Major rewrite. Cut the code down by nearly half (i.e. it loads a bit faster), and fixed bugs occurring in Tampermonkey, such as mouseover text for buildings being broken. This version should also auto-update to any future versions I release.
Screenshot - a view of Pitneybank, with all TRPs color-coded
Discontinued
The following userscripts have been discontinued. You can still download and use them, but no further updates will likely be offered for them, and support offered will be minimal. In most cases, their functionality has either been moved to another userscript that's being actively updated or will be moved to another userscript in the near future.
AP Recovery Time Indicator
Install updated 2010-11-06 original author Sean Dwyer
Displays an estimate of when your AP will be fully recovered. This version was heavily modified by Thvortex with additional functionality related to negative AP and requiring multiple days to reach full AP. If you like this script, you might consider checking out Barrista instead, listed elsewhere on this page, since it has the core of this functionality built in (though it doesn't have Thvortex's sweet changes).
QuickLinks
Install updated 2009-08-30 original author Vaevictus
Adds a menubar to the top of the screen with a few useful buttons for things like dumping bodies, fixing generators, standing up, etc. I've modified it to also take the place of the buttons that show up under the minimap area, that way it frees up some more space. If you liked it, check out Barrista instead, listed elsewhere on this page, since it has this functionality built in.
Suggestion: Pair it with Zero Out Buttons if you don't see a point in keeping those buttons under the minimap around any longer.
UD Same Character Highlighter
Install updated 2024-06-24 version 1.0.0
Ever log in to see a dozen "A zombie did such-and-such" messages, but have no idea which zombie was which? When using this script, if you mouse over a character link on the page (including survivors and yourself), all of the other links to that profile will be underlined, letting you see at a glance just who it was that did what. It's a small thing, but it's incredibly nice sometimes.
Avarice77 has graciously updated and modernized my work to function within the game as it is in 2024, so I'm now linking to their GreazyFork page above. If for some reason you want to find my code from 2009 (why would you?), here's v1.0.3 of the UD Same Character Highlighter from back then.
UD Zero Out Buttons
Install updated 2009-08-29 version 1.0.1
Known issues: If used with QuickLinks, it must execute after it. In Tampermonkey/Greasemonkey, go to your settings and move it to execute after QuickLinks.
Removes the buttons that normally show up under the minimap. If you liked it, check out Barrista instead, listed elsewhere on this page, since it has this functionality built in.
Suggestion: Pair it with QuickLinks, since otherwise you'll be left without those buttons at all.