ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/Deliantra/res/types.xml
(Generate patch)

Comparing deliantra/Deliantra/res/types.xml (file contents):
Revision 1.9 by root, Mon Mar 20 03:31:45 2006 UTC vs.
Revision 1.11 by root, Thu Mar 23 20:15:08 2006 UTC

244 <entry bit="0" name="Walk" /> 244 <entry bit="0" name="Walk" />
245 <entry bit="1" name="Fly Low" /> 245 <entry bit="1" name="Fly Low" />
246 <entry bit="2" name="Fly High" /> 246 <entry bit="2" name="Fly High" />
247 <entry bit="3" name="Swim" /> 247 <entry bit="3" name="Swim" />
248 <entry bit="4" name="Boat" /> 248 <entry bit="4" name="Boat" />
249 <entry bit="16" name="Other" />
249</bitmask> 250</bitmask>
250 251
251<!--###################### list definitions ######################--> 252<!--###################### list definitions ######################-->
252 253
253<list name="direction"> 254<list name="direction">
393 <entry value="11" name="close" /> 394 <entry value="11" name="close" />
394 <entry value="12" name="timer" /> 395 <entry value="12" name="timer" />
395 <entry value="28" name="move" /> 396 <entry value="28" name="move" />
396</list> 397</list>
397 398
399<list name="attack_movement_bits_0_3">
400 <entry value="0" name="default" />
401 <entry value="1" name="attack from distance" />
402 <entry value="2" name="run away" />
403 <entry value="3" name="hit and run" />
404 <entry value="4" name="wait, then hit, then move" />
405 <entry value="5" name="rush blindly" />
406 <entry value="6" name="always run" />
407 <entry value="7" name="attack from distance if hit" />
408 <entry value="8" name="do not approach" />
409</list>
410
411<list name="attack_movement_bits_4_7">
412 <entry value="0" name="none" />
413 <entry value="16" name="pet" />
414 <entry value="32" name="small circle" />
415 <entry value="48" name="large circle" />
416 <entry value="64" name="small horizontal" />
417 <entry value="80" name="large horizontal" />
418 <entry value="96" name="random direction" />
419 <entry value="112" name="random movement" />
420 <entry value="128" name="small vertical" />
421 <entry value="144" name="large vertical" />
422</list>
423
398<!--###################### default attributes ######################--> 424<!--###################### default attributes ######################-->
399 425
400<!-- 426<!--
401 The attributes of the default_type get added to all other types by default. 427 The attributes of the default_type get added to all other types by default.
402 Every type can have an 'ignore' element however, which is used to specify 428 Every type can have an 'ignore' element however, which is used to specify
3145 the creature wakes up. This is done as a square, for reasons of speed. 3171 the creature wakes up. This is done as a square, for reasons of speed.
3146 Thus, if the &lt;sensing range&gt; is 11, any player that moves within the 3172 Thus, if the &lt;sensing range&gt; is 11, any player that moves within the
3147 11x11 square of the monster will wake the monster up. If the player 3173 11x11 square of the monster will wake the monster up. If the player
3148 has stealth, the size of this square is reduced in half plus 1. 3174 has stealth, the size of this square is reduced in half plus 1.
3149 </attribute> 3175 </attribute>
3150 <attribute arch="attack_movement" editor="attack movement" type="int"> 3176 <attribute arch="attack_movement_bits_0_3" editor="attack movement" type="list_attack_movement_bits_0_3">
3177 If this is set to default, the standard mode of movement will be used.
3178 </attribute>
3179 <attribute arch="attack_movement_bits_4_7" editor="normal movement" type="list_attack_movement_bits_4_7">
3180 This movement is not in effect when the monster has an enemy and should
3181 only be used for non agressive monsters.
3151 </attribute> 3182 </attribute>
3152 <attribute arch="run_away" editor="run at % health" type="int"> 3183 <attribute arch="run_away" editor="run at % health" type="int">
3153 This is a percentage value in the range 0-100. 3184 This is a percentage value in the range 0-100.
3154 When the monster's health points drop below this percentage 3185 When the monster's health points drop below this percentage
3155 (relative to max health), it attempts to run away from the 3186 (relative to max health), it attempts to run away from the

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines