Page 1 of 1

A little hitch in making my custom side

Posted: Fri Mar 07, 2008 7:18 pm
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.

Re: A little hitch in making my custom side

Posted: Fri Mar 07, 2008 8:11 pm
by Penguin
Something's wrong with your units animations.

Re: A little hitch in making my custom side

Posted: Fri Mar 07, 2008 8:27 pm
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.

Re: A little hitch in making my custom side

Posted: Sat Mar 08, 2008 3:08 pm
by woner11
Post the characters odf and put the animations in the munged folder.

Re: A little hitch in making my custom side

Posted: Sun Mar 09, 2008 5:01 am
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)

Re: A little hitch in making my custom side

Posted: Sun Mar 09, 2008 10:29 am
by elfie
did you try what woner said yet? quote: put the animations in the munged folder.

that should do the trick.

Re: A little hitch in making my custom side

Posted: Mon Mar 10, 2008 12:36 am
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!

Re: A little hitch in making my custom side

Posted: Mon Mar 10, 2008 12:40 am
by woner11
Remove any mention of Boba fett from the lua and replace the hero with someone else. See if Boba keeps apearing.