Jetpack hexedit [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
ACEwithSPADES
Command Sergeant Major
Command Sergeant Major
Posts: 253
Joined: Thu Jan 20, 2011 3:49 pm
Projects :: Alzoc 3
Games I'm Playing :: Battlefront 2 MW2
xbox live or psn: xundyingxace
Location: Somewhere, but most likely where i am

Jetpack hexedit [Solved]

Post by ACEwithSPADES »

ok so i followed the hexediting tutorial and got the jetpack and wanted to put it on a felucia trooper. so here is mine
Hidden/Spoiler:
Image
now here is the info from debug window on the jetpack modl
Hidden/Spoiler:
MODL (17852)
{
MTYP (4) 4
MNDX (4) 34
NAME (12) "jetpack_v2"
PRNT (16) "bone_ribcage"
TRAN (40)
Scale 1, 1, 1
Quaternion rotation -0.5053406, -0.4946025, -0.5053406, 0.4946025
Translation -1.480285, 0.0553069, -1.372959e-15
GEOM (17728)
{
BBOX (44)
{
Rotation: -0.0178333, -2.324317e-6, 1.924363e-6, 0.999841
Center: -3.260532e-8, 1.509953, -0.2542931
Width/2: 0.2411567, Depth/2: 0.2396624, Height/2: 0.0754757
Bounding sphere radius: 0.3482689
}
SEGM (17668)
{
MATI (4) Material No.2
POSL (4228) 352 points
NRML (4228) 352 normals
UV0L (2820) 352 UV coords
NDXL (2740) 324 polygons ( n, [ n*indexes ] )
NDXT (2380) 396 triangles (3*indexes)
STRP (1212) 604 strip refs, 396 triangles
}
}
}
here is the stock jettrooper
Hidden/Spoiler:
Image
and the info from the debug window on the modl of jetpack
Hidden/Spoiler:
MODL (17852)
{
MTYP (4) 4
MNDX (4) 34
NAME (12) "jetpack_v2"
PRNT (16) "bone_ribcage"
TRAN (40)
Scale 1, 1, 1
Quaternion rotation -0.5053406, -0.4946025, -0.5053406, 0.4946025
Translation -1.480285, 0.0553069, -1.372959e-15
GEOM (17728)
{
BBOX (44)
{
Rotation: -0.0178333, -2.324317e-6, 1.924363e-6, 0.999841
Center: -3.260532e-8, 1.509953, -0.2542931
Width/2: 0.2411567, Depth/2: 0.2396624, Height/2: 0.0754757
Bounding sphere radius: 0.3482689
}
SEGM (17668)
{
MATI (4) Material No.2
POSL (4228) 352 points
NRML (4228) 352 normals
UV0L (2820) 352 UV coords
NDXL (2740) 324 polygons ( n, [ n*indexes ] )
NDXT (2380) 396 triangles (3*indexes)
STRP (1212) 604 strip refs, 396 triangles
}
}
}
can someone help me out, im new at this but i did follow the tutorial its just the jetpack appeared in the wrong place Thanks!
AQT
Gametoast Staff
Gametoast Staff
Posts: 4910
Joined: Sat Nov 03, 2007 4:55 pm
Location: SoCal, USA

Re: Jetpack hexedit-trying to learn and followed tutorial

Post by AQT »

Try inserting the jetpack MODL before the last MODL in the Felucia trooper MSH with bone_ribcage as its PRNT.
User avatar
ACEwithSPADES
Command Sergeant Major
Command Sergeant Major
Posts: 253
Joined: Thu Jan 20, 2011 3:49 pm
Projects :: Alzoc 3
Games I'm Playing :: Battlefront 2 MW2
xbox live or psn: xundyingxace
Location: Somewhere, but most likely where i am

Re: Jetpack hexedit-trying to learn and followed tutorial

Post by ACEwithSPADES »

Got it!
Hidden/Spoiler:
Image
if anyone wants this for reference or the jetpack.msh file i now have :D just pm me or add me on xfire xundyingxace
EDIT: THanks AQT lol u r verrrrrry helpful :bowdown:
User avatar
giftheck
Droid Pilot Assassin
Droid Pilot Assassin
Posts: 2218
Joined: Mon Jan 19, 2009 5:58 pm
Projects :: Star Wars Battlefront Anniversary

Re: Jetpack hexedit [Solved]

Post by giftheck »

Just be very careful with it. Sometimes, it messes up the skeleton or shadowvolume and you get ingame errors. Test it thoroughly.
User avatar
ACEwithSPADES
Command Sergeant Major
Command Sergeant Major
Posts: 253
Joined: Thu Jan 20, 2011 3:49 pm
Projects :: Alzoc 3
Games I'm Playing :: Battlefront 2 MW2
xbox live or psn: xundyingxace
Location: Somewhere, but most likely where i am

Jetpack texture not appearing?

Post by ACEwithSPADES »

Ok so i have been working and i put the modl into the .msh rep folder and put it into the swbf msh viewer and i also added the part from the jettrooper about the .tga file for the jetpackk where it is placed for the jettrooper but when viewed there is not jetpack texture only a texture for the trooper. is this all i have to place
Hidden/Spoiler:
Image
and the original jettrooper
Hidden/Spoiler:
Image
Thanks for helping!

Topics merged. Please do not start a new topic just to repost the same problem/issue. -Staff
User avatar
Jendo7
Sith
Sith
Posts: 1304
Joined: Wed Apr 01, 2009 6:37 pm
Location: Cambridge, England.
Contact:

Re: Jetpack texture not appearing?

Post by Jendo7 »

Do you have the .tga texture file in there as well?

If so, maybe try renaming the .tga texture, and change the name in the model, just make sure it has the exact same number of letters as the previous texture. Make a backup copy, just in case.
User avatar
ACEwithSPADES
Command Sergeant Major
Command Sergeant Major
Posts: 253
Joined: Thu Jan 20, 2011 3:49 pm
Projects :: Alzoc 3
Games I'm Playing :: Battlefront 2 MW2
xbox live or psn: xundyingxace
Location: Somewhere, but most likely where i am

Re: Jetpack hexedit [Solved]

Post by ACEwithSPADES »

The texture is in the folder, but it does not show up
User avatar
giftheck
Droid Pilot Assassin
Droid Pilot Assassin
Posts: 2218
Joined: Mon Jan 19, 2009 5:58 pm
Projects :: Star Wars Battlefront Anniversary

Re: Jetpack hexedit [Solved]

Post by giftheck »

This is very simple as to what this is.

Go to your Jetpack mesh in the .msh file. You will see MATI followed by eight spaces. In Hex view, place the cursor on the fourth space corresponding to MATI. It will look something like this:
Hidden/Spoiler:
Image
The hex number/space I have highlighted is what texture the model references. Often, 00 is no texture, and 01 is the first texture etc, but sometimes there is an unused texture there in slot 01 so slot 02 is the main texture, with slot 03 being whatever additional texture... I'm guessing you have that space as 02 in hex. Change that number in hex to whatever your jetpack texture is supposed to be, which it looks like it's supposed to be 03.
User avatar
ACEwithSPADES
Command Sergeant Major
Command Sergeant Major
Posts: 253
Joined: Thu Jan 20, 2011 3:49 pm
Projects :: Alzoc 3
Games I'm Playing :: Battlefront 2 MW2
xbox live or psn: xundyingxace
Location: Somewhere, but most likely where i am

Re: Jetpack hexedit [Solved]

Post by ACEwithSPADES »

Hidden/Spoiler:
Image
Hidden/Spoiler:
Image
i replaced it to 03 but the texture still doesn't work and the trooper one is not either
User avatar
giftheck
Droid Pilot Assassin
Droid Pilot Assassin
Posts: 2218
Joined: Mon Jan 19, 2009 5:58 pm
Projects :: Star Wars Battlefront Anniversary

Re: Jetpack hexedit [Solved]

Post by giftheck »

Send me your mesh. I'll fix it.
User avatar
ACEwithSPADES
Command Sergeant Major
Command Sergeant Major
Posts: 253
Joined: Thu Jan 20, 2011 3:49 pm
Projects :: Alzoc 3
Games I'm Playing :: Battlefront 2 MW2
xbox live or psn: xundyingxace
Location: Somewhere, but most likely where i am

Re: Jetpack hexedit [Solved]

Post by ACEwithSPADES »

Post Reply