Create Weapon Tutorial

Creating Weapons!! Woo!!!

  1. Make sure the object type is weapon.
  2. Set the name. The name is what you see when you get it or have it in your inventory or when you wield it.
  3. Now set the short desc. The short desc is what you see when you come across the weapon in the room.
  4. Set keywords. Make sure the keywords are obvious. They should be something in the name and/or short. Multiple keywords can be good, so someone can wield sharp vs wield black when they have two daggers. Pet Peeve: The keywords MUST MUST MUST reflect the short desc and name. Do not make the player "drop all" to drop your item, or "get all" to get it.
  5. Set the long desc. The long desc is what you see when you look at it. Type the word "long" when you're in oedit; it will put you into the editor. Edit as with any description. Yay, objects have descriptions!
  6. Now you get to set the values.
    1. The first value in the value series is the weapon type. Now we currently have 3 working types:
      • 0 = Sword
      • 1 = Whip
      • 2 = Broadsword
    2. The second value is the weapon's minimum damage, and the third is maximum. Needless to say, 3 should be > than 2. Y'know, if you want it to do damage. >_>
    3. And the 4th value is unused as of the time of writing this doc.

.......................
Here's a sample weapon.
.......................


Number: 48 in area 2: Middai-Human start town-Briyer
Name: a cheap dagger Keywords: dagger
Short desc: A cheap dagger lies discarded here.
Long desc: Made of poor metal, nicked a bit, in need of sharpening and possibly a new wrapping for the hilt... still, if it's just you and a warehouse rat, this dagger might be slightly better than your bare hands.


Flags: holdable
Type: weapon
Values: 1 5 10 0
Weight: 1
Material: copper

Provider: MV Communications, Inc.

Last Modified: 14 July 05