User:Aichon/Userscripts: Difference between revisions

From The Urban Dead Wiki
Jump to navigationJump to search
No edit summary
No edit summary
Line 5: Line 5:
|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 requirements 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 (and now [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 however they want and adding plenty of extra functionality to boot. If you need help installing or setting up Greasemonkey/Kit/Metal, I'm not the guy to ask. Once you get it installed though, you should be able to just click on the '''Install''' links I provide below to start using the scripts.
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.


If you like my scripts and find that you're using them, I highly 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 to this page. If a script you like has been updated, just click the '''Install''' link for it again, and you should get the new version of it automatically.
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.


I have tested these scripts exclusively in Safari for Mac using GreaseKit. They should all work in Greasemonkey. Greasemetal seems to have less functionality implemented, so I can't make any promises for it, but most of my scripts are pretty simple, so I'm guessing they should work. If you run into any trouble with the scripts, 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 there. 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.
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.
 
I have begun editing and creating a variety of userscripts to replicate the functionality of some of the Firefox extensions I've seen. Most of them are just minor aesthetic changes, but several of them greatly enhance the look and feel of the game to such an extent that it is hard to go back after having used them. I claim no credit for the work done on the modified releases by their original authors. I've also generally been lazy with updating the comments at the top of the code in them, so most of them don't have me listed as a contributor or have the changes I made listed.




==<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.


<!--
<!--
Line 20: Line 19:
|-
|-
|colspan=3|
|colspan=3|
===<span style="color: #ffc; font-weight: bold;">NAME_OF_SCRIPT_HERE</span>===
===<span style="color: #ffc; font-weight: bold; font-size: .9em;">NAME_OF_SCRIPT_HERE</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/SCRIPT_NAME_HERE.user.js Install]
|style="width: 50px;"|[http://www.aichon.com/dumpbox/ud_userscripts/SCRIPT_NAME_HERE.user.js Install]
Line 35: Line 34:
|-
|-
|colspan=3|
|colspan=3|
===<span style="color: #ffc; font-weight: bold;">UD A-GPS Coordinates</span>===
===<span style="color: #ffc; font-weight: bold; font-size: .9em;">UD A-GPS Coordinates</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/udagpscoordinates.user.js Install]
|style="width: 50px;"|[http://www.aichon.com/dumpbox/ud_userscripts/udagpscoordinates.user.js Install]
Line 41: Line 40:
|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 this script does not work with [[User:Midianian/Userscripts#UDML|<span style="color: #58d">Midianian's UD Map Links script</span>]]. I've posted a modified version of his script below that works with this script.
|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.
|-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 50: Line 49:
|-
|-
|colspan=3|
|colspan=3|
===<span style="color: #ffc; font-weight: bold;">UD Barrista - NEW - BETA</span>===
===<span style="color: #ffc; font-weight: bold; font-size: .9em;">UD Barrista - NEW - BETA</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 55:
|version 1.0b2 - BETA RELEASE
|version 1.0b2 - BETA RELEASE
|-
|-
|colspan=3|Be aware that this is a beta release, and as such ''does'' have some bugs and quality control issues. '''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. 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|'''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.


As for what it is, Barrista adds a menu bar to the top of the screen, much like QuickLinks, but it does a bit more as well — quite a bit more. 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). The standout feature is probably the addition of HP and AP bars, like what you might expect in a normal video game. They are colorized dynamically based on your actual AP and HP values, so you can watch your AP drain from a bright blue at 50 AP, to a dark blue at 10 AP, to red if you get any lower. Similarly, the HP goes from a nice green to orange to red as it gets drained.
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.


If you check the screenshots, you'll see that to the left of the bars is your character's name (acts as a link to your profile), your XP (acts as a link to your skills), and an approximation of the time that you'll next hit 50AP. To the right of the bars is another new feature: the barricade indicator. This square gets colorized using the same set of colors that I use in my modified Building State Colorizer. If you check the screenshots, shots 1 and 2 show what it looks like for characters that are capable of barricading (the indicator has a funky border), while shot 3 shows what it looks like for someone that is incapable of barricading (it's solid). People that are capable of barricading can click on the indicator to increase the barricade level of the building they're in.
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.


If you keep looking to the right, you'll see all of the links that used to be in QuickLinks (except for a few, but I'll get around to adding them soon). Additionally, if you checked the screenshots, you may have noticed that the RISE button only shows up for the zombie character. It, and the other buttons, are designed to only show up when you want them, as opposed to at all times, keeping the screen less cluttered. Speaking of clutter, you may have also noticed that the buttons and the text that's usually under the minimap is missing. Barrista removes that stuff since it handles it for you. All of the stats that used to be in the text are now in the top left corner, while the links are almost all in the top right (a few are missing, since they don't need to be used often).
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.


|-style="font-size: .8em;"
|-style="font-size: .8em;"
Line 72: Line 71:
|-
|-
|colspan=3|
|colspan=3|
===<span style="color: #ffc; font-weight: bold;">UD Better HP Colorizer</span>===
===<span style="color: #ffc; font-weight: bold; font-size: .9em;">UD Better HP 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/udbetterhpcolorizer.user.js Install]
|style="width: 50px;"|[http://www.aichon.com/dumpbox/ud_userscripts/udbetterhpcolorizer.user.js Install]
Line 87: Line 86:
|-
|-
|colspan=3|
|colspan=3|
===<span style="color: #ffc; font-weight: bold;">UD Same Character Highlighter</span>===
===<span style="color: #ffc; font-weight: bold; font-size: .9em;">UD Same Character Highlighter</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/udsamecharacterhighlighter.user.js Install]
|style="width: 50px;"|[http://www.aichon.com/dumpbox/ud_userscripts/udsamecharacterhighlighter.user.js Install]
Line 100: Line 99:
|-
|-
|colspan=3|
|colspan=3|
===<span style="color: #ffc; font-weight: bold;">UD Survivor Aggregator</span>===
===<span style="color: #ffc; font-weight: bold; font-size: .9em;">UD Survivor Aggregator</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/udsurvivoraggregator.user.js Install]
|style="width: 50px;"|[http://www.aichon.com/dumpbox/ud_userscripts/udsurvivoraggregator.user.js Install]
Line 112: Line 111:




==<span style="color: #ffc; font-weight: bold;">Modified releases</span>==
==<span style="color: #ffc; font-weight: bold;">Midianian's scripts</span>==
{|style="background-color: #212921; color: #ffc; border: #565 solid 1px;"
[[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.
|-
|colspan=3|
===<span style="color: #ffc; font-weight: bold;">UD Better Name Colorer</span>===
|-style="font-size: .8em;" align=left border=1px
|style="width: 50px;"|[http://www.aichon.com/dumpbox/ud_userscripts/udbetternamecolorer.user.js Install]
|style="width: 105px;"|updated 2009-10-27
|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.
|-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)
|}




Line 131: Line 118:
|-
|-
|colspan=3|
|colspan=3|
===<span style="color: #ffc; font-weight: bold;">UD Building State Colourizer</span>===
===<span style="color: #ffc; font-weight: bold; font-size: .9em;">UD Building State Colourizer</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/udbuildingstatecolourizer.user.js Install]
|style="width: 105px;"|updated 2009-09-29
|style="width: 105px;"|updated 2009-09-29
|original author Midianian
|version 1.4
|-
|-
|colspan=3|Colorizes some of the text on the page pertaining to barricade levels, generator/radio statuses, and a handful of other useful events. A few of the color and style choices "shouted" too much for my tastes, so I've modified almost all of them to provide better contrast on the screen and also to only "shout" when necessary. I also added the functionality to underline text.
|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:
{{ud|Lowerbox=<span style="color: #bcb; text-decoration: underline;">extremely heavily barricaded</span>, <span style="color: #3af">very heavily barricaded</span>, <span style="color: #3ff">heavily barricaded</span>, <span style="color: #3fa; text-decoration: underline; font-weight: bold;">very strongly barricaded</span>, <span style="color: #af3">quite strongly barricaded</span>, <span style="color: #ff3">lightly barricaded</span>, <span style="color: #fa3; font-weight: bold;">loosely barricaded</span>, <span style="color: #f33; font-weight: bold;">doors closed</span>, <span style="color: #a00; font-weight: bold;">doors open</span>, <span style="color: #a00">ransacked</span>, <span style="color: #333">ruined</span>, <span style="color: #bcb; text-decoration: underline;">portable generator</span>, <span style="color: #faa; font-weight: bold;">dented portable generator</span>, <span style="color: #e76; font-weight: bold;">battered portable generator</span>, <span style="color: #c42; font-weight: bold;">damaged portable generator</span>, <span style="color: #a00; font-weight: bold;">badly damaged portable generator</span>, <span style="color: #bcb; text-decoration: underline;">radio transmitter</span>, <span style="color: #faa; font-weight: bold;">dented radio transmitter</span>, <span style="color: #e76; font-weight: bold;">battered radio transmitter</span>, <span style="color: #c42; font-weight: bold;">damaged radio transmitter</span>, <span style="color: #a00; font-weight: bold;">badly damaged radio transmitter</span>, <span style="color: #bcb; text-decoration: underline">powered</span>, <span style="color: #faa; font-weight: bold;">low on fuel</span>, <span style="color: #333; font-weight: bold;">out of fuel</span>, <span style="color: #000; font-weight: bold;">lights out</span>}}
|-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]
Line 146: Line 134:
|-
|-
|colspan=3|
|colspan=3|
===<span style="color: #ffc; font-weight: bold;">UD Item Combiner, Organizer, and Sorter</span>===
===<span style="color: #ffc; font-weight: bold; font-size: .9em;">UD Item Combiner, Organizer, and Sorter</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/uditemcombinerorganizerandsorter.user.js Install]
|style="width: 50px;"|[http://www.aichon.com/dumpbox/ud_userscripts/uditemcombinerorganizerandsorter.user.js Install]
|style="width: 105px;"|updated 2009-10-12
|style="width: 105px;"|updated 2009-10-12
|original author Midianian
|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|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.
Line 161: Line 149:
|-
|-
|colspan=3|
|colspan=3|
===<span style="color: #ffc; font-weight: bold;">UDMap</span>===
===<span style="color: #ffc; font-weight: bold; font-size: .9em;">UD Map Links</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/udmap.user.js Install]
|style="width: 50px;"|[http://www.aichon.com/dumpbox/ud_userscripts/udmaplinks.user.js Install]
|style="width: 105px;"|updated 2009-10-23
|style="width: 105px;"|updated 2009-08-30
|original author Janzak
|version 1.3.1
|-
|-
|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|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.
'''<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>'''
|-style="font-size: .8em;"
|colspan=3|[http://www.aichon.com/dumpbox/ud_userscripts/screenshots/udmaplinks1.png Screenshot]
|}
 


Outdoor locations are still darkened, of course.
{|style="background-color: #212921; color: #ffc; border: #565 solid 1px;"
|-
|colspan=3|
===<span style="color: #ffc; font-weight: bold; font-size: .9em;">UD Radio Accelerator</span>===
|-style="font-size: .8em;" align=left border=1px
|style="width: 50px;"|[http://www.aichon.com/dumpbox/ud_userscripts/udradioaccelerator.user.js Install]
|style="width: 105px;"|updated 2008-12-21
|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.'''
|}


'''Known bug:''' Clicking on the right minimap to select a different suburb will not currently highlight the suburb to show you which one you clicked.


|-style="font-size: .8em;"
{|style="background-color: #212921; color: #ffc; border: #565 solid 1px;"
|colspan=3|[http://www.aichon.com/dumpbox/ud_userscripts/screenshots/udmap1.png Screenshot]
|-
|colspan=3|
===<span style="color: #ffc; font-weight: bold; font-size: .9em;">UD Victim Link</span>===
|-style="font-size: .8em;" align=left border=1px
|style="width: 50px;"|[http://www.aichon.com/dumpbox/ud_userscripts/udvictimlink.user.js Install]
|style="width: 105px;"|updated 2009-11-15
|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.
|}
|}
==<span style="color: #ffc; font-weight: bold;">Other modified releases</span>==
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.




Line 182: Line 194:
|-
|-
|colspan=3|
|colspan=3|
===<span style="color: #ffc; font-weight: bold;">UD Map Links</span>===
===<span style="color: #ffc; font-weight: bold; font-size: .9em;">UD Better Name Colorer</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/udmaplinks.user.js Install]
|style="width: 50px;"|[http://www.aichon.com/dumpbox/ud_userscripts/udbetternamecolorer.user.js Install]
|style="width: 105px;"|updated 2008-08-30
|style="width: 105px;"|updated 2009-10-27
|original author Midianian
|original author gurujery
|-
|-
|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|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.
|-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/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 197: Line 209:
|-
|-
|colspan=3|
|colspan=3|
===<span style="color: #ffc; font-weight: bold;">UD Victim Link</span>===
===<span style="color: #ffc; font-weight: bold; font-size: .9em;">UDMap</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/udvictimlink.user.js Install]
|style="width: 50px;"|[http://www.aichon.com/dumpbox/ud_userscripts/udmap.user.js Install]
|style="width: 105px;"|updated 2008-11-10
|style="width: 105px;"|updated 2009-10-23
|original author Midianian
|original author Janzak
|-
|-
|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|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:
'''<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.
 
|-style="font-size: .8em;"
|colspan=3|[http://www.aichon.com/dumpbox/ud_userscripts/screenshots/udmap1.png Screenshot]
|}
|}


Line 209: Line 229:
==<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 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.


{|style="background-color: #212921; color: #ffc; border: #565 solid 1px;"
{|style="background-color: #212921; color: #ffc; border: #565 solid 1px;"
|-
|-
|colspan=3|
|colspan=3|
===<span style="color: #ffc; font-weight: bold;">AP Recovery Time Indicator</span>===
===<span style="color: #ffc; font-weight: bold; font-size: .9em;">AP Recovery Time Indicator</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/udaprecoverytimeindicator.user.js Install]
|style="width: 50px;"|[http://www.aichon.com/dumpbox/ud_userscripts/udaprecoverytimeindicator.user.js Install]
Line 228: Line 249:
|-
|-
|colspan=3|
|colspan=3|
===<span style="color: #ffc; font-weight: bold;">QuickLinks</span>===
===<span style="color: #ffc; font-weight: bold; font-size: .9em;">QuickLinks</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/udquicklinks.user.js Install]
|style="width: 50px;"|[http://www.aichon.com/dumpbox/ud_userscripts/udquicklinks.user.js Install]
Line 243: Line 264:
|-
|-
|colspan=3|
|colspan=3|
===<span style="color: #ffc; font-weight: bold;">UD Zero Out Buttons</span>===
===<span style="color: #ffc; font-weight: bold; font-size: .9em;">UD Zero Out Buttons</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/udzerooutbuttons.user.js Install]
|style="width: 50px;"|[http://www.aichon.com/dumpbox/ud_userscripts/udzerooutbuttons.user.js Install]
Line 254: Line 275:


==<span style="color: #ffc; font-weight: bold;">To do and ideas</span>==
==<span style="color: #ffc; font-weight: bold;">To do and ideas</span>==
*A new menubar/HUD: While I've managed to modify QuickLinks to meet my needs for now, it's code is ugly and rather hackish. I'd love to take some time to rewrite it from scratch with better modularity and the ability to add or remove buttons more easily. Making it contextually aware would be a nice bonus too, since you don't always need all of the buttons displayed, and I'd really love to move the status info (i.e. HP, AP, XP, name) up there as well, just to clear up some more space.
*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...
*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...
*Building State Colourizer: Again, contextual awareness. While having the doors open and the barricades down might be something calling for red text for survivors, it might be better to have green for zombies. Other similar examples exist. It might require a complete rewrite though. Not sure.
*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.
*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.
*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.
Line 271: Line 290:
*[[#UD Same Character Highlighter|<span style="color: #58d">UD Same Character Highlighter</span>]]
*[[#UD Same Character Highlighter|<span style="color: #58d">UD Same Character Highlighter</span>]]
*[[#UD Survivor Aggregator|<span style="color: #58d">UD Survivor Aggregator</span>]]
*[[#UD Survivor Aggregator|<span style="color: #58d">UD Survivor Aggregator</span>]]
[[#Modified releases|<span style="color: #58d">Modified releases</span>]]
[[#Midianian's scripts|<span style="color: #58d">Midianian's scripts</span>]]
*[[#UD Better Name Colorer|<span style="color: #58d">UD Better Name Colorer</span>]]
*[[#UD Building State Colourizer|<span style="color: #58d">UD Building State Colourizer</span>]]
*[[#UD Building State Colourizer|<span style="color: #58d">UD Building State Colourizer</span>]]
*[[#UD Item Combiner, Organizer, and Sorter|<span style="color: #58d">UD Item Combiner, Organizer, and Sorter</span>]]
*[[#UD Item Combiner, Organizer, and Sorter|<span style="color: #58d">UD Item Combiner, Organizer, and Sorter</span>]]
*[[#UDMap|<span style="color: #58d">UDMap</span>]]
*[[#UD Map Links|<span style="color: #58d">UD Map Links</span>]]
*[[#UD Map Links|<span style="color: #58d">UD Map Links</span>]]
*[[#UD Radio Accelerator|<span style="color: #58d">UD Radio Accelerator</span>]]
*[[#UD Victim Link|<span style="color: #58d">UD Victim Link</span>]]
*[[#UD Victim Link|<span style="color: #58d">UD Victim Link</span>]]
[[#Other modified releases|<span style="color: #58d">Other modified releases</span>]]
*[[#UD Better Name Colorer|<span style="color: #58d">UD Better Name Colorer</span>]]
*[[#UDMap|<span style="color: #58d">UDMap</span>]]
[[#Discontinued|<span style="color: #58d">Discontinued</span>]]
[[#Discontinued|<span style="color: #58d">Discontinued</span>]]
*[[#AP Recovery Time Indicator|<span style="color: #58d">AP Recovery Time Indicator</span>]]
*[[#AP Recovery Time Indicator|<span style="color: #58d">AP Recovery Time Indicator</span>]]

Revision as of 02:27, 16 November 2009

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

Intro and support

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 Greasemonkey for Firefox (or GreaseKit for Safari and 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.

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.

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 talk page 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.


Original releases

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.


UD A-GPS Coordinates

Install updated 2009-09-01 version 1.0.1
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 Midianian's UD Map Links script, that you will need to use my modified UD Map Links, found below.
Screenshot


UD Barrista - NEW - BETA

Install updated 2009-11-05 version 1.0b2 - BETA RELEASE
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.

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.

Additionally, it also features a barricade indicator square that gets colorized to match the barricade coloring used by UD Building State Colourizer. 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.

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.

Screenshot, Screenshot, Screenshot


UD Better HP Colorizer

Install updated 2009-10-02 version 1.0
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 peach at nearly-full HP to reddish-pink 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.
Screenshot, (with Better Name Colorer), Screenshot, (with Better Name Colorer)


UD Same Character Highlighter

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


UD Survivor Aggregator

Install updated 2009-11-05 version 1.2
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.
Screenshot


Midianian's scripts

Midianian politely asked if I would be willing to handle updating some of his scripts 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.


UD Building State Colourizer

Install updated 2009-09-29 version 1.4
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 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:

extremely heavily barricaded, very heavily barricaded, heavily barricaded, very strongly barricaded, quite strongly barricaded, lightly barricaded, loosely barricaded, doors closed, doors open, ransacked, ruined, portable generator, dented portable generator, battered portable generator, damaged portable generator, badly damaged portable generator, radio transmitter, dented radio transmitter, battered radio transmitter, damaged radio transmitter, badly damaged radio transmitter, powered, low on fuel, out of fuel, lights out

Screenshot


UD Item Combiner, Organizer, and Sorter

Install updated 2009-10-12 version 1.2.1
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.
Screenshot


UD Map Links

Install updated 2009-08-30 version 1.3.1
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.
Screenshot


UD Radio Accelerator

Install updated 2008-12-21 version 1.0
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.


UD Victim Link

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


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
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.
Screenshot, Screenshot (both screenshots are shown with Better HP Colorizer as well)


UDMap

Install updated 2009-10-23 original author Janzak
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 new barricade plans on the wiki. The colors are as follows now:

Auto Repair Shop, Factory, Hospital, Mall/Fort, Necrotech, and Police Department

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.

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 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.


AP Recovery Time Indicator

Install updated 2009-08-30 original author Sean Dwyer
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 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).
Screenshot


QuickLinks

Install updated 2009-08-30 original author Vaevictus
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 Zero Out Buttons, 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.
Screenshot


UD Zero Out Buttons

Install updated 2009-08-29 version 1.0.1
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.


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.

Table of Contents

Intro and support

Original releases

Midianian's scripts

Other modified releases

Discontinued

To do and ideas