How to Hex edit?

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
baneore
Private Second Class
Posts: 64
Joined: Fri Aug 01, 2008 12:58 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

How to Hex edit?

Post by baneore »

I got a hex editing tool 'XVI32' how do i use it to change gun damage, jump height and other cool things...(can i even use it for that?) ive tryed to read all the Hex-Editing topics but havent found anything.... :?
RogueKnight
Space Ranger
Posts: 2512
Joined: Sat Nov 22, 2008 1:50 pm
Projects :: Life. Work.
Games I'm Playing :: League of Legends
xbox live or psn: No gamertag set
Location: Washington, US

Re: How to Hex edit?

Post by RogueKnight »

All those cool things can be done by changing odf files.

Download the BFII modtools if you don't already have them

Read the getting started docs

read the everything you need forum here on gametoast.

Welcome!
User avatar
baneore
Private Second Class
Posts: 64
Joined: Fri Aug 01, 2008 12:58 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

Re: How to Hex edit?

Post by baneore »

Thank you ill get reading those things right away!(i do already have the modtools) :D
User avatar
Delta 47
Jedi
Jedi
Posts: 1127
Joined: Sun Dec 23, 2007 12:07 am
Games I'm Playing :: BioShock
xbox live or psn: Delta811
Location: MI, USA
Contact:

Re: How to Hex edit?

Post by Delta 47 »

I wound suggest using Windows Notepad to edit the odf files to change those properties you mentioned above. Its easier.
User avatar
baneore
Private Second Class
Posts: 64
Joined: Fri Aug 01, 2008 12:58 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

Re: How to Hex edit?

Post by baneore »

Thx windows Notepad works great, :D Is there specific codes? or any dangers i need to look outfor?.

Also, i read the documentations...but how do i know what to change in the text to make the unit do the things i asked about, or ammo and health..
User avatar
Delta 47
Jedi
Jedi
Posts: 1127
Joined: Sun Dec 23, 2007 12:07 am
Games I'm Playing :: BioShock
xbox live or psn: Delta811
Location: MI, USA
Contact:

Re: How to Hex edit?

Post by Delta 47 »

baneore wrote:Thx windows Notepad works great, :D Is there specific codes? or any dangers i need to look outfor?.

Also, i read the documentations...but how do i know what to change in the text to make the unit do the things i asked about, or ammo and health..
1. Nope that's it! Notepad is much more simpler and there's no codes in it just use it like you were typing.
2. The default odf's [e.g rep_inf_default_rifleman] are the odf files to edit each units properties and knowing what to change/edit is all something each modder just figures out, it isn't that hard just study the odf's and remember each number stands for another number and each odf file connects with other odf files. You learn more all the time but for example if you wanted to know how to change the ammo you would open up your default odf (for the unit you are editing) and change "WeaponAmmo = 4" and bump that 4 or whatever up a bit and like I said earlier each number stands for another number, that is the number you see in-game so that four represents the number of ammo there is for the rifle. Or lets say you wanted to know know how to bump up the health a bit you would edit the odf and this is a little different than the ammo or weapons because depending on the unit the health will be located in different places. But if you wanted to edit the health for lets say a Jet Trooper (you know those guys don't last on the battlefield) you would open up "rep_inf_default_jettrooper" and edit the "MaxHealth = 300.0" an put that 300 up a little (or a lot).

Remember to edit the weapons themselves you would need to edit the "rep_weap_inf_***.odf" (*** is whatever weapon).
Post Reply