From: Keith F. <ven...@us...> - 2003-05-09 07:00:19
|
Update of /cvsroot/planeshift/planeshift/data In directory sc8-pr-cvs1:/tmp/cvs-serv4513 Added Files: npcbehave.xml Log Message: This file will contain all the behavior scripts for the npcs in the default npc superclient. --- NEW FILE: npcbehave.xml --- <npctypes> <npctype name="Wanderer"> <behavior name="walk" decay="0" growth="0" initial="80"> <move x="0" y="0" z="1" anim="walk" /> </behavior> <behavior name="turn" instant_decay="100" growth="0" initial="0"> <rotate type="random" min="90" max="270" anim="walk" /> </behavior> <react event="collision" behavior="turn" delta="100" /> <react event="out of bounds" behavior="turn" delta="100" /> </npctype> <npctype name="Blacksmith"> <behavior name="smith" decay="0" growth="0" initial="80"> <locate obj="raw metal" range="10" /> <navigate anim="walk" /> <pickup obj="raw metal" equip="lefthand" /> <loop iterations="20"> <locate obj="fire" range="10" /> <navigate anim="walk" /> <wait anim="stand" duration="30" /> <locate obj="anvil" range="10" /> <navigate anim="walk" /> <wait anim="hammer" duration="20" /> </loop> <locate obj="shelf" /> <navigate anim="walk" /> <drop slot="lefthand" /> </behavior> </npctype> </npctypes> |