Combo file? [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
User avatar
yukisuna
Rebel Sergeant
Rebel Sergeant
Posts: 210
Joined: Wed Jan 28, 2009 5:50 am
Projects :: My new PC hates the Mod Tools
Games I'm Playing :: See Interests
xbox live or psn: Samura Yukisuna
Location: Stuck in a place full of happy happiness known as Steam.

Combo file? [Solved]

Post 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?
User avatar
DarthD.U.C.K.
Master of the Force
Master of the Force
Posts: 6027
Joined: Wed Sep 27, 2006 11:05 am
Location: Duckburg, Germany

Re: combo file?

Post by DarthD.U.C.K. »

can your post your bf2log?
can to which file you are refering exactly?
User avatar
yukisuna
Rebel Sergeant
Rebel Sergeant
Posts: 210
Joined: Wed Jan 28, 2009 5:50 am
Projects :: My new PC hates the Mod Tools
Games I'm Playing :: See Interests
xbox live or psn: Samura Yukisuna
Location: Stuck in a place full of happy happiness known as Steam.

Re: combo file?

Post 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...
User avatar
DarthD.U.C.K.
Master of the Force
Master of the Force
Posts: 6027
Joined: Wed Sep 27, 2006 11:05 am
Location: Duckburg, Germany

Re: combo file?

Post by DarthD.U.C.K. »

i mean the bf2log not the mungelog
User avatar
yukisuna
Rebel Sergeant
Rebel Sergeant
Posts: 210
Joined: Wed Jan 28, 2009 5:50 am
Projects :: My new PC hates the Mod Tools
Games I'm Playing :: See Interests
xbox live or psn: Samura Yukisuna
Location: Stuck in a place full of happy happiness known as Steam.

Re: combo file?

Post by yukisuna »

were can i find it? :oops:
MetalcoreRancor
Brigadier General
Brigadier General
Posts: 628
Joined: Thu Jun 07, 2007 11:13 am
Projects :: No Mod project currently.
Games I'm Playing :: swbf origin
xbox live or psn: No gamertag set

Re: combo file?

Post 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.
User avatar
yukisuna
Rebel Sergeant
Rebel Sergeant
Posts: 210
Joined: Wed Jan 28, 2009 5:50 am
Projects :: My new PC hates the Mod Tools
Games I'm Playing :: See Interests
xbox live or psn: Samura Yukisuna
Location: Stuck in a place full of happy happiness known as Steam.

Re: combo file?

Post by yukisuna »

thank you, rancor, i used your tutorial right before i asked the question.
User avatar
Fiodis
Master of the Force
Master of the Force
Posts: 4145
Joined: Wed Nov 12, 2008 9:27 pm
Projects :: Rannoch + Tientia + Tools Programming

Re: combo file?

Post 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
RogueKnight
Space Ranger
Posts: 2512
Joined: Sat Nov 22, 2008 1:50 pm
Projects :: Life. Work.
Games I'm Playing :: League of Legends
xbox live or psn: No gamertag set
Location: Washington, US

Re: combo file?

Post 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
User avatar
yukisuna
Rebel Sergeant
Rebel Sergeant
Posts: 210
Joined: Wed Jan 28, 2009 5:50 am
Projects :: My new PC hates the Mod Tools
Games I'm Playing :: See Interests
xbox live or psn: Samura Yukisuna
Location: Stuck in a place full of happy happiness known as Steam.

Re: combo file?

Post 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?
kinetosimpetus
Imperial Systems Expert
Imperial Systems Expert
Posts: 2381
Joined: Wed Mar 25, 2009 4:15 pm
Projects :: A secret project
Games I'm Playing :: Warframe STO

Re: combo file?

Post by kinetosimpetus »

remove the AnimationName above [Properties]
User avatar
Teancum
Jedi Admin
Jedi Admin
Posts: 11080
Joined: Wed Sep 07, 2005 11:42 pm
Projects :: No Mod project currently.
Games I'm Playing :: Destiny
xbox live or psn: No gamertag set
Location: Indiana

Re: combo file?

Post by Teancum »

Yep, that's the problem. [GameObjectClass] should only ever have the type (aka flyer, soldier, etc) OR the ClassParent, then a GeometryName.
User avatar
yukisuna
Rebel Sergeant
Rebel Sergeant
Posts: 210
Joined: Wed Jan 28, 2009 5:50 am
Projects :: My new PC hates the Mod Tools
Games I'm Playing :: See Interests
xbox live or psn: Samura Yukisuna
Location: Stuck in a place full of happy happiness known as Steam.

Re: combo file?

Post 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
MetalcoreRancor
Brigadier General
Brigadier General
Posts: 628
Joined: Thu Jun 07, 2007 11:13 am
Projects :: No Mod project currently.
Games I'm Playing :: swbf origin
xbox live or psn: No gamertag set

Re: Combo file? [Solved]

Post by MetalcoreRancor »

Ah, simple odf issues. Go figure.

It happens to me all the time =P
Post Reply