关于神话时代兵种的指定问题
大佬们,我想问下如何指定兵种的模型(就是将A模型套到B模型上),以及修改兵种的武器?谢谢 参考https://www.aoebbs.net/tutorial-99-10.html和https://www.aoebbs.net/thread-74-1-1.html {:7_238:}我似乎帮不上忙我不太清楚以前我是怎样找神话时代武器的,我现在找不到{:7_238:}
最下面的内容connect RightHand Staff hotspot调用了staff;但我找不到staff是在哪里定义的。应该不影响你换武器
anim/anim.bar
anim文件名格式为protoname_anim.txt;如果protox.xml里面的调用名有空格,那么anim文件也要保持一致
下面的文件是冥王之子(欧西里斯之子)pharaoh of osiris xp_anim.txt
//==============================================================================
// Hero Egyptian_anim.txt
//==============================================================================
//==============================================================================
define heroglow
{
set hotspot
{
version
{
Visualparticle SFX A Hero Glow Small
}
}
}
//==============================================================================
define Staff
{
set hotspot
{
version
{
Visual Attachment E Staff
}
}
}
//==============================================================================
define Glow
{
set hotspot
{
version
{
Visualparticle SFX E Son of Osiris Glow
}
}
}
//==============================================================================
anim Idle
{
SetSelector
{
ContainLogic
SetSelector
{
set hotspot
{
version
{
Visual SFX E Son of Osiris_IdleA
Connect FRONTABDOMEN heroglow hotspot
Connect TopOfHead Head hotspot
connect RightHand Staff hotspot
}
}
}
SetSelector
{
set hotspot
{
version
{
Visual SFX E Son of Osiris_carryidleA
Connect FRONTABDOMEN heroglow hotspot
Connect TopOfHead Head hotspot
connect RightHand Staff hotspot
}
}
}
}
}
//==============================================================================
anim Bored
{
SetSelector
{
ContainLogic
SetSelector
{
set hotspot
{
version
{
Visual SFX E Son of Osiris_BoredA
Connect FRONTABDOMEN heroglow hotspot
Connect TopOfHead Head hotspot
connect RightHand Staff hotspot
}
}
}
SetSelector
{
set hotspot
{
version
{
Visual SFX E Son of Osiris_CarryBoredA
Connect FRONTABDOMEN heroglow hotspot
Connect TopOfHead Head hotspot
connect RightHand Staff hotspot
}
}
}
}
}
//==============================================================================
anim Walk
{
SetSelector
{
ContainLogic
SetSelector
{
set hotspot
{
version
{
Visual SFX E Son of Osiris_walkA
//-- auto generated by the bang animation tool
//-- do not hand edit these values
tag FootstepLeft 0.00 true
tag FootstepRight 0.50 true
//-- end auto generated section
Connect FRONTABDOMEN heroglow hotspot
Connect TopOfHead Head hotspot
connect RightHand Staff hotspot
}
}
}
SetSelector
{
set hotspot
{
version
{
Visual SFX E Son of Osiris_CarryA
//-- auto generated by the bang animation tool
//-- do not hand edit these values
tag FootstepLeft 0.00 true
tag FootstepRight 0.50 true
//-- end auto generated section
Connect FRONTABDOMEN heroglow hotspot
Connect TopOfHead Head hotspot
connect RightHand Staff hotspot
}
}
}
}
}
//==============================================================================
anim Charging
{
SetSelector
{
set hotspot
{
version
{
Visual SFX E Son of Osiris_attackA
//-- auto generated by the bang animation tool
//-- do not hand edit these values
tag Attack 0.55 true
tag GenericSound 0.35 true
tag SpecificSoundSet 0.55 false OsirisBolt checkVisible
//-- end auto generated section
Connect FRONTABDOMEN heroglow hotspot
Connect TopOfHead Head hotspot
connect RightHand Staff hotspot
Connect SMOKE0 Glow hotspot
}
}
}
}
//==============================================================================
anim Death
{
SetSelector
{
set hotspot
{
version
{
Visual SFX E Son of Osiris_deathA
Connect FRONTABDOMEN heroglow hotspot
connect TopOfHead Head hotspot
connect RightHand Staff hotspot
}
}
}
}
//==============================================================================
anim Empower
{
SetSelector
{
set hotspot
{
version
{
Visual SFX E Son of Osiris_Empower
Connect FRONTABDOMEN heroglow hotspot
connect TopOfHead Head hotspot
connect RightHand Staff hotspot
}
}
}
}
//==============================================================================
anim Heal
{
SetSelector
{
set hotspot
{
version
{
Visual SFX E Son of Osiris_Empower
//-- auto generated by the bang animation tool
//-- do not hand edit these values
tag SpecificSoundSet 0.00 false Heal checkVisible
//-- end auto generated section
Connect FRONTABDOMEN heroglow hotspot
connect TopOfHead Head hotspot
connect RightHand Staff hotspot
}
}
}
}
//==============================================================================
anim Build
{
SetSelector
{
set hotspot
{
version
{
Visual SFX E Son of Osiris_Empower
//-- auto generated by the bang animation tool
//-- do not hand edit these values
tag SpecificSoundSet 0.00 false PharaohBuild checkVisible
//-- end auto generated section
Connect FRONTABDOMEN heroglow hotspot
connect TopOfHead Head hotspot
connect RightHand Staff hotspot
}
}
}
}
//==============================================================================
anim Flail
{
SetSelector
{
set hotspot
{
version
{
Visual SFX E Son of Osiris_flailA
//-- auto generated by the bang animation tool
//-- do not hand edit these values
tag Attack 0.40 true
tag GenericSound 0.40 true
//-- end auto generated section
Connect FRONTABDOMEN heroglow hotspot
Connect TopOfHead Head hotspot
connect RightHand Staff hotspot
}
}
}
}
好像找到了{:4_89:}
attachment e staff就是武器的文件;Visual后面就是brg模型的文件名,不带后缀名;brg文件在models/models.bar里面
//==============================================================================
define Staff
{
set hotspot
{
version
{
Visual Attachment E Staff
}
}
}
页:
[1]