Page 1 of 1

Combo file? [Solved]

Posted: Fri Apr 24, 2009 8:21 am
by yukisuna
i've just finished my jedi with new attacks and all that, and i got a .combo file, but what do i type in in the weapon file? the jedi just holds the sword as an rifle, and the first AI/Player spawning as him crashes the game. can anyone help me?

Re: combo file?

Posted: Fri Apr 24, 2009 9:57 am
by DarthD.U.C.K.
can your post your bf2log?
can to which file you are refering exactly?

Re: combo file?

Posted: Fri Apr 24, 2009 10:05 am
by yukisuna
the log isnt saying anything.
but, ive named the file: duelant.combo, because thats what the sword animations is named. duelant.anims, duelant.zaabin, and duelant.zafbin. so i thought it would read the file if i did that. but it didnt... but do you really need that log? it only says (model) has 1839 vertices and NO COLLISION GEOMETRY (will be slow). so..?


this time it didnt say anything...

Re: combo file?

Posted: Fri Apr 24, 2009 10:20 am
by DarthD.U.C.K.
i mean the bf2log not the mungelog

Re: combo file?

Posted: Fri Apr 24, 2009 10:30 am
by yukisuna
were can i find it? :oops:

Re: combo file?

Posted: Fri Apr 24, 2009 12:37 pm
by MetalcoreRancor
.combo must be named the same name as the character using it, so name it the same as the jedi you made.

this is the line you need in your lightsabre odf,

ComboAnimationBank = "human_sabre melee comboname"

Furthermore, add AnimationName = "animname" to your jedi odf.

the animname part is replaced by your new anim set.

Re: combo file?

Posted: Fri Apr 24, 2009 1:09 pm
by yukisuna
thank you, rancor, i used your tutorial right before i asked the question.

Re: combo file?

Posted: Fri Apr 24, 2009 3:35 pm
by Fiodis
For BFront2.txt (an extremely helpful debugging tool), go to BF2_Modtools main folder. Find BF2_modtools.exe and move it to your game's GameData folder. Run it from in there, and you'll get a smalelr version of the game. Play your map, if it crashes then it crashes. Then go to GameData and look for a text file called BFront2.txt. Open it, you have yourself an error list. Severity 3's and up usually cause a CTD (Crash To Desktop).


Note ~ For most Vista users, if you haven't changed the security settings, your copy of BFront2.txt will show up in a different folder:
C:\Users\*your username*\AppData\Local\VirtualStore\Program Files\LucasArts\Star Wars Battlefront II\GameData



EDIT - off-topic: 1,111 posts! Eleventy-eleven! :D

Re: combo file?

Posted: Fri Apr 24, 2009 5:55 pm
by RogueKnight
Fiodis wrote:
Note ~ For most Vista users, if you haven't changed the security settings, your copy of BFront2.txt will show up in a different folder:
C:\Users\*your username*\AppData\Local\VirtualStore\Program Files\LucasArts\Star Wars Battlefront II\GameData
An easy way to find it is to just go to C:\Program Files\LucasArts\Star Wars Battlefront II\Gamedata and click on compatibility files in the upper left hand part of the top toolbar.
Image

Re: combo file?

Posted: Sat Apr 25, 2009 3:03 am
by yukisuna
MetalcoreRancor wrote:.combo must be named the same name as the character using it, so name it the same as the jedi you made.

this is the line you need in your lightsabre odf,

ComboAnimationBank = "human_sabre melee comboname"

Furthermore, add AnimationName = "animname" to your jedi odf.

the animname part is replaced by your new anim set.

well, were in the odf? under the '[GameObjectClass]' or under the [Properties]?
heres what's in the jedi's odf file:

[GameObjectClass]
ClassParent = "com_inf_default"
GeometryName = "jed_inf_jedi.msh"

AnimationName = "duelant"

[Properties]
GeometryName = "jed_inf_jedi"
GeometryLowRes = "jed_inf_jedi_low1"
OverrideTexture = "jed_inf_jedi03"

AnimationName = "duelant"

WeaponName1 = "duel_saber"
WeaponAmmo1 = 0

with AnimationName, did you mean the files in the munged folder or the combo file?

Re: combo file?

Posted: Sat Apr 25, 2009 11:05 am
by kinetosimpetus
remove the AnimationName above [Properties]

Re: combo file?

Posted: Sat Apr 25, 2009 11:29 am
by Teancum
Yep, that's the problem. [GameObjectClass] should only ever have the type (aka flyer, soldier, etc) OR the ClassParent, then a GeometryName.

Re: combo file?

Posted: Sun Apr 26, 2009 4:34 am
by yukisuna
thank you, all of you! (almost) all of the combo attacks worked in-game! most important: it worked. again, thanks to all of you :D :D :D :D

Re: Combo file? [Solved]

Posted: Sun Apr 26, 2009 6:35 pm
by MetalcoreRancor
Ah, simple odf issues. Go figure.

It happens to me all the time =P