User Tools

Site Tools


characters

Characters

Back to Tabs List.

Credit for most of the content on this page goes to the Wherigo Wiki

Characters in the Builder

Characters are animate beings with whom the player interacts in the course of the game. For example, the player might talk to a character, give something to a character or take something from a character. Characters can either help or impede the player, depending on how you design the game.

To add or edit a character, begin by choosing Characters from the main tabs. This will display a list of existing characters or items. To the right of this list, there are links for properties, events and map. When you select one of these links, the sub-tab corresponding to your selection will be opened.

When you add or edit an object, you will be asked to provide the following information.

  • The name of the object. Required.
  • A brief description. Optional.
  • A piece of media (picture) to represent the object on its detail screen. Optional. If omitted, no picuture appears on the detail screen.
  • An icon to represent the object in lists. Optional. If omitted, the builder provides a default icon.
  • The initial visibility setting for the object. Remember that this interacts with the visibility settings for any zone which contains the object.
  • The initial values for additional properties. For characters, gender and type.
  • To set or change a location, choose the Zone drop down and select a zone from the list.

You can also define commands for the object. You will see a green plus sign on the properties sub tab, which you can use to add, edit and delete commands.

Name

A brief, unique name. This is visible to the player in many places and serves to identify the character or item.

Description

An optional brief description. This is visible in lists (such as “you see” or “inventory”) as well as on the detail screen for the character or item. Always provide a description.

Media

An optional picture. This appears on the detail screen for the character or item. This is where the player interacts with the character or item.

Media objects can contain other media files than pictures (for example a sound file) but these have currently no effect with characters. If you associate a sound media with a character in the hope that the sound will play every time you display the character this will not (yet?) work.

Icon

An optional icon. This is a small symbol that represents the character or item in lists. If you do not provide an icon, the builder provides a dull, boring default.

Visibility

At any given time, a character or item may or may not be visible to the player. Visibility is determined by a combination of two factors.

  • Each zone has an object visibility setting which applies to all characters and items located in the zone. This setting can be “never”, “always”, “on enter” and “on proximity”. If the zone is set to “on enter”, objects can be visible only when the player is in the zone. If it is set to “on proximity”, objects can be visible only when the player is near (within the proximity distance of) the zone.
  • Each character or item has an individual visibility setting. An object is actually visible only if the zone allows it and the object itself is set to visible.

Container

Both characters and items usually have a location. This is expressed as latitude and longitude (with optional altitude). Typically, the position is within a zone. When you create a character or item in the builder, you can assign an initial location within any zone. During game play, you can move the character or item to a different zone.

Containment

Characters and items can be contained by zones, the player, or other characters or items. A given character or item can only be directly contained by one thing at a time.

  • Containment in a zone means that the object is located within the zone.
  • Containment by the player means that the object (typically an item) is in the player's inventory. For example, the player might have a book, a power cell, or a box.
  • Containment by another character means that the object (typically an item) is held by the character.
  • Containment by another item means that that object is logically within the containing item. For example, a letter might be in an envelope or coins might be in a box.

Initially, the builder allows you to optionally contain a character or item within a zone. This also implies that the object is located within the zone. During game play, you can move an object to a zone, to the player, to a character or to an item.(You can also move an object to “nowhere”, meaning that is not contained by any other object.) Note that an object which is contained by the player, a character or an item moves with the containing object. For example, if an envelope contains a letter and you move the envelope to a different zone, the letter moves with it. Similarly, anything in the player's inventory moves with the player.

In script, you can check to see what contains a particular item. This test refers to the immediate container. For example, suppose that an envelope contains a letter and the envelope has been moved to a particular zone. A test to see if the letter is in the envelope will be true. A test to see if the envelope is in the zone will also be true. However, a test to see if the letter is in the zone will be false. The letter's location is within the zone, but it is directly contained by the envelope, not the zone.

Other Properties

Characters have a few additional properties. Each property has a value, which you can set and test during game play. In addition, the builder allows you to give these properties initial values.

Characters have these additional properties.

  • Gender. May be male, female or it.
  • Type. May be NPC (gamer-speak for a non-player character, who is controlled by the computer) or PC (a player character, who is independently controlled by a player).

Commands

Characters and items can have associated commands. Commands provide a way for the player to interact with the virtual world. For example, you might have a command to talk to a character. Or a command to open a box or an envelope. Or a command to have a character ride a bicycle or a horse. You can also attach script to a command. When the player chooses to perform the command, the script executes. This gives you the opportunity to make changes as a result of the command. For example, if the player chooses to “take” a coin, you can move the coin to the player's inventory. Or if the player chooses to have a character ride the bicycle, you can move the character and bike to a different zone.

characters.txt · Last modified: 2012/07/09 23:54 (external edit)