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

no-reply_wiki at metalforge.org no-reply_wiki at metalforge.org
Sat Jan 5 23:29:22 CST 2008


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

Date        : 2008/01/05 23:29
User        : kbulgrien
Edit Summary: Put more detail on HOLE object attributes.

@@ -10,8 +10,9 @@
    *  SVN
      * [[http://crossfire.svn.sourceforge.net/viewvc/crossfire/server/trunk/include/define.h|server/include/define.h]]
  
  ======Type Information======
+ 
  
  =====HOLE (94)=====
  
  Holes send objects that fall through them to a new location on the current map.
@@ -20,15 +21,18 @@
    * Become "full" (Can stop working) if destination is blocked.
    * May be opened and closed via connection.
    * Monsters, spells, etc. can fall through.
    * Can trigger on all movement types.
+   * Example: [[http://crossfire.svn.sourceforge.net/viewvc/crossfire/arch/trunk/connect/Hole/pit.arc|connect/Hole/pit.arc]]
  
  **Special Object Attributes**
  
- | connection | When a connection value is set, the pit can be opened/closed by activating the connection. |
- | destination X \\ destination Y | The pit will transport creatures (and items) randomly into a two-square radius of the destination coordinates.  If the destination square becomes blocked, the pit will act like it is filled up and will not work any more. |
- | position state | The position state defines the position of the gate:  Zero means completely open/down, the "number of animation-steps" (usually about 6 or 7) means completely closed/up state.  The default value is usually recommended. |
- | affected movement | Make creatures using these movement types fall into the pit.  Movement types other than walking is not the behavior expected from a pit, and other settings should only be used for map-mechanisms (e.g. for transporting flying monsters).  An interesting side-effect is if this flag is enabled, spell effects like fire/snow also make their way through the pit. |
+ ^ CrossfireEditor ^ arch ^ map ^ Description ^
+ | connection | | connected | When a connection value is set, the pit can be opened/closed by activating the connection. |
+ | destination X \\ destination Y | | hp \\ sp | The pit will transport creatures (and items) randomly into a two-square radius of the destination coordinates.  If the destination square becomes blocked, the pit will act like it is filled up and will not work any more. |
+ | position state | wc | | The position state defines the position of the gate:  Zero means completely open/down, the "number of animation-steps" (usually about 6 or 7) means completely closed/up state.  The default value is usually recommended. |
+ | affected movement | move_on | move_on | Make creatures using these movement types fall into the pit.  Movement types other than walking is not the behavior expected from a pit, and other settings should only be used for map-mechanisms (e.g. for transporting flying monsters).  An interesting side-effect is if this flag is enabled, spell effects like fire/snow also make their way through the pit. |
+ | | maxsp | | Whether the initial state is open (1) or closed (0). |
  
  =====Common Object Attributes=====
  
  | name | The name of the object displayed to players. |


IP-Address  : 70.254.39.97
Old Revision: http://wiki.metalforge.net/doku.php/dev:object_types?rev=1198904908
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