Hex-Editing Issue. [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
Cerfon Rournes
Master Bounty Hunter
Master Bounty Hunter
Posts: 1558
Joined: Thu Jul 08, 2010 5:53 pm
Projects :: WIP. I will reveal what it is later on..
Games I'm Playing :: SWBF2-SWRC
xbox live or psn: No gamertag set
Location: New York, USA
Contact:

Hex-Editing Issue. [Solved]

Post by Cerfon Rournes »

Could someone please explain Mav's posts In This topic? I don't get It..Please explain,(Or give a very short tutorial) of what he said to fix this:
Hidden/Spoiler:
[quote="YaNkFaN"]I tried hexediting the anakan hood to the sith model and this was the problem should i put a link to my .msh or does anyone know what would cause this also should i post anything else like .odf?

Image

I think it's not my hex editing but the fact that he has two capes not sure though[/quote]
Here are his posts.
Hidden/Spoiler:
[quote="Maveritchell"]You need to hexedit in the correct cloth collision chunks as well; if you browse through the cape's MODL chunk, you will see a section where it references certain cloth collisions. Those are separate MODL chunks unto themselves that will need to be added in.[/quote]
Hidden/Spoiler:
[quote="Maveritchell"]Cloth collisions use the naming prefix "c_", but it really doesn't matter exactly what they are called, because as I mentioned above, they are all listed in the cloak's MODL chunk. If you browse to the MODL chunk for the cloak and then look at the very end, you will see a COLL chunk within the MODL, and it will list all the collision MODL chunks (as well as their parents).[/quote]
Thanks.
AQT
Gametoast Staff
Gametoast Staff
Posts: 4910
Joined: Sat Nov 03, 2007 4:55 pm
Location: SoCal, USA

Re: Hex-Editing Issue.

Post by AQT »

Alright, here goes: Basically, grab every single MODL chunk with a NAME starting with c_ from the MSH originally with the cape and hex edit them into the new MSH in the same manner you would hex edit in the cape itself. Hope this helps.
User avatar
Cerfon Rournes
Master Bounty Hunter
Master Bounty Hunter
Posts: 1558
Joined: Thu Jul 08, 2010 5:53 pm
Projects :: WIP. I will reveal what it is later on..
Games I'm Playing :: SWBF2-SWRC
xbox live or psn: No gamertag set
Location: New York, USA
Contact:

Re: Hex-Editing Issue.

Post by Cerfon Rournes »

I see, thanks.
I have two more questions about this.
1: Do I need to Hex-Edit all of the "c_" chunks? Because there are some that I don't think I need. Right now the anakin model has two cloth meshs reffed In Anakin's odf: The skirt and the cloak. I need the cloak working. That said, here are all the "c_" chunk names I could find.
c_r_calf
c_l_calf
c_r_thigh
c_l_thigh
c_ribcage
^I think those are for the cloak, because I found these too:
c_r_thigh_skirt1
c_r_thigh_skirt2
c_l_thigh_skirt1
c_l_thigh_skirt2
c_pelvis_skirt_1
c_pelvis_skirt_2
Should I only Hex-edit in the ones that do not have "Skirt" In their names? (Because I hex-edited the cloak, not the skirt..)
2: Do I need to do all the Adr. number counts again for this?
Thanks again.
AQT
Gametoast Staff
Gametoast Staff
Posts: 4910
Joined: Sat Nov 03, 2007 4:55 pm
Location: SoCal, USA

Re: Hex-Editing Issue.

Post by AQT »

If you are only using the cloak, just hex edit in the c_ MODL chunks for the cloak.
Cerfon Rournes wrote:Do I need to do all the Adr. number counts again for this?
Yes, of course as always.
User avatar
Cerfon Rournes
Master Bounty Hunter
Master Bounty Hunter
Posts: 1558
Joined: Thu Jul 08, 2010 5:53 pm
Projects :: WIP. I will reveal what it is later on..
Games I'm Playing :: SWBF2-SWRC
xbox live or psn: No gamertag set
Location: New York, USA
Contact:

Re: Hex-Editing Issue.

Post by Cerfon Rournes »

Ok I'll try it and post results soon. Thanks dude! :mrgreen:
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: Hex-Editing Issue.

Post by Fiodis »

Not to hijack the thread, but when you post your results, can you include whether or not the cape is transparent? I've edited it correctly onto other units but on some it shows up partially transparent.
User avatar
Cerfon Rournes
Master Bounty Hunter
Master Bounty Hunter
Posts: 1558
Joined: Thu Jul 08, 2010 5:53 pm
Projects :: WIP. I will reveal what it is later on..
Games I'm Playing :: SWBF2-SWRC
xbox live or psn: No gamertag set
Location: New York, USA
Contact:

Re: Hex-Editing Issue.

Post by Cerfon Rournes »

Will do.
EDIT
Nope, not transparent to me..
Hidden/Spoiler:
Image
Thanks AQT for the detailed explanation! :D
For anyone wondering, here is a list of the "c_" MODL chunks I Hex-edited In to make the cape work.

Code: Select all

c_r_calf
c_l_calf
c_r_thigh
c_l_thigh
c_ribcage
Those are the "c_" chunks needed to add Anakin's cloak to another model.
Post Reply