[Crossfire-wiki] [Crossfire DokuWiki] page changed: dev:object_types
no-reply_wiki at metalforge.org
no-reply_wiki at metalforge.org
Sat Aug 8 10:16:06 CDT 2009
A page in your DokuWiki was added or changed. Here are the details:
Date : 2009/08/08 10:16
User : kbulgrien
Edit Summary: Fix broken links.
@@ -289,15 +289,16 @@
Note on directors:
Movers and Directors are separate objects, even though they look and act similar. Directors only do spells/missiles, while movers only do living creatures (depending on how it is set: monsters and players).
see also: [[director]] (112)
+
==== type 41: teleporter ====
Functionality of teleporters:
- When the player walks into a teleporter, he is transferred to a different location. The main difference to the object-type [[exit]] is the possibility to have teleporters connected to levers/buttons/etc. Sometimes teleporters are activated even against the players will.
+ When the player walks into a teleporter, he is transferred to a different location. The main difference to the object-type [[dev:object_types#type_66exit|exit]] is the possibility to have teleporters connected to levers/buttons/etc. Sometimes teleporters are activated even against the players will.
- Unlike [[exits]], teleporters can transfer also items and monsters to different locations on the same map.
+ Unlike [[dev:object_types#type_66exit|exits]], teleporters can transfer also items and monsters to different locations on the same map.
* "slaying <map_path>" defines the map that the player is transferred to. <map_path> can be an absolute path, beginning with '/' (for example "/peterm/FireTemple/fire1"). It can also be a relative path, not beginning with '/' (On the map "/peterm/FireTemple/Fire2" for example I could use the relative path "Fire1"). Use relative paths whenever possible! Note that upper/lower case must always be set correctly. However, please use lower case only. If the slaying is set, ONLY players can get teleported. If slaying is unset ("slaying 0"), anything can get teleported: Players, monsters and items. In this case, the destined map is automatically the same map the teleporter is on.
* "hp <number>", "sp <number>": hp, sp define the (x, y)- coordinates of the exit's destination. If both are set to zero and "slaying 0" is set, the player will get teleported to another, randomly chosen teleporter on the same map (Slightly confusing for the player though). Make sure there actually *is* a second one in that case. If both (sp,hp) are zero but slaying is set, the player will be transferred to the "default enter location" of the destined map. The latter can be set in the map's attributes as "hp"/"sp", with crossedit there are input masks labeled "Start X"/"Start Y". Though, please DO NOT use that. I wrote it here only so that you understand some existing maps. It turned out to be a source for numerous map-bugs.
* "speed <speed_value>": If speed is nonzero, the teleporter will automatically be activated in regular time-intervals. Hence, the player can just step on it and gets teleported sooner or later. The duration between two activates depends on <speed_value>. Default in the teleporter arch is "speed 0.1". VERY IMPORTANT: If you want to have your teleporter activated via button/handle/magic_ear/etc, you must set "speed 0"!
@@ -307,9 +308,9 @@
Teleporters must always be placed above the floor in order to work correctly!
When creating maps, I guess sooner or later you'll want to have an invisible teleporter. If using "invisible 1", the teleporter can still be discovered with the show_invisible spell. And you can't place it under the floor to prevent this. Fortunately, there is a cool trick to make a perfectly invisible teleporter: You simply add teleporter functionality to the floor itself. That means: You take the floor arch (e.g. "flagstone"), set "type 41", and add slaying/hp/sp/connected... everything you need.
- see also: [[exit]] (66)
+ see also: [[dev:object_types#type_66exit|exit]] (66)
==== type 42: creator ====
Functionality of creators:
IP-Address : 70.254.32.178
Old Revision: http://wiki.metalforge.net/doku.php/dev:object_types?rev=1248778957
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