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

no-reply_wiki at metalforge.org no-reply_wiki at metalforge.org
Fri Dec 1 06:12:24 CST 2006


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

Date        : 2006/12/01 06:12
User        : ryo
Edit Summary: format

@@ -645,8 +645,9 @@
  | 12 | 2048	| Rest treasures	| foods, scrolls, potions, jewels, etc |
  | 13 | 4096	| Artifacts		| Named weapons, special armors, etc |
  
  An archetype can belong to several editable families, by adding the values together.  For example, a value of 544 (512+32) would show up in both the special and walls menu.
+ 
  
  
  ===== Animations (anim - mina) (facings) =====
  
@@ -656,8 +657,9 @@
  
  In the archetype specification, there is a anim/mina sequence which lists
  faces are used for animations.  An example for the big dragon follows:
  
+ <code>
  anim
  dragon.171
  dragon.172
  dragon.173
@@ -666,10 +668,11 @@
  dragon.132
  dragon.133
  dragon.132
  mina
+ </code>
  
-  Anything that is animated must have such a sequence.
+ Anything that is animated must have such a sequence.
  
  FLAG_ANIMATE (anim, mina)is used to inform crossfire that this object should
  be constantly animated.  A case where an anim section as above is used but
  FLAG_ANIMATE is not set is for arrows and other objects in which the anim
@@ -677,20 +680,22 @@
  the object.
  
  facings is used in conjunctin with FLAG_ANIMATE.  This is a states
  the number of facing the objects has (2, 4, or 8 - 1 is the default).
- the number of faces in the anim/mina sequence must be a multiple of
+ The number of faces in the anim/mina sequence must be a multiple of
  num facings..
  
  here is an example of using animation and facings:
  
+ <code>
  anim
  facings 2
  fred.131
  fred.132
  fred.171
  fred.172
  mina
+ </code>
  
  The facings go clockwise (1 north (up), 3 east (right), 5 south (down), 
  etc).
  
@@ -709,10 +714,8 @@
  is used, the object must still have a nonzero speed for it to work.
  
  In terms of frequency of animations, 1/anim_speed = object speed.
  Thus if an object has speed of 0.2, its anim_speed is effectively 5.
- 
- 
  
  ===== Material types (material) =====
  
  Material       bit


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