Hex editing health values fail

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
myers73
Lieutenant General
Lieutenant General
Posts: 690
Joined: Fri Apr 03, 2009 11:04 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: Atlanta, GA xfire=myers73 IngameName=mYers

Hex editing health values fail

Post by myers73 »

well im trying to change some of the health values for heroes through hexediting. it works great on heroes like han, that already have a specified MaxHealth value in the odf, but for leia, she doesnt have it, so I substituted just 0sfirst, for the part that specifies her skirt, and no crash, but when I copy over han's health stuff into the newly vacated space, it crashes, kinda odd.

edit: why was the title changed?
User avatar
SW_elite
Filthy Thief
Filthy Thief
Posts: 507
Joined: Sat Jan 02, 2010 6:43 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: Australia!!!

Re: Hex editing health values fail

Post by SW_elite »

All i ever do is add

Maxhealth=500

or whaterver you want the health to be, to the characters odf file and it works, i think.
Coley
Sergeant Major
Sergeant Major
Posts: 249
Joined: Sun Aug 09, 2009 11:27 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Germany

Re: Hex editing health values fail

Post by Coley »

Yeah, that works, but some people like it difficult 8)
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: Hex editing health values fail

Post by DarthD.U.C.K. »

maybe he cant simply edit an odf for getting what he wants?

which kind of file are you hexediting?
Coley
Sergeant Major
Sergeant Major
Posts: 249
Joined: Sun Aug 09, 2009 11:27 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Germany

Re: Hex editing health values fail

Post by Coley »

Can you hexedit other files in bf2 then msh?
don´t know.
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: Hex editing health values fail

Post by Teancum »

myers73 wrote:why was the title changed?
Staff will often change titles so that when people search for something it's easier to find a solution. h4x isn't a commonly searched term.
Coley wrote:Can you hexedit other files in bf2 then msh? don´t know.


You can hex edit just about anything. You just have to understand the structure.
myers73
Lieutenant General
Lieutenant General
Posts: 690
Joined: Fri Apr 03, 2009 11:04 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: Atlanta, GA xfire=myers73 IngameName=mYers

Re: Hex editing health values fail

Post by myers73 »

im hexing the all.lvl file, and no I cant just rebuild it and add it in the odf, because this is a server mod, at least i dont think I can, maybe though, if so that could save a lot of time.
Post Reply