I was using the Adding New Units Guide by waveslave610, and everything worked out fine except for that the new character that I named Janitor Joe who was made from a maceman hero has no weapon, it's invisible. I'm sure it has something to do with this anim file because the protox is all set up correctly.
Here is the Janitor Joe_anim.txt file:
//========================================================== ====================
// maceman hero_Anim.txt
//======== hero======================================================== ==============
import atlantis_mace_anim.txt
//========================================================== ====================
define soul
{
set hotspot
{
version
{
Visualparticle SFX A Hero Soul
}
}
}
//========================================================== ====================
define soulaurora
{
set hotspot
{
version
{
Visualparticle SFX A Hero Soul Aurora
}
}
}
//========================================================== ====================
define heavenlight
{
set hotspot
{
version
{
Visualparticle SFX A Hero Soul Heaven Light
}
}
}
//========================================================== ====================
define soulbirth
{
set hotspot
{
version
{
Visualparticle SFX A Hero Soul Birth
}
}
}
//========================================================== ====================
define heroglow
{
set hotspot
{
version
{
Visualparticle SFX A Hero Glow Small
}
}
}
//========================================================== ====================
define Head
{
SetSelector
{
set hotspot
{
version
{
Visual Infantry X Maceman Head Hero
}
}
}
}
//========================================================== ====================
anim Idle
{
SetSelector
{
ContainLogic
SetSelector
{
set hotspot
{
version
{
Visual Infantry X MacemanH_idleA
ReplaceTexture Infantry X Maceman Iron/Infantry X Maceman Hero
connect RightHand Mace hotspot
ReplaceTexture maceman hero Head/Janitor Joe Head
ReplaceTexture maceman hero Standard/Janitor Joe Standard
ReplaceTexture maceman hero Hero Shield/Janitor Joe Shield
Connect TopOfHead Head hotspot
ReplaceTexture maceman hero Head/Janitor Joe Head
ReplaceTexture maceman hero Standard/Janitor Joe Standard
ReplaceTexture maceman hero Hero Shield/Janitor Joe Shield
Connect FRONTABDOMEN heroglow hotspot
ReplaceTexture maceman hero Head/Janitor Joe Head
ReplaceTexture maceman hero Standard/Janitor Joe Standard
ReplaceTexture maceman hero Hero Shield/Janitor Joe Shield
}
}
}
SetSelector
{
set hotspot
{
version
{
Visual Infantry X Maceman_carryidle
ReplaceTexture Infantry X Maceman Iron/Infantry X Maceman Hero
connect RightHand Mace hotspot
ReplaceTexture maceman hero Head/Janitor Joe Head
ReplaceTexture maceman hero Standard/Janitor Joe Standard
ReplaceTexture maceman hero Hero Shield/Janitor Joe Shield
Connect TopOfHead Head hotspot
ReplaceTexture maceman hero Head/Janitor Joe Head
ReplaceTexture maceman hero Standard/Janitor Joe Standard
ReplaceTexture maceman hero Hero Shield/Janitor Joe Shield
Connect FRONTABDOMEN heroglow hotspot
ReplaceTexture maceman hero Head/Janitor Joe Head
ReplaceTexture maceman hero Standard/Janitor Joe Standard
ReplaceTexture maceman hero Hero Shield/Janitor Joe Shield
}
}
}
}
}
//========================================================== ====================
anim Walk
{
SetSelector
{
ContainLogic
SetSelector
{
set hotspot
{
version
{
Visual Infantry X MacemanH_WalkA
ReplaceTexture Infantry X Maceman Iron/Infantry X Maceman Hero
//-- auto generated by the bang animation tool
//-- do not hand edit these values
tag FootstepLeft 0.60 true
tag FootstepRight 0.20 true
//-- end auto generated section
connect RightHand Mace hotspot
ReplaceTexture maceman hero Head/Janitor Joe Head
ReplaceTexture maceman hero Standard/Janitor Joe Standard
ReplaceTexture maceman hero Hero Shield/Janitor Joe Shield
Connect TopOfHead Head hotspot
ReplaceTexture maceman hero Head/Janitor Joe Head
ReplaceTexture maceman hero Standard/Janitor Joe Standard
ReplaceTexture maceman hero Hero Shield/Janitor Joe Shield
Connect FRONTABDOMEN heroglow hotspot
ReplaceTexture maceman hero Head/Janitor Joe Head
ReplaceTexture maceman hero Standard/Janitor Joe Standard
ReplaceTexture maceman hero Hero Shield/Janitor Joe Shield
}
}
}
SetSelector
{
set hotspot
{
version
{
Visual Infantry X Maceman_carry
ReplaceTexture Infantry X Maceman Iron/Infantry X Maceman Hero
//-- auto generated by the bang animation tool
//-- do not hand edit these values
tag FootstepLeft 0.60 true
tag FootstepRight 0.20 true
//-- end auto generated section
connect RightHand Mace hotspot
ReplaceTexture maceman hero Head/Janitor Joe Head
ReplaceTexture maceman hero Standard/Janitor Joe Standard
ReplaceTexture maceman hero Hero Shield/Janitor Joe Shield
Connect TopOfHead Head hotspot
ReplaceTexture maceman hero Head/Janitor Joe Head
ReplaceTexture maceman hero Standard/Janitor Joe Standard
ReplaceTexture maceman hero Hero Shield/Janitor Joe Shield
Connect FRONTABDOMEN heroglow hotspot
ReplaceTexture maceman hero Head/Janitor Joe Head
ReplaceTexture maceman hero Standard/Janitor Joe Standard
ReplaceTexture maceman hero Hero Shield/Janitor Joe Shield
}
}
}
}
}
//========================================================== ====================
anim Attack
{
SetSelector
{
TargetLogic none/AbstractCavalry
set hotspot
{
version
{
Visual Infantry X MacemanH_AttackA
ReplaceTexture Infantry X Maceman Iron/Infantry X Maceman Hero
//-- auto generated by the bang animation tool
//-- do not hand edit these values
tag Attack 0.56 true
tag GenericSound 0.40 true
tag SpecificSoundSet 0.45 false SwordSwing checkVisible
//-- end auto generated section
connect RightHand Mace hotspot
ReplaceTexture maceman hero Head/Janitor Joe Head
ReplaceTexture maceman hero Standard/Janitor Joe Standard
ReplaceTexture maceman hero Hero Shield/Janitor Joe Shield
Connect TopOfHead Head hotspot
ReplaceTexture maceman hero Head/Janitor Joe Head
ReplaceTexture maceman hero Standard/Janitor Joe Standard
ReplaceTexture maceman hero Hero Shield/Janitor Joe Shield
Connect FRONTABDOMEN heroglow hotspot
ReplaceTexture maceman hero Head/Janitor Joe Head
ReplaceTexture maceman hero Standard/Janitor Joe Standard
ReplaceTexture maceman hero Hero Shield/Janitor Joe Shield
}
}
set hotspot
{
version
{
Visual Infantry X MacemanH_AttackB
ReplaceTexture Infantry X Maceman Iron/Infantry X Maceman Hero
//-- auto generated by the bang animation tool
//-- do not hand edit these values
tag Attack 0.56 true
tag GenericSound 0.40 true
tag SpecificSoundSet 0.45 false SwordSwing checkVisible
//-- end auto generated section
connect RightHand Mace hotspot
ReplaceTexture maceman hero Head/Janitor Joe Head
ReplaceTexture maceman hero Standard/Janitor Joe Standard
ReplaceTexture maceman hero Hero Shield/Janitor Joe Shield
Connect TopOfHead Head hotspot
ReplaceTexture maceman hero Head/Janitor Joe Head
ReplaceTexture maceman hero Standard/Janitor Joe Standard
ReplaceTexture maceman hero Hero Shield/Janitor Joe Shield
Connect FRONTABDOMEN heroglow hotspot
ReplaceTexture maceman hero Head/Janitor Joe Head
ReplaceTexture maceman hero Standard/Janitor Joe Standard
ReplaceTexture maceman hero Hero Shield/Janitor Joe Shield
}
}
}
}
//========================================================== ====================
anim Death
{
SetSelector
{
set hotspot
{
version
{
Visual Infantry X MacemanH_DeathA
ReplaceTexture Infantry X Maceman Iron/Infantry X Maceman Hero
connect RightHand Mace hotspot
ReplaceTexture maceman hero Head/Janitor Joe Head
ReplaceTexture maceman hero Standard/Janitor Joe Standard
ReplaceTexture maceman hero Hero Shield/Janitor Joe Shield
Connect TopOfHead Head hotspot
ReplaceTexture maceman hero Head/Janitor Joe Head
ReplaceTexture maceman hero Standard/Janitor Joe Standard
ReplaceTexture maceman hero Hero Shield/Janitor Joe Shield
Connect FRONTABDOMEN heroglow hotspot
ReplaceTexture maceman hero Head/Janitor Joe Head
ReplaceTexture maceman hero Standard/Janitor Joe Standard
ReplaceTexture maceman hero Hero Shield/Janitor Joe Shield
}
}
}
}
//========================================================== ====================
anim Bored
{
SetSelector
{
ContainLogic
SetSelector
{
set hotspot
{
version
{
Visual Infantry X MacemanH_BoredA
ReplaceTexture Infantry X Maceman Iron/Infantry X Maceman Hero
connect RightHand Mace hotspot
ReplaceTexture maceman hero Head/Janitor Joe Head
ReplaceTexture maceman hero Standard/Janitor Joe Standard
ReplaceTexture maceman hero Hero Shield/Janitor Joe Shield
Connect TopOfHead Head hotspot
ReplaceTexture maceman hero Head/Janitor Joe Head
ReplaceTexture maceman hero Standard/Janitor Joe Standard
ReplaceTexture maceman hero Hero Shield/Janitor Joe Shield
Connect FRONTABDOMEN heroglow hotspot
ReplaceTexture maceman hero Head/Janitor Joe Head
ReplaceTexture maceman hero Standard/Janitor Joe Standard
ReplaceTexture maceman hero Hero Shield/Janitor Joe Shield
}
}
}
SetSelector
{
set hotspot
{
version
{
Visual Infantry X Maceman_CarryBored
ReplaceTexture Infantry X Maceman Iron/Infantry X Maceman Hero
connect RightHand Mace hotspot
ReplaceTexture maceman hero Head/Janitor Joe Head
ReplaceTexture maceman hero Standard/Janitor Joe Standard
ReplaceTexture maceman hero Hero Shield/Janitor Joe Shield
Connect TopOfHead Head hotspot
ReplaceTexture maceman hero Head/Janitor Joe Head
ReplaceTexture maceman hero Standard/Janitor Joe Standard
ReplaceTexture maceman hero Hero Shield/Janitor Joe Shield
Connect FRONTABDOMEN heroglow hotspot
ReplaceTexture maceman hero Head/Janitor Joe Head
ReplaceTexture maceman hero Standard/Janitor Joe Standard
ReplaceTexture maceman hero Hero Shield/Janitor Joe Shield
}
}
}
}
}
//========================================================== ====================
anim Flail
{
SetSelector
{
set hotspot
{
version
{
Visual Infantry X MacemanH_FlailA
ReplaceTexture Infantry X Maceman Iron/Infantry X Maceman Hero
connect RightHand Mace hotspot
ReplaceTexture maceman hero Head/Janitor Joe Head
ReplaceTexture maceman hero Standard/Janitor Joe Standard
ReplaceTexture maceman hero Hero Shield/Janitor Joe Shield
Connect TopOfHead Head hotspot
ReplaceTexture maceman hero Head/Janitor Joe Head
ReplaceTexture maceman hero Standard/Janitor Joe Standard
ReplaceTexture maceman hero Hero Shield/Janitor Joe Shield
Connect FRONTABDOMEN heroglow hotspot
ReplaceTexture maceman hero Head/Janitor Joe Head
ReplaceTexture maceman hero Standard/Janitor Joe Standard
ReplaceTexture maceman hero Hero Shield/Janitor Joe Shield
}
}
}
}
//========================================================== ====================
anim birth
{
SetSelector
{
set hotspot
{
version
{
Visual Infantry X Maceman_birth
ReplaceTexture Infantry X Maceman Iron/Infantry X Maceman Hero
connect RightHand Mace hotspot
ReplaceTexture maceman hero Head/Janitor Joe Head
ReplaceTexture maceman hero Standard/Janitor Joe Standard
ReplaceTexture maceman hero Hero Shield/Janitor Joe Shield
Connect TopOfHead Head hotspot
ReplaceTexture maceman hero Head/Janitor Joe Head
ReplaceTexture maceman hero Standard/Janitor Joe Standard
ReplaceTexture maceman hero Hero Shield/Janitor Joe Shield
Connect FRONTABDOMEN heroglow hotspot
ReplaceTexture maceman hero Head/Janitor Joe Head
ReplaceTexture maceman hero Standard/Janitor Joe Standard
ReplaceTexture maceman hero Hero Shield/Janitor Joe Shield
}
}
}
}