[Crossfire-wiki] [Crossfire DokuWiki] page changed: dev:objects
no-reply_wiki at metalforge.org
no-reply_wiki at metalforge.org
Fri Dec 8 05:36:14 CST 2006
A page in your DokuWiki was added or changed. Here are the details:
Date : 2006/12/08 05:36
User : ryo
Edit Summary: format
@@ -1157,67 +1157,42 @@
| hp | number of times to create before disappearing |
| lifesave | if 1, it will create the object every time it's triggered, and never disappear |
| slaying | the name the created object will bear |
| level | the level the created object will have |
+
===== Player Movers =====
- by peterm
+ by Peterm
- Player movers are objects which move objects above them. These objects
- must be alive. They are directional, so players can be made to move in
- a pattern, and so can monsters.
+ Player movers are objects which move objects above them. These objects must be alive. They are directional, so players can be made to move in a pattern, and so can monsters.
- Motion is involuntary. Additionally, players or monsters can be paralyzed
- so that they MUST move along a chain of movers.
+ Motion is involuntary. Additionally, players or monsters can be paralyzed so that they MUST move along a chain of movers.
Multisquare monsters can be moved by movers, however enough space is required.
Here is the meaning of various fields:
+ | attacktype | if nonzero, paralyzes anyone it moves (so they are forced to move along a chain). Default values is 0 |
+ | maxsp | the number of moves that the paralysis will rob the player of, if unset, and attacktype is nonzero, this becomes 2. By default, it is zero |
+ | move_type | what movement types this mover moves (replaces maxhp to denote flying creatures) |
+ | speed | how fast a chain of these will move a player along (default -0.2) |
+ | sp | the direction -- if unset (0) motion is random |
+ | level | if nonzero, players will be moved as well as monsters. 0 by default |
+ | lifesave | whether it can be used up, meaning is opposite, it may go away if lifesave is set. Default is not set |
+ | hp | if lifesave is set, the number of times (-1) it will move a player (i.e., it will move someone hp+1 times before it vanishes). default 0 |
+ | subtype | a bitmask that specifies which of arch, name, and race affect the race and slaying flags. If unspecified (or zero), all will be searched. The LSB is arch, the next bit is name, and the third bit is for race. See below for table |
+ | race | only affect objects with a arch/name/race matching this |
+ | slaying | don't affect objects with a arch/name/race matching |
+ Subtype table for the lazy:
+ | subtype 1 | only arch |
+ | subtype 2 | only name |
+ | subtype 3 | arch or name |
+ | subtype 4 | only race |
+ | subtype 5 | arch or race |
+ | subtype 6 | name or race |
+ | subtype 7 | all three |
- attacktype: if nonzero, paralyzes anyone it moves (so they are forced to
- move along a chain). Default values is 0
-
- maxsp: the number of moves that the paralysis will rob the player of,
- if unset, and attacktype is nonzero, this becomes 2. By default,
- it is zero.
-
- move_type: What movement types this mover moves (replaces maxhp to denote
- flying creatures)
-
- speed: how fast a chain of these will move a player along (default -0.2)
-
- sp: the direction--if unset (0) motion is random.
-
- level: if nonzero, players will be moved as well as monsters. 0 by default.
-
- lifesave: whether it can be used up, meaning is opposite, it may go away
- if lifesave is set. default is not set.
-
- hp: if lifesave is set, the number of times (-1) it will move a player
- (i.e., it will move someone hp+1 times before it vanishes.). default
- 0
-
- subtype: a bitmask that specifies which of arch, name, and race affect the
- race and slaying flags. If unspecified (or zero), all will be searched.
- The LSB is arch, the next bit is name, and the third bit is for race.
- Table for the lazy:
- subtype 1: only arch
- subtype 2: only name
- subtype 3: arch or name
- subtype 4: only race
- subtype 5: arch or race
- subtype 6: name or race
- subtype 7: all three
-
- race: only affect objects with a arch/name/race matching this.
-
- slaying: don't affect objects with a arch/name/race matching this.
-
- Note from Mark: Player Movers and Directors are seperate objects, even
- though they look and act similar. Directors only do spells/missiles,
- however, while player movers only do living creatures (depending on how it
- is set)
+ Note from Mark: Player Movers and Directors are separate objects, even though they look and act similar. Directors only do spells/missiles, however, while player movers only do living creatures (depending on how it is set)
===== Directors =====
Directors are objects that change the direcion of objects moving through the
IP-Address : 213.174.127.3
Old Revision: http://wiki.metalforge.net/doku.php/dev:objects?rev=1165577519
New Revision: http://wiki.metalforge.net/doku.php/dev:objects
--
This mail was generated by DokuWiki at
http://wiki.metalforge.net/
More information about the crossfire-wiki
mailing list