A little hitch in making my custom side

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
User avatar
SlyCoopersButt
First Lance Corporal
First Lance Corporal
Posts: 121
Joined: Thu Jul 19, 2007 6:57 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: United States:GA
Contact:

A little hitch in making my custom side

Post by SlyCoopersButt »

I've been following the tutorial linked to in the everything you need to know thread about making a new side and adding a new unit and it went fairly well. However, I can only get as far as the spawn screen with my unit there. As soon as I attempt to spawn I crash to desktop.

Image

My mod tools log
Hidden/Spoiler:
Message Severity: 3
.\Source\DisplaySoldier.cpp(349)
DisplaySoldier 'sly_inf_rocketeer_snow' failed to find animmap human_

Message Severity: 3
.\Source\DisplaySoldier.cpp(240)
DisplaySoldier 'sly_inf_rocketeer_snow' failed to find animmap human_

Message Severity: 3
.\Source\DisplaySoldier.cpp(349)
DisplaySoldier 'sly_inf_rocketeer_snow' failed to find animmap human_

Message Severity: 3
.\Source\DisplaySoldier.cpp(240)
DisplaySoldier 'sly_inf_rocketeer_snow' failed to find animmap human_

Message Severity: 3
.\Source\DisplaySoldier.cpp(349)
DisplaySoldier 'sly_inf_rocketeer_snow' failed to find animmap human_

Message Severity: 3
.\Source\DisplaySoldier.cpp(240)
DisplaySoldier 'sly_inf_rocketeer_snow' failed to find animmap human_

Message Severity: 3
.\Source\DisplaySoldier.cpp(349)
DisplaySoldier 'sly_inf_rocketeer_snow' failed to find animmap human_

Message Severity: 3
.\Source\DisplaySoldier.cpp(240)
DisplaySoldier 'sly_inf_rocketeer_snow' failed to find animmap human_

Message Severity: 3
.\Source\DisplaySoldier.cpp(349)
DisplaySoldier 'sly_inf_rocketeer_snow' failed to find animmap human_

Message Severity: 2
.\Source\Weapon.cpp(82)
Weapon 'sly_berserk' is not localized for stats page
I strongly suspect it has something to do with those last lines in the log. What am I missing? This is only the last part of the log. It was too long to even copy here.
Penguin
Jedi Admin
Jedi Admin
Posts: 2541
Joined: Sun Mar 05, 2006 12:00 am
Location: Australia

Re: A little hitch in making my custom side

Post by Penguin »

Something's wrong with your units animations.
User avatar
tsurugi13
Lieutenant Colonel
Lieutenant Colonel
Posts: 543
Joined: Mon Dec 17, 2007 6:16 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Battling the ISA menace on Helghan.

Re: A little hitch in making my custom side

Post by tsurugi13 »

Hmm... Maybe you tried to mix up the unit's anims? I don't know much about that but changing the .msh might have done it.
woner11
Sith
Sith
Posts: 1361
Joined: Tue Sep 18, 2007 10:17 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: The lost world of pickels
Contact:

Re: A little hitch in making my custom side

Post by woner11 »

Post the characters odf and put the animations in the munged folder.
User avatar
SlyCoopersButt
First Lance Corporal
First Lance Corporal
Posts: 121
Joined: Thu Jul 19, 2007 6:57 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: United States:GA
Contact:

Re: A little hitch in making my custom side

Post by SlyCoopersButt »

Well the MSH and ODF files are pretty original. What I mean is they are untouched. I only re-did the Snowtrooper skin and gave it new weapon ODF's. never re-named any msh files period. Never touched any other thing about my Snowtrooper. However, I notice that it does not crash if I don't give it any new weapons and let it use what the game already has for it by default. The unit itself seems perfectly operational. With one exception to that. That is Boba fett never fails to be appearing on the player list in place of my unit now. Didn't used to do that. And I know it is not a script issue. I even totally deleted the default created world of the modtools more than once and made a new one and no go. Boba still insists on being in place of my unit. The only reason I am even able to spawn the unit is by adding it as a hero in place of boba fett. Case anyone wonders this below is what I put in the conquest script (Normally, Not before I had to replace boba fett).

ReadDataFile("dc:SIDE\\sly.lvl",
"sly_inf_rocketeer_snow")

AddUnitClass(IMP, "sly_inf_rocketeer_snow",1,4)

Excluding new weapons that I currently discontinued using for now, Below are the only ODF files I used in the units ODF directory that worked. They were not internally modified.

imp_inf_snowtrooper_skirt
sly_inf_rocketeer_snow
imp_inf_default_rocketeer
imp_inf_default

This seems to be a weapon issue. And yes, I made sure to copy all the MSH directory related files needed for them as well. And the modtools log ends saying these things about my weapons just before it crashes to desktop

Message Severity: 2
.\Source\Weapon.cpp(82)
Weapon 'rifle' is not localized for stats page

Message Severity: 2
.\Source\Weapon.cpp(82)
Weapon 'berserker' is not localized for stats page

What is this localized thing about? Is that the key to my problem?
And also, About my animations, What does this below mean and what do I do to fix that? Like what files do I copy for that and where do I put them?
Hidden/Spoiler:
Message Severity: 3
.\Source\SoldierAnimatorClass.cpp(1881)
Can't find soldier animation human_sabre_stand_useforce(_upper)


Message Severity: 3
.\Source\SoldierAnimatorClass.cpp(1881)
Can't find soldier animation human_sabre_stand_attack1a_end(_upper)


Message Severity: 2
.\Memory\RedMemoryPool.cpp(170)
Memory pool "SoldierAnimation" is full; raise count to at least 184

Message Severity: 3
.\Source\SoldierAnimatorClass.cpp(1881)
Can't find soldier animation human_sabre_stand_throw(_upper)


Message Severity: 3
.\Source\SoldierAnimatorClass.cpp(1881)
Can't find soldier animation human_sabre_stand_attack1b_end(_upper)


Message Severity: 3
.\Source\SoldierAnimatorClass.cpp(1881)
Can't find soldier animation human_sabre_stand_attack1c(_upper)


Message Severity: 3
.\Source\SoldierAnimatorClass.cpp(1881)
Can't find soldier animation human_sabre_stand_dashattack(_upper)


Message Severity: 3
.\Source\SoldierAnimatorClass.cpp(1881)
Can't find soldier animation human_sabre_jumpattack_land(_upper)


Message Severity: 3
.\Source\SoldierAnimatorClass.cpp(1881)
Can't find soldier animation human_sabre_jumpattack_fall(_upper)


Message Severity: 3
.\Source\SoldierAnimatorClass.cpp(1881)
Can't find soldier animation human_sabre_stand_alternate_attack(_upper)
User avatar
elfie
Field Commander
Field Commander
Posts: 931
Joined: Fri Jan 25, 2008 8:26 pm
Games I'm Playing :: no games
xbox live or psn: no live
Location: Coruscant, Jedi Temple
Contact:

Re: A little hitch in making my custom side

Post by elfie »

did you try what woner said yet? quote: put the animations in the munged folder.

that should do the trick.
User avatar
SlyCoopersButt
First Lance Corporal
First Lance Corporal
Posts: 121
Joined: Thu Jul 19, 2007 6:57 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: United States:GA
Contact:

Re: A little hitch in making my custom side

Post by SlyCoopersButt »

I finally got the weapons and everything working! I was just forgetting something about the weapon ODF's. Now I still have one problem that is 100% persistant. The only way I can add my unit to any map is still to replace the hero with it. And that isn't what I want to do. The add unit thing in the script is not working. And it used to work before in the past as I said earlier. Either it may not show up or Boba fett is in it's place. Once that's fixed I'm completely in business!
woner11
Sith
Sith
Posts: 1361
Joined: Tue Sep 18, 2007 10:17 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: The lost world of pickels
Contact:

Re: A little hitch in making my custom side

Post by woner11 »

Remove any mention of Boba fett from the lua and replace the hero with someone else. See if Boba keeps apearing.
Post Reply