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)
Intro and support
Urban Dead's interface leaves a bit to be desired, but thanks to the miracle of Greasemonkey for Firefox, GreaseKit for Safari (see footnote regarding compatibility), or Chrome's built-in extensions feature, the players can make them look and act differently (e.g. my interface). If you need help installing or setting up Greasemonkey/Kit, I'm not the guy to ask. Once you get it installed however, you should be able to just click on the Install links I provide below.
If you like my scripts and find that you're using them, I suggest clicking the watch link at the top of the page, then periodically checking your Watchlist for any changes here. If a script you like has been updated, just click the Install link for it again, and you should get the new version. If you like my scripts, you might also like other ones as well.
All of these should work in Safari, and most of them work in Firefox or Chrome as well (where I'm aware that they don't, I make a note saying as such). If you run into any bugs or issues, make sure you're using the latest version of all of my scripts, then feel free to contact me via my talk page if the problem persists. I'll say right now that I don't have much patience for people who ignore answers that have already been posted in plain sight, so please don't be one of those people, but I do appreciate people that bring new problems to my attention.
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 2011-06-06 version 1.0.2
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.
Last Update: No functionality changes, but a major code rewrite. Now 70% leaner!
Screenshot - GPS for Norgan Library
UD Barrista
Install updated 2010-10-05 version 1.0.3
Known issues: Barrista doesn't play nice with some other scripts. Act On Profile and DSS Satellite Phone are two that don't work if you use Barrista as well. If you're a developer of a script that Barrista doesn't like and are interested in working with me to try and sort things out, let me know. I'm happy to patch Barrista to make it play nice if you have any ideas.
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). 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: Bug fix - Removed development code (that I accidentally left in) that could cause issues in some non-dev environments.
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 Same Character Highlighter
Install updated 2009-10-30 version 1.0.3
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.
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 2009-10-12 version 1.2.1
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.
Screenshot
For reference, here's Midianian's original UDICOS.
UD Map Links
Install updated 2010-08-25 version 1.3.4
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 DSS maps instead of RedRum's, otherwise it's identical to the original version.
Last Update: Minor bug fix to deal with bad links to the DSS Map of Malton for suburbs with multiple words in their names.
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. Safari, Chrome, and Opera are fine. In Firefox, go to the Manage User Scripts window 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.
UD Victim Link
Install updated 2010-06-19 version 1.4.1
Turns the victim's name in a killing or dragging into a link to the profile database. Fixed to work after the .info site went down.
For reference, here's Midianian's original UDVL (broken).
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: Doesn't work properly in Chrome. A fix is not in the works as of 2010-08-18.
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)
For reference, here's jimflexx's updated version of haliphax's chud.
UD Better Name Colorer
Install updated 2009-10-27 original author gurujery
Using Chrome? Install this one instead.
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.
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)
For reference, here's gurujery's original Urban Dead Plain Looking.
UDMap
Install updated 2011-06-06 original author Janzak
Known Issues: Does not work in Opera.
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: Minor bug fix to correct wrong coordinates near the top left corner.
Screenshot - a view of Pitneybank, with all TRPs color-coded
For reference, here's Janzak's UDMap.
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 Zero Out Buttons
Install updated 2009-08-29 version 1.0.1
Known issues: If used with QuickLinks, it must execute after it. Safari, Chrome, and Opera are fine. In Firefox, go to the Manage User Scripts window and move it 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.
Footnote
Footnote
GreaseKit for Safari is, as of 2011-07-21, broken in Safari 5.1, which is available for Snow Leopard and Lion. You are strongly advised to stick with 5.0 or downgrade back to it if you would like the scripts to continue working. Otherwise, your only alternative with Safari currently is to give NinjaKit a try, but I will warn you in advance that it is super buggy, is not user friendly at all (you have to copy/paste each script you want into their text editor, then save it), seems to be lacking the ability to update/edit existing scripts, and hasn't been updated in months by the developer. Long story short, now may be a good time to check out an alternative browser if you rely on userscripts and don't want to be stuck with Safari 5.0.