User:Aichon/Userscripts: Difference between revisions

From The Urban Dead Wiki
Jump to navigationJump to search
(Got tired of editing my custom TOC by hand)
No edit summary
Line 6: Line 6:
|style="border: #565 solid 1px; padding: 10px;" valign=top rowspan=2|
|style="border: #565 solid 1px; padding: 10px;" valign=top rowspan=2|
==<span style="color: #ffc; font-weight: bold;">Intro and support</span>==
==<span style="color: #ffc; font-weight: bold;">Intro and support</span>==
While Urban Dead does a good job of supplying the player with all of their basic needs to play the game, the interface leaves something to be desired. However, there is a solution. Thanks to the miracle of [http://addons.mozilla.org/en-US/firefox/addon/748 Greasemonkey] for Firefox (or [http://8-p.info/greasekit/ GreaseKit] for Safari and [http://greasemetal.31tools.com/ Greasemetal] for Chrome), the players can take control of their own interfaces, making them look and act however they want. If you need help installing or setting up Greasemonkey/Kit/Metal, 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.
Urban Dead's interface leaves a bit to be desired, but thanks to the miracle of [http://addons.mozilla.org/en-US/firefox/addon/748 Greasemonkey] for Firefox (or [http://8-p.info/greasekit/ GreaseKit] and [http://greasemetal.31tools.com/ Greasemetal] for Safari and Chrome, respectively), the players can make them look and act differently. If you need help installing or setting up Greasemonkey/Kit/Metal, 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 [http://wiki.urbandead.com/index.php?title=User:Aichon/Userscripts&action=watch watch] link at the top of the page, then periodically checking your [[Special:Watchlist|<span style="color: #58d">Watchlist</span>]] 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 and find that you're using them, I suggest clicking the <span class="stealthexternallink">[http://wiki.urbandead.com/index.php?title=User:Aichon/Userscripts&action=watch <span style="color: #58d">watch</span>]</span> link at the top of the page, then periodically checking your [[Special:Watchlist|<span style="color: #58d">Watchlist</span>]] 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.


I have tested these scripts in Safari for Mac using GreaseKit. For the most part they should work in Greasemonkey, but on occasion they do not, and as I'm made aware of these issues, I note them where appropriate. Greasemetal seems to have less functionality implemented, so I can't make any promises for it either, but most of my scripts are pretty simple, so I'm guessing they should work. If you run into any trouble, make sure you're using the latest version of the script, and if the issue persists, please contact me via my [[User Talk:Aichon|<span style="color: #58d">talk page</span>]] so we can try to troubleshoot it. 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.
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 [[User Talk:Aichon|<span style="color: #58d">talk page</span>]] 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.




==<span style="color: #ffc; font-weight: bold;">Original releases</span>==
==<span style="color: #ffc; font-weight: bold;">Original releases</span>==
All of these are scripts that I wrote from the ground up. Not all of them are original ideas, I'll admit, but they're my own, personal take on those ideas.
Just a few scripts that I wrote from the ground up. They're not necessarily original ideas, but they are original work.


<!--
<!--
Line 41: Line 41:
|version 1.0.1
|version 1.0.1
|-
|-
|colspan=3|Like several other GPS scripts, it simply displays the GPS coordinates for your character next to the suburb name above the minimap. I felt this was necessary since I noticed logical errors in some of the other GPS scripts I was using, and also did not appreciate their approach to handling the problem. Please note that if you would like to use it with [[User:Midianian/Userscripts#UDML|<span style="color: #58d">Midianian's UD Map Links script</span>]], that you will need to use my modified [[#UD Map Links|<span style="color: #58d">UD Map Links</span>]], found below.
|colspan=3|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. If you're using Midianian's [[User:Midianian/Userscripts#UDML|<span style="color: #58d">UDML</span>]], update to my [[#UD Map Links|<span style="color: #58d">version</span>]] instead, otherwise this script won't work.
|-style="font-size: .8em;"
|-style="font-size: .8em;"
|colspan=3|[http://www.aichon.com/dumpbox/ud_userscripts/screenshots/udagpscoordinates1.png Screenshot]
|colspan=3|[http://www.aichon.com/dumpbox/ud_userscripts/screenshots/udagpscoordinates1.png Screenshot]
Line 47: Line 47:




{|style="background-color: #414941; color: #ffc; border: #565 solid 1px;"
{|style="background-color: #212921; color: #ffc; border: #f65 solid 1px;"
|-
|-
|colspan=3|
|colspan=3|
===<span style="color: #ffc; font-weight: bold; font-size: .9em;">UD Barrista - NEW - BETA</span>===
===<span style="color: #ffc; font-weight: bold; font-size: .9em;">UD Barrista</span>===
|-style="font-size: .8em;" align=left border=1px
|-style="font-size: .8em;" align=left border=1px
|style="width: 50px;"|[http://www.aichon.com/dumpbox/ud_userscripts/udbarrista.user.js Install]
|style="width: 50px;"|[http://www.aichon.com/dumpbox/ud_userscripts/udbarrista.user.js Install]
Line 56: Line 56:
|version 1.0b2 - BETA RELEASE
|version 1.0b2 - BETA RELEASE
|-
|-
|colspan=3|'''It currently does not work in Firefox.''' That said, it's mostly functional in Safari, so I thought I would share it now, as is. Be aware that this is a beta release, and as such ''does'' have some bugs and quality control issues. If you spot any bugs, even minor ones, let me know, and make sure you grab the updated copies of Survivor Aggregator and Better Name Colorer if you're using those, since the older versions cause issues with Barrista. I'm also willing to consider features at this stage of development, so if you have some ideas, I might be interested. There are definitely a few more things I plan to add to it before it's done, but the core functionality seems to be in place at this point.
|colspan=3|'''Known issues: Beta release. Currently doesn't work in Firefox. Still has some minor bugs and inconsistencies. Feel free to report them.'''


As for what it is, Barrista adds a menu bar to the top of the screen. It's effectively designed to take the place of QuickLinks, Zero Out Buttons, AP Recovery Time Indicator, and Building State Colorizer (though I think it works well paired with BSC, instead of replacing it outright). It also takes the place of the text box that is traditionally right below the minimap, as well as the buttons that normally show up under that. To take the place of the information that was in that box, Barrista features HP and AP bars (they change colors when you get low on HP/AP to let you know that you should check on them, and the HP bar glows green when you're infected), a link to your profile, your XP value (links to your Skills page), and an approximation of the time at which you'll be back to full AP. To take the place of the buttons, new buttons are available on the right side of the menubar.
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 XP, and an estimation of the time your AP will be full are up there (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.


Additionally, it also features a barricade indicator square that gets colorized to match the barricade coloring used by [[#UD Building State Colourizer|<span style="color: #58d">UD Building State Colourizer</span>]]. As a bonus, you can click on the barricade indicator to add to the barricades, so the Barricade button has been removed from the screen.
Besides those, it has a barricade level indicator that is colorized to match the colors of [[#UD Building State Colorizer|<span style="color: #58d">Building State Colorizer</span>]], 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.
 
One final touch is the use of small tabs underneath your character's info and above the minimap. These appear when the situation calls for it, and feature commands such as Entering or Leaving buildings (thus, enter/leave buttons are removed from the page), Dump Body (takes the place of the button), Stand Up, and a few other commands. These buttons only appear when appropriate.


''The screenshots are outdated and show the b1 version, rather than the b2 version. Some major changes have occurred between versions.''
|-style="font-size: .8em;"
|-style="font-size: .8em;"
|colspan=3|[http://www.aichon.com/dumpbox/ud_userscripts/screenshots/udbarrista1.png Screenshot], [http://www.aichon.com/dumpbox/ud_userscripts/screenshots/udbarrista2.png Screenshot], [http://www.aichon.com/dumpbox/ud_userscripts/screenshots/udbarrista3.png Screenshot]
|colspan=3|[http://www.aichon.com/dumpbox/ud_userscripts/screenshots/udbarrista1.png Screenshot], [http://www.aichon.com/dumpbox/ud_userscripts/screenshots/udbarrista2.png Screenshot], [http://www.aichon.com/dumpbox/ud_userscripts/screenshots/udbarrista3.png Screenshot]
Line 78: Line 77:
|version 1.0
|version 1.0
|-
|-
|colspan=3|Colorizes the HP value for each character based on how high their HP is and declutters things by removing the actual "HP" text from next to the character's name. Colors range from '''<span style="color: #f0af78;">peach</span>''' at nearly-full HP to '''<span style="color: #ff283c;">reddish-pink</span>''' at 1 HP. It works best when it's paired with a script that modifies the character links from their original pink color to something else (such as the Better Name Colorer script, below), that way the HP values contrast more, instead of blending in. It currently does not do anything when you're zombified and using Scent Blood (planning to change this at some point). Credit goes to Sean Dwyer for the original concept.
|colspan=3|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 '''<span style="color: #f0af78;">peach</span>''' to '''<span style="color: #ff283c;">reddish-pink</span>'''.
 
'''Future Plans:''' I intend to get it working with Scent Blood eventually, but right now it only works with Diagnosis.
 
'''''Suggestion:''' Pair it with [[#UD Better Name Colorer|<span style="color: #58d">Better Name Colorer</span>]] so you can see the HP values much more easily.''
|-style="font-size: .8em;"
|-style="font-size: .8em;"
|colspan=3|[http://www.aichon.com/dumpbox/ud_userscripts/screenshots/udbetterhpcolorizer1.png Screenshot], (with [http://www.aichon.com/dumpbox/ud_userscripts/screenshots/udbetterhpcolorizer2.png Better Name Colorer]), [http://www.aichon.com/dumpbox/ud_userscripts/screenshots/udbetterhpcolorizer3.png Screenshot], (with [http://www.aichon.com/dumpbox/ud_userscripts/screenshots/udbetterhpcolorizer4.png Better Name Colorer])
|colspan=3|[http://www.aichon.com/dumpbox/ud_userscripts/screenshots/udbetterhpcolorizer1.png Screenshot], (with [http://www.aichon.com/dumpbox/ud_userscripts/screenshots/udbetterhpcolorizer2.png Better Name Colorer]), [http://www.aichon.com/dumpbox/ud_userscripts/screenshots/udbetterhpcolorizer3.png Screenshot], (with [http://www.aichon.com/dumpbox/ud_userscripts/screenshots/udbetterhpcolorizer4.png Better Name Colorer])
Line 93: Line 96:
|version 1.0.3
|version 1.0.3
|-
|-
|colspan=3|When you log in, you're sometimes greeted by a long list of actions that happened while you were away. Especially annoying is when you see that several dozen of them were done by "a zombie," with no indication offered of which zombie did what. This script is configured such that mousing over a character will underline all links to that character on the page, allowing you to see just who was responsible for what. It works with survivors too, of course.
|colspan=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.
|}
|}


Line 106: Line 109:
|version 1.2.1
|version 1.2.1
|-
|-
|colspan=3| Rather than displaying the names of the first 4-5 survivors at your location on the minimap, this script will display a count of the number of survivors. Essentially, just like how zombies show up on the minimap, except for survivors. When you're outside, it still shows you the names of survivors at neighboring blocks, that way you can find them more easily if you're a zombie engaged in live combat. Otherwise, if you're inside a large building (e.g. Mall, Cathedral, Power Station, etc.), it will try to count the number of survivors at neighboring blocks.
|colspan=3|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.
|-style="font-size: .8em;"
|-style="font-size: .8em;"
|colspan=3|[http://www.aichon.com/dumpbox/ud_userscripts/screenshots/udsurvivoraggregator1.png Screenshot]
|colspan=3|[http://www.aichon.com/dumpbox/ud_userscripts/screenshots/udsurvivoraggregator1.png Screenshot]
Line 113: Line 116:


==<span style="color: #ffc; font-weight: bold;">Midianian's scripts</span>==
==<span style="color: #ffc; font-weight: bold;">Midianian's scripts</span>==
[[User:Midianian|<span style="color: #58d">Midianian</span>]] politely asked if I would be willing to handle updating some of [[User:Midianian/Userscripts|<span style="color: #58d">his scripts</span>]] for him while he was away from the game, and I was more than happy to oblige, so here are most of his scripts (for the ones not listed here, I'll offer limited support, since I don't use them myself). Some of them haven't had a need to be altered by me, while others have been modified by me to either fix bugs or suit my own personal tastes and preferences. Either way, I'm currently maintaining his scripts for him, until he chooses to come back to Urband Dead, so I'll be trying to keep them all working, if for no other reason than so that I can use them myself.
[[User:Midianian|<span style="color: #58d">Midianian</span>]] has asked me to maintain and update some of [[User:Midianian/Userscripts|<span style="color: #58d">his scripts</span>]] 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 [[User:Midianian/Userscripts#UDPL|<span style="color: #58d">UDPL</span>]] and [[User:Midianian/Userscripts#UDRB|<span style="color: #58d">UDRB</span>]] 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.




Line 119: Line 122:
|-
|-
|colspan=3|
|colspan=3|
===<span style="color: #ffc; font-weight: bold; font-size: .9em;">UD Building State Colourizer</span>===
===<span style="color: #ffc; font-weight: bold; font-size: .9em;">UD Building State Colorizer</span>===
|-style="font-size: .8em;" align=left border=1px
|-style="font-size: .8em;" align=left border=1px
|style="width: 50px;"|[http://www.aichon.com/dumpbox/ud_userscripts/udbuildingstatecolourizer.user.js Install]
|style="width: 50px;"|[http://www.aichon.com/dumpbox/ud_userscripts/udbuildingstatecolorizer.user.js Install]
|style="width: 105px;"|updated 2009-11-15
|style="width: 105px;"|updated 2009-11-15
|version 1.4
|version 1.4
|-
|-
|colspan=3|Colorizes text on the page pertaining to barricade levels, generator/radio statuses, and a handful of other useful building states. The colors are designed such that ideal conditions (for survivors) tend to blend in more with the text (but are underlined, so that they can be found if need be), while non-ideal conditions try to grab the player's attention. Using [[#UD Better Name Colorer|<span style="color: #58d">UD Better Name Colorer</span>]] with this script is highly suggested, since it reduces visual clutter and makes it easier to spot the building states. The colors and styles are as follows:
|colspan=3|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:
{|style="background-color: #565; color: #bcb;"
{|style="background-color: #565; color: #bcb;"
|-
|-
Line 150: Line 153:
<span style="color: #000; font-weight: bold;">lights out</span>.
<span style="color: #000; font-weight: bold;">lights out</span>.
|}
|}
'''''Suggestion:''' Pair it with [[#UD Better Name Colorer|<span style="color: #58d">Better Name Colorer</span>]] so you can see the building states much more easily.''
|-style="font-size: .8em;"
|-style="font-size: .8em;"
|colspan=3|[http://www.aichon.com/dumpbox/ud_userscripts/screenshots/buildingstatecolorizer1.png Screenshot]
|colspan=3|[http://www.aichon.com/dumpbox/ud_userscripts/screenshots/buildingstatecolorizer1.png Screenshot]
|-style="font-size: .8em;"
|colspan=3|For reference, here's Midianian's original [[User:Midianian/Userscripts#UDBSC|<span style="color: #58d">UDBSC</span>]] (doesn't work with forts).
|}
|}


Line 164: Line 172:
|version 1.2.1
|version 1.2.1
|-
|-
|colspan=3|An absolutely incredible script that makes your inventory usable by rearranging and combining buttons. I modified it slightly to hide some useless buttons that just waste your AP, and I'll be modifying it more as time goes on, but it's a great script. I can't speak highly enough of it, since it makes the game much more playable.
|colspan=3|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.
|-style="font-size: .8em;"
|-style="font-size: .8em;"
|colspan=3|[http://www.aichon.com/dumpbox/ud_userscripts/screenshots/udicos1.png Screenshot]
|colspan=3|[http://www.aichon.com/dumpbox/ud_userscripts/screenshots/udicos1.png Screenshot]
|-style="font-size: .8em;"
|colspan=3|For reference, here's Midianian's original [[User:Midianian/Userscripts#UDICOS|<span style="color: #58d">UDICOS</span>]].
|}
|}


Line 179: Line 189:
|version 1.3.1
|version 1.3.1
|-
|-
|colspan=3|Displays links to the wiki and Red Rum maps for the suburb you are currently in. The only change I made was to allow it to play nice with my A-GPS script.
|colspan=3|Puts links to the wiki and Red Rum maps for your suburb next to the suburb name. The only change I made was to make it play nice with [[#UD A-GPS Coordinates|<span style="color: #58d">A-GPS</span>]].
|-style="font-size: .8em;"
|-style="font-size: .8em;"
|colspan=3|[http://www.aichon.com/dumpbox/ud_userscripts/screenshots/udmaplinks1.png Screenshot]
|colspan=3|[http://www.aichon.com/dumpbox/ud_userscripts/screenshots/udmaplinks1.png Screenshot]
|-style="font-size: .8em;"
|colspan=3|For reference, here's Midianian's original [[User:Midianian/Userscripts#UDML|<span style="color: #58d">UDML</span>]] (doesn't work with [[#UD A-GPS Coordinates|<span style="color: #58d">A-GPS</span>]]).
|}
|}


Line 194: Line 206:
|version 1.0
|version 1.0
|-
|-
|colspan=3|I've made no modifications to it, but am simply maintaining it for Midianian, so, to borrow his original description: allows you to retune your handheld radios for just one AP and IP hit instead of the normal two. '''Note: if used with UDICOS, this must be executed after it. Chrome, Opera, and Safari will handle this automatically. In Firefox, simply change the order of execution by moving this script below UDICOS in the listing.'''
|colspan=3|'''Known issues: If used with [[#UD Item Combiner, Organizer, and Sorter|<span style="color: #58d">UDICOS</span>]], 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. It's a small thing, but it's nice to have.
|-style="font-size: .8em;"
|colspan=3|For reference, here's Midianian's original [[User:Midianian/Userscripts#UDRA|<span style="color: #58d">UDRA</span>]].
|}
|}


Line 207: Line 223:
|version 1.4
|version 1.4
|-
|-
|colspan=3|Changes the victim's name in a killing or dragging to be a link to the profile database. It broke after the update to the game that shows the weapon used to deliver the killing blow. I've fixed it up so that it works again, and also made the victim of a Bite killing linked.
|colspan=3|Turns the victim's name in a killing or dragging into a link to the [http://profiles.urbandead.net profile database]. I had to fix it after the [[News#October_31|<span style="color: #58d">2009-10-31 game update</span>]] broke it.
|-style="font-size: .8em;"
|colspan=3|For reference, here's Midianian's original [[User:Midianian/Userscripts#UDVL|<span style="color: #58d">UDVL</span>]] (broken).
|}
|}


Line 224: Line 242:
|original author gurujery
|original author gurujery
|-
|-
|colspan=3|Uses different colors for characters that are in your contacts list. Essentially, the colors are more muted (almost pastel) in color, which greatly increases the contrast and makes their names much easier to read, in my opinion. I'll probably be changing this into a general custom CSS loader eventually, rather than restricting it to just name colorizing.
|colspan=3|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 [[#UD Better HP Colorizer|<span style="color: #58d">Better HP Colorizer</span>]] and [[#UD Building State Colorizer|<span style="color: #58d">UD Building State Colorizer</span>]] to really see it shine.''
|-style="font-size: .8em;"
|-style="font-size: .8em;"
|colspan=3|[http://www.aichon.com/dumpbox/ud_userscripts/screenshots/udbetterhpcolorizer2.png Screenshot], [http://www.aichon.com/dumpbox/ud_userscripts/screenshots/udbetterhpcolorizer4.png Screenshot] (both screenshots are shown with [[#UD Better HP Colorizer|<span style="color: #58d">Better HP Colorizer</span>]] as well)
|colspan=3|[http://www.aichon.com/dumpbox/ud_userscripts/screenshots/udbetterhpcolorizer2.png Screenshot], [http://www.aichon.com/dumpbox/ud_userscripts/screenshots/udbetterhpcolorizer4.png Screenshot] (both screenshots are shown with [[#UD Better HP Colorizer|<span style="color: #58d">Better HP Colorizer</span>]] as well)
Line 239: Line 259:
|original author Janzak
|original author Janzak
|-
|-
|colspan=3|Displays an additional set of minimaps under the main map, allowing you to see your current suburb, as well as any other suburb. I modified the appearance slightly, added in all of the Necrotech buildings across Malton, and fixed an error in the way that it calculates the player's location. Also, sorry for the confusion, but I've changed the color scheme for the buildings to colors that are similar to the ones that will be used for the [[Template talk:BarricadePlan|<span style="color: #58d">new barricade plans</span>]] on the wiki. The colors are as follows now:
|colspan=3|'''Known issues: Clicking on the "World Map" to select a different suburb currently does not highlight the suburb you clicked on or the suburb you are in.'''
'''<span style="color: #ea4">Auto Repair Shop</span>''', '''<span style="color: #a85">Factory</span>''', '''<span style="color: #e8b">Hospital</span>''', '''<span style="color: #9d8">Mall/Fort</span>''', '''<span style="color: #85a">Necrotech</span>''', and '''<span style="color: #44e">Police Department</span>'''
 
Outdoor locations are still darkened, of course.
 
'''Known bug:''' Clicking on the "World Map" to select a different suburb currently does not highlight the suburb you clicked on or the suburb you are in.


Puts two more minimaps under the main minimap. The first shows you your entire suburb, with [[TRP|<span style="color: #58d">TRPs</span>]] 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 [[Template:BarricadePlanLegend|<span style="color: #58d">barricade plans</span>]]. The colors are:
'''<span style="color: #ea4">Auto Repair Shop</span>''', '''<span style="color: #a85">Factory</span>''', '''<span style="color: #e8b">Hospital</span>''', '''<span style="color: #9d8">Mall/Fort</span>''', '''<span style="color: #85a">Necrotech</span>''', '''<span style="color: #44e">Police Department</span>''', and '''<span style="color: #071a07; background-color: #565;">Outdoors</span>'''.
|-style="font-size: .8em;"
|-style="font-size: .8em;"
|colspan=3|[http://www.aichon.com/dumpbox/ud_userscripts/screenshots/udmap1.png Screenshot]
|colspan=3|[http://www.aichon.com/dumpbox/ud_userscripts/screenshots/udmap1.png Screenshot]
Line 252: Line 269:


==<span style="color: #ffc; font-weight: bold;">Discontinued</span>==
==<span style="color: #ffc; font-weight: bold;">Discontinued</span>==
The following userscripts have been discontinued. You can still download and use them, but no further updates will likely be offered for them, and any 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.
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.




Line 264: Line 281:
|original author Sean Dwyer
|original author Sean Dwyer
|-
|-
|colspan=3|Displays an estimate (accurate to within 30 minutes) of when your AP will be fully recovered. I wish I could configure it to determine when the AP [[tick|<span style="color: #58d">tick</span>]] would occur, but GreaseKit doesn't support the GM_* functions at the moment, so I don't see how I can program it to remember when the character's tick would occur. It borrows code from a few extensions and userscripts, hence why I consider it a modified release, rather than an original one.  If you liked it, check out UD Barrista, listed elsewhere on this page. It has this functionality included (and with fresh code).
|colspan=3|Displays an estimate of when your AP will be fully recovered. If you liked it, check out Barrista instead, listed elsewhere on this page, since it has this functionality built in.
|-style="font-size: .8em;"
|-style="font-size: .8em;"
|colspan=3|[http://www.aichon.com/dumpbox/ud_userscripts/screenshots/aprecoverytimeindicator1.png Screenshot]
|colspan=3|[http://www.aichon.com/dumpbox/ud_userscripts/screenshots/aprecoverytimeindicator1.png Screenshot]
Line 279: Line 296:
|original author Vaevictus
|original author Vaevictus
|-
|-
|colspan=3|Adds a menubar to the top of the UD screen, making it easier to select a few common actions. I've added quite a few additional buttons to the menubar, negating the need to have the buttons under the minimap for the Wiki, FAQ, Skills, Contacts, and others. I've also fixed a few minor bugs, changed the appearance slightly, and added it to a few more pages. If you're using it with [[#UD Zero Out Buttons|<span style="color: #58d">Zero Out Buttons</span>]], this script needs to be executed first. This script will not be receiving any further updates. If you liked it, check out UD Barrista, listed elsewhere on this page. It includes nearly all of the same functionality and adds quite a few new features and nice touches as well.
|colspan=3|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 [[#UD Zero Out Buttons|<span style="color: #58d">Zero Out Buttons</span>]] if you don't see a point in keeping those buttons under the minimap around any longer.''
|-style="font-size: .8em;"
|-style="font-size: .8em;"
|colspan=3|[http://www.aichon.com/dumpbox/ud_userscripts/screenshots/quicklinks1.png Screenshot]
|colspan=3|[http://www.aichon.com/dumpbox/ud_userscripts/screenshots/quicklinks1.png Screenshot]
Line 294: Line 313:
|version 1.0.1
|version 1.0.1
|-
|-
|colspan=3|Simply removes the buttons under the minimap to things like the Wiki, the FAQ, your Skills page, Contacts, etc. It's nice to have if you pair it up with QuickLinks or some other script that provides you access to those links anyway. If you don't have some other script that adds those links, I'd suggest avoiding this script. Also, '''make sure this script executes last'''. If you're using GreaseKit with the rest of my scripts, you're probably okay since they execute in alphabetical order (if you're using other people's scripts as well, and they started with something that comes after "UD Zero" alphabetically, you may have issues). If you're using Greasemonkey, move it to the bottom of the execution list, that way it comes after QuickLinks and most of the other scripts, otherwise you'll possibly run into issues. This script will not be receiving any further updates. Since I only used it in conjunction with QuickLinks, and I've replaced QuickLinks with UD Barrista, I've gone ahead and rolled both of their functionality into UD Barrista, listed elsewhere on this page.
|colspan=3|'''Known issues: If used with [[#QuickLinks|<span style="color: #58d">QuickLinks</span>]], 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|<span style="color: #58d">QuickLinks</span>]], since otherwise you'll be left without those buttons at all.''
|}
|}



Revision as of 07:55, 25 November 2009

Userscripts
Aichon:Userscripts
Aichon
ˈīˌkän :Userscripts

Intro and support

Urban Dead's interface leaves a bit to be desired, but thanks to the miracle of Greasemonkey for Firefox (or GreaseKit and Greasemetal for Safari and Chrome, respectively), the players can make them look and act differently. If you need help installing or setting up Greasemonkey/Kit/Metal, 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.

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 2009-09-01 version 1.0.1
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. If you're using Midianian's UDML, update to my version instead, otherwise this script won't work.
Screenshot


UD Barrista

Install updated 2009-11-05 version 1.0b2 - BETA RELEASE
Known issues: Beta release. Currently doesn't work in Firefox. Still has some minor bugs and inconsistencies. Feel free to report them.

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 XP, and an estimation of the time your AP will be full are up there (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.

The screenshots are outdated and show the b1 version, rather than the b2 version. Some major changes have occurred between versions.

Screenshot, Screenshot, Screenshot


UD Better HP Colorizer

Install updated 2009-10-02 version 1.0
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.

Future Plans: I intend to get it working with Scent Blood eventually, but right now it only works with Diagnosis.

Suggestion: Pair it with Better Name Colorer so you can see the HP values much more easily.

Screenshot, (with Better Name Colorer), Screenshot, (with Better Name Colorer)


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 2009-11-20 version 1.2.1
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.
Screenshot


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 2009-11-15 version 1.4
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.

Screenshot
For reference, here's Midianian's original UDBSC (doesn't work with forts).


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 2009-08-30 version 1.3.1
Puts links to the wiki and Red Rum maps for your suburb next to the suburb name. The only change I made was to make it play nice with A-GPS.
Screenshot
For reference, here's Midianian's original UDML (doesn't work with A-GPS).


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. It's a small thing, but it's nice to have.

For reference, here's Midianian's original UDRA.


UD Victim Link

Install updated 2009-11-15 version 1.4
Turns the victim's name in a killing or dragging into a link to the profile database. I had to fix it after the 2009-10-31 game update broke it.
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.


UD Better Name Colorer

Install updated 2009-10-27 original author gurujery
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, Screenshot (both screenshots are shown with Better HP Colorizer as well)


UDMap

Install updated 2009-11-21 original author Janzak
Known issues: Clicking on the "World Map" to select a different suburb currently does not highlight the suburb you clicked on or the suburb you are in.

Puts two more 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 Outdoors.

Screenshot


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 2009-08-30 original author Sean Dwyer
Displays an estimate of when your AP will be fully recovered. If you liked it, check out Barrista instead, listed elsewhere on this page, since it has this functionality built in.
Screenshot


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.

Screenshot


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.


To do and ideas

  • Caddy Healer: There's already a script that's supposed to do this (where "this" is displaying a list of the lowest HP people in a convenient location), but it doesn't seem to work in Safari. I figure I can write one without too much difficulty. Might be fun to make a Caddy Killer as well for PKers. Hmm...
  • Survivor Table Sorter: UDToolbar had awonderful feature that allowed it to sort the list of survivors at the current location by their activity. I fully intend to implement this feature at some point, since I found it to be the best feature in UDToolbar. I've got a basic (i.e. buggy) version running right now, but haven't had a chance to work on it in the last few days.
  • A way of coordinating recon within a group: UDBrain allows anyone using it to share data. It'd be nice if they had something like that, but just for groups. I don't think it's possible in Safari with just userscripts though, given the way that they lock things down.