Page 1 of 1
Custom Weapon and animap "human_" error [Solved]
Posted: Mon Jul 27, 2009 6:43 pm
by Tourny
Hi,
I made a staff weapon in XSI and exported with no errors.
Then I made an ODF but forgot to change the geometry from the bowcaster (which is what I edited) and it worked fine.
Then I went back and corrected my mistake.
Now whenever you play as the soldier and switch to that weapon (after spawning) it crashes.
The Error Log says:
Code: Select all
Message Severity: 3
.\Source\DisplaySoldier.cpp(349)
DisplaySoldier 'all_inf_rifleman' failed to find animmap human_
I checked the Common/Munged folder and found the correct animations.
It's looking for the default rifle animations.
Anyone got any ideas?
Re: Custom Weapon and Can't find animap "human_"
Posted: Mon Jul 27, 2009 6:55 pm
by DarthD.U.C.K.
hmm i think manderek had such an animmap error before but i dont think it was solved..
i could be wrong though
Re: Custom Weapon and Can't find animap "human_"
Posted: Mon Jul 27, 2009 7:03 pm
by Tourny
That's what the logs in my _BUILD\Sides folder say.
Re: Custom Weapon and Can't find animap "human_"
Posted: Mon Jul 27, 2009 7:03 pm
by AQT
Are you missing the line AnimationBank = "" or ComboAnimationBank = "" in the weapon's ODF?
Re: Custom Weapon and Can't find animap "human_"
Posted: Mon Jul 27, 2009 7:06 pm
by Tourny
No, but 'tis in a rather odd place.
That's the Weapon's ODF.
EDIT: I changed the ODF to reflect a change I made- the results did not differ. BTW, this is what happens when you try to play:
Map loads,
Side Selection functions,
Character Selection functions,
It crashes a few seconds after you click spawn.
As a side note, right before I crash I see the weapon doing the weapon floating thing.
Re: Custom Weapon and Can't find animap "human_"
Posted: Mon Jul 27, 2009 7:11 pm
by AQT
Try moving it beneath the line HighResGeometry = "all_1st_weap_inf_bowcaster" to see whether it would make a difference. It's probably picky like that.
Re: Custom Weapon and Can't find animap "human_"
Posted: Mon Jul 27, 2009 7:14 pm
by Tourny
I just did that. Read the post aboce yours, I edited it right as you posted.
EDIT: I've seen errors like these before when the character had its own skeleton and I told it to use animations from somewhere else. I fixed it by putting the animations into the skeleton's animation bank, or by erasing the skeleton. I would try that now but I don't know how it would work- since there are so many human_ animation banks- and it should be able to find them anyway, since they are in the common folder.
Re: Custom Weapon and Can't find animap "human_"
Posted: Mon Jul 27, 2009 7:27 pm
by AQT
At first I thought this problem was similar to the one found here:
http://www.gametoast.com/forums/viewtop ... 5&p=315673 I guess not.
Re: Custom Weapon and Can't find animap "human_"
Posted: Mon Jul 27, 2009 9:27 pm
by Tourny
zmrk......
I can try moving the Animation Bank line where it should be.
EDIT: It worked!!! Thanks AQT!