Vader Cape Problem [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
Nedarb7
Lieutenant General
Lieutenant General
Posts: 676
Joined: Sat Sep 22, 2012 3:41 pm

Vader Cape Problem [Solved]

Post by Nedarb7 »

I've been working on a magnaguard and I tried to add BF2 darth vader's cape.
I got it in the game on the magnaguard but it was pointing upward and only
had a cloth animation on the lowest part of the cape :? .
I've searched the forums and discovered it worked for others.
Does any one have an idea of what could cause this?

Here's some pictures:
Hidden/Spoiler:
Image
Hidden/Spoiler:
Image
Hidden/Spoiler:
Image
User avatar
AceMastermind
Gametoast Staff
Gametoast Staff
Posts: 3285
Joined: Mon Aug 21, 2006 6:23 am
Contact:

Re: Vader Cape Problem

Post by AceMastermind »

Were you trying to add the cape through hex editing or XSI? It looks like you tried to hex edit it but didn't add the cloth collision. There already is a Magnaguard with cloth released that could save you some time unless you just wanted to do this on your own.
User avatar
Nedarb7
Lieutenant General
Lieutenant General
Posts: 676
Joined: Sat Sep 22, 2012 3:41 pm

Re: Vader Cape Problem

Post by Nedarb7 »

I want to hex edit it on my own.
So you were saying something about cloth collision?
How would I add that? :?
AQT
Gametoast Staff
Gametoast Staff
Posts: 4910
Joined: Sat Nov 03, 2007 4:55 pm
Location: SoCal, USA

Re: Vader Cape Problem

Post by AQT »

The cloth collisions are just ordinary MODL chunks, so transfer them as such. They have NAMEs starting with c_.
User avatar
Nedarb7
Lieutenant General
Lieutenant General
Posts: 676
Joined: Sat Sep 22, 2012 3:41 pm

Re: Vader Cape Problem

Post by Nedarb7 »

Will I need to get all of them or just a certain one?
And if all of them would I put them in separately or
all at once?

-EDIT-
Do I grab the whole chunk under COLL?
I just opened the scout trooper msh which
didn't have a COLL while Vader did.
User avatar
AceMastermind
Gametoast Staff
Gametoast Staff
Posts: 3285
Joined: Mon Aug 21, 2006 6:23 am
Contact:

Re: Vader Cape Problem

Post by AceMastermind »

Is it imperative that you do this manually to gain experience with binary editing or is there another reason? I say this because there have been programs released here like MSH Chunk Interface that can do this kind of thing.

SWBF_MSH_INFO v0.05 can isolate and export chunks out to a separate file quickly, just take note of the byte size then insert it into another msh file and adjust header sizes accordingly.
User avatar
tirpider
Lance Corporal
Posts: 97
Joined: Fri Nov 25, 2011 3:58 pm

Re: Vader Cape Problem

Post by tirpider »

You will want the whole MODL chunk.

The trickest part I see is making sure the MNDX fields don't conflict.
If you have to change any, change the added collisions. If you change the MNDX's of existing enveloped bones, you will need to change all the ENVL's in the model that use them.

I have a program in my msh tool kit that can help visualize the layout
pre-alpha_msh_kit.zip

The program is SWBF_MSH_INFO.exe
That link has the latest version of it.

Also, the TagSizeValidator.exe will load a msh, check every chunk and tag size field and correct it if needed. Saving the result as "tst_inf_tst.msh" so it doesn't overwrite the source file.
(Thats probably the single most usefull tool in the kit)

-edited (spelling and added an afterthought)
User avatar
Nedarb7
Lieutenant General
Lieutenant General
Posts: 676
Joined: Sat Sep 22, 2012 3:41 pm

Re: Vader Cape Problem

Post by Nedarb7 »

Wow, thanks a lot it works now :) .
Really nice tool tripider although all I used it for was to know which
MODLs I needed, the rest I hex edited...
mainly because I couldn't figure out how to use the tool properly :funny2: .
User avatar
tirpider
Lance Corporal
Posts: 97
Joined: Fri Nov 25, 2011 3:58 pm

Re: Vader Cape Problem

Post by tirpider »

I'm glad it helped, and you used it right.

Right now it has a few little functions in the tools menu, but mainly they are either diagnostic stuff for me to check if my code is broken or special purpose copy tools for use with a tutorial I never finished...

So right now it's just a quick viewer for seeing the nested structure of the msh or quickly ckecking settings without having to scan/search through a hexeditor. But even as just a viewer, it can save tons of planning time and help troubleshoot troubled models.

If you have any questions about the program, or suggestions, let me know. It desperatly needs an update.
Post Reply