Target Codes

From The Urban Dead Wiki
Revision as of 01:31, 5 January 2009 by Boxy (talk | contribs) (navbar to other code pages)
Jump to navigationJump to search
Item Codes - Attack Codes - Target Codes

There are a number of times in Urban Dead that you can select a target - for example when attacking or healing. Targets are given in a dropdown list, and include things like other survivors and zombies present as well as sometimes things like barricades and generators. When a contact is present whether alive, dead, undead or reviving, the target is shown in target lists as bold and coloured according to the colour given in the contacts list.

Survivors as Targets

Survivors present in the block are always in target lists, displayed in stack order. When there are 50 or more survivors, the "[list names]" link to map.cgi?zoom is shown in the location description. As well as this when there are specifically over 50 survivors then in target lists the lines [ ... click 'list, names' to interact, with others ... ] are added after 50 survivors, and are followed by the last 25 survivors in the stack, unless there are 75 or fewer survivors in the crowd, when all except the 51st survivor is placed on the list - as at least one survivor is always hidden by these lines. When all survivors are displayed, then these lines are removed from the target lists and all survivors are present in the list.

Contacts as Targets

Any character in the Contacts List is shown as a target, whether alive as a survivor, undead as a zombie, dead (after losing all HP) or reviving (after being revived), unless they are inactive and so won't be displayed at all. Each contact is either given a colour (grey by default) or is ignored (and coloured with #787). All of these contacts are shown in the target lists as bold and coloured as they are in the contacts list. This is the only way that dead, undead or revivifying characters can be specifically targetted.

Target Lists

Attacks Target List: Shown when alive or undead before the attack method list. If any of the following are present, it lists them in the following order: 'a zombie', Survivors, Dead Undead or Reviving Contacts, Barricades, Generator, Radio, Christmas Trees, Christmas Lights. Note that dead or reviving bodies can't be attacked even though they are in the target list.

First Aid Kit: Shown after each FAK in the inventory. If any of the following are present, it lists them in the following order: 'a zombie', Survivors, Dead Undead or Reviving Contacts, Christmas Trees, Christmas Lights. Note that only zombies and survivors can be healed.

DNA Extractor Shown after each DNA Extractor in the inventory. If any of the following are present, it lists them in the following order: 'a zombie', Survivors, Dead Undead or Reviving Contacts, Christmas Trees, Christmas Lights. Note that only standing zombies can have their DNA extracted.

NecroTech Syringe Shown after each Syringe in the inventory. If any of the following are present, it lists them in the following order: 'a zombie', Survivors, Dead Undead or Reviving Contacts, Christmas Trees, Christmas Lights. Note that only standing zombies can be revived.

Stale Candy Shown after any Candy in the inventory. If any of the following are present, it lists them in the following order: 'a zombie', Survivors, Dead Undead or Reviving Contacts, Christmas Trees, Christmas Lights.

Flailing Gesture Shown when a zombie with Flailing Gesture. If any of the following are present, it uses the Flailing Gesture codes and lists them in the following order: 'yourself', Adjacent locations (left to right, top to bottom), Directions, 'the sky', 'the ground', 'the survivors', Survivors, Dead Undead or Reviving Contacts, 'a zombie', Generator, Radio, Christmas Tree, Christmas Lights.

Target Codes

In the source HTML, Target Codes are enclosed in inverted commas (") for letters and apostrophes (') for UDID numbers.

Code Target Name Notes
"" (blank) self Your own character
z a zombie The Zombie on the top of the block's stack
UDID# (Character Name) Survivors' and specific zombies' target codes are their UDIDs
b the barricades The block's barricades
g the generator A Portable Generator set up in the block
r the radio A Radio Transmitter set up in the block
h the tree A Dead Fir Tree or Plastic Christmas Tree set up in the block
i the lights A set of Christmas Lights set up in the block
" " (space) [ ... click 'list Shown if more than 50 survivors are present, after the 50th survivor
" " (space) names' to interact Shown if more than 50 survivors are present, after "[ ... click 'list"
" " (space) with others ... ] Shown if more than 50 survivors are present, after "names' to interact"

Additional codes for Flailing Gestures:

Code Target Name Action
xx-yy (GPS coordinates) (Location Name) Gesture to (Location Name)
dn the north Gesture to the north
dne the north-east Gesture to the north-east
de the north Gesture to the north
dse the south-east Gesture to the south-east
ds the south Gesture to the south
dsw the south-west Gesture to the south-west
dw the south Gesture to the south
dnw the north-west Gesture to the north-west
du the sky Raise your arms to the sky / Gesture at the ceiling
dd the ground Gesture down at the ground
dh the survivors* Gesture at the survivors.
dz other zombies* Gesture at the other zombies.

*Note: these options are present only when certain amount of survivors or zombies is present in a block

Additional codes for Binoculars:

Code Direction
n north
ne north-east
e east
se south-east
s south
sw south-west
w west
nw north-west