What might these errors mean? [Solved]

In this forum you will find and post information regarding the modding of Star Wars Battlefront 2. DO NOT POST MOD IDEAS/REQUESTS.

Moderator: Moderators

Post Reply
Noobasaurus
Droid Pilot Assassin
Droid Pilot Assassin
Posts: 2006
Joined: Tue Aug 17, 2010 5:56 pm

What might these errors mean? [Solved]

Post 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?
Last edited by Noobasaurus on Sat Jul 02, 2011 6:57 pm, edited 1 time in total.
CalvaryCptMike
Captain
Captain
Posts: 476
Joined: Sat Feb 19, 2011 3:10 pm
Projects :: Nothing--absolutely nothing
Location: Freed by alien robots, now living on Mars
Contact:

Re: What might these errors mean?

Post 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.
Noobasaurus
Droid Pilot Assassin
Droid Pilot Assassin
Posts: 2006
Joined: Tue Aug 17, 2010 5:56 pm

Re: What might these errors mean?

Post 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!
User avatar
Snork
Lieutenant General
Lieutenant General
Posts: 669
Joined: Thu Jun 07, 2007 3:34 pm
Games I'm Playing :: SWBF2 and Minecraft
xbox live or psn: No gamertag set
Contact:

Re: What might these errors mean?

Post by Snork »

post the unit odf also
Noobasaurus
Droid Pilot Assassin
Droid Pilot Assassin
Posts: 2006
Joined: Tue Aug 17, 2010 5:56 pm

Re: What might these errors mean?

Post 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
User avatar
Snork
Lieutenant General
Lieutenant General
Posts: 669
Joined: Thu Jun 07, 2007 3:34 pm
Games I'm Playing :: SWBF2 and Minecraft
xbox live or psn: No gamertag set
Contact:

Re: What might these errors mean?

Post 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
Noobasaurus
Droid Pilot Assassin
Droid Pilot Assassin
Posts: 2006
Joined: Tue Aug 17, 2010 5:56 pm

Re: What might these errors mean?

Post 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?
User avatar
Snork
Lieutenant General
Lieutenant General
Posts: 669
Joined: Thu Jun 07, 2007 3:34 pm
Games I'm Playing :: SWBF2 and Minecraft
xbox live or psn: No gamertag set
Contact:

Re: What might these errors mean?

Post 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.
Noobasaurus
Droid Pilot Assassin
Droid Pilot Assassin
Posts: 2006
Joined: Tue Aug 17, 2010 5:56 pm

Re: What might these errors mean?

Post by Noobasaurus »

Now I'm using Kiadimundi's animations and such and the same errors happen. :?
ARCTroopaNate
Jedi
Jedi
Posts: 1161
Joined: Mon Mar 21, 2011 8:12 pm
Projects :: Star Wars Battlefront - Tides of War
Games I'm Playing :: SWBF2 RC EAW
xbox live or psn: I have ps4
Location: STALKER!
Contact:

Re: What might these errors mean?

Post 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.
Noobasaurus
Droid Pilot Assassin
Droid Pilot Assassin
Posts: 2006
Joined: Tue Aug 17, 2010 5:56 pm

Re: What might these errors mean?

Post by Noobasaurus »

Changed that, and it works now! Thanks you guys for helping me! :D
Post Reply