admin
管理员
管理员
  • UID1
  • 注册日期2011-05-18
  • 最后登录2022-08-22
  • 粉丝94
  • 关注0
  • 发帖数1061
  • QQ
  • 铜币1232枚
  • 威望8点
  • 银元1218个
阅读:957回复:0

[飞飞架设]创造宠物

楼主#
更多 发布于:2011-12-12 10:48

您需要的文件:
propMover.txt
propMover.txt.txt
mdlDyna.inc
defineObj.h
propItem.txt
propItem.txt.txt
defintItem.h
以防万一:备份这些文件到你能记住的地方

我们将制作一个巨兽宠物。

defineItem.h
Code:
#define II_PET_BEHEMOTH 37539 [ 确保绿色的部分没有被使用 ]
这是用于/ CI命令的。
所以如果你在游戏中输入/ CI 37539。
在您的背包里应该​​有一个巨兽宝宝。


defineObj.h
Code:
#define MI_PET_BEHEMOTH 1541 [确保绿色的部分没有被使用 ]


mdlDyna.inc
[ mdlDyna这步有2部分 ]
第1步:

代码:
II_PET_BEHEMOTH MODELTYPE_MESH "" 0 MD_NEAR 0 1.0f 0 1 ATEX_NONE 1
[ 非常重要的步骤,确保您添加到NPC /小怪的位置。]
第2步:

代码:
Behemoth MI_PET_BEHEMOTH MODELTYPE_ANIMATED_MESH "" 0 MD_MID 0 0.06f 0 1 ATEX_NONE 1
{
"stand" MTI_STAND
"walk" MTI_WALK
 "idle1" MTI_IDLE1
"idle1" MTI_IDLE2
"dmg1" MTI_DMG1
 "dmg2" MTI_DMG2
 "dmgFly" MTI_DMGFLY
"dmgDie" MTI_DMGDIE
 "dmgLive" MTI_DMGLIVE
"die1" MTI_DIE1
"atk1" MTI_ATK1
"atk2" MTI_ATK2
"atk3" MTI_ATK3
"groggy" MTI_GROGGY
// extra
"walk" MTI_JUMP1
"walk" MTI_JUMP2
"walk" MTI_JUMP3
"walk" MTI_JUMP4
"walk" MTI_RUN
}
propItem.txt
代码:
6 II_PET_BEHEMOTH IDS_ETERNITYSPET_TXT_000024 1 1 IK1_GENERAL IK2_GENERAL IK3_PET = 1 1 = 4 = = = = = = = 0 = = 1 = = = 1 = MI_PET_BEHEMOTH 350 = _NONE = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = WUI_NOW = = PET_VIS = = = = = = 0 0 0 0 0 = = = = = = = = = = = = = = = SND_ITEM_GNEATFOOD = """Itm_SysSysEveCharm01.dds""" 0 """""" IDS_ETERNITYSPET_TXT_000025
 
propItem.txt.txt
【您可以更改名称和描述】

代码:
IDS_ETERNITYSPET_TXT_000024 小贝西摩斯
IDS_ETERNITYSPET_TXT_000025 一个贝西摩斯的小贝贝
propMover.txt:
代码:
MI_PET_BEHEMOTH IDS_PROPMOVER_TXT_002660 AII_PET 15 20 39 33 24 20 = BELLI_PEACEFUL = 1 = = RANK_LOW 0 = 1 = 1 1 = = = = = = = = = = = 1000 4000 2297 100 19 130 0 = 1 1 = 0.1 = 0 = = = 13 0 0 0.3 -0.3 0 30 = = = = 13 0 0 = = 1 II_WEA_HAN_HAND VT_ITEM = = = = = = = = SND_ITEM_ANIMAL SND_PC_DMGWANB = = = IDS_PROPMOVER_TXT_002661
 
propMover.txt.txt
代码:
IDS_PROPMOVER_TXT_002660 小贝西摩斯
您可以通过研究这些文件,并很容易地使其他怪物成为宠物。
哎...今天够累的,签到来了3...
游客

返回顶部