Page 1 of 1

What might these errors mean? [Solved]

Posted: Sat Jul 02, 2011 3:08 pm
by Noobasaurus
So I add another custom unit to my side (the first one works fine) and it crashes. I look at the error log and it says this:
Hidden/Spoiler:
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\SoldierAnimatorClass.cpp(1881)
Can't find soldier animation human_sabre_jumpattack_recover(_upper)


Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\SoldierAnimatorClass.cpp(1881)
Can't find soldier animation bdroid_sabre_jumpattack_recover(_upper)

ifs_sideselect_fnEnter(): Map does not support custom era teams
ifs_sideselect_fnEnter(): The award settings file does not exist
ifs_sideselect_fnEnter(): Map does not support custom era teams
My custom unit just has a metal pole (it is using yoda's combo) and a thermal detonator. Anyone know what is wrong?

Re: What might these errors mean?

Posted: Sat Jul 02, 2011 3:17 pm
by CalvaryCptMike
My first guess would be that it
Can't find soldier animation human_sabre_jumpattack_recover(_upper)
and
Can't find soldier animation bdroid_sabre_jumpattack_recover(_upper)
... :p

You will have to munge a new animation set using a regular basepose and yoda's anims, then add the animation name to your ODF. Instructions on how you can do this are in the FAQ.

Also posting your ODF would really help alot.

Re: What might these errors mean?

Posted: Sat Jul 02, 2011 3:52 pm
by Noobasaurus
The weapon's odf is:
Hidden/Spoiler:
[WeaponClass]

ClassLabel = "melee"
ClassParent = "com_weap_inf_lightsaber"

[Properties]

GeometryName = "comstaf"
//////PLS FILL IN THE THIRD PARAMETER(I.E. name of the combo file ur using; maul, obiwan, etc.)
ComboAnimationBank = "human_sabre melee rep_hero_yoda"

NumDamageEdges = "2"
FirePointName = "hp_fire"
LightSaberLength = "1.2"
LightSaberWidth = "0.08"
LightSaberTrailColor = "191 191 191"

FirePointName = "hp_fire1"
LightSaberLength = "1.3"
LightSaberWidth = "0.08"
LightSaberTrailColor = "191 191 191"
You were asking for the weapon's odf, right? Now I shall go look in the FAQ and find out some more stuff!

Re: What might these errors mean?

Posted: Sat Jul 02, 2011 4:13 pm
by Snork
post the unit odf also

Re: What might these errors mean?

Posted: Sat Jul 02, 2011 5:05 pm
by Noobasaurus
Here is the unit's odf:
Hidden/Spoiler:
[GameObjectClass]
ClassLabel = "soldier"
ClassParent = "rep_inf_default_rocketeer_ep"

[Properties]
UnitType = "assault"
IconTexture = "rep_gunner_icon"

GeometryName = "rep_inf_arctrooper"
FirstPerson = "REP\reparc;rep_1st_arctrooper"
GeometryLowRes = "rep_inf_arctrooper_low1"
ClothODF = "rep_inf_arctrooper_cape"

MaxHealth = 450.0

OverrideTexture = "rep_inf_arc_blue"
OverrideTexture2 = "rep_inf_arc_pack_blue"


WEAPONSECTION = 1
WeaponName1 = "comstaf"
WeaponAmmo1 = 0

WEAPONSECTION = 3
WeaponName3 = "rep_weap_inf_thermaldetonator"
WeaponAmmo3 = 2
WeaponChannel3 = 1
And here is the other odf it is refrencing to:
Hidden/Spoiler:
[GameObjectClass]
ClassParent = "rep_inf_default"

[Properties]
UnitType = "support"

AnimationName = "mace"

MaxHealth = 550.0

MaxSpeed = 6.5 // base forward speed
MaxStrafeSpeed = 5.0 // base right/left speed

WEAPONSECTION = 1
WeaponName = "comstaf"
WeaponAmmo = 0

WEAPONSECTION = 3
WeaponName = "rep_weap_inf_thermaldetonator"
WeaponAmmo = 2
WeaponChannel = 1


VOUnitType = 121

Re: What might these errors mean?

Posted: Sat Jul 02, 2011 5:07 pm
by Snork
right off the bat, you're trying use yoda's attacks but mace's animations. This is not necessarily the cause of your problems, but you should fix it anyway

Re: What might these errors mean?

Posted: Sat Jul 02, 2011 5:13 pm
by Noobasaurus
Snork wrote:right off the bat, you're trying use yoda's attacks but mace's animations. This is not necessarily the cause of your problems, but you should fix it anyway
They are both yoda now, but I believe that was not the problem. I believe that this:
CodaRez wrote:-On the other hand, PLS add the extra perimeter in the "ComboAnimationBank" line with the combo file u are using
(if you don't understand, you should probably read the jedi side docs before using this in a map)
is the cause of the problems. It ways to add in an extra perimeter in the ComboAnimationBank which I have no idea how to do. Perhaps someone does know?

Re: What might these errors mean?

Posted: Sat Jul 02, 2011 5:18 pm
by Snork
No, I believe you did that correctly. Hmm.

Trying to use yoda's combo and animations without using his skeleton is probably causing you problems.

Re: What might these errors mean?

Posted: Sat Jul 02, 2011 6:06 pm
by Noobasaurus
Now I'm using Kiadimundi's animations and such and the same errors happen. :?

Re: What might these errors mean?

Posted: Sat Jul 02, 2011 6:31 pm
by ARCTroopaNate
Your Thermal Detonator is in weapon section 3 instead of two. I don't think this is your problem but it might help.

Re: What might these errors mean?

Posted: Sat Jul 02, 2011 6:56 pm
by Noobasaurus
Changed that, and it works now! Thanks you guys for helping me! :D