[Crossfire-wiki] [Crossfire DokuWiki] page changed: dev:object_types

no-reply_wiki at metalforge.org no-reply_wiki at metalforge.org
Thu Jan 10 19:14:06 CST 2008


A page in your DokuWiki was added or changed. Here are the details:

Date        : 2008/01/10 19:14
User        : kbulgrien
Edit Summary: Add notes on blocksview.

@@ -604,14 +604,15 @@
    * "maxhp <number>" should only be set to a summoning rune. It will then summon <number> creatures of <monster_arch_name>.
     
  Notes on usage:
  Avoid monsters stepping on your runes. For example, summoning runes together with spellcasting- and  attack-runes is usually a bad idea. One can use this feature intentionally though to create chain-reactions of summoning runes and such things, however one should be careful about doing this.
+ 
  
  ===== Common Object Attributes =====
  
  The following attributes are used for many different object-types: (These are only mentioned here, not in the detailed list of object-types later. Apply them to all objects where they make any "sense".)
  
- ^ CrossfireEditor ^ Map field ^ Description ^
+ ^ CrossfireEditor ^ arch/map field ^ Description ^
  | name | name <name> | The name of the object displayed to players. |
  | title | title <title> |  An object's title. Once the object is identified the title is attached to the name. Typical titles are "of mostrai", "of xray vision" etc. |
  | image | face <name_of_face> | The image name defines what picture is displayed for the object. Look through the arches to get an idea of existing faces. |
  | | nrof <number | The number of objects in one stack (for example: 100 goldcoins => "nrof 100"). You should set at least "nrof 1" for any pickable object, otherwise it won't be mergeable! |
@@ -622,9 +623,9 @@
  | invisible | invisible 1 | Makes the object invisible. Depending on the object-type, some can be made visible by the show_invisible spell. If in doubt, test it. Putting an invisible object under the floor always prevents it from being shown, but, in some cases, might cause malfunction to the object. You may find more detailed info about this matter in the description of the affected object types. |
  | glow\ radius | | If glow radius is set to a value greater than zero, the object appears lit up on dark maps.  It can be a value between 0 and 4 with higher values emitting greater amounts of light. |
  | smooth level | | If smooth level is set to a value greater than zero, the object will be drawn partially over adjacent squares having a lower smooth level.  The value must be between 0 and 255 (inclusive) where 0 means "never overlap adjacent squares". |
  | elevation | | The elevation, or height above sea level) of this tile.  It is used for weather calculations and should be in the range -32000 to 32000.  The elevation of a tile must be set in the bottom-most game object; elevation values for non-bottom-most game objects are ignored by the Crossfire server. |
- | block view | | If set, players (and monsters) cannot see beyond the object unless they cross it or manage to stand on top of it. |
+ | block view | blocksview <0/1> | If set, players (and monsters) cannot see beyond the object unless they cross it or manage to stand on top of it. For multi-tile objects, this flag may be set uniquely for each part. |
  
  
  ======Server define.h Object Type Excerpt======
  


IP-Address  : 70.254.39.97
Old Revision: http://wiki.metalforge.net/doku.php/dev:object_types?rev=1199657970
New Revision: http://wiki.metalforge.net/doku.php/dev:object_types

-- 
This mail was generated by DokuWiki at
http://wiki.metalforge.net/




More information about the crossfire-wiki mailing list