Overiding texture and Hex editing not working

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
EGG_GUTS
Master Bounty Hunter
Master Bounty Hunter
Posts: 1626
Joined: Thu Dec 07, 2006 7:38 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: CANADA!

Overiding texture and Hex editing not working

Post by EGG_GUTS »

I put it in my ODF here it is.

[GameObjectClass]
ClassParent = "rep_inf_default_faie"


[Properties]
GeometryName = "rep_inf_ep3armoredpilot"
GeometryLowRes = "rep_inf_ep3armoredpilot_low1"
FirstPerson = "REP\reptroop;rep_1st_trooper"

OverrideTexture = "rep_inf_commander_faie"

Is there something that doesn't make the clone engineer overridible? and if there is how do I make it so I can Overide it?

thanks
Last edited by EGG_GUTS on Sat May 19, 2007 7:19 pm, edited 1 time in total.
Darth_Z13
Jedi High Council
Jedi High Council
Posts: 2275
Joined: Sat Jun 17, 2006 9:51 am
xbox live or psn: Xanthius Wylon
Location: Canada

RE: Overiding texture not working

Post by Darth_Z13 »

OverrideTexture has to be built into the model AFAIK. It doesn't work with clones.
EGG_GUTS
Master Bounty Hunter
Master Bounty Hunter
Posts: 1626
Joined: Thu Dec 07, 2006 7:38 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: CANADA!

Post by EGG_GUTS »

Ok thanks

I tried hex editing and it didn't work. I'm using notepad.

here's some details

ODF
[GameObjectClass]
ClassParent = "rep_inf_default_faie"


[Properties]
GeometryName = "rep_inf_ep3comanderfaie"
GeometryLowRes = "rep_inf_ep3comanderfaie_low1"
FirstPerson = "REP\reptroop;rep_1st_trooper"


and the name of the msh
rep_inf_ep3comanderfaie
rep_inf_ep3comanderfaie.low1
rep_inf_ep3comanderfaie.msh.option
rep_inf_ep3comanderfaie_low1.msh.option
rep_inf_ep3comanderfaie.tga.option
TGA= rep_inf_ep3comanderfaie

and is the mshs I put
the TGA name

and I'm using the rep engineer

rep_inf_ep3armoredpilot = 21 letters
rep_inf_ep3comanderfaie = 21 letters

Why isn't it working?

thanks
EGG_GUTS
Master Bounty Hunter
Master Bounty Hunter
Posts: 1626
Joined: Thu Dec 07, 2006 7:38 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: CANADA!

Post by EGG_GUTS »

I'm gonna go ahead and ask. Is note pad a good hex editor or would you recommend going to dl another one?
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

Post by Teancum »

Oooooh, no. You have to use a genuine hex editor. Notepad will break files instantly. There's lots of free ones, I use frhed.exe
Caleb1117
2008 Most Original Avatar
Posts: 3096
Joined: Sun Aug 20, 2006 5:55 pm
Projects :: No Mod project currently.
xbox live or psn: No gamertag set
Location: X-Fire: caleb1117 ಠ_ಠ

Post by Caleb1117 »

Is frhed.exe free?

BTW Not to hijack this or anything but.

When I tried to hex edit my bed msh, it messed it up royaly.
Now ZE won't load the map >.<
and yes it was the same amout of characters as the originaly called .tga.
All this means is that I now have to bug Qdin to Export it again.


Also I used this trial program "Ultra Edit"
Darth_Z13
Jedi High Council
Jedi High Council
Posts: 2275
Joined: Sat Jun 17, 2006 9:51 am
xbox live or psn: Xanthius Wylon
Location: Canada

Post by Darth_Z13 »

PSPad FTW. (No NOT pirates Dohnutt. :P )
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

Post by Teancum »

@ Caleb -- you need to replace one character at a time for safety's sake. Some hex editors don't like any other way. Just highlight one letter and replace it. Then repeat. Otherwise some editors break stuff.
Caleb1117
2008 Most Original Avatar
Posts: 3096
Joined: Sun Aug 20, 2006 5:55 pm
Projects :: No Mod project currently.
xbox live or psn: No gamertag set
Location: X-Fire: caleb1117 ಠ_ಠ

Post by Caleb1117 »

Ah yes, I downloaded fehed, and I could see it worked diffrently, every time I changed a.. um Alphabetical? value a number across from it also changed.

Only thing is it still dosn't seem to work, is it bad if an old version of the msh is used in ZE?
As in, now I would have to open the world file and delete the bed's call?

Ah ha! I found the problem. Me trying to hex edit the file with Ultra Edit, broke the msh, even after I used frhed, that couldn't save it, still broken.

So I hunt down where I backed up my msh, and made anouther copy, hexed it, the moved it into my worlds folder.

ZE loves me again. :D

So my Hijack can oficaly end.
sorry Egg_Guts
EGG_GUTS
Master Bounty Hunter
Master Bounty Hunter
Posts: 1626
Joined: Thu Dec 07, 2006 7:38 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: CANADA!

Post by EGG_GUTS »

It's ok I found out why I couldn't hex edit. so now this topic can be locked.
Post Reply