NPC动作(NpcApprCfg.xml)

原文件:NPC动作(NpcApprCfg.xml).docx 更新时间:2026-04-10 12:39:30 大小:14.4 KB 图片:0 作者:Administrator

NPC动作(NpcApprCfg.xml)

  •  

配置文件:\996Woool\xml\NpcApprCfg.xml

  •  
  •  

参数说明

  •  
ApprId = Npc显示编号iAction = 0 = 等待动作  1=走路iStartIndex  =  起始素材编号iFrameMax  = 最大帧数iFrameReal = 实际帧数iFrameSpeed = 播放速度iEff = 如果对应NPC编号有特效 这里对应特效的通道模式
  •  

特殊NPC 只有1个素材的

  •  
  • 例:
<NpcApprList Ver="1">
  <NpcAppr Apprid="346">
      <unit iAction="0" iStartIndex="1" iFrameMax="8" iFrameReal="8" iFrameSpeed="16" iEff="1" />
      <unit iAction="1" iStartIndex="81" iFrameMax="8" iFrameReal="8" iFrameSpeed="4" iEff="1" />
  </NpcAppr></NpcApprList>
  •  


本页面由服务器脚本从原始 DOCX 自动生成。排版如与 Word 略有差异,请以原始 DOCX 为准。